Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,834 posts.

Software Engineering
Any year
13597

Speeding up a Git monorepo

We migrated from Mercurial to Git in 2014 to improve local performance and began consolidating our repositories that hosted our backend code. But as this monorepo grew, we experienced Git performance issues that grew linearly with the number of files we added. Inconveniently, this problem was the most severe on…

13604

Why threads can't fork

There is an interesting thread on the Go issue tracker about daemonizing processes. Most of the thread is not about daemonizing processes though, but more about why Go has no Fork() function which you can call directly in your code. The first time I read through it I was wondering and saying to myself: “Yeah, why is…

13605

Honey, I shrunk the NPM package

Have you ever wondered what lies beneath the surface of an npm package? At its heart, it’s nothing more than a gzipped tarball. Working in software development, source code and binary artifacts are nearly always shipped as .tar.gz or .tgz files. And gzip compression is supported by every HTTP server and web browser…

13611

All of my side-projects from 2012

One of my favorite pastimes as a programmer is to work on personal projects outside of work. I use side-projects as a creative outlet to work on new and interesting things. I also use them as a learning exercise. If I start a side-project, there must be "one new thing" about the project I don't know how to do already…