Blogs / Personal blogs

Welcome to my web site. I'm Simon Tatham, a software engineer and free-software author in Cambridge, UK.

Popular posts
16
Total points
4,224
HN comments
1,891
Rank
#296 personal

Visit chiark.greenend.org.uk/~sgtatham → On Hacker News May 2010 – May 2026

Software Engineering 10Open Source 5Security & Privacy 4Math & Algorithms 4Systems & Performance 2Tools & Productivity 1

1

XOR

Recently I was called on to explain the ‘XOR’ operator to somebody who vaguely knew of its existence, but didn’t have a good intuition for what it was useful for and how it behaved.

4

A pair of dice which never roll 7 (2004)

Some friends of mine play the board game Settlers Of Catan . In this game, each player rolls two ordinary dice on their turn, and the number which comes up determines what resources people get for the turn. When a seven is rolled, something special happens: no resources are generated, and instead a robber moves on the…