Better HN
topnewbestaskshowjobs
Log inSign up

mxtopher

8 karma · joined Mar 7, 2013 (13y ago) · 6 submissions

Submissions

comment 7y ago · link · parent

I wouldn't be surprised if it was just a for loop checking for all the years in a range, whether they start on the same day of week, and are/are not leap years :)

comment 7y ago · link · parent

More like https://en.wikipedia.org/wiki/Evidence_(short_story)

comment 10y ago · link · parent

Readability, there it is.

comment 11y ago · link · parent

Hi there, take a look on position: sticky; It does exactly what you want. Please note it is still experimental though.

comment 11y ago · link · parent

so tick calls requestAnimationFrame that calls tick that... Doesn't it create an ever growing stack? Isn't there a way to do it with a while loop?

comment 11y ago · link · parent

Indeed. It's using docco, most likely: http://jashkenas.github.io/docco/