So Tachi's avatar
So Tachi
so@nuts.cash
npub1dfed...lc7u
building nostr:nprofile1qqs8wfkyxlx00y0kmmvhmwkps3hxyqv7t77jfapwnke0vs8jx8pupxsx8yfv2
So Tachi's avatar
So Tachi yesterday
opentimestamp will fix the empty block syndrome
So Tachi's avatar
So Tachi 2 days ago
Introducing Nipworker...! the nostr library powering @Nuts πŸ₯œ, it's a big chunk, it comes quite opinionated, but it's a good mix of speed and efficiency. It's build around FlatBuffers and heavy uses of web workers, compiled from rust to wasm. Works with any frontend. No React dependency, no Svelte stores to learn, no Vue composables. Just hook-like methods with callbacks that you wire to your framework's reactivity however you want. 4 Dedicated Workers β€’ Connections β€” Relay connections, WebSocket lifecycle, reconnection backoff. Owns all network I/O. β€’ Cache β€” Stores FlatBuffers in ring buffers in real time and IndexedDB in timeout chunks. No refetching what you already have. β€’ Parser β€” Event validation, signature verification, content parsing. Receives raw JSON from relays, outputs FlatBuffers to your frontend. No JSON.parse on the main thread. Ever. β€’ Crypto β€” Signing, NIP:04/44 encryption, NIP:46 remote signer sessions, Cashu proof verification. Each worker runs in its own Web Worker. The main thread just orchestrates. Heavy work happens in parallel. FlatBuffers Instead of JSON NIPWorker speaks FlatBuffers end to end. Raw relay messages get parsed once in Rust, then flow through the system as zero:copy binary views. No JSON.parse. No object allocation. No GC pauses on infinite scroll. Your components read directly from FlatBuffers tables. A Kind1 note's content blocks (images, videos, hashtags) arrive pre:parsed. You iterate them with fbArray() and render straight from the binary buffer to the DOM. The schema lives from wire to HTML. Apollo:Inspired State Management Like Apollo Client, NIPWorker IS your store. You do not need Redux, Zustand, or custom state libraries. useSubscribe pulls FlatBuffers from the worker pool and feeds your UI directly. Subscriptions accept fetch policies: cacheFirst serves from memory immediately if available, noCache always bypass the cache and hits the network. You control the speed versus freshness tradeoff per query. usePublish sends events and tracks relay acknowledgments. Your entire app state flows through these two hooks. Subscriptions are deduped across components automatically. The library manages the cache, merge logic, and reactive updates. Pipeline Architecture Events flow through a processing pipeline: verify β†’ dedupe β†’ filter β†’ transform β†’ store. Each subscription configures its own pipeline. The pipeline runs in the Parser worker before FlatBuffers reach your callback. Opinionated by Design NIPWorker enforces outbox model by default. It reads every author's NIP:65 relay list to discover where they publish. The library manages relay discovery and publication strategy for you. Built for clients that need to render thousands of events without dropping frames. npm install @candypoets/nipworker npx skills add candypoets/skills@nipworker
So Tachi's avatar
So Tachi 2 days ago
there's something debilitating in X where you feel like rereading the same posts all the time
So Tachi's avatar
So Tachi 2 days ago
should have been a reply to corndalorian, somehow landed in my main feed πŸ€·πŸ»β€β™‚οΈ
So Tachi's avatar
So Tachi 2 days ago
I like my own post sometimes.. How worthless is that?
So Tachi's avatar
So Tachi 2 days ago
finding the anwser was never the hard part, stating the problem and asking the right question was. If you give an agent binding context and precise goal, then the answer is a matter of computing power.
So Tachi's avatar
So Tachi 3 days ago
relays are the building block for nostr, changing relays will give you a different angle on the nostr universe, in nuts relays are central, it's right there in your notes, profiles, and threads. It will always select the inbox relays when necessary, but you can change them in every corner of the app to see what happens in other galaxies. πŸ’«
So Tachi's avatar
So Tachi 3 days ago
Yes, Bitcoin is a cult. We believe there is more than fame and money. Sotashi could have been rich and famous but that would have made Bitcoin less powerful. Doing what’s right, focusing on your loved ones, be free, these are what matters. Bitcoin is my religion, Amen
So Tachi's avatar
So Tachi 5 days ago
somehow still coming back to kimi as my workhorse
So Tachi's avatar
So Tachi 6 days ago
building on nostr is fun. building on nostr with smart outbox/inbox is difficult building on nostr for the web is hard. building on nostr with a fast, low memory app is harder. building on nostr with a built in cashu wallet is even harder. @Nuts is all that and it's beautiful
So Tachi's avatar
So Tachi 6 days ago
iran officially recognises having the nuclear bomb. War ends.
So Tachi's avatar
So Tachi 1 week ago
SKILL.md are like mushrooms spot, I do not share them Good night
So Tachi's avatar
So Tachi 1 week ago
Spring opium: Iran charge 5bitcoin / ship to pass Hormuz. Golf states buy as much as they can, withdraw from ETF to actual custody. ETF scam get uncovered. Bitcoin moon, replaces petrodollar in weeks. Chances are slim, but is it one against 1000? Something to think about
↑