Live data from Hacker News

Show HN: Hacker News Classics

jsomers.net

11–20 of 111 posts

Re: Show HN: Hacker News Classics

#11

Any way this could be done without requiring javascript? For security, ad-blocking, and privacy reasons I have javascript blocked in my browser, and really don't like to turn it on except for sites like my bank.

You could render the http://jsomers.net/hn/stories.json some other way, or examine the javascript yourself, as it is not obfuscated or anything

Re: Show HN: Hacker News Classics

#12
post #5

You can also to go https://news.ycombinator.com/front to bounce around how HN's front page looked on past days, like https://news.ycombinator.com/front?day=2016-06-20 . Or click on the date in an account's profile to see what HN looked like on its birthday.

Cool, would it be possible to put two dynamic links 'yesterday' and 'two days ago' in the footer? I would really use those.

Re: Show HN: Hacker News Classics

#13
post #2

Occasionally you see articles on HN with a date in the title, like “(1998)” — and over the years I’ve noticed that these tend to be some of the best posts. It makes sense: on a site devoted to news , an article posted so long after it was published has to be especially good. So I hacked together this page, which links to every HN post with a date in its title earning more than 40 votes. It’s sorted in chronological o…

For links that are now defunct/gone (such as #2 on the chronological list), can you pull the web archive at the closest date to the submission? (dead) http://yorktownhistory.org/homepages/1900_predictions.htm ===> https://web.archive.org/web/20100108205037/http://yorktownhi... (archive from 6 days later) I don't think this can be done programmatically though... thanks for putting this together. I enjoy the old posts…

The url can be found via the archive's API, and you can specify a timestamp.

http://archive.org/wayback/available?url=http://yorktownhist...

It returns a json with, notably, the closest archived page given the timestamp.

https://archive.org/help/wayback_api.php

Re: Show HN: Hacker News Classics

#14
post #2

Occasionally you see articles on HN with a date in the title, like “(1998)” — and over the years I’ve noticed that these tend to be some of the best posts. It makes sense: on a site devoted to news , an article posted so long after it was published has to be especially good. So I hacked together this page, which links to every HN post with a date in its title earning more than 40 votes. It’s sorted in chronological o…

Very cool! Reminds me of the Ezra Pound quote, "Literature is news that stays news."

Ezra was a... complicated man, but he had keen insights.

Re: Show HN: Hacker News Classics

#15
post #5

You can also to go https://news.ycombinator.com/front to bounce around how HN's front page looked on past days, like https://news.ycombinator.com/front?day=2016-06-20 . Or click on the date in an account's profile to see what HN looked like on its birthday.

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 ` which would get the feature done in about ten seconds.

Re: Show HN: Hacker News Classics

#16
So in case I’m not spending enough time on the front page of this HN, good to know there’s a nearly infinite depth to plumb.

And now I’m reading Arnold Bennett’s ‘How to Live on 24 Hours a Day’ originally published in 1908. Good to know tongue-in-cheek self-help books will never go out of style!

[1] - http://www.gutenberg.org/files/2274/2274-h/2274-h.htm

Re: Show HN: Hacker News Classics

#17
post #5

You can also to go https://news.ycombinator.com/front to bounce around how HN's front page looked on past days, like https://news.ycombinator.com/front?day=2016-06-20 . Or click on the date in an account's profile to see what HN looked like on its birthday.

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 ` which would get the feature done in about ten seconds.

> 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

#20
post #6
post #4

Wow, this is great. Were there no pre 1900 refrences or is that just were you chose to start?

I started it somewhat arbitrarily in 1900.

I count two in (1899) https://news.ycombinator.com/item?id=2426655 and https://news.ycombinator.com/item?id=14833793
Post reply on HN