Dan Carter's Coding Blog

Hi, I'm Dan. I'm a programmer living in Cambridgeshire, UK. Find out more about me.

Below are the four most recent posts from this blog. You can also visit the full archive.

25 August 2025

Shared birthdays, revisited

How do you sample from a non-uniform distribution?

Read more

7 August 2025

Shared birthdays

What's the chance of three people sharing a birthday within a week?

Read more

15 January 2025

ProcGen Fun 3: Simple mazes

Implementing the binary tree algorithm to generate a maze.

Read more

8 January 2025

Deploying a Blazor site to GitHub Pages

How to create a Blazor WebAssembly website using Tailwind CSS and deploy it to GitHub Pages.

Read more