New

The latest blog posts to take off on Hacker News. 3,290 posts.

Any topic
2020
3217

Finding unique items: hash vs. sort

A while back, I was trying to speed up some code which finds unique items in a collection. For example, transforming "AABBADCAB" => "ABDC" . There are two ways to do this efficiently - one is based on sorting, the other based on hashing. So, which is faster? I couldn't find the answer, so I ran some experiments and…

3228

Products I Wish Existed

Below is a list of products or startups that I am keeping an eye out for. I skipped listing things I wish existed that can *not* be implemented with today's technology in strong form - for example, the Young Lady's Illustrated Primer - although weak forms of this may be possible today.