Clever algorithms in Ruby | Hacker News Reader