News for hackers. Stuff that matters.
Re:Show HN: Hacker News Classics by sillysaurus3 on Thursday February 22, 2018 @08:45PM (#16443497)
Note that https://news.ycombinator.com/front?day=2007-02-18 doesn't let you navigate backwards, but https://news.ycombinator.com/front?day=2006-10-09 is the first day.

Out of curiosity, for the date rendering, did you xdef racket's date libraries or implement your own date algorithms in arc?

I guess you could've also shelled out to `date -r <timestamp>` which would get the feature done in about ten seconds.

Re:Show HN: Hacker News Classics by dang on Thursday February 22, 2018 @08:46PM (#16443506)
> 2007-02-18 doesn't let you navigate backwards

Yes, and we specifically left it as an exercise for the pokey reader to figure out why.

Arc does its own date stuff. We extended it a bit to be able to print things like "x months ago". Edit: and "Feb 31, 2017".

Re:Show HN: Hacker News Classics by greenhouse_gas on Thursday February 22, 2018 @11:56PM (#16444343)
Just curious: do you (as in Y combinator) use Arc for anything else or is it a "hobby language" for HN?
Re:Show HN: Hacker News Classics by dang on Friday February 23, 2018 @12:55AM (#16444538)
All of YC's original investment software was written in Arc, though it has been gradually factored out into other systems.

We use it for a browser extension that helps a lot with moderation work. And for general experiments. If I do something more ambitiously new it will probably be in Arc.

Re:Show HN: Hacker News Classics by sillysaurus3 on Friday February 23, 2018 @06:57AM (#16445775)
We use it for a browser extension that helps a lot with moderation work.

Oho, so Arc does compile to JS now.

You gonna release the compiler or what? (Sometime this decade.)

Re:Show HN: Hacker News Classics by ReverseCold on Thursday February 22, 2018 @10:13PM (#16443906)
Probably started logging front page on that day.
Re:Show HN: Hacker News Classics by dang on Friday February 23, 2018 @12:56AM (#16444543)
No, we only started that in Nov 2014. Before then, the /front pages sort things by points because that's all the data we have.