Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A Formula for the Number of Days in Each Month. Parent comment
leap = function(x) { if ((x % 4) != 0) { return 0; } return Number( (x % 100) != 0 || (x % 400) == 0 ); } function(x) { return 28 + leap(x) + (...) };