博文

What an advent calendar owes you when a door is empty

An advent calendar has a promise built into its shape: every day, something. Twenty-four doors, twenty-four days, no gaps. When you build one that other people fill in, that promise becomes a design problem, because on December 8th somebody will not have filled anything. The empty door is the most likely state On day one, one door is open and twenty-three are closed. On day eight, eight are open — and the number of friends who have contributed grows more slowly than the number of days. A calendar that only looks good when everything is filled looks broken most of the time. That is why the empty state is not an edge case to handle later. It is the default, and the filled state is the exception. Three things an empty door can do It can look shut. Same as a door that is not unlocked yet. Simple, and it means the calendar never shows a hole — but it also means a person who opens the calendar on the 8th cannot tell whether their friend forgot or whether the door is simply not the...

How the 24 doors get filled

An advent calendar for friends has a coordination problem: it has 24 doors, and the one person who is not allowed to fill them is the person who will open them. The way around it is a link plus a short code, handed to the people who will write the notes. A friend opens the link, enters the code, and picks a door. Three per friend, so the calendar fills without one enthusiastic person taking all of December. Each door takes a sticker and a note of up to 200 characters, and the note is encrypted in the browser before it leaves, so what sits on the server is not something that can be read back. From 1 December the host opens one door a day through a private host link. The public page shows the calendar and the doors that have already been opened; the notes behind the closed ones stay shut until their day comes. Free and no signup: friendshipadvent.com .