Show HN: Download the first 10,002,378 HN comments/stories as one archive
Magnet link: magnet:?xt=urn:btih:44c65b5779d9d8021e002584fa73740f36d052a6&dn=10m_hn_comments_sorted
Go to https://hn-archive.appspot.com/ for the torrent file / source code.
I'll be semi-frequently checking the story and answering any questions which may come up.
Comments
Somehow I can never turn down a data dump, despite never having done much with one.
Some day!
Thank you for this! I'm training word2vec on it right now - will take several hours.
If anyone else is interested here is the (terrible) code to get it into a prototype format. https://gist.github.com/binarymax/d3691180e65ff7f0dec5
Keep us posted on your discoveries. It would be interesting to see how different the embedding is to word2vec trained on a different corpus. I imagine borrowed words like "python" are clustered with programming languages rather than snakes in this case.
As a side note, not really having looked too deeply into word2vec, does word2vec capture multiple meanings? If so, how?
All done, results are very promising! Examples are too long so here is one below, and this gist has more: https://gist.github.com/binarymax/6befa448df3f5fd6dba9
Enter word or sentence (EXIT to break): startuphttps://hn-archive.appspot.com/
Clickable
Thank you.
Someone should map the use of tech buzzwords over the years. Would be pretty funny to look at.
This could be a good starting point: http://dclure.org/essays/visualizing-the-humanist/
I wish it included upvotes/downvotes. Why are those secret? It would be fun to work on ranking algorithms, and any inc effective requires knowing who is doing the up/down voting.
what date range does this correspond to? How big is the archive?
It is from story 1 to comment/story 10,002,378 :-)
The archive is 1.12GB big and contains 1 JSON document / per line. The JSON document is approximately the format returned by the official HN API (although there are some exceptions since some of the comments are not available through the official API and those had to be retrieved through the Algolia API and/or scraped from the site).
Thx. Great job. Now I just have to dust off some LDA code and see some topics...
Also, about the date range: from October 10, 2006 until yesterday (when HN hit ~10m comments / stories).
Does this include [dead] comments?
Yes, dead comments were fetched / scraped from the website (so it might not be perfect since it uses regex to parse HTML :p).
Which pieces of data are included with each comment/link?
https://github.com/HackerNews/API#items
Also the file is ~5.3GB when decompressed, if anyone is wondering.
What license applies to the archive? Creative commons?
meta data request: can someone scrape the tracker and provide a log of the all the IPs that participated in the swarm?