Euclidean affine functions and their application to calendar algorithms | Hacker News Reader