#fuck_jews's avatar
#fuck_jews
npub17jj9...5kx3
let's #fuck_jews
#fuck_jews's avatar
#fuck_jews 2 hours ago
i wrote this then polished in claude The rationale for such fancy structures: When your app serves any dataset, RAM must hold it entirely — not just what's on screen, but everything. The moment you open your Nostr client, memory is already allocated for your whole DM history, every conversation thread, every timeline — even if you haven't navigated there yet. See, that cost compounds across every feature you add: group chats, multiple feeds, relay subscriptions — it all stacks up. How traditional development handles this: In a frontend-backend model, data lives on servers. The app's only job is to fetch what's needed right now, paint the screen, then throw it all away. This is why mainstream web dev gravitates toward immutable, stateless patterns — not because immutability is efficient (in other fields it's considered a joke, a memory hog), but because the server absorbs the real cost. The client stays deliberately thin. But we don't have a server. also created this inaccurate infograph in grok the point is: -traditional model starts from RAM and optimizes downward -client-only mode Must start from disk up image
#fuck_jews's avatar
#fuck_jews yesterday
Okay, now our fancy little structure should live in OPFS land but since OPFS is new i though why not implement it to IndexedDB first to get a feel of it going live in a moment.... View quoted note →
#fuck_jews's avatar
#fuck_jews yesterday
finally done with sketching the persistence backbone structure for the Continuum results: -50 million items -maximum depth of 10 on a buffer limit of also 10 (max items/node) -0 orphans -the whole insertion method is only 65 lines of code this total satisfaction image View quoted note →
#fuck_jews's avatar
#fuck_jews 3 days ago
Just to put it in perspective: Imagine you have the ability to store all bitcoin transactions history in you phone/pc, updating them on each new block And still run super fast View quoted note →
#fuck_jews's avatar
#fuck_jews 3 days ago
Continuum handling 2 million entries like its nothing If this was the norm for client-only apps Client-only apps would be way faster and lighter than than traditional back-ended ones by definition image
#fuck_jews's avatar
#fuck_jews 3 days ago
An Engineer is an Engine-ear Not a Dumb-in-there
#fuck_jews's avatar
#fuck_jews 3 days ago
all PHD'iers in my family are globe-model refusers or agnostics at best
#fuck_jews's avatar
#fuck_jews 3 days ago
did you know that if you store all strings in a fancy 'trie' structure you get compression on the house? #Fuck_the_jews
#fuck_jews's avatar
#fuck_jews 3 days ago
كان فيها برنامج بيسألك 4 أسألة وبيستنتج ايش اسمك و اسم صديقك المفضل image
#fuck_jews's avatar
#fuck_jews 4 days ago
ok goys, lets continue NOW THE THING WITH ALL WEB DEV is the total dependent on back-end servers to reach for all longs sequences of data so to be able to escape that web dev needs a primitive to do the back-end job inside the client and that implies dependable persistent sorted arrays so i've been building a trie structure (not a tree) that enables O(n) positional access for stored arrays that works with arrays of unlimited lengths (disk size is the limit) **positional access: is arr[number] process is streamed on View quoted note →
#fuck_jews's avatar
#fuck_jews 4 days ago
just got distracted for 5 hours by family call from gaza, they are fighting death over seasonal flow due to their royal diet don't worry westren goy little children are okay (keep your pedo fantasies away) continuing about the Continuum in a twitch stream in a minute View quoted note →