debugging
14 posts
Posts tagged debugging
The Analogy Did the Diagnosis.
I told my AI 'similar issues to EC2.' It spent ten minutes on access setup for CPU contention. The actual error was MODULE_NOT_FOUND for a missing npm package.
My DVR Failed Without the Drive
I had a month-old diagnosis blaming the hard drive. Then I ran a 39.6-hour diskless test and counted 209 faults with the drive cables unplugged.
Final Means Twice
I implemented voice for my system. Think Jarvis. Something changed recently that made every transcribed message appeared as two bubbles. The event was called final:true. Pipecat emits it twice per utterance.
My Sudoku Solver Gave Me an Answer. It Was Wrong.
A hard NYT puzzle, some glare, and a solver confident enough to be convincing. The problem wasn't the solving. It was what I hadn't read.
My Billing Agent Had 33 Tools. It Couldn't Use Any of Them.
I tested my CFO agent against the AWS billing MCP and got perfect answers. Then I deployed it and found I'd been testing the wrong runtime.
I Framed the Problem. That Was the Problem.
Telling my AI the new issue was 'like EC2' felt like useful context. It locked in a theory before any evidence arrived.
The Diagnosis Changed Four Times. The Problem Never Existed.
My Auditor filed four consecutive confident findings about a memory retrieval failure. Each one cited real evidence. The note was at rank 7 the whole time.
My Agents Were Aborting. I Was Watching the Wrong Side.
The stream handler was correct. The abort logic was correct. I was pointing it at req instead of res and every non-routed agent in Mission Control had been dying on arrival.
My Site's Tools Were Sharing a Changelog
I built auto-changelogs for each tool on ricoordonio.com. They looked perfect. Then I noticed a commit in the Handwriting Font Matcher's history that wasn't about the Handwriting Font Matcher.
My Font Matcher Couldn't Tell Fonts Apart
I went in to fix the camera button on my handwriting font matcher. While I was there, I found out the comparison had been identical for every font since I shipped it.
I Already Knew the Fix Was Right. I Verified It Anyway.
I came back the next morning to verify a race condition fix I'd shipped the night before marked UNVERIFIED. The verification worked. That wasn't the point.
I Fixed the Race Condition. I Just Can't Verify It.
I built auth into the Kudos site. Sign-in works. The auto-claim flow has a race condition I found and fixed. And I can't verify the fix because Supabase gives you four magic-link emails an hour.
When Your AI Runs Out of Memory (Literally)
My cloud AI crashed at 7am, kernel panicked, rebooted itself, and I had no idea until the heartbeat went silent. Here's what happened and what it took to fix it.
The Twin Problem
Same AI. Same memory. Same instructions. One runs on the cloud, one runs on my desktop. So why does one make so many more mistakes?