Articles

Notes from the build

Things I worked out the hard way, written down properly. Roughly one a month.

AI7 min read

Two model providers, one endpoint

A versioned Gemini model name retired and started returning 404 on a key that worked fine, for a model half the tutorials online still reference. What that outage taught me about aliases, fallback, and treating conversation history as untrusted input.

By , Full Stack Developer, Kerala, India

Read article
AI8 min read

Retrieval that survives "tell me more"

Most RAG breaks the moment somebody types a follow-up, because a short follow-up has almost nothing to embed. The fix is two lines. The harder problem is that chunk size is not an independent choice, and nobody tells you that either.

By , Full Stack Developer, Kerala, India

Read article
Performance7 min read

Scroll-scrubbed video on a cheap phone

Driving a video's playhead from scroll position is easy to demo and hard to ship. The easing, the seek threshold, two encodes instead of one crop, and the viewport units that stop the composition resizing under your visitor's thumb.

By , Full Stack Developer, Kerala, India

Read article
Engineering10 min read

Proving a prize draw was fair

A live draw on a big screen with the entrants in the room. Asserting it was fair is worthless if a loser cannot check. Commit and reveal, an unbiased shuffle, and the venue constraints that shaped every other decision.

By , Full Stack Developer, Kerala, India

Read article
Architecture7 min read

A live preview that cannot drift

Most admin panels rebuild each section so editors can see their changes, which guarantees the preview and the real site diverge. Framing the actual site removes the duplicate entirely. The details that make it work, including the ones I got wrong first.

By , Full Stack Developer, Kerala, India

Read article
Security9 min read

Rate limiting will not stop a scraper

A competitor who can enumerate your prices owns your pricing strategy. Rate limits do not stop them. What does is making the attempt cost more than the data is worth, and that is an economics problem before it is an engineering one.

By , Full Stack Developer, Kerala, India

Read article
Performance8 min read

Shipping a 3D hero in 435 KB

A scroll-driven 3D scene that renders on a cheap Android and downloads on a bad connection, without looking cheap. What actually moved the numbers, and the WebGL trap that cost me an afternoon.

By , Full Stack Developer, Kerala, India

Read article

Working on something similar?

Most of what I write about here came out of client work. If you have a problem in the same shape, get in touch.

Start a conversation