Euclidean Affine Functions and Applications to Calendar Algorithms [pdf] | Hacker News Reader