Category
Technical Notes
Reading paths
Read end to end.
Running My Own Music Stack
A self-hosted music setup with no subscription that keeps the fun parts of streaming: finding new songs, sounds-like-this mixes, listening stats and music that goes offline. Part 1 explains why I left Spotify and how I use the stack; the other four cover the lossless library, the Rockbox iPod, listening history and stats, and AudioMuse.
Start →Building an AI Podcast Index
An eight-part build-along: a locally-running tool that ingests a YouTube podcast channel, extracts guests and topics, lets you clip-search by intent, and generates questions for future episodes — using uv, FastAPI, Vite + React, and a provider-switchable LLM client.
Start →Python Monorepos in 2026
A five-part series on building Python monorepos with uv workspaces — package boundaries, Pydantic-to-TypeScript shared schemas, a Vite + React frontend co-living with FastAPI, and CI that scales.
Start →uv: the 2026 Python toolchain
A six-part series on uv — why it replaces pip, venv, pyenv, pipx, and pip-tools; how to start a new Python project in 2026; and a pragmatic migration path that keeps requirements.txt where it earns its keep.
Start →Browse all series →
See every reading path on the site.
- ·3 min read
Finding Similar Songs with AI: AudioMuse and Navidrome
How sonic analysis gives my Navidrome library a playable Instant Mix, and what it took to analyse the whole collection.

- ·3 min read
Keeping Your Listening History: ListenBrainz, Spindle Stats and an Offline iPod
A recommender is only as good as the history behind it. Navidrome scrobbles to ListenBrainz; a manual importer can add offline Rockbox iPod plays, and a plugin brings ListenBrainz playlists back into my library, and Spindle turns plays into stats and a yearly recap.

- ·3 min read
The iPod as an Offline Music Player: Rockbox, Flash Storage and Playlist Sync
Turning an old iPod Video into an offline music player: which model to look for, a flash and battery mod, Rockbox settings that keep the signal clean, and playlist sync from your own library. Plus when a modern hi-fi player is the better choice.

- ·3 min read
Building a Lossless Music Library You Own
How to build a lossless music library legally: rip your CDs accurately, buy lossless downloads, rebuild your playlists from owned files, then tag, normalise and size it for a Rockbox iPod.

- ·3 min read
YouTube Listening: A Video Is Not Always One Song
Why album uploads and live sets are awkward listening-history records, and how I keep recording identity separate from a video title.

- ·3 min read
Music Discovery Signals: What Each One Tells Me
A short reference to recording identity, sound similarity and listening history, with links to the tools I use.

- ·3 min read
The first real Alembic revision: a column, a backfill, and the parts autogenerate can't do
Last post set up Alembic in clipdex. This one cashes the bet: add a duration_ms column to processed_videos, backfill from the existing aggregation, and switch the /episodes endpoint to read it. Three commits. The parts autogenerate gets right, the parts it doesn't, and why the backfill is the line where raw SQL would have started to hurt.

- ·3 min read
Adopting Alembic in clipdex without rewriting the query layer
The previous post named four cracks in clipdex's raw-SQL migration story. This one closes them. Declarative models that mirror the live schema, a no-op baseline revision, `alembic stamp head`, and a frozen `migrations/legacy/` directory. No query code changes. Ninety minutes.

- ·3 min read
Lefthook for a Static Site: Four Hooks That Earn Their Keep
A static Astro site doesn't need Husky-grade ceremony. But it does have four failure modes worth catching before they reach `main`: a broken type, a leaked key, a post without a `directory:` field, and a build that silently breaks production. Here's the lefthook.yml I landed on, and why each hook is there.

- ·3 min read
Raw SQL migrations: when they're enough, and the four cracks that force Alembic
Clipdex ships migrations as numbered `.sql` files applied by a Taskfile loop. That's been the right call for a teaching artifact. Here are the four specific cracks that will eventually force a move to Alembic — and the test for when 'eventually' becomes 'now'.
