Calculating your customers lifetime value (with code) | Hacker News Reader