Algorithm to prove that an event occurred before a point of time | Hacker News Reader