Infinite loop in macOS Night Shift in the summer near the Arctic Circle
131–140 of 175 posts
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#132I sometimes wonder how many bugs are lurking in systems using GPS for navigation at 180th meridian (where longitude goes from 180 to -180).
The F-22 had such problems. https://www.defenseindustrydaily.com/f22-squadron-shot-down-...
Also related- it seems crazy to me how some teams are working on a robotic product without building/interating a simulator first!
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#133Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#134Earlier quoted context omitted.
How did we screw up time zones so much?
We invented and then implemented time zones and then invented and then implemented daylight savings time; arbitrarily and with arbitrary laws and treaties. There are days where I think I should go back to a mechanical watch and adjust the time each day at high noon. It won’t agree with anyone else’s time most of the time, but at least it will be correct .
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#135Earlier quoted context omitted.
DST rules are just insane. I'm responsible for some code where I just drew the line and 40 some odd people in one of the Antarctic stations are just going to have to live with wrong time part of the year if they ever run my code. I'm not adding another code path and test case just because these people wanted their own special concept of time. I don't remember the pattern, but I think it was maybe a daylight savings t…
We have endless problems with DST as well. I can't wait for the EU directive that abolishes it. Russia dropped it years ago. We'll still have to support past times and other timezones though.
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#136Am I the only person who is impressed with this person's debugging skill?
Not really. All he's shown is a behavior (high CPU) and is equating it with the latitude he's at. When he turns off Night Shift, the daemon process for the feature stops consuming as much CPU, from what I gathered. Nowhere does he provide evidence that there is an infinite loop calculating the sunrise/sunset. And I really don't want to be a stereotypical poster by simply degrading what he did, so I will give credit t…
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#137Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#138Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#139Deep in the twitter replies: > Now, is this a corner case, an edge case or a boundary case? And does the answer depend on whether you are a flat-earther or not? That was too funny.
Personally I believe that earth is flat disk carried by 4 elephants, which are standing on the back of a giant turtle
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#140Earlier quoted context omitted.
We have endless problems with DST as well. I can't wait for the EU directive that abolishes it. Russia dropped it years ago. We'll still have to support past times and other timezones though.
I wonder how long time it will take to forget DST if it is abolished. Will that messy spaghetti code be ripped out and never seen again.