Nearest point calculation | Hacker News Reader