Update for the week ending on Friday, Jul 5, 2024
mtlynch.io
- Published “Configure a Git Shell Prompt Under Nix”
Hit the Front Page of Hacker News
- Presented lesson two of course
- Scheduled first video interview for course bonus material
zenith
zenith is an experimental implementation of the Ethereum virtual machine in pure Zig. I probably won’t implement the whole thing, but it’s a fun way to play around with Zig on a project where Zig does seem to actually be the right tool.
- Upgraded to Zig 0.12.0
- Prepared upgrade to Zig 0.13.0
- I’m waiting on the ZLS 0.13.0 Nix package to become available
ScreenJournal
ScreenJournal is basically Goodreads, but for TV and movies. Or letterboxd, but focused on small communities.
- Switch to htmx for submitting movie reviews
- Switched from a JSON-based API to an HTML-based API with htmx
- Also simplified reviewPostRequest
- Consolidated logic for creating reviews and updating views
- They were previously two independent page templates, but they can be a single page template with slight differences
- Reimplement review deletion with htmx
- Reimplemented notification preferences UI in htmx
- Reimplemented password change UI in htmx
- Simplify watch date to YYYY-MM-DD format
- I think the longer one was for timezone differences, but I only have users in a single timezone, so it’s a lot of extra complexity for no reason at this point
- Adjusted playwright tests to identify form fields by their label rather than CSS selector
- Labels are much less brittle
- Improved CSS selectors in Playwright tests
- Moved
h1
element to the base page template- It makes the homepage look a little silly, but it’s better than duplicating
h1
code on every page.
- It makes the homepage look a little silly, but it’s better than duplicating
- Made
mockMetadataFinder
behave deterministically- It turns out that order when iterating a Go map is not guaranteed, so I switched from a map to a slice
- Obviously slower, but we’re dealing with <5 elements, so performance doesn’t matter
- Replaced the
"2006-01-02"
magic string with the predefinedtime.DateOnly
- Changed Go application logs to print full paths instead of filenames
- Helpful because I have several files with the same filenames in different directories
- De-duplicated logic for parsing TMDB release dates
- Deleted a dead controller and dead block that were unneeded after switching to htmx
resticpy
- Accepted a PR to fix a CI break
- Updating contributing guidelines
- Accepted a PR to add support for
--tags
and--host
arguments to snapshots command - Cut 1.0.6 release
PicoShare
PicoShare is a minimalist web-based file sharing tool I’m working on. I’m often frustrated that I can’t just send someone a link directly to a file because every file-sharing service tries to re-encode images/video or wrap their own viewer around other files, so I’m making a simple self-hostable tool that lets you upload files and share them with other people.
- Switched to long paths in server logs
- Switched to
time.DateOnly
instead of"2006-01-02"
magic string
Dusty VCR
- Published “Episode 28: Air Bud (w/ Molly Hynes)”
Framework 13 Laptop
- Ordered and received my first Framework 13 laptop
- After 10+ years exclusively on Microsoft Surface laptops and Windows, I’m trying to switch away
- Installed NixOS and am trying to make that the only OS
- I don’t have it quite configured how I want, but I’m making progress
- I’ve only had a few hours to test it, but:
- One of the best unboxing experiences I’ve had of any products ever
- I was dreading having to put together a laptop, but the instructions were so clear and the process was so straightforward that it was fun and satisfying
- Hardware kill switch for camera and mic is really nice
- I’ve run into some strange issues with the power button where it seems to not wake from sleep sometimes unless I hold power down, so I need to dig further into that
Misc
- Visited German embassy
- Harassed insurance about baby expenses
- Got measurements for new blinds
- Scheduled exterminator to treat for termites
- Shopped for stroller and nursing chair