2023-01-30 22:42:06 +01:00
#chaostream
2020-10-30 10:22:55 +01:00
# UpEnd
2021-09-20 13:54:40 +02:00
# --> https://tmladek.substack.com/
# --> https://t.mldk.cz/notes/883493cb-d722-45e6-bb1c-391ab523ac8b.html
-------------------------------------------------
-------------------------------------------------
-------------------------------------------------
2020-11-05 10:30:36 +01:00
# Essential
- alternativni pristup k filesystemu
2020-11-05 11:00:58 +01:00
- file storage jakozto database; database jakozto file storage
- fs ⇋ db ⟹ allmighty library
- ahierarchickej // polyhierarchicky pristup...
2020-11-05 10:55:50 +01:00
> Cut word lines Cut music lines Smash the control images Smash the control machine Burn the books Kill the priests Kill! Kill! Kill!
2020-11-05 10:30:36 +01:00
> - William S. Burroughs - The Soft Machine (1961)
2020-10-30 10:22:55 +01:00
# Summary
#czech
> v podstate moje idea je :
## Base structure
> - databaze kde mas dva druhy objektu: data, a meta
2020-11-05 11:16:22 +01:00
> - (jedinej rozdil je, ze data actually odkazujou [[hash]]em na nejakej file, a meta neodkazujou nikam, jenom slouzej jako "anchor")
2020-10-30 10:22:55 +01:00
> - a ke kazdymu objektu muzes mit arbitrarni keys a values
2020-11-05 11:16:22 +01:00
> - kazdy takovy key/value tvori jeden `E/A/V` triplet (see [Entity Attribute Value model (Wikipedia)](https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model)):
2020-11-05 11:06:07 +01:00
> - `E`ntity = objekt (`neconeco.mp3`, resp. jeho [[hash]])
> - `A`ttribute = klic (`year`)
> - `V`alue = hodnota klice (`2020`)
> - struktura filesystemu samotna je taky `E/A/V` triplet: `FILE_shaiusdhuijhngsoyuhsdf BELONGS_TO_DIRECTORY shaoidsuhjaoijoiasjdioj`
> - (kazdej `E/A/V` je taky objekt na kterej se da odkazovat, kdyby sis chtel anotovat anotace)
2020-10-30 10:22:55 +01:00
## Schemas
> - objekty maj kategorie, ktery znamenaj ze se muzes spolehnout ze objekt co je otagovanej "radio" ma: cas pridani, slozku, heaviness, etc.; co je otagovanej "public" ma: "projekt", "filetype", "rok", etc.
2020-11-05 11:21:29 +01:00
> - to je taky `E/A/V` triplet: `Entita` je ten objekt, `Attribut` je neco jako `IS_A` a `Value` je odkaz na kategorii (ktera je taky objekt slozeny z `E/A/V` tripletu - znacici co musi objekt splnovat)
2020-10-30 10:22:55 +01:00
## Input
2020-11-12 16:49:29 +01:00
> - pridavas soubory bud pres web rovnou do databaze, nebo [[AREAS/DigitalGardenAnabasis/syncthing]]oidne do filetree, a pak zarazujes
2020-10-30 10:22:55 +01:00
## Output
2020-11-05 11:21:29 +01:00
> - output je bud ten, ze je ven exposly jakysi APIcko, ktery ti dava jenom pristup do jedny z moznejch hierarchii, a s tim pracuje treba radio, nebo photo uploader, nebo [[OCR]]ko
Automatic update, changed: 000_start-here.md, EDL.md, annotation.md, archivebox.md, archives in art history.md, artificial intelligence.md, bookmarking.md, codes.md, dendron.md, digital garden.md, fediverse.md, feedfarm.md, filesystem.md, filetag.md, flat-file.md, knowledge managment.md, media annotation.md, mermaid.md, pg_backup.md, playlist.md, portfolio generator.md, projects.ALEADUB.md, projects.UpEnd.md, self-hosting.md, sermon.md, speednote.md, stream.md, upend_notes_tmp.pdf, wikipedia.md
2020-12-28 17:21:22 +01:00
> - nebo ten, ze to proste pouzivas misto file browseru, ale kdykoli mas moznost se vratit zpatky na baseline [[concepts.filesystem]] kdyz najdes, co hledas
2020-10-30 10:22:55 +01:00
## Geekmiscellanea
Automatic update, changed: 000_start-here.md, EDL.md, annotation.md, archivebox.md, archives in art history.md, artificial intelligence.md, bookmarking.md, codes.md, dendron.md, digital garden.md, fediverse.md, feedfarm.md, filesystem.md, filetag.md, flat-file.md, knowledge managment.md, media annotation.md, mermaid.md, pg_backup.md, playlist.md, portfolio generator.md, projects.ALEADUB.md, projects.UpEnd.md, self-hosting.md, sermon.md, speednote.md, stream.md, upend_notes_tmp.pdf, wikipedia.md
2020-12-28 17:21:22 +01:00
> [extremne zmateny notes z prubehu konceptualizace](projects.upend.upend_notes_tmp.pdf)
2020-11-05 11:11:15 +01:00
> (pravdepodobne useless pro kohokoli jinyho)
2020-10-30 10:22:55 +01:00
> (clarification - neni to teda jenom key/value, zjistil jsem ze se tomu rika entity/attribute/value, kdy ten key/value je jenom ta posledni dvojice, a "entity" je nejakej abstraktni anchor ke kterymu se pojej ruzny key/values; moje pointa je, ze entity nemusi bejt enom IDcko na ktery vazes, ale i primo data, ktery muzou existovat tim padem na vic mistech / jako vic filu zaroven (nebo taky zadny), a i ty samotny vztahy mezi entitama, cimz ti vznika moznost i nejak znackovat co vlastne o tech datech rikas)
# Goals
- ~~democratic user interface model a la Syncthing~~
- ~~Content-Addressability~~
- ~~K/V metadata store~~
- schemas / constraints on metadata
- (auto-admin?)
- Links between objects
- 1-way = Tags
- 2-way = Relations
- ~~3-way = ???~~
- 1st order tags
- 1st order links (?)
- kompozice souboru
2020-11-05 11:00:58 +01:00
- skrz schemata! (sub-objekty pojici se k jedne ci vice entitam)
2020-10-30 10:22:55 +01:00
- Modes
- R/O only
- Hybrid
- Full
- FS revisions / metadata only backups
- staging area, queues...
2020-11-13 11:55:40 +01:00
# Design
2020-11-13 12:00:47 +01:00
## Schemas
2020-11-13 11:55:40 +01:00
2020-11-13 12:00:47 +01:00
>Databases that are “schema-less” give you great flexibility and power when putting data in, and are extremely unhelpful when getting it out. A key-value store is a more technical version of “free text”, with the same drawbacks — it is pretty unhelpful when you want to extract info or do anything with the data, since you cannot guarantee that any specific keys will be there.
2020-11-13 11:55:40 +01:00
2020-11-13 12:00:47 +01:00
[Luke Plant - *We need less powerful languages* ](https://lukeplant.me.uk/blog/posts/less-powerful-languages/ )
2020-11-13 11:55:40 +01:00
2020-10-30 10:22:55 +01:00
# Resources // Inspiration
## Whole systems
### Design docs
2020-11-05 11:06:07 +01:00
❗[https://www.nayuki.io/page/designing-better-file-organization-around-tags-not-hierarchies ](https://www.nayuki.io/page/designing-better-file-organization-around-tags-not-hierarchies )
2020-10-30 10:22:55 +01:00
### Similar projects
2020-11-05 11:06:07 +01:00
❗ [Perkeep ](https://perkeep.org )
#### Greglook
2020-10-30 10:22:55 +01:00
[greglook/vault ](https://github.com/greglook/vault )
[greglook/blocks ](https://github.com/greglook/blocks )
[greglook/merkledag-core ](https://github.com/greglook/merkledag-core )
## Criticisms, filesystems
[Files, Formats and Byte Arrays ](https://shalabh.com/programmable-systems/files-and-file-formats.html )
2020-11-05 11:06:07 +01:00
❗ [Programátorova kritika chybějící struktury operačních systémů ](https://blog.rfox.eu/cz/Programatorova_kritika_chybejici_struktury_operacnich_systemu.html )
2020-10-30 10:22:55 +01:00
2020-11-05 11:26:36 +01:00
❗ [There is only one OS, and it's been obsolete for decades ](https://programmingmadecomplicated.wordpress.com/2017/08/12/there-is-only-one-os-and-its-been-obsolete-for-decades/ )
2020-10-30 10:22:55 +01:00
## Highly adjacent projects!
2020-11-05 11:16:22 +01:00
### Datalog
v podstate identicky E/A/V model
2020-10-30 10:22:55 +01:00
[Learn Datalog Today! ](http://www.learndatalogtoday.org/chapter/1 )
2020-11-05 11:16:22 +01:00
### BeOS / HaikuOS
< https: / / www . howtogeek . com / 696193 / what-was-beos-and-why-did-people-love-it / >
Automatic update, changed: 000_start-here.md, EDL.md, annotation.md, archivebox.md, archives in art history.md, artificial intelligence.md, bookmarking.md, codes.md, dendron.md, digital garden.md, fediverse.md, feedfarm.md, filesystem.md, filetag.md, flat-file.md, knowledge managment.md, media annotation.md, mermaid.md, pg_backup.md, playlist.md, portfolio generator.md, projects.ALEADUB.md, projects.UpEnd.md, self-hosting.md, sermon.md, speednote.md, stream.md, upend_notes_tmp.pdf, wikipedia.md
2020-12-28 17:21:22 +01:00
Idea s [[concepts.filesystem]]em jakozto databazi s metadaty:
2020-11-05 11:16:22 +01:00
< https: / / www . haiku-os . org / docs / userguide / en / workshop-filetypes + attributes . html >
2020-10-30 10:22:55 +01:00
# Information enters, is processed
2020-11-29 22:40:33 +01:00
< https: / / blog . owulveryck . info / 2020 / 11 / 13 / ontology-graphs-and-turtles-part-i . html >
2020-10-30 10:22:55 +01:00
![[mapping_language.png]]
2020-11-05 11:21:29 +01:00
< details >
< summary > Random (and outdated) points< / summary >
2020-10-30 10:22:55 +01:00
- content-addressability
- hidden structure within filetypes
- breaking apart from a hirearchy
- key/value store protocol // backend
- VFS compat layer
- config keys as files
- FS as a rich API
- syncthing model, sidecar files
2020-11-05 11:21:29 +01:00
- S3 API ?
2020-11-21 00:46:33 +01:00
< / details >
-----------------------------
# #incubation
- https://github.com/crypto5000/celody