WritingEngineering notes
Notes from building AI products
What I learned shipping RAG, agents, SaaS backends and Android apps. Practical code, honest tradeoffs, and a few things for people just starting out.
How to Test an LLM App: Evals That Run in CI
Collect about 50 real inputs, label each with the behaviour you expect instead of an exact answer, check what you can with plain code, use an LLM judge only for the rest and calibrate it against your own labels, then run the whole set on every pull request. That is enough to catch most regressions before users do.
Read article →Grok Bot Use Cases: How People Automate Work
What Grok Bot is, eight workflows people have built with it, and a simple way to choose tasks worth automating, with approval steps for sensitive actions.
Read article →AI Coding Agents: A Workflow That Holds Up
A practical agentic coding workflow: clear tickets, plans first, tests as guardrails, an AGENTS.md file and a review checklist that suits any coding agent.
Read article →Azure OpenAI Outage: Keep Your AI App Running
A nearly six hour Azure OpenAI outage on 29 September 2026 is a reminder that LLM APIs fail. Timeouts, circuit breakers and fallbacks, with code.
Read article →RTX Spark and Local AI: A Developer Briefing
Microsoft’s Surface Laptop Ultra brings Nvidia RTX Spark and 128 GB of unified memory. What local AI means for developers, with the memory math.
Read article →Vibe Coding vs Learning to Code: Freshers Guide
Should you still learn to code in 2026? What vibe coding gets wrong, what AI cannot do, and a 90 day roadmap for freshers in Pakistan and beyond.
Read article →RAG Tenant Isolation Inside the Vector Index
Filtering by user after a vector search quietly breaks privacy and answer quality. Here is how to filter inside the search, and how to test it.
Read article →An AI Booking Assistant That Cannot Double Book
How Aria books, reschedules and cancels through LLM tool calling without owning any booking logic, and how to protect a public endpoint.
Read article →Do Not Retry an LLM Rate Limit, Reschedule It
Retrying a daily quota error five times in thirty seconds only burns attempts. How to tell the two kinds of 429 apart and reschedule jobs in BullMQ.
Read article →Put the Model Last: A Cheaper, Safer Chatbot
A public LLM chatbot needs caps, caches, guardrails and fallbacks around the model. The pipeline behind The Copper Larder, and how to build yours.
Read article →Integer Money and Row Level Security in Postgres
Why money should be an integer, how one database function makes a sale all or nothing, and how row level security keeps shops apart.
Read article →