News for hackers. Stuff that matters.
Re:Show HN: Clocksimulator.com – A minimalist, distraction-f... by noman-land on Wednesday February 25, 2026 @09:46AM (#47152215)
Very smooth. Is the code open source?
Re:Show HN: Clocksimulator.com – A minimalist, distraction-f... by Julien_r2 on Wednesday February 25, 2026 @09:50AM (#47152281)
Seems to be simple enough (just plain JS not minimified, and CSS), that you can just look at the source view-source:https://www.clocksimulator.com/

Good ol' days spirit

Re:Show HN: Clocksimulator.com – A minimalist, distraction-f... by user_timo on Wednesday February 25, 2026 @09:47AM (#47152239)
Thank you. Code can be viewed at https://github.com/timoheimonen/clocksimulator
Re:Show HN: Clocksimulator.com – A minimalist, distraction-f... by noman-land on Wednesday February 25, 2026 @11:24AM (#47153684)
Thanks! I was keen to find out how you prevented screen sleep and was interested to find out about wakeLock.