Writing
Notes from shipped work
Not tutorials — field notes. What broke, what worked, and what I'd do differently, from real products.
7 min read
Designing RBAC That Survives Real Users: Lessons from a University ERP
How one permission vocabulary shared by frontend, API, and database kept four user roles from leaking data in a live university e-portal.
Next.jsNode.jsPostgreSQLSecurity
6 min read
Streaming Without Jank: Making an AI Chat Feel Instant in Next.js
Token-by-token rendering, abort paths, and session state that survives a refresh — what building NextChat taught me about perceived latency.
Next.jsOpenAIReactPerformance
5 min read
A Game Loop in the Browser: Architecture Notes from Two Canvas Games
What shipping Neon Slither and a neon car racing game in vanilla Canvas taught me about fixed timesteps, state machines, and keeping 60fps on a phone.
JavaScriptCanvas APIGamesPerformance
6 min read
Stop the Hallucination: Grounding LLM Output in Your Own Data Model
How constraining prompts to structured user records — with a verification pass — turned AI resume generation from a gamble into a tool.
OpenAILangChainMongoDBAI Engineering