New

The latest blog posts to take off on Hacker News. 5,567 posts.

Any topic
2020
5431

A Brief Guide to Startup Pivots

Most of the times, startup don't work. At some point it may make sense to either (1) give up on your original product and to sell the company, (2) shut down what you are doing and return money to investors, or (3) to pivot. You can read more on making the decision to give up in a future article. This post focuses on…

5459

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…