Bloc's weekly code puzzle: Don't eat the last cake | Hacker News Reader