Writing

Estimating π With Randomness: The Monte Carlo Way

Ever wonder how randomness could help estimate one of math's most famous constants? I'd like to walk you through the Monte Carlo method — a surprisingly simple way to approximate π by scattering random points in a square and circle.

30 August 20264 min read

How Do Computers Know To Calculate Parentheses First

Ever wonder how a calculator knows to solve 5/2 before adding the 3 in "3 + 5/2"? I'd like to share what I found out and walk you through how we can write a program to evaluate math expressions using two simple data structures — a stack and a queue.

23 August 20268 min read

How I Automated Announcing New Posts on Bluesky

How I built a GitHub Action that posts new articles to Bluesky automatically, with zero state tracking.

14 August 202610 min read

How I Set Up a Custom Domain for My Blog

A walkthrough of buying a custom domain, understanding how DNS actually works, and wiring it up to an Astro blog hosted on GitHub Pages.

8 August 202613 min read

I Created a Claude Skill for Usage-Aware Automation

I built Claude Gauge, a skill that gives Claude Code visibility into your usage limits, so you can automate work around whatever capacity would otherwise go to waste.

30 July 20265 min read

Start Building TUIs with Bubble Tea

A beginner-friendly walkthrough of Bubble Tea, the Go framework for building terminal apps - covering the Elm Architecture, commands, alt screen, logging, and the wider ecosystem.

24 July 202617 min read

Is 1 Larger Than 0.999...?

I used to think 0.999... was just a hair short of 1 - turns out I was wrong. Let's see all the different ways to prove they're actually the exact same number, and then use the same idea to solve Zeno's paradox.

19 July 20265 min read