HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
wilsonzlin
hackerverse
TypeScript2024–2024
wilsonzlin / hackerverse

hackerverse

Exploring Hacker News by mapping and analyzing 40 million posts and comments for fun

2Distinct people
2Mentions
0Explicit recommenders
215GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Exploring Hacker News by mapping and analyzing 40 million posts and comments for fun

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2024-05-10 02:50:14 UTC to 2024-05-10 08:58:42 UTC.

012024-05-10 02:00:00 UTC to 2024-05-10 03:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 10, 02:002024-05-10 03:00:00 UTC to 2024-05-10 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-10 04:00:00 UTC to 2024-05-10 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-10 05:00:00 UTC to 2024-05-10 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMay 10, 05:002024-05-10 06:00:00 UTC to 2024-05-10 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-10 07:00:00 UTC to 2024-05-10 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-10 08:00:00 UTC to 2024-05-10 09:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 10, 08:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
May 10, 02:002024-05-10 02:00:00 UTC2024-05-10 03:00:00 UTC101
May 10, 03:002024-05-10 03:00:00 UTC2024-05-10 04:00:00 UTC000
May 10, 04:002024-05-10 04:00:00 UTC2024-05-10 05:00:00 UTC000
May 10, 05:002024-05-10 05:00:00 UTC2024-05-10 06:00:00 UTC000
May 10, 06:002024-05-10 06:00:00 UTC2024-05-10 07:00:00 UTC000
May 10, 07:002024-05-10 07:00:00 UTC2024-05-10 08:00:00 UTC000
May 10, 08:002024-05-10 08:00:00 UTC2024-05-10 09:00:00 UTC101

What Hacker News says

2 sources
Truly, amazing work! Not only because of the final results, but also because of the whole process it took the author to bring this to life. If I could upvote this by giving points from my karma, I wouldn't hesitate to easily give a hundred points. Without a doubt, I would classify this on par with "40k HN comments mentioning books, extracted using deep learning" (https://news.ycombinator.com/item?id=28595967), which is the highest-voted "Show HN" project related to hacker news so far with 1359 points. I'm not in the ML/AI arena yet, so I couldn't fully understand the second half of the article except for having a general idea about Embeddings and their potential, but the first part is what interests me as a software engineer. Following are some of the challenges the author came across, was able to overcome each of them, and published the
Read the rest
full source code. Downloading HN database > There's also a maxitem.json API, which gives the largest ID. As of this writing, the max item ID is over 40 million. Even with a very nice and low 10 ms mean response time, this would take over 4 days to crawl, so we need some parallelism. > I've exported the HN crawler [1] (in TypeScript) to its own project, if you're ever in need to fetch HN items. Fetching and parsing linked URLs' HTML for metadata and text > For text posts and comments, the answer is simple. However, for the vast majority of link posts, this would mean crawling those pages being linked to. So I wrote up a quick Rust service [2] to fetch the URLs linked to and parse the HTML for metadata (title, picture, author, etc.) and text. This was CPU-intensive so an initial Node.js-based version was 10x slower and a Rust rewrite was worthwhile. Fortunately, other than that, it was mostly smooth and painless, likely because HN links are pretty good (responsive servers, non-pathological HTML, etc.). Recovering missing/dead links > A lot of content even on Hacker News suffers from the well-known link rot: around 200K resulted in a 404, DNS lookup failure, or connection timeout, which is a sizable "hole" in the dataset that would be nice to mend. Fortunately, the Internet Archive has an API that we can use to use to programmatically fetch archived copies of these pages. So, as a final push for a more "complete" dataset, I used the Wayback API to fetch the last few thousands of articles, some dating back years, which was very annoying because IA has very, very low rate limits (around 5 per minute). Finding a cost-effective cloud provider for GPUs > Fortunately, I discovered RunPod, a provider of machines with GPUs that you can deploy your containers onto, at a cost far cheaper than major cloud providers. They also have more cost-effective GPUs like RTX 4090, while still running in datacenters with fast Internet connections. This made scaling up a price-accessible option to mitigate the inference time required. This is the type of content that makes HN stands out from the crowd. _____________________________ 1. https://github.com/wilsonzlin/crawler-toolkit-hn/ 2. https://github.com/wilsonzlin/hackerverse/tree/master/crawle...
In Show HN: Exploring HN by mapping and analyzing 40M posts and comments for fun

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.