Hacker Newsnew | past | comments | ask | show | jobs | submit | diogenesofweb's commentslogin

Pomodoro webapp with an editable list of stuff to do during breaks, plus additional timers, radio … https://www.timerone.com/pomodoro

Chrome extension - view hyperlinks (internal and external links, phones, emails) https://chromewebstore.google.com/detail/link-list/caifphhfa...


Already using webworkers for ticking (settimeout) to deal with throttling in inactive tabs. It works ok on the desktop. But on mobile, when the screen is locked, I have no idea what can be done.


One idea I tried was calculating the exact timestamp in seconds when the timer would end and showing the user the difference between the timestamp RN and the timer for that happening. That way if the user turned off their screen and came back, it would grab the new current timestamp, re-do the calculation and move on.

It kind of worked too but I'd be a liar if I said it was better (clocks are unreliable AF) than just letting some backend handle that kind of stuff.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: