Optimizing k-means clustering for time series data | Hacker News Reader