Reference Code for the Slug Algorithm | Hacker News Reader