6 ms·
Note that https://news.ycombinator.com/front?day=2007-02-18 https://news.ycombinator.com/front?day=2007-02-18 doesn't let you navigate backwards, but https://ne
by sillysaurus3 9y ago
Note that https://news.ycombinator.com/front?day=2007-02-18 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 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.
- dang 9y ago> 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".
- deleted 9y ago[deleted]
- greenhouse_gas 9y agoJust curious: do you (as in Y combinator) use Arc for anything else or is it a "hobby language" for HN?
- dang 9y agoAll 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.
- sillysaurus3 9y agoWe 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.)
- ReverseCold 9y agoProbably started logging front page on that day.
- dang 9y agoNo, we only started that in Nov 2014. Before then, the /front pages sort things by points because that's all the data we have.