Live data from Hacker News

Infinite loop in macOS Night Shift in the summer near the Arctic Circle

twitter.com

41–50 of 175 posts

Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle

#41
post #26

Earlier quoted context omitted.

My favorite incorrect fact is that there are 24 timezones. In fact, the number of offsets from UTC fluctuates throughout the year (at least last I worked on scheduling in 2012. Back then it was either 39 or 40 depending on DST)

That becomes fairly obvious when you consider Arizona doesn't observe DST, but Utah is the same longitude (lies directly north) and does observe DST.

Yep. And there also small regions that observe daylights savings WITHIN regions that don’t observe daylight savings WITHIn regions that do observe it. For example, in Indiana it is on a per county basis[1].

1. https://www.timeanddate.com/time/us/indiana-time.html

Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle

#42
post #31

Earlier quoted context omitted.

> (an arbitrary planet that has no impact on the universe whatsoever) What do you call this type of worldview where you just view everything as completely meaningless or devoid of any value? Is it really straight up Narcism? I mean my god no wonder this is one of the most depressed generations on record. Apologies for the off-topic comment, I just felt compelled to post this. We are the most meaningful, most importan…

If I remember correctly the word you're looking for is nihilism.

Ironically, viewing yourself as the most meaningful, important, intelligent, accomplished thing in the universe sounds a lot like narcissism.

Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle

#43
post #23

Earlier quoted context omitted.

Time is hard: https://zachholman.com/talk/utc-is-enough-for-everyone-right This is all because of the fact that we're trying to represent the time taken by the earth (an arbitrary planet that has no impact on the universe whatsoever) to revolve around the sun (an arbitrary star) in terms of the amount of time the earth takes to rotate around itself. These two obviously unrelated things are somehow merged into to crea…

It’s not an arbitrary planet from our perspective, which is the only one we even know to exist. We’ve needed to coordinate actions forever and the sun was the only reliable way to do that for a long time. Nothing arbitrary about where our time came from.

Sure, for now; but I feel like it'd be aesthetically pleasing in some sense to try for something more objective—i.e. to predetermine the sort of timekeeping methods we would need upon establishing trade relations with a universe full of aliens, and then to use those methods in advance. Like a Society for Creative Anachronism meeting where the target period is forward in time rather than backward.

Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle

#44

Earlier quoted context omitted.

I think you're right, but that the tone I read in your words would prevent people from improving. Rather than "I'm so clever" it is more "this isn't complicated". One can argue they mean the same thing, but I'd say they mean different things if comparing to an outside scale. The solution to thinking you're so clever is to reduce your arrogance, but the solution to thinking problems are simple is to stop assuming any…

but that the tone I read in your words would prevent people from improving Are people really that fragile? Yes and no. The solution to thinking you're so clever is to reduce your arrogance, but the solution to thinking problems are simple is to stop assuming any problem is simple. Isn't humility the answer to both? Someone should develop a humility course for programmers involving an "ultra drone," writing the date/t…

> Are people really that fragile?

It's not fragility, so much as perspective.

When you are thinking something is simple, and you say "Am I'm thinking I'm impressed with my own cleverness?" it's easy to say "no". Because it's not arrogant to think you can accomplish something simple.

When you are thinking something is simple, and you say "Am I assuming simplicity?" it's easy to say "yes".

Realizing you're committing the fallacy is the first step to avoiding it.

Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle

#46
post #21

hmm I wonder if it also applies in the other direction where the sun doesn't rise for a part of the year as well

> where the sun doesn't rise for a part of the year as well

That would be the same place a few months from now. This is strange though, it's not like this guy is the first above the polar circle using a Mac. I suspect it must somehow be related to him being a tourist with a different region and timezone settings or maybe the location services got confused.

Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle

#47
post #3

Earlier quoted context omitted.

Or an infinite frictionless plane in a vacuum

Or a discworld, sitting on the back of four elephants who are standing on the back of a turtle.

What does the turtle stand on?

Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle

#48
post #4

'Falsehoods programmers believe about time: - Every day has a sunrise and a sunset'

Falsehoods the internet believes about programming: compiling pithy lists of mistaken ideas actually helps programmers do a better job.

Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle

#49
post #25

Am 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…

What's the difference between unexpected and undesired behavior and a bug?

Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle

#50
post #41

Earlier quoted context omitted.

That becomes fairly obvious when you consider Arizona doesn't observe DST, but Utah is the same longitude (lies directly north) and does observe DST.

Yep. And there also small regions that observe daylights savings WITHIN regions that don’t observe daylight savings WITHIn regions that do observe it. For example, in Indiana it is on a per county basis[1]. 1. https://www.timeanddate.com/time/us/indiana-time.html

Speaking of within, I fibbed slightly about Arizona.

https://en.wikipedia.org/wiki/Time_in_Arizona

The Navajo Nation is within Arizona's boundaries, and it does observe DST. And the Hopi Reservation is within the Navajo Nation, and it does not observe DST.

And since Arizona is surrounded by California, Nevada, Utah, New Mexico, and Mexico, all of which do observe DST, that means you have an island of no-DST (Hopi) inside an island of DST (Navajo) inside an island of no-DST (Arizona) inside an area of DST (adjoining US states plus Mexico).

Post reply on HN