Your MQTT broker already knows when the internet is down
Turning a fleet's MQTT lifecycle events into a crowd-sourced ISP outage detector: no pings, no polling, just keepalive timeouts grouped by carrier and county.
Read →Chester Frazier · Gulfport, MS · b. 1988
Debugging stories, architecture notes, and the occasional thing I built because nobody else had. New posts when I have something worth writing down.
Turning a fleet's MQTT lifecycle events into a crowd-sourced ISP outage detector: no pings, no polling, just keepalive timeouts grouped by carrier and county.
Read →An HEVC MP4 wouldn't play over fMP4 HLS on Apple TV. The cause was a leftover sdtp box in the init segment. How I found it, and the fix.
Read →GNN is a 24/7 pixel-art news channel written by an LLM. How it shares one live HLS timeline, and how its standards desk catches made-up numbers.
Read →A wall-mounted dashboard died overnight and every healthcheck stayed green, because the checks watched the watchdog's log file instead of the screen.
Read →Counting a repetitive physical chore with one Apple Watch Action-button press, a four-line HTTP endpoint, and a progress bar on the kitchen TV that hides itself after sunset.
Read →A weekly 'what should we start from seed' digest needed three things a naive join doesn't: derived sow dates, a matcher tie-break by position, and a monitor that asserts the email went out.
Read →A replication watermark that could move backwards let the same rows drift twice. The culprit was a frozen snapshot being handed back to the writer that produced it.
Read →A replication bug where updated_at ran backwards, and a fix that never loaded because the restart was waiting in an approval queue it never belonged in.
Read →A nightly scraper that fills my audiobook library, and the two monitoring rules that keep it from quietly lying: refuse a partial parse, and check the table instead of the run.
Read →An offboarding script reported 9/10 steps. The tenth was a Microsoft 365 group the departing user owned — and Graph refuses to leave a group ownerless.
Read →A timestamp watermark silently skipped 41 replicated rows because now() in Postgres is transaction start time, not commit time. The fix, and the three details that made it wrong twice.
Read →Shipping a tool to an LLM agent takes three registrations, not two. Miss the intent router and the model truthfully tells you the tool isn't there.
Read →A .NET service on Linux refused to import a folder it could read perfectly well. The path had an emoji in it, and the error message pointed at permissions the whole time.
Read →A quota gate projected 120% usage from a 15% reading and shut down a whole tier of jobs on a Monday. The bug wasn't the math — it was letting the median decide.
Read →