The entire code needed to reproduce R1 in a single Gist | Hacker News Reader