| ▲ | alberth 4 days ago |
| I wonder if it’s more intuitive that way. Like what Apple does with stopwatch. https://lukashermann.dev/writing/why-the-iphone-timer-displa... |
|
| ▲ | happytoexplain 4 days ago | parent | next [-] |
| This is just rounding to nearest instead of down or up, not statically adding a whole interval (as the author realizes in an addendum). |
| |
| ▲ | Thorrez 4 days ago | parent [-] | | My oven always rounds up. Until the last minute, when it immediately switches from 2 minutes to 59 seconds. |
|
|
| ▲ | kybernetyk 4 days ago | parent | prev | next [-] |
| Heh, funny. I recently implemented a countdown for a teleprompting app and that's exactly what I ended up doing to make the countdown "feel right". The countdown in question doesn't display fractions of a second so it would immediately switch from "5 seconds left" to "4 seconds left" which just doesn't feel right. Adding 0.5s solved the issue. |
| |
| ▲ | fainpul 4 days ago | parent | next [-] | | Just round up. The countdown is done as soon as 0 appears (0 doesn't linger for 1 second). | |
| ▲ | happytoexplain 4 days ago | parent | prev [-] | | To expand a bit on what others have said: If you're counting up, round down. If you're counting down, round up. A human expects the count to finish at precisely the moment we get to the last number in the sequence (zero, for counting down). Do a count in your head to see what I mean. Apple chose a compromise by rounding to nearest, for it to "feel good", but you lose the ability to exactly predict when the timer ends as a human. Typical Apple. |
|
|
| ▲ | godelski 4 days ago | parent | prev | next [-] |
| It seems easier to use the ceiling |
| |
| ▲ | saghm 4 days ago | parent [-] | | From looking at the bottom of the linked post (which says it was edited, not sure when in relation to your comment), it sounds like they wanted something that worked across arbitrary times split across units (hour/minute/seconds) without having to handle carry-over. I'm not sure I would choose to alter the times themselves over making the math a bit more complex, but the author has obviously thought about this a lot more than me, and it's nice that they at least considered that alternative. |
|
|
| ▲ | vachina 4 days ago | parent | prev [-] |
| It is still tracking the actual time though. This signal strength is straight up lying about the actual signal strength |