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