Writing.

  1. Five security headers my static site still sends

    No logins, no forms, no database — so why bother with security headers? A walk through how the browser handles a response, what each header switches on, and why some of them can't live in your HTML.

  2. Boxes of blisters: modelling units with a real client

    A box holds N boxes of M blisters, and N and M change with every order. How one conversation with the clinic replaced my nested-box design with something far simpler.

  3. Sessions, not JWTs, for a small internal app

    When an admin deactivates someone, their access should end now, not when a token expires. Opaque tokens, hashed storage, and expiry rules for an app with a few dozen users.

  4. Multi-tenancy in NestJS without losing your mind

    Three ways to isolate tenant data in a NestJS API, why I stopped passing tenantId around by hand, and the request-scoped approach I settled on.

  5. RBAC that survives contact with product

    Roles are easy to add and almost impossible to remove. A look at permission-first access control, and why the role list should stay boring.

  6. Key-based queues beat cron jobs

    How replacing a pile of scheduled jobs with per-key queues fixed our ordering bugs, flattened a nasty traffic spike, and made failures debuggable.