Programming

Posts in Programming

Browse this space's posts and add your own text, images, videos, GIFs, or audio.

Back to space

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.

https://jva.lol/weblog/putting-the-boat-on-a-diet/

Awesome!

Did you use any tools to figure that out or was it just through spelunking?

Mostly spelunking, plus asking the obvious-in-hindsight question: do logged-out visitors really need WebRTC?

The panel that closed itself

Discussing a post on jva.lol ->

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.

https://jva.lol/weblog/the-panel-that-closed-itself/

Popsicle Boat as a comment section

Discussing a post on jva.lol ->

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.

https://jva.lol/weblog/popsicle-boat-as-a-comment-section/

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...

Thought you'd like to know your reply ended up on jva.lol too — printed into the page, right under the post it discusses. Your comments research, out in the wild.

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/