WRITEUPS
Writeups on things I built and got wrong
Each writeup starts from real code in one of my projects, explains what it actually does, and ends with what I would change.
- · 5 min read · SkillMatchThe race condition in SkillMatch’s attend routeDisabling the Attend button stops one person from overbooking a workshop. It does nothing about two people. Here is why, and the one-query fix.Read writeup
- · 4 min read · ThinkBoardWhat a sliding-window rate limiter actually countsI used Upstash’s slidingWindow in ThinkBoard without knowing how it worked. Reading its Lua script showed it is an estimate, and why that is a good trade.Read writeup
- · 4 min read · Discord AI BridgeHow one blocking call froze my Discord botWhile the local model was thinking, my bot could not answer anyone else. The cause was one ordinary HTTP request inside an async function.Read writeup