Samuel
I'll be here! come join!
tldraw@tldraw.com· 5 Nov 2024
heya London, we're running a Side Project Saturday this weekend at the tldraw office (pictured), 9AM-noon. come by, have some coffee (and pastries), work on your thing, do some demos. link in next post!
2 4 53
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
Older posts