Logical formula for being Happy | Hacker News Reader