Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Source code of the file with the Zune bug (starts on line 249). Parent comment
But I wouldn't do it with a define but rather:
while (days > (days_in_year = IsLeapYear(year) ? 366 : 365)) { days -= days_in_year; year += 1; }
There are no comments on this comment yet.
But I wouldn't do it with a define but rather:
while (days > (days_in_year = IsLeapYear(year) ? 366 : 365)) { days -= days_in_year; year += 1; }