Sunrise/Sunset algorithm | Hacker News Reader