Work
Problems from a multi-tenant B2B platform in daily production use. Each one covers what failed first, what I decided, and why.
- Frontend
An editable page that keeps the cursor where you left it
In-place editing in React where the rest of the page re-renders on every keystroke and the cursor never jumps.
- AI
What did that AI generation cost?
Cost accounting across four LLM providers, where an unknown model gets no price rather than a wrong one.
- Backend
The timezone bug that judged people unfairly
Weekly targets that were only correct on a server in India, and the timezone-independent fix.
- Backend
Four races, four different locks
Row locks, an advisory lock, a partial unique index and a write-ahead ledger, each chosen for the shape of its race.