Samuel
People’s Decentralised Protocol of Judea vs the Judean’s People’s Decentralised Protocol
5 23 138
Samuel
we need to make a storage medium that's floppy again. the vibes are immaculate
13 26 262
Samuel
man goes to the Abstract Singleton Factory. asks for one of everything
7 32 238
Samuel
a feed generator is in a sense a sort of sub-appview - it provides a partial and *extremely* opinionated view of the network are feedgens federated appviews?
7 5 81
Samuel
everyone on the new techsky cluster this week: day 0: hello world! *follows all on 10 starter packs* day 1: set up my domain handle :) I love buying domains day 2: wow open API and hackable client! cool! day 3: found the rate limits 😶
17 30 423
Samuel
atproto records are addressed with an AT URI, which has three parts: the host, the collection, and, the record key (shortened to rkey) at://mozzius.dev/app.bsky.feed.post/3l7z4whnkr224 host: where it is collection: what it is rkey: which one it is
9 11 139
Samuel
this fun fact brought to you by the bug that caused me to simultaneously post 50 test posts yesterday
React@react.dev· 1 Nov 2024
did you know that you can conditionally exit an effect? this is useful if you want a subscription to only stay active while some condition is true, and to stay removed while that condition is false. a bit mindbending, but so it is with react!
a code block:

  React.useEffect(() => {
    if (!isActive) {
      return
    }
    textInputWebEmitter.addListener('emoji-inserted', onEmojiInserted)
    return () => {
      textInputWebEmitter.removeListener('emoji-inserted', onEmojiInserted)
    }
  }, [onEmojiInserted, isActive])

the if (!isActive) condition is highlighted as newly added code
3 3 110
Samuel
kv store + event stream + trustless network cache lowkey goated
1 1 42
Samuel
you can really see the parallels with React in this diagram lol
Samuel@samuel.fm· 3 Nov 2024
and to wrap things up, this is what writes look like. your client writes the new record to your PDS, which flows out down to the AppViews' caches, where it'll finally reach your client again (we're thinking of letting AppViews make writes on your behalf, but that's an optional UX/DX optimisation)
A green arrow labelled "write" goes from the App to your Data Storage at the top of the diagram. the Websocket arrows from your PDS to the AppViews are colored green along with the databases in the AppViews
2 3 35
Older posts