Database Race Conditions Your Tests MissI once spent three days on a production race that had passed tests, lint and type checks, and I've written it up twice: as the transactions that interlocked and as the counter that lost updates. Some 12h ago · 15 min readpotapov.hashnode.dev
How to Check Your Test Can Catch the BugWhen an agent's PR says "added a regression test, all tests pass", I want to know one thing: would that test have caught the bug? Plenty of them can't. In my own experiments, grading tests that failed14KA2d ago · 19 min readpotapov.hashnode.dev
Why Big Rewrites FailEvery few years, a team looks at their codebase and decides to start over. The reasoning always sounds solid: the architecture is holding us back, the tech is outdated, we'll move faster with a clean Mar 5 · 16 min readpotapov.hashnode.dev
AI Data Cleaning in Production: From Toy Demos to Real PipelinesListen to the narrated version on potapov.dev. In December 2022, I wrote an article about using AI to clean data. I was excited. GPT-3 had just become accessible, text-davinci-003 could parse messy CSFeb 20 · 19 min readpotapov.hashnode.dev