✍️ Writings
Automating the Annoying: Lessons from Extracting Loaders Directly from the DOM
Building skeleton loaders is easy; keeping them in sync with the UI is not. This talk compares three ways to generate skeletons from the source—dev-time with a real browser, build-time with a headless browser, and runtime—then walks through SkullMaster's dev-only capture flow: click a rendered component, send its HTML payload to a local server, and transform it into an accessible React skeleton. It also covers stripping meaningful text, images, interactivity, and forms, customizing the output with typed data attributes, and how the approach compares with Boneyard JS and Shimmer From Structure.
Your Skeleton Loader Shouldn’t Be Another Component to Maintain !!
Making skeleton loaders is easy enough, but maintaining them alongside the UI they represent is not. SkullMaster is an experimental library that generates customizable skeletons from rendered components, so your source UI can remain the single thing you maintain.
Engineering around Hallucinations: Agents, Skills, and Secure Supply Chains
Discusses agents, skills, supply chain security, observability, state machines, and LLM hallucinations.
Confidently Wrong
LLMs are the most efficient lossy compression algorithm ever written. When information is missing, the model is incentivized to guess. Intrinsic vs extrinsic hallucinations, and why feedback loops matter. A talk from GitHub Copilot Dev Days 2026.
Generating UI Skeletons
A journal of building a library that automatically generates UI skeleton loaders from existing interfaces. Why sharing layout classes with the real component breaks down as UIs grow, and the tradeoffs encountered along the way.
Confidently Wrong: Why LLMs Hallucinate and How to Engineer Around It
Explores intrinsic vs. extrinsic LLM hallucinations and why proper context setup is critical before coding. Discusses hallucination-resistant practices using state machines for predictable AI behavior.
Past midnight
I never learned to drive until I had to. College nights on the back of a Bullet, empty roads, and a bridge that became a refuge. Conversations about everything and nothing with people who would tell you the truth. A place where disagreement was welcomed and politeness was not yet a shield.
State Machines: The Last State Management Solution You'll Ever Need
Examines how state machines address core frontend challenges and how AI enhances their solutions. Covers building with XState across frameworks and using Stately.ai for production patterns like auth flows and micro frontend consistency.
The Last State Solution
State management from a behavioral perspective, not just a structural one. Why Redux and Zustand leave a deeper question unanswered: when are actions actually valid? Tracing the cycle from local state to global stores and back. State machines as a way to make invalid states unrepresentable.
Atomic Commits and Git Bisect
A small change can have an outsized impact. When our TypeScript typecheck slowed from a minute to several minutes, I turned to git bisect to narrow it down. How clean, atomic commits made the difference between a day of hunting and a 10-minute fix. The actual process with a real example from work.
eBPF-Based Runtime Detection of Semantic DDoS Attacks in Linux Containers
CODAX is a container-aware, eBPF-based detector for application-layer CPU-exhaustion DDoS attacks. It tracks CPU time from accept() instead of waiting for close(), catching persistent connections that CODA misses.
Mock Client-side & Server-side API Requests Using Next.js and MSW.js
Modern Next.js apps issue API requests from both server and browser, complicating mocking. A practical way to mock consistently across SSR, client components, and API routes using MSW. Covers folder structure, handlers, instrumentation hooks, and common pitfalls. Develop and test confidently without relying on live backends.