Best of 2021

The blog posts Hacker News loved most in 2021. 3,497 posts.

Any topic
1054

Word-Aligned Bloom Filters

Programmers often need to 'filter out' data. Suppose that you are given a database of users where only a small percentage are 'paying customers' (say 5% or less). You can write an SQL query to check whether a given user is indeed a paying customer, but it might require a round trip to your database … Continue reading…

1063

On navigating a large codebase

A while ago, I’ve been working on a very large codebase that consisted of a few million lines of code. Large systems are usually a big mess and this one was no exception. Since this is a rather common problem in software engineering, I thought the internet would be littered with stories about this topic. There is a…

1078

How to Kill a Unicorn

I took a deep dive on freemium pricing and decided to document it in this post. Why freemium? I think it’s how the little guys can win against market leaders. Basically, it’s how you kill a unicorn. Notion, Figma, Canva, Mailchimp, and Segment. What do all of these

1080

Is Web3 anything?

The term “web3” seems pretty fluid and is being used as a label for a bunch of disparate ideas. Given that it’s a decentralized group describing a decentralized movement, that lack of focus isn’t exactly surprising. Almost by definition it’s going to end up being different things to different people.