Compare commits

46 Commits

Author SHA1 Message Date
flancian aaa8ef7353 autopushed 2023-09-24 20:37:50 +02:00
flancian c7bef43d41 autopushed 2023-09-24 20:37:16 +02:00
flancian e0e8f41869 autopushed 2023-09-24 20:34:29 +02:00
flancian 54d53ca826 autopushed 2023-09-24 20:33:55 +02:00
flancian 2be5adf057 autopushed 2023-09-24 20:33:21 +02:00
flancian bedd37c590 autopushed 2023-09-24 20:32:47 +02:00
flancian d2c146547b autopushed 2023-09-24 19:04:33 +02:00
flancian 8fa7ebc259 autopushed 2023-09-24 19:03:59 +02:00
flancian 1cd74ff548 autopushed 2023-09-24 19:01:40 +02:00
flancian 60f2509ca3 autopushed 2023-09-24 18:59:25 +02:00
flancian d5d1f9eaeb autopushed 2023-09-24 18:58:51 +02:00
flancian 96fe03e8a3 autopushed 2023-09-24 18:57:10 +02:00
flancian f823cb282e autopushed 2023-09-24 18:55:29 +02:00
flancian e69e6c617b autopushed 2023-09-24 18:54:55 +02:00
flancian 0e4d42fe0e autopushed 2023-09-24 18:54:21 +02:00
flancian ddc31231f4 autopushed 2023-09-24 18:53:47 +02:00
flancian 2da9a200b2 autopushed 2023-09-24 18:50:59 +02:00
flancian 1dae8b10e1 autopushed 2023-09-24 18:43:09 +02:00
flancian 51566c7c27 autopushed 2023-09-24 18:31:24 +02:00
flancian 4977473c92 autopushed 2023-09-24 18:30:49 +02:00
flancian bebf2c5392 autopushed 2023-09-24 18:30:15 +02:00
flancian cbb9491c16 autopushed 2023-09-24 18:29:42 +02:00
flancian 74b9b9fade autopushed 2023-09-24 18:20:14 +02:00
flancian df9f33809b autopushed 2023-09-24 18:19:39 +02:00
flancian bd851fcf48 autopushed 2023-09-24 18:19:05 +02:00
flancian 186c189a91 autopushed 2023-09-24 18:18:32 +02:00
flancian c3e52e8e85 autopushed 2023-09-24 18:17:58 +02:00
flancian 31976fdb7a autopushed 2023-09-24 18:16:51 +02:00
flancian 80c3974789 autopushed 2023-09-24 18:15:10 +02:00
flancian 3e45737eb6 autopushed 2023-09-24 18:14:36 +02:00
flancian 7a6bc261d9 autopushed 2023-09-24 16:50:17 +02:00
flancian 887a142a1a autopushed 2023-09-24 16:49:43 +02:00
flancian d14efb53cb autopushed 2023-09-24 16:47:28 +02:00
flancian 9c5e19bbf0 autopushed 2023-09-24 16:46:55 +02:00
flancian cb6300d792 autopushed 2023-09-24 16:45:47 +02:00
flancian 0a055dd655 autopushed 2023-09-24 16:45:13 +02:00
flancian 7f6875b48f autopushed 2023-09-24 16:44:39 +02:00
flancian c7836884a1 autopushed 2023-09-24 15:33:00 +02:00
flancian 37a8697694 autopushed 2023-09-24 15:32:24 +02:00
flancian 4de4753dce autopushed 2023-09-24 15:30:37 +02:00
flancian 2de789d398 autopushed 2023-09-24 15:25:46 +02:00
flancian 0066e9bdc8 autopushed 2023-09-24 15:24:33 +02:00
flancian 2d01a36cbb autopushed 2023-09-24 15:21:29 +02:00
flancian 4741327e9b autopushed 2023-09-24 15:17:05 +02:00
flancian b74e195e92 autopushed 2023-09-24 15:16:29 +02:00
flancian 241775f7b5 autopushed 2023-09-24 15:15:52 +02:00
12 changed files with 76 additions and 18 deletions
+3
View File
@@ -0,0 +1,3 @@
- In the [[Flancia]] [[Pattern Language]], 13 means [[Bodhicitta]] and [[Right Conduct]].
- [[Gloria a las maravillas del universo]] is 13 syllables in Spanish.
- [[If you lose your Bodhicitta, sit down and find it]] is [[13 syllables]] in English.
+2
View File
@@ -0,0 +1,2 @@
- #push [[13]]
- [[13 sílabas]].
+7
View File
@@ -16,3 +16,10 @@
- Avalokiteshvara!
- The fun comes from synchronizing while saying the first three words, and then choosing to synchronize or not on the saying of the name. For beginner players remembering the full name might prove difficult (it was for me at first).
- I like it as a game because [[Avalokiteshvara]] reminds me of a lot of things I deeply care about, and I find their name beautiful.
- #push [[16]] syllables
- #push [[9]]
- Avalo, avalo, avalo!
- #push [[7]]
- Avalokiteshvara!
-
+25 -6
View File
@@ -1,10 +1,11 @@
#!/usr/bin/env python3
# First time I use [[click]], it looks cool like that other [[pallets project]], [[flask]].
# First time I use [[click]] ~ anagora.org/click, it looks cool like the other [[pallets project]], [[flask]], which we use in [[agora server]].
# https://click.palletsprojects.com/en/8.1.x/arguments/
# https://click.palletsprojects.com/en/8.1.x/options/
import click
import math
import sys
# I'm not proud (I am a little bit?).
PROOF = [] # :)
@@ -29,7 +30,7 @@ def is_prime(n):
# for j in range(2, math.ceil(math.sqrt(n) + 1)):
for j in range(2, n):
# I wrote >= here initially. That did *not* work ;)
if i*j > n:
if i * j > n:
break
PROOF.append(f"[[{i*j}]] is composite: {i} * {j}.")
try:
@@ -39,11 +40,29 @@ def is_prime(n):
# click.echo(f"Sieve: {is_prime}.")
return is_prime[n]
@click.command()
class AgoraCmd(click.Command):
def format_help(self, ctx, formatter):
click.echo("""Usage:
- Visit anagora.org/primes to execute this file in the Agora of Flancia.")
- In general visit anagora.org/foo, anagora.org/foo/bar to execute e.g. <bin/foo.py bar> from your garden.")
""")
def __call__(self, *args, **kwargs):
try:
return super(AgoraCmd, self).__call__(
*args, standalone_mode=False, **kwargs)
except click.MissingParameter as exc:
exc.ctx = None
exc.show(file=sys.stdout)
click.echo()
try:
super(AgoraCmd, self).__call__(['--help'])
except SystemExit:
sys.exit(exc.exit_code)
@click.command(cls=AgoraCmd)
@click.argument('n', type=click.INT)
@click.option('-f', '--from', 'n0', type=click.INT, help="Lower bound of the range to factor.")
@click.option('-t', '--to', 'n1', type=click.INT, help="Upper bound of the range to factor.")
def prime(n, n0, n1):
def prime(n):
"""Simple program that factors a number using a [[Sieve of Eratosthenes]]."""
if is_prime(n):
click.echo(f"[[{n}]] is prime.")
+6
View File
@@ -0,0 +1,6 @@
- An [[essay]].
- On the importance of gathering a pro-social, rational good corpus.
- The [[Agora]] is a mechanism that tries to aid a community to gather an optimal corpus.
As of [[2023]] ([[7]] * [[17]] * 17) the models trained on a 2021 corpus clearly demonstrate the potential of LL/generative models based on [[Transformers]] and Stable [[Diffusion]] as long as they are trained on a rich enough [[corpus]]. The fact that [[Chat GPT]], the most used widely available free text completion service, has a [[2021]] (43 * 47) cutoff date...
+4
View File
@@ -0,0 +1,4 @@
- #push [[16]]
- Gloria, gloria, gloria!
- #push [[13]]
- [[Gloria a las maravillas del universo]]!
+1
View File
@@ -1,5 +1,6 @@
- [[Flancia]]!
- [[agora slides]]
- #push [[Flancia
- #push [[debate]]
- Imagine a public global debate about the crimes of [[Moloch]], and the ways to move forward.
- #push [[liquid democracy]]
+7 -6
View File
@@ -5,9 +5,10 @@
- What is the name of that nice Python CLI library again?
- [[click]]?
- [[state of html]] survey seems like a great way to learn about lots of modern [[HTML]] features: https://survey.devographics.com/en-US/survey/state-of-html/2023/
- [[fork]]!
- fork, fork!
- as we merge we'll fork!
- [[nostromo]] music
- [[paramita]] [[revolution against Moloch]]
- [[sila]] [[letters]]
- #push [[spaces]]
- [[fork]]!
- fork, fork!
- as we merge we'll fork!
- [[nostromo]] music
- [[paramita]] [[revolution against Moloch]]
- [[sila]] [[letters]]
+14
View File
@@ -0,0 +1,14 @@
- #push [[Flancia]]
- remember the importance of the [[corpus]].
- how it is gathered, how it is selected, how it is curated (gardened?) over time.
- [[Agora]]
- [[Agora development]]
- Working on [[prime]], [[executable nodes]] after a 10 month hiatus: I told myself I should go for something very free/open on this Sunday flowing :)
- [[Mycoverse]]
- [[space]]
- [[gloria]]
- [[avalokiteshvara]]
- [[trip to x]]
- [[japan]]
- [[best japanese movies]]
- [[sri lanka]]
+1 -4
View File
@@ -1,5 +1,2 @@
- #pull [[open letters]] [[closed letters]]
- [[trip to x]]
- [[japan]]
- [[best japanese movies]]
- [[sri lanka]]
+1 -1
View File
@@ -1 +1 @@
- #pull [[topos]]
- #pull [[topos]] [[topoi]]
+5 -1
View File
@@ -5,4 +5,8 @@
- by [[silicon jungle]]
- built on [[braid]], [[redwood]]
- [[go]] https://siliconjungle.substack.com/p/spaces
- a [[thing]].
- in the [[Agora]], a [[node]].
- in the [[Agora]], a [[stoa]].
- on [[Wikipedia]], an [[article]].
- on [[Twitter]]/[[X]] and the [[Fediverse]], a [[post]]