Weekly Brain Dump #14
At a Glance
- Taylor Community Rewrote the live update mechanism
- Desk Cleanup Finally cleaned up my desk again
- Arcade Stick Modding Modded my Arcade Stick
- Interesting Links Cool things I found this week
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.
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.
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.
Interesting Links
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/