This is very cool! Based on the title “HN Classics,” I thought it might be an implementation of another idea I’ve had. I had this idea to search for stand-out articles that get reposted every so often and always get a lot of good attention and discussion: so-called classics of HN.
I think that data could be very interesting, and would also serve as a sort of “hall of fame” of articles the HN community loves (moreso than just a list of the most upvoted articles of all time). Of course, you could also figure out the optimal duration between successive posts, and figure out when to repost yourself, if anyone wants a karma-grab. ;)
From what I’ve seen, it’s perfectly acceptable for older articles that are reposted after a considerable amount of time.
The best example I can find on short notice is this hexagonal grids article: https://hn.algolia.com/?query=Hexagonal%20Grids&sort=byDate&... You could likely find more by searching HN comments for the phrase “previous discussion,” because people tend to post links to the previous HN submissions. It doesn’t bother me, since there are likely always new HN readers who haven’t seen great “classic” articles. The HN FAQ says: > If a story has had significant attention in the last year or so, we kill reposts as duplicates. If not, a small number of reposts is ok. https://news.ycombinator.com/newsfaq.html
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.
You are right I forgot that, heh. Anyway, the problem remains that over time there will be more people to upvote so a post is likely to get more points if it was posted in the future than in the past.
Yes it looks like they do deduplication, based on the HTML source:
for (var i in data[yr]) {
var story = data[yr][i];
if (seen_titles[story.title]) continue;
seen_titles[story.title] = 1;
// ...add story to list of stories
};
Yeah I'd prefer it too, so I've converted the stories.json into a spreadsheet here[1] using this simple PHP script[2]. Feel free to edit, sort them as you like!
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.
This is a totally reasonable request and I was looking to say much the same thing. Anything resembling HN, or in the spirit of HN, shouldn't require JS to view, I think.
"Any way this could be done without requiring Javascript?"
Could be done many ways. Lets imagine you like text, you dont mind reading something somewhat structured and regular like json and you dont need all the html, css, etc. tags and window dressing. 5-minute quick and dirty solution 1.
curl -4o 1.htm http://jsomers.net/hn/stories.json
For security, noise blocking, and public unreasonableness I have only HN allowed in my browser, that is, if a site doesn't work without js, there's a high chance I don't want to read it. My bank page luckily doesn't need js either, to function.
Comments (107) 36 threads
Earlier commentsI think that data could be very interesting, and would also serve as a sort of “hall of fame” of articles the HN community loves (moreso than just a list of the most upvoted articles of all time).
Of course, you could also figure out the optimal duration between successive posts, and figure out when to repost yourself, if anyone wants a karma-grab. ;)
The best example I can find on short notice is this hexagonal grids article:
https://hn.algolia.com/?query=Hexagonal%20Grids&sort=byDate&...
You could likely find more by searching HN comments for the phrase “previous discussion,” because people tend to post links to the previous HN submissions.
It doesn’t bother me, since there are likely always new HN readers who haven’t seen great “classic” articles.
The HN FAQ says:
> If a story has had significant attention in the last year or so, we kill reposts as duplicates. If not, a small number of reposts is ok.
https://news.ycombinator.com/newsfaq.html
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.
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.
Continue this thread — 2 replies
I created this for my own use but sharing it here because others may find it useful (hope this isn't breaking any HN etiquette and if you're the original author and want me to take it down please let me know).
[1] https://docs.google.com/spreadsheets/d/16MNPM9fhpglC1s1OV-tp...
[2] https://gist.github.com/san-kumar/0b7d218a08d4d8b4a7d9c07db5...
- https://news.ycombinator.com/item?id=11320169
probably more
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.
Could be done many ways.
Lets imagine you like text, you dont mind reading something somewhat structured and regular like json and you dont need all the html, css, etc. tags and window dressing.
5-minute quick and dirty solution
1. curl -4o 1.htm http://jsomers.net/hn/stories.json
All comments shown.
Couldn't load more comments. Check your connection and try again.