mirror of
https://github.com/flancian/garden.git
synced 2026-08-05 22:16:20 +00:00
Compare commits
66 Commits
b07d294d1e
...
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 | |||
| 9495d2b8f9 | |||
| e656cfcf9d | |||
| 57551097aa | |||
| 219595ed05 | |||
| a2887f9404 | |||
| da0b4d6b46 | |||
| e822cfc2e2 | |||
| 9a5dbdba73 | |||
| e61179ae5c | |||
| f7028f8722 | |||
| b44d500415 | |||
| 5006c78fc1 | |||
| 33ad7acccf | |||
| 7353291fd6 | |||
| 8a21454381 | |||
| 64a7e533cc | |||
| 7e74d42a1b | |||
| 0b03e40e48 | |||
| 2531134e70 | |||
| f1d8e65022 | |||
| c3f58c489a | |||
| e231242f07 | |||
| 32b10da2db |
@@ -0,0 +1,28 @@
|
||||
- I'm writing this in [[Homemade]] just after hosting a discussion about the Commons and the [[Agora]]. It was great!
|
||||
- The whole three days here so far have been great; I am thankful for the experience.
|
||||
- The first day I came over with [[KM]] and [[David]], they stayed one night. We had a beautiful walk in the vicinity with an imposing view of the Alps.
|
||||
- Yesterday night I worked on setting up a local Agora for the [[Bitwäscherei]] space in Zürich, which [[SGMK}] is a part of.
|
||||
- Tomorrow I leave. I am looking forward to the last night and the last day -- I plan to head bac kto Zürich, probably walking down the mountain to the train station, around 5-6PM on [[2026-07-28]].
|
||||
- I am writing this without really reading the screen, after a new friend of mine perhaps, while I watch a movie I don't quite understand that is exclusively in German without subtitles :)
|
||||
- So these notes might be more disjointed and potentially lillegible than usual, although my standards are quite low many days, and to be honest maybe even rough unedited (even unseen) notes are better than no notes! And no notes has been the general standard in the last few months!
|
||||
|
||||
|
||||
---
|
||||
|
||||
And then I thought about the [[zine]].
|
||||
|
||||
(I wished I could write to [[bouncepaw]] here, right here when I'm writing these notes, and then I realized this was possible. It is literally what I'm doing right now :) -> Wrote in Telegram.)
|
||||
|
||||
Today in the conversation associated with the [[Agora presentation]] (and thank you Simon!) [[dusjagr]] shared an LLM generated [[zine]] It didn't quite work when we tried it (it was a demo, after all!) but I liked the idea and realization already a lot. It is a zine that is generated based on the content of some wikis that the LLM is aware of!
|
||||
|
||||
-> [[zine generator]] https://weiweiweiopen.github.io/peach-blossom-spring/
|
||||
|
||||
[[dusjagr]] also shared a beautiful tool to visualize [[timelines]] of [[the lifecycle of wikis]], e.g.
|
||||
|
||||
-> [[wiki lifecycle]] https://arai-eek.github.io/wiki-research/sgmk.html
|
||||
|
||||
---
|
||||
|
||||
I met many interesting people this weekend! So many. I feel very lucky indeed!
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import click
|
||||
import math
|
||||
import sys
|
||||
|
||||
|
||||
class AgoraCmd(click.Command):
|
||||
def format_help(self, ctx, formatter):
|
||||
click.echo("""Usage:
|
||||
@@ -27,29 +28,40 @@ class AgoraCmd(click.Command):
|
||||
except SystemExit:
|
||||
sys.exit(exc.exit_code)
|
||||
|
||||
|
||||
@click.command(cls=AgoraCmd)
|
||||
@click.argument('freq', type=click.FLOAT)
|
||||
def hz(freq):
|
||||
"""Calculates the closest note to input hz :)"""
|
||||
"""Calculates the closest musical note to an input frequency in Hz."""
|
||||
if freq <= 0:
|
||||
click.echo("Frequency must be positive.")
|
||||
return
|
||||
|
||||
A4 = 440
|
||||
A4 = 440.0
|
||||
|
||||
# Number of half steps away.
|
||||
n = 12 * math.log2(freq / A4)
|
||||
n = round(n)
|
||||
note_index = n % 12
|
||||
# Exact continuous half steps from A4
|
||||
n_exact = 12 * math.log2(freq / A4)
|
||||
n = round(n_exact)
|
||||
|
||||
# Pitch deviation in cents (100 cents = 1 semitone)
|
||||
cents = round((n_exact - n) * 100)
|
||||
|
||||
notes = ["A", "A#", "B", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#"]
|
||||
note_index = n % 12
|
||||
note = notes[note_index]
|
||||
|
||||
octave = 4 + (n // 12)
|
||||
if note in ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#"]:
|
||||
# compensate for the fact that octaves are counted from C
|
||||
# compensate for octave starting at C
|
||||
octave += 1
|
||||
|
||||
click.echo(f"hz({freq}) is {note}{str(octave)}.")
|
||||
# click.echo(f"hz({freq}) is {note}.")
|
||||
note_name = f"{note}{octave}"
|
||||
cents_str = f" ({'+' if cents > 0 else ''}{cents} cents)" if cents != 0 else " (perfect pitch)"
|
||||
|
||||
click.echo(f"[[hz/{freq}]] is closest to [[{note_name}]] at [[{freq}]] Hz{cents_str}.")
|
||||
click.echo(f"Note class: [[{note}]], Octave: [[octave/{octave}]].")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
hz()
|
||||
|
||||
|
||||
+39
-29
@@ -1,20 +1,33 @@
|
||||
#!/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
|
||||
|
||||
|
||||
def decompose(n):
|
||||
"""Decomposes n into chunks of 7, 4, 3, 2, and 1."""
|
||||
if n <= 0:
|
||||
return []
|
||||
ret = []
|
||||
while n > 7:
|
||||
ret.append(7)
|
||||
n -= 7
|
||||
if n == 6:
|
||||
ret.extend([3, 3])
|
||||
elif n == 5:
|
||||
ret.extend([3, 2])
|
||||
else:
|
||||
ret.append(n)
|
||||
return ret
|
||||
|
||||
|
||||
class AgoraCmd(click.Command):
|
||||
def format_help(self, ctx, formatter):
|
||||
click.echo("""Usage:
|
||||
- Visit anagora.org/tare to execute this file in the Agora of Flancia.
|
||||
- Visit e.g. anagora.org/tare/23 to print 23 syllables.
|
||||
- Visit e.g. anagora.org/tare/23 to print 23 syllables of the Tara mantra.
|
||||
- In general visit anagora.org/foo, anagora.org/foo/bar to execute e.g. <bin/foo.py bar> from your garden.
|
||||
""")
|
||||
|
||||
@@ -31,35 +44,32 @@ class AgoraCmd(click.Command):
|
||||
except SystemExit:
|
||||
sys.exit(exc.exit_code)
|
||||
|
||||
def decompose(n, p):
|
||||
ret = []
|
||||
while n > 7:
|
||||
ret.append(7)
|
||||
n -= 7
|
||||
if n == 6:
|
||||
ret.append(3)
|
||||
ret.append(3)
|
||||
elif n == 5:
|
||||
ret.append(3)
|
||||
ret.append(2)
|
||||
else:
|
||||
ret.append(n)
|
||||
|
||||
return ret
|
||||
|
||||
@click.command(cls=AgoraCmd)
|
||||
@click.argument('n', type=click.INT)
|
||||
def tare(n):
|
||||
"""Just for fun, as many of these -- partly inspired by an Asimov story :)"""
|
||||
"""Generates [[n]] syllables of the [[Green Tara]] mantra: Om Tare Tuttare Ture Svaha :)"""
|
||||
parts = {
|
||||
1: ['Om'],
|
||||
2: ['Tare', 'Ture'],
|
||||
3: ['Tuttare'],
|
||||
4: ['Tare Ture'],
|
||||
7: ['Tare Tuttare Ture'],
|
||||
8: ['Tuttare Tuttare Ture'],
|
||||
1: '[[Om]]',
|
||||
2: '[[Tare]] [[Ture]]',
|
||||
3: '[[Tuttare]]',
|
||||
4: '[[Tare]] [[Ture]] [[Svaha]]',
|
||||
7: '[[Om]] [[Tare]] [[Tuttare]] [[Ture]] [[Svaha]]',
|
||||
}
|
||||
click.echo(decompose(n, parts))
|
||||
|
||||
chunks = decompose(n)
|
||||
if not chunks:
|
||||
click.echo("Please provide a positive integer count of syllables.")
|
||||
return
|
||||
|
||||
mantra_lines = [parts.get(c, f"[[syllables/{c}]]") for c in chunks]
|
||||
click.echo(f"[[Green Tara]] mantra breakdown for [[{n}]] syllables:")
|
||||
for i, line in enumerate(mantra_lines, 1):
|
||||
click.echo(f" {i}. {line}")
|
||||
|
||||
click.echo(f"\nTotal syllables: [[{n}]]")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
tare()
|
||||
|
||||
|
||||
+1070
File diff suppressed because it is too large
Load Diff
@@ -6,50 +6,105 @@
|
||||
# 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]]?
|
||||
Pero si no ahora: cuándo?
|
||||
Si no ahora, cuándo?
|
||||
```
|
||||
|
||||
```
|
||||
¡Gloria, gloria, gloria!
|
||||
Gloria a las maravillas del universo
|
||||
|
||||
¡Salve, salve, salve!
|
||||
Salve la luz de la consciencia
|
||||
|
||||
Y:
|
||||
|
||||
¡Agua, agua, agua!
|
||||
|
||||
Agua para los sedientos
|
||||
|
||||
Pan (o Flan...) para los hambrientos
|
||||
|
||||
Fuego para los que tienen frío
|
||||
|
||||
Techo para los que no tienen casa (o los desamparados...)
|
||||
|
||||
Paz para los oprimidos
|
||||
|
||||
Luz para los que ven
|
||||
|
||||
Ágora para los que escriben
|
||||
|
||||
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
|
||||
Gone gone
|
||||
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 beyond
|
||||
|
||||
Everybody gone
|
||||
to the other shore
|
||||
|
||||
Gone free
|
||||
Gone free,
|
||||
Gone kindly
|
||||
|
||||
If you have to go:
|
||||
Go awake
|
||||
(When you have to go…)
|
||||
Go free
|
||||
Go kindly
|
||||
|
||||
Go awake
|
||||
Meditate
|
||||
```
|
||||
|
||||
```poetry
|
||||
¡Agua, agua, agua!
|
||||
Agua para los sedientos
|
||||
|
||||
Sal para los hipotensos
|
||||
Pan (o Flan...) para los hambrientos
|
||||
|
||||
Fuego para los que tienen frío
|
||||
Techo para los desamparados
|
||||
|
||||
Luz para los que leen
|
||||
Ágora para los que escriben
|
||||
|
||||
Libertad para los oprimidos:
|
||||
¡Libertad, libertad, libertad!
|
||||
```
|
||||
|
||||
``
|
||||
|
||||
# Earlier
|
||||
|
||||
- The following is a snapshot of some of the fragments I contributed; the source of truth now lives in [[Overleaf]] as of [[2024-09-28]].
|
||||
- The following is a snapshot of some of the fragments I contributed earlier/initially; the source of truth moved to [[Overleaf]] as of [[2024-09-28]], until [[2026]] when it fragmented/came back to Markdown.
|
||||
|
||||
## Gloria
|
||||
|
||||
@@ -138,6 +193,8 @@ Sus rayas bellas!
|
||||
|
||||
-
|
||||
|
||||
(This became a song)
|
||||
|
||||
Bella muy bella Burup
|
||||
Bella muy bella Burup
|
||||
|
||||
@@ -148,7 +205,7 @@ True Burup
|
||||
|
||||
## Las Jaras
|
||||
|
||||
I once found this card at the confluence of two rivers and it answered a question.
|
||||
I once found this card at the confluence of two rivers and it answered a question (this is still true.)
|
||||
|
||||
```
|
||||
Las jaras:
|
||||
@@ -195,6 +252,8 @@ Go with love!
|
||||
|
||||
## Tara
|
||||
|
||||
(This became a mantra.)
|
||||
|
||||
```
|
||||
Tare tuttare ture:
|
||||
Tuttare tuttare ture.
|
||||
@@ -208,19 +267,26 @@ Maitre ya!
|
||||
|
||||
```
|
||||
|
||||
# Outro
|
||||
## Carcaj
|
||||
|
||||
Llevo en mi carcaj dos jaras:
|
||||
#Flancia y el [[Agora]]!
|
||||
[[Flancia]] y el [[Agora]]!
|
||||
|
||||
Las jaras, qué jaras?
|
||||
|
||||
Las de Avalokiteshvara
|
||||
Las de Tara
|
||||
Las de Maitreya!
|
||||
|
||||
## Rainbow folding
|
||||
We will be
|
||||
like a [[rainbow folding]],
|
||||
like [[Maitreya flowing]]
|
||||
|
||||
##
|
||||
We will be straight, straight, straight!
|
||||
Straight like an arrow
|
||||
|
||||
Like an arrow,
|
||||
true to self
|
||||
|
||||
Ever bending
|
||||
|
||||
like a [[rainbow folding]],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user