My posts on code.
I write about anything and everything that interests me.

Setup your Ubuntu Server in Under 10 Minutes
Skip the manual server setup with a three-stage Ansible approach that gets you from fresh Ubuntu install to production-ready in under 10 minutes.

Why I Switched from Orama to Pagefind
Why I use Pagefind: A deep dive into chunked indexing, bandwidth scaling, and setting up a production-grade search for Astro.

How to generate blurry placeholders for your images
How I eliminated layout shift and improved perceived performance by generating 20px base64 placeholders automatically at build time.

Why I moved from Astro to TanStack Start
Why TanStack Start fit my Cloudflare deployment and React client work, and what moving my portfolio from Astro involved.

Why I Didn't Use Google Programmable Search
Google's search API sounds perfect for static sites. It isn't. Here's why the pricing model and indexing delays make it impractical for most blogs.

GitHub for Government Work
The multi-year, single-vendor RFP is the root cause. Treat the core platform as an open commons: small priced tasks, paid per merged pull request.

How I automated internal linking with AI
Use embeddings to find internal link opportunities, ask an LLM for evidence, and insert links into MDX without letting it rewrite your articles.

Assume the Endpoint Is Hostile
Lakhs of government PCs can reach the core, each trusting whoever sits in front of it. Borrow Apple's closed model and make the wrong move unavailable.
Subscribe to my newsletter
I send out a newsletter every week, usually on Thursdays, that's it!
You'll get two emails initially: a confirmation link to verify your subscription, followed by a welcome message. Thanks for joining!
You can read all of my previous issues here