Blog
Occasional yapping.
- ·5 min·Web / Browser / Networking
How ad-blockers actually work, and why they don't speed up the page
I thought ad-blockers stopped ads from downloading. Turns out half the time, they don't. The download already happened. The block is what you see.
Read more→ - ·7 min·Applied ML / Research / Numerical Methods
What I learned co-writing an applied-ML paper on cerebral aneurysms
We replaced an expensive CFD simulation with a neural network surrogate. The trick wasn't the network. It was throwing 99% of the dimensions away first.
Read more→ - ·5 min·Backend / Queues / Redis
Why I queue emails instead of sending them
A 12k-row CSV taught me that sending email synchronously is a request-handling bug in disguise. Here's the rewrite that fixed it.
Read more→ - ·6 min·Redis / Concurrency / Backend
Atomic Redis counters and the race condition that took me three tries
I had a rate limiter. It capped most users at 100 emails per hour. A few got to send 105. The bug: INCR was atomic. My code wasn't.
Read more→ - ·6 min·Performance / Next.js / Open Source
How I cut a Next.js page's TBT from 510ms to 300ms in one PR
HacktoberFest 2025. PrivGPT-Studio's docs page was sluggish on mobile. Profiling found three problems I would never have guessed from reading the code.
Read more→