Live data from Hacker News

Show HN: Hacker News Classics

jsomers.net

21–30 of 111 posts

Re: Show HN: Hacker News Classics

#21

I'd prefer to sort them by points. By age is interesting, by the way. Do you do some deduplication. Some classics are resubmitted a few times successfully. Perhaps add a third sort criteria, that is sorted by the number of big reposts.

Problem with by points is that over time as more people come to HN the number of points are worth less, unless HN does like Reddit does and weighs them but even then such a system tends to change over time and so it’s still not comparable.

For example say that several years ago a post might hit front page and 500 people would vote on it. If 300 people voted up and 200 down then it gets 100 points.

Fast forward and now there are more people on the site. That means greater confidence in the percentage but because only points and not percentage of up/down is revealed, a post with similar percentage up- vs downvotes appears to be better. 600 up and 400 down is still 60% up vs 40% down but it results in 200 points total.

Like I said though maybe HN does account for this and 100 points today means the same percentage of people upvoted it, I don’t know.

Re: Show HN: Hacker News Classics

#22
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.

That's a good idea. Do you mean in the text where it says "Guidelines | FAQ | ..."? or somewhere else?

Re: Show HN: Hacker News Classics

#25
post #17

Earlier quoted context omitted.

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".

[deleted]

Re: Show HN: Hacker News Classics

#26
post #22

Earlier quoted context omitted.

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

That's a good idea. Do you mean in the text where it says "Guidelines | FAQ | ..."? or somewhere else?

Yep, that would be a great spot, out of the way of the main UI and yet easy to reach.

Re: Show HN: Hacker News Classics

#28

Earlier quoted context omitted.

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

That's way more fantastic than I thought their API would be! Thanks. Hope OP sees it.

Re: Show HN: Hacker News Classics

#29
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.

Probably started logging front page on that day.
Post reply on HN