Anders Murphy
banner
andersmurphy.bsky.social
Anders Murphy
@andersmurphy.bsky.social
Adaptive row rendering virtual scroll in #datastar. The red number is the total number of rows rendered including offsets/tolerance.
August 21, 2025 at 1:49 PM
Had a load of fun at Maker Gonna Make Dundee. Ended up making a location share QR code (after spending a morning messing with quadkeys).

The codes are generated on the server, converted to SVG and then morphed in to DOM via SSE (using #Datastar). They compress nicely too.
July 27, 2025 at 7:48 AM
Simple checkbox art location share links with #datastar
July 21, 2025 at 8:40 PM
Two way data bindings when you need them makes #datastar an absolute joy to work with.
June 15, 2025 at 3:39 PM
Compression vs diffing it's not as intuitive as you think.

Sending down 2304+ divs (85041 bytes uncompressed ) over SSE and relying on #brotli compression instead of diffing results in a checkbox change being 13 bytes.
June 9, 2025 at 1:18 PM
10000 check request per second (in production). Rendering 10/s. Each check is 2 reads and 1 a write. #SQLite + #Datastar =🐐. Zero impact on user interactions (see the yellow checkboxes).
June 2, 2025 at 4:49 PM
#Emacs Tramp + Dired is amazing. Just compiled SQLite on my server and now I can transparently copy it to my local machine. But, as a user it's just like I'm just working on a single machine.
May 21, 2025 at 10:03 AM