Although binary search is straightforward, the details can be tricky | Hacker News Reader