How to detect changes in time series | Hacker News Reader