Command Palette

Search for a command to run...

Blog

Errors with fixes, Stack Overflow answers re‑written, and technology notes.

All Posts

Discover insights from my development journey.

Filter by tags:

Sequelize Unique Constraint Violation: Practical Fixes and Patterns cover

A deep dive into debugging duplicate key errors in Sequelize with Postgres, including defensive code, transactions, and idempotent APIs.

Explaining Cache Invalidation in Plain English cover
stackoverflowcachingweb+1

My Stack Overflow write-up on cache invalidation, with mental models, ETags, and stale-while-revalidate examples for web apps.

React Server Actions: Mental Model and Gotchas cover

Notes on using Server Actions in the App Router, covering mutations, form actions, and client/server data boundaries.

Debugging Node.js Event Loop Starvation cover
errorsnodejsperformance

Symptoms, tooling, and real fixes when CPU-bound work blocks the event loop. Includes worker_threads and queueing examples.

TypeScript Patterns for Large Repos cover
typescriptpatternsnotes

A collection of patterns for scaling types: branding, discriminated unions, zod inference, and narrow/widen tactics.

Pragmatic Monitoring: SQL + Traces cover
observabilitypostgresotel+1

Start with logs and slow query analysis; layer tracing for critical paths. Screenshots and example dashboards included.