Live data from Hacker News

Processing 40 TB of code from ~10M projects with a server and Go for $100 (2019)

boyter.org

11–16 of 16 posts

Re: Processing 40 TB of code from ~10M projects with a server and Go for $100 (2019)

#13
post #11

Average number of Makefiles is 1518.1769808494607? That can’t be right?

The ”average person eats 3 spiders a year” factoid is actually just statistical error. The average person eats 0 spiders per year. Spiders Georg, who lives in a cave & eats over 10,000 each day, is an outlier and should not have been counted”

Re: Processing 40 TB of code from ~10M projects with a server and Go for $100 (2019)

#14

>>> If someone wants to host the raw files to allow others to download it let me know. It is a 83 GB tar.gz file which uncompressed is just over 1 TB in size. Anyone knows if it is possible to download similar data set for youtube and reddit? I have ideas for search engine based on it, but I don't want to write/maintain scraper scripts.

There's a very large dataset of Reddit posts and comments at https://files.pushshift.io/reddit/

Re: Processing 40 TB of code from ~10M projects with a server and Go for $100 (2019)

#15
post #11

Average number of Makefiles is 1518.1769808494607? That can’t be right?

Yea this clearly seems like a bug or some repo skewing the results. Also a good reminder why the median should often be shown alongside average values.

Re: Processing 40 TB of code from ~10M projects with a server and Go for $100 (2019)

#16
post #13
post #11

Average number of Makefiles is 1518.1769808494607? That can’t be right?

The ”average person eats 3 spiders a year” factoid is actually just statistical error. The average person eats 0 spiders per year. Spiders Georg, who lives in a cave & eats over 10,000 each day, is an outlier and should not have been counted”

Of course, however given that there are 1.2 million repositories with makefiles, the listed average would mean that they contain 1.8 billion makefiles in total. I doubt that that’s the case.

Also, according to the page, only 59 million of all files are named “Makefile”.

I suspect that the file language recognition has major false positives for the Makefile language.

Post reply on HN