Writing on software, life, and food.

All of my long-form thoughts on programming, food, life, travelling and more.

What Actually Happens When You Type a URL (Part 1: Getting the HTML)

You type `example.com`, hit Enter, and about 300 milliseconds later a page shows up. It feels instant. It is not — it is a relay race with a dozen runners, most of whom you have never thought about. This post follows that race from the moment you press Enter until the HTML bytes land back in your browser. That is where we stop. Turning those bytes into pixels on screen — parsing, the DOM, layout, painting — is its own story.

Session Cookies: Not Just a Snack—Here’s How to Lock Them Up

Managing user sessions securely and scalably is a crucial part of modern web applications. One popular pattern uses client-side cookies that are encrypted and signed, allowing servers to remain stateless while ensuring confidentiality and integrity of session data.

A quick guide to approach Product Design for Developers

Learn how developers can approach product design effectively, from starting with features to implementing systems to avoid decision fatigue. Enhance your design process and create user-friendly products.

Be careful with your dates

Learn how to effectively handle timezone discrepancies in web development. Discover practical solutions to ensure consistent date rendering across different server and client environments.