Efficient Evenly Distributed Sampling of Time Series Records in PostgreSQL | Hacker News Reader