Notes on building software.

Practical writing on AI, backend systems, security, and the lessons found while making software work in the real world.

6 posts

  1. Security Nov 29, 2026 13 min read

    Symmetric vs. Asymmetric JWTs: How They Work and When to Use Them

    A practical guide to HS256 and RS256 JWTs: how shared secrets and key pairs change the trust model, with Node.js examples and advice for monoliths and microservices.

    jwtauthenticationsecurityoauth
  2. Notes Jun 24, 2026 23 min read

    Stop Guessing How JavaScript Parses Numbers Here's What Actually Happens

    A deep dive into JavaScript's Number(), parseInt(), and parseFloat() functions, explaining how they handle strings, whitespace, and the special NaN value.

    javascriptnumbersparsingnan
  3. Backend Jun 14, 2026 7 min read

    Why My Node.js API Calls Randomly Failed — And My Code Was Fine

    A real debugging story about intermittent ETIMEDOUT errors, Cloudflare DNS, and a fix that took 5 minutes once I knew what to look for.

    cloudflarednsnetworktroubleshooting
  4. Backend Apr 22, 2025 29 min read

    Deploying a Full-Stack App on a VPS — The Right Way

    If you're deploying your first real project, or you've deployed before but never felt confident about why you're doing what you're doing — this is for you

    dockernginxfull-stackdeployment
  5. Backend Apr 10, 2025 2 min read

    Row Level Security in PostgreSQL: Multi-Tenant Data Isolation Done Right

    How to implement per-tenant data isolation at the database layer using PostgreSQL RLS — without leaking data across tenants or killing performance.

    postgresqlmulti-tenancyrlssaas
  6. Security Mar 22, 2025 2 min read

    OAuth 2.0 Flows Explained Without the Hand-Waving

    A clear breakdown of Authorization Code, Client Credentials, and PKCE flows — when to use which, what the tokens actually mean, and where implementations go wrong.

    oauthjwtauthenticationoidc