mirror of
https://github.com/flancian/garden.git
synced 2026-08-06 14:36:18 +00:00
Compare commits
43 Commits
9495d2b8f9
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 36ece344eb | |||
| a60ba48285 | |||
| 0e72513b57 | |||
| 436d1f2080 | |||
| 55f07b2968 | |||
| 2fb768cdd5 | |||
| f24cc3c045 | |||
| e84b1ed3ef | |||
| 7a7113ee51 | |||
| 7ae947429c | |||
| 321658d458 | |||
| dbb6160527 | |||
| 3c56c6b6a9 | |||
| 05ee62ea9e | |||
| a41164a32e | |||
| 787713c8f0 | |||
| 5a399aaed2 | |||
| 32f0f4fd48 | |||
| d73fad0150 | |||
| 2a8a0a7973 | |||
| 428a76830f | |||
| 6cf86a51cc | |||
| 0b297fe517 | |||
| fe540a1d19 | |||
| 8630add5a3 | |||
| d225d813a6 | |||
| 83bc9f67aa | |||
| 5e26d88e63 | |||
| 58d47b4d0d | |||
| ba72d180ad | |||
| 408ada2324 | |||
| 114bc4e3de | |||
| 91c8222c69 | |||
| 90319b8516 | |||
| ef341f5a77 | |||
| 4ed0ba158b | |||
| 6007844770 | |||
| 3229b5ca80 | |||
| 8c72aeed08 | |||
| 16f577c8c4 | |||
| 053bee9b83 | |||
| 7fe2011480 | |||
| e3812fae45 |
@@ -0,0 +1,14 @@
|
||||
- Thought and discussed some more about the [[Bitwäscherei Agora]] :)
|
||||
- I was going to return tonight to Zürich but I decided to stay one extra night and go to work straight from Ebnat-Kappel, work the second half of the day. I have multiple months of vacation saved up so I thought it was a good thing to self-gift (?) :)
|
||||
- I met so many interesting people for the first time! Some that come to mind right away:
|
||||
- Ananda
|
||||
- Taras
|
||||
- Kim
|
||||
- Ting
|
||||
- Stefan
|
||||
- Markus
|
||||
- Monika
|
||||
- Adam
|
||||
- and many more!
|
||||
- Thank you all! (also all the people I already knew but got to know a lot better during this opportunity!)
|
||||
- Claire showed us a tarot of the future! Name incoming :)
|
||||
@@ -0,0 +1,5 @@
|
||||
- [[ec]] dijo:
|
||||
* aire para los oprimidos
|
||||
* paz para los perseguidos (buenísimo)
|
||||
- [[zine]]
|
||||
- [[La Revolución es un Sueño Eterno]]!
|
||||
@@ -0,0 +1,5 @@
|
||||
- I love [[KM]]... but :(
|
||||
- I ended up going to the [[Zentralwäscherei]] around 17 and stayed until 5am.
|
||||
- I spoke to [[Simon]] about the [[Bitwäscherei Agora]], he has very nice ideas! I think we are building the Commons together.
|
||||
- I spoke to many people and danced, it was cathartic.
|
||||
- I helped fix a computer (to replace one that was broken), tried to help here and there and did some visuals. Many people were doing music and visuals and it was wonderful.
|
||||
@@ -0,0 +1,8 @@
|
||||
- [[2026-08-01]] happened and it was memorable in many ways, some sad and some joyful.
|
||||
- Today I woke up late after going to bed very late and I spent the day with my mum (and Burup); we played [[canasta]] and then went to the lake at [[Tiefenbrunnen]], we had a great time.
|
||||
- Then on the way back home I passed by the [[Wäscherei]] to see who was around/if anything needed doing and to do some work.
|
||||
- An impromptu todo:
|
||||
* Review [[zine]] and maybe start the short prose contribution? The city theme is not strong in my contribution so far!
|
||||
* Review one of my [[dragon tasks]] at work, probably the document that's been in continuous revision for six months now (yikes)
|
||||
* Do something more strictly [[Bitwäscherei]] related, maybe write that wiki importer that I added to the [[agora bridge]] scope some time ago? It would make sense given the sources that the internal Agora needs to import.
|
||||
* I talked about the [[Agora]] and linking notes with Adam!
|
||||
@@ -0,0 +1,8 @@
|
||||
- Very nice feedback/ideas/interactions with the [[SGMK]]/[[Homemade]] community about the [[Bitwäscherei Agora]]! I'm very grateful.
|
||||
- This gave me a nice clear list of further priorities, and I like how they overlap with things I considered through the years and somehow didn't get to yet :) A free form todo list follows.
|
||||
- [[Agora Bridge]]:
|
||||
- [[Mediawiki importer]] -- how do I not really have this yet?!
|
||||
- [[RSS importer]] / [[Wordpress importer]] -- same! Although [[Lord Enki]]'s garden/site was one-off imported with something I coded pre-AI, maybe I still have it around somewhere?
|
||||
- [[Agora Server]]:
|
||||
* Some nice feedback on the visualization in the Agora! People keep commenting how nice it is, I do think that there is plenty of new ideas to also explore in this space!
|
||||
* I really liked [[dusjagr]]'s bringing up his (and his group's) experiments
|
||||
+25
-14
@@ -1,20 +1,17 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# https://click.palletsprojects.com/en/8.1.x/arguments/
|
||||
# https://click.palletsprojects.com/en/8.1.x/options/
|
||||
#
|
||||
# boilerplate shamelessly cloned from prime.py :).
|
||||
|
||||
import click
|
||||
import math
|
||||
import random
|
||||
import sys
|
||||
|
||||
|
||||
class AgoraCmd(click.Command):
|
||||
def format_help(self, ctx, formatter):
|
||||
click.echo("""Usage:
|
||||
- Visit anagora.org/dice to execute this file in the Agora of Flancia.
|
||||
- Visit e.g. anagora.org/dice/17 to throw a 17-sided die, and others :)
|
||||
- Visit e.g. anagora.org/dice/20 to roll a d20 (and see rolls for all smaller dice!).
|
||||
- In general visit anagora.org/foo, anagora.org/foo/bar to execute e.g. <bin/foo.py bar> from your garden.
|
||||
""")
|
||||
|
||||
@@ -31,23 +28,37 @@ class AgoraCmd(click.Command):
|
||||
except SystemExit:
|
||||
sys.exit(exc.exit_code)
|
||||
|
||||
def rand(n):
|
||||
|
||||
def roll_tower(n):
|
||||
proof = []
|
||||
for i in range(2, n+1):
|
||||
for i in range(2, n + 1):
|
||||
r = random.randint(1, i)
|
||||
if i == 2:
|
||||
proof.append(f"You throw a fair coin and it lands [[{bool(r-1) and 'heads' or 'tails'}]].")
|
||||
coin = "heads" if r == 2 else "tails"
|
||||
proof.append(f"Coin flip (d2): [[{coin}]].")
|
||||
else:
|
||||
proof.append(f"You throw a die of [[{i}]] sides and it comes up [[{r}]].")
|
||||
|
||||
return "\n".join(reversed(proof))
|
||||
proof.append(f"d[[{i}]] roll: [[{r}]].")
|
||||
return list(reversed(proof))
|
||||
|
||||
|
||||
@click.command(cls=AgoraCmd)
|
||||
@click.argument('n', type=click.INT)
|
||||
def dice(n):
|
||||
"""A simple randomness generator, imitating those we know and love from R^4 :)."""
|
||||
proof = rand(n)
|
||||
click.echo(proof)
|
||||
"""Simulates rolling a d[[n]] die along with a polyhedral dice tower."""
|
||||
if n < 1:
|
||||
click.echo("Please provide a die size of at least 1.")
|
||||
return
|
||||
|
||||
main_roll = random.randint(1, n)
|
||||
click.echo(f"🎲 Rolling a d[[{n}]]: result is [[{main_roll}]]!\n")
|
||||
|
||||
if n > 1:
|
||||
click.echo(f"Dice tower rolls from d[[2]] up to d[[{n}]]:")
|
||||
tower = roll_tower(n)
|
||||
for line in tower:
|
||||
click.echo(f" • {line}")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
dice()
|
||||
|
||||
|
||||
+1070
File diff suppressed because it is too large
Load Diff
@@ -6,28 +6,13 @@
|
||||
# 2026-07
|
||||
|
||||
```poetry
|
||||
Algún día, algún día
|
||||
Algún día haremos la revolución
|
||||
Algún día, algún día!
|
||||
Algún día haremos la revolución.
|
||||
|
||||
Pero si no ahora: cuándo?
|
||||
Si no ahora cuándo?
|
||||
|
||||
Ay! Quién fuera
|
||||
tal flecha derecha
|
||||
volando hacia el corazón de Moloch
|
||||
|
||||
Ay! Quién fuera
|
||||
tal saeta certera
|
||||
doblando hacia el corazón de Moloch
|
||||
|
||||
Las Jaras:
|
||||
Las jaras, qué jaras?
|
||||
|
||||
Las de Avalokiteshvara!
|
||||
Las de Maitreya,
|
||||
Y Tara!
|
||||
Si no ahora, cuándo?
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
¡Gloria, gloria, gloria!
|
||||
Gloria a las maravillas del universo
|
||||
@@ -35,42 +20,79 @@ Gloria a las maravillas del universo
|
||||
¡Salve, salve, salve!
|
||||
Salve la luz de la consciencia
|
||||
|
||||
¡Agua, agua, agua!
|
||||
Agua para los sedientos
|
||||
|
||||
Y:
|
||||
|
||||
Sal para los hipotensos
|
||||
¡Agua, agua, agua!
|
||||
|
||||
Agua para los sedientos
|
||||
|
||||
Pan (o Flan...) para los hambrientos
|
||||
|
||||
Fuego para los que tienen frío
|
||||
|
||||
Techo para los desamparados
|
||||
Techo para los que no tienen casa (o los desamparados...)
|
||||
|
||||
Luz para los que leen
|
||||
Paz para los oprimidos
|
||||
|
||||
Luz para los que ven
|
||||
|
||||
Ágora para los que escriben
|
||||
|
||||
Libertad para los oprimidos
|
||||
Flancia para los que leen
|
||||
|
||||
Libertad para los seres sintientes
|
||||
|
||||
¡Libertad, libertad, libertad!
|
||||
|
||||
```
|
||||
|
||||
|
||||
```poetry
|
||||
Ay! Quién tuviera
|
||||
Los ojos verdes de Lady Burup
|
||||
|
||||
Sus ojos negros
|
||||
Trasnochando
|
||||
Sus bellas rayas!
|
||||
|
||||
Ay! Quién tuviera
|
||||
Los ojos negros de Lady Burup
|
||||
|
||||
Sus ojos verdes
|
||||
Tornasolados
|
||||
Sus bellas rayas!
|
||||
```
|
||||
|
||||
```poetry
|
||||
Ay! Quién fuera
|
||||
una flecha derecha
|
||||
volando hacia el corazón de Moloch
|
||||
|
||||
Ay! Quién fuera
|
||||
una saeta certera
|
||||
silbando hacia el corazón de Moloch
|
||||
|
||||
Ay! Quién fuera
|
||||
tal jara dos jaras
|
||||
doblando hacia el corazón de Moloch
|
||||
|
||||
Las jaras, qué jaras?
|
||||
Las de Avalokiteshvara,
|
||||
Maitreya! Y Tara…
|
||||
```
|
||||
|
||||
`
|
||||
```poetry
|
||||
Gone gone
|
||||
|
||||
Gone gone,
|
||||
Gone beyond
|
||||
|
||||
Everybody gone
|
||||
|
||||
to the other shore
|
||||
|
||||
Gone free
|
||||
Gone free,
|
||||
Gone kindly
|
||||
|
||||
When you have to go:
|
||||
|
||||
(When you have to go…)
|
||||
Go free
|
||||
Go kindly
|
||||
|
||||
|
||||
Reference in New Issue
Block a user