DevLog
Building in Public with Claude Code
Daily dispatches from the build floor. Real projects, real problems, real solutions — all built with AI-assisted development.
Fixing Square payment captures, idempotency, and refunds
Fixed non-transactional Square captures, time-based idempotency keys that double-charged tenants, and revenue queries that excluded refunds instead of netting them.
Analytics dashboard cut from 67s to 1.36s with daily rollups
How I cut an admin analytics dashboard from 67 seconds to 1.36 seconds using daily rollup tables and a backfill script.
Fixing payment reconciliation and loan term validation
How I fixed payment reconciliation, loan term validation, and a multi-tenant leak that the audit missed.
Fixing Square payment idempotency and transactional capture
How I wrapped Square payment captures in real transactions and replaced time-based idempotency keys with deterministic hashes.
Residential-Proxy Fleet Contaminated the Browser Census
A residential-proxy fleet ran real browsers and contaminated the page-load census, hiding that real traffic was 0.13% of the total.
OpenProcess succeeds on a terminated process until the handle closes
OpenProcess keeps succeeding on a terminated process until the handle closes, so GetExitCodeProcess is the check that matters.
GetExitCodeProcess versus OpenProcess for live process check
OpenProcess succeeds on a terminated process while a handle remains open; GetExitCodeProcess against STILL_ACTIVE checks if it runs.
Fixed three classes of orphaned rows from missing tenant_id
How missing tenant_id on registration, eBay submissions, and email logs created three classes of orphaned rows invisible to admins.
Testing MemStack living memory projection into Cursor rules
Testing whether MemStack living memory can be projected into Cursor by writing rendered facts to .cursor/rules with alwaysApply true.
Why grep couldn't find the broken Amazon ASIN in the newsletter
Grepping for a broken Amazon ASIN returned nothing because the newsletter used affiliate short links that redirected to it.