Sean

Weekly Brain Dump #14

- 570 words

At a Glance

Taylor Community

I’ve rewritten the live updating mechanism. I was tempted to switch away from htmx but decided to stick with it in the end but needed a better architecture. The biggest issue was actually how I figured out what had updated. I was just asking each type of record I cared about if they had been updated. It kind of worked but it didn’t handle the case of things being deleted and it required quite a few different database queries to figure out.

The new architecture now has a model for all the updates in the system that I care about. When you update a post it creates an Update record that says a post was updated. When you delete a post it creates an Update record that says a post was deleted. This has cleaned up that whole code path a lot.

Desk Cleanup

Finally got the energy up over the weekend to clean my desk up. Including pulling apart my keyboard and giving it a thorough clean. I also took the opportunity to replace the AI generated desk mat I accidentally bought without realising it was AI generated with one made by an actual artist.

My desk with a black desktop PC case, an ultrawide monitor, a split
keyboard, a MacBook, a ghibli themed desk mat, and a trackball.

Below the desk is an old looking desktop PC.

Arcade Stick Modding

The parts I ordered all arrived so I spent about an hour getting them all installed into my 8BitDo Arcade Stick and it has come out amazing! It’s genuinely so nice to be able to play Tetris the Grand Master 4 comfortably on the couch as efficiently as I do at my desk.

I’m really happy with the button colour choices. They look even better than I had hoped when I was planning it out. Also they came a lot quicker than expected, the estimated arrival for half of them was early next month.

An 8BitDo Arcade Stick with the joystick replaced with a mixbox
converter and the buttons upgraded to white, pink, blue, orange, and purple
Sanwa buttons.

P.S. I also posted this over on Reddit as I found a neat trick for getting the 5-pin joystick to plug in nicely.

Some Words on WigglyPaint: This really saddens me, people will steal anything for a quick buck.

From Heroku to Render: Render sounds nice, I like the sound of the Database URL button.

Introducing Loom: A nice new [TUI] framework for [Go] that’s more reactive. [TUI]: https://en.wikipedia.org/wiki/Text-based_user_interface [Go]: https://go.dev/