Building in Public

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.

deedstackpaymentsinfrastructurerefundsbilling

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.

November 10, 20266 min read
epsteinscaninfrastructureautomation

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.

November 9, 20263 min read
deedstacksecuritypaymentsinfrastructure

Fixing payment reconciliation and loan term validation

How I fixed payment reconciliation, loan term validation, and a multi-tenant leak that the audit missed.

November 8, 20264 min read
deedstackpaymentssecurityinfrastructure

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.

November 7, 20264 min read
epsteinscanbotscloudflareinfrastructureperformance

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.

November 6, 20264 min read
healthwindows

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.

November 5, 20261 min read
foremanwindowsinfrastructuretesting

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.

November 4, 20262 min read
deedstackinfrastructuresaas

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.

November 3, 20262 min read
memstackcursorportabilityinfrastructure

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.

November 2, 20263 min read
epsteinscanautomationinfrastructuredebugging

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.

November 1, 20262 min read