Hacker News new | ask | show | jobs
by throwaway2245 2002 days ago
Correctly rounding to the nearest second is exactly the behaviour that I expect from a timer.

It's not "fake".

2 comments

Exactly. Seems like the author is suggesting a timer with 4.9 seconds left should tell you it has 4 seconds left instead of 5. Not sure why anyone would think this.

The tidbit about it displaying 1 even if there is 0.01 left is interesting though. Makes sense.

reddit works like this if you get downvoted and only get to post every 10 minutes. it tells you you have to wait 1 more minute, and then a minute later it tells you you have to wait 59 more seconds, very counterintuitive. gets me every time when I have a post typed out and it's putting me on timeout for going against the grain (like e.g. suggesting that mob justice is bad)
> reddit works like this if you get downvoted and only get to post every 10 minutes.

Oh, so that's why it's telling me to wait... I always wondered that whenever I got into an argument with someone.

Unless you pause it... In which case it rounds up...
Only at 0:00. That's a separate feature, showing 0:01 at a minimum for a paused timer (presumably to make it very clear that you aren't looking at an expired timer, even though the UI disappears for an expired timer.)
Ah. I see that my Apple app does do that, but it's not my preference.

I would much prefer "0 seconds remaining" to mean 0 to 0.5 seconds remaining, than any other possible case. I would find it much easier to parse.

(Alternatively, please show more accuracy for this case, where it's likely relevant)