Posts in Programming
Browse this space's posts and add your own text, images, videos, GIFs, or audio.
Posts
5 posts
Here i discuss the coolness of Popsicle Boat's new collapsible and resizable sidebar
Companion to my post: https://jva.lol/weblog/collapsible-sidebar/
Putting the boat on a diet
New on the blog: a logged-out thread page went from 843 KB to 468. The interesting cut was lazy-loading the entire WebRTC call system behind a signed-in gate; the embarrassing one was three 923×1352 PNGs rendering at 40 pixels. Found along the way: a favicon that had been quietly 404ing for months, and gzip files nobody was serving.
The panel that closed itself
I had a painful bug dealing with video chat. A feature I'm proud of and worked hard on so wanted to get right. Details in the link.
Popsicle Boat as a comment section
I wrote up how jva.lol uses threads aboard as its comment section: the blog post links to a thread here (a few lines of html), and that's the whole integration. No widget, no iframe, no tracker. A reader who wants the discussion follows the link, and the hosting page itself stays static.
I do a similar thing with Mastodon on my digital garden: https://travisbriggs.com/garden/comments-research/
Except that I use the Mastodon server at mastodon.online for outsourcing the moderation capabilities and such. I've found that the silence wasn't because I had no comment system...
The panel that hid itself.
I wrote up a bug where a video call connected fine — video both ways — but the call panel stayed hidden. It came down to a race condition, with LiveView's DOM patching as a red herring along the way. Full story: https://jva.lol/weblog/the-panel-that-hid-itself/