Sirius's avatar
Sirius
sirius@iris.to
npub1g53m...drvk
developing iris.to
Sirius's avatar
Martti Malmi 1 year ago
I wrote this in junior high school. The teacher didn't appreciate it, and I had to write a new one. image
Sirius's avatar
Martti Malmi 1 year ago
Follow distance indicator (checkmark) helps, but maybe we should save the followed user's name at the time of follow into our own follow list. image
Sirius's avatar
Martti Malmi 1 year ago
For custom apps on nostr, instead of random event kinds like 33442, let's use descriptive and human-readable "f" tags (for "folder") such as "apps/market/item" and corresponding "d" tag "apps/market/item/[uuid]".
Sirius's avatar
Martti Malmi 1 year ago
Celebrated Bitcoin Pizza Day at the cryptoanarchist haven Paralelní Polis, Prague. Privacy and scaling were the hot topics of discussion. Prague, a former capital of the Holy Roman Empire, is the most beautiful city I have seen. Vast areas of centuries-old architecture just go on and on. ‘Awesome’ is the proper term here. It makes you feel connected to the generations before us and part of something bigger than yourself, something that is worth preserving. I will be back soon for BTC Prague.
Sirius's avatar
Martti Malmi 1 year ago
Blossom is great. Should we integrate it into nostr relays as a websocket command so you don't need separate media hosts? Or use DVM so you can also pay for downloads? Same "get blob by hash" command could be used by more advanced structures like merkle trees for large files that can be chunked and downloaded from multiple peers simultaneously like torrents. Video file in a merkle tree could be used for streaming: you'd publish the latest merkle root every few seconds?
Sirius's avatar
Martti Malmi 1 year ago
Iris & Snort users: how do you find the "For you" feed? Do you use "for you" or "follows"? Personally I'm finding "for you" more interesting. It's not great, but it brings up new posts every time and it's not dominated by chat messages in Japanese.
Sirius's avatar
Martti Malmi 1 year ago
IrisDB uses tag-replaceable events of kind 30078. "d" tag is the "file path", for example "groups/follows/somePublicKey" or "user/profile/name". You can update the content of the "file" with a new event that has the same tag. "f" tag is the "directory path". "groups/follows" in this case. You can list all the "files" in the directory by querying relays with the "#f" tag filter. Strfry doesn't index this field, but some relays do. Content field is the file content, can be any JSON serialized data. If we did profile fields and follow lists this way, there would be no overwrite problem when you sign in to a new device that doesn't have your previous profile or follow list. If we did likes that way, unliking would be trivial. When we create new Nostr apps or features, we don't need to come up with new obscure event kinds. D tag "apps/events/some-event-name/participants/some-public-key" is more descriptive than some random number that might still conflict with someone else's application. I wanted to name it "treelike" instead of IrisDB in order to not sound overly complicated, but the npm package name was already taken. - react app starter template: npm create iris@latest
Sirius's avatar
Martti Malmi 1 year ago
We have new stuff. Not much tested yet, so feedback is welcome: 1) Iris Docs — Proof-of-concept collaborative text editor and simple canvas on Nostr. Recently also added a chat, so might rename to Iris Apps? image 2) IrisDB — Extensively used by Iris Docs. Tree-like data structure on Nostr. Build wikis, marketplace apps, games and other decentralized applications where users can choose whose edits they want to see (e.g. followed users, extended social network or specific group). Enables science fiction stuff like deleting & unliking posts, or editing a user profile or list of users without risking overwriting the whole thing with an out-of-sync version. Use a filesystem-like interface to create all kinds of applications on Nostr without having to define obscure event kinds for each purpose. Has simple & powerful useLocalState and usePublicState hooks for React applications. 3) npm create iris@latest — A template that quickly gets you started with Nostr & IrisDB web application development. with dev tools and basic components like login, settings or avatar. Built on Iris Docs — remove the parts you don't need. Decentralize everything! image
Sirius's avatar
Martti Malmi 1 year ago
"Nostr Development Kit" reminds me of "Garden of Eden Creation Kit" from Fallout. image
Sirius's avatar
Martti Malmi 1 year ago
Experiencing slight Madeira FOMO. Didn't realize how many cool #nostr and #bitcoin people there are that I only met last year. Have fun, and see you in Prague & Riga!
Sirius's avatar
Martti Malmi 1 year ago
Do you have experience quitting caffeine? How long did it take to get back to baseline? I've been without caffeine for 2 weeks. Mood and motivation are not back yet. Wanted to sleep better and have a regular heartbeat. Feeling more calm now, but I'm not sure if this is worth it 😄 I've developed a deep association between coffee and coding over the years. image