Math.min(Math.max(num, min), max) | Hacker News Reader