Practical how-to guides and notes for developers — distilled from building real projects.
These are field notes from shipping production-grade projects — the non-obvious bits that are hard to find when you need them. Each guide is a focused, copy-pasteable how-to, not a wall of theory.
- Real-time updates with SSE + Postgres LISTEN/NOTIFY — push updates to the browser without Redis or a WebSocket server.
- Prisma 7: the new client generator and driver adapters — what changed, the client singleton, and the migration gotchas.
- A type-safe state machine (invalid events are compile errors) — inferring state and event unions from a plain config.
- Publishing a dual ESM + CJS + types library with tsup — config, the exports map, and the TypeScript-6
dtsgotcha.
- Schema-validated JSON from the Claude API — structured outputs with
messages.parse+ Zod, done right.
- Concurrent HTTP load testing: the worker-pool pattern — goroutine pools, context cancellation, and latency percentiles.
Distilled from real projects: Pulse (monitoring SaaS), statelet (TypeScript library), critique (AI code-review tool), and volley (Go load tester).
MIT — use, adapt, and share freely.