Earlier quoted context omitted.
Personally I believe that earth is flat disk carried by 4 elephants, which are standing on the back of a giant turtle
Sure, but that turtle is carried by four "elephants, which are standing on the back of a giant turtle". And that turtle ...
Infinite loop in macOS Night Shift in the summer near the Arctic Circle
161–170 of 175 posts
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#162Earlier quoted context omitted.
Most standard libraries still have support for the Julian calendar. That stuff is never going away.
I doubt it's "most". Python, Javascript, and C++ don't seem to. The only ones I found that do seem to are C# and Java.
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#163Earlier quoted context omitted.
No reason to be snarky with people. They mean whatever time it currently is or will be.
Are you sure though? If they copied that date from some automated system it might as well be any of these. Humans usually say “New York time”.
I'm guilty of this too, since I can never remember which part of the year constitutes "on" and which is "off", only where the boundaries are. If I stop and think I can usually remember "spring ahead is turning it on", but never off the top of my head.
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#164Earlier quoted context omitted.
CoreBrightness is similar across the platforms.
Maybe, but I don’t think there’s a CoreSunrise or CoreSunset. The problem isn’t in setting the brightness or colour tone, it’s calculation when to switch between them.
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#165Earlier quoted context omitted.
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.
Most standard libraries still have support for the Julian calendar. That stuff is never going away.
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#166Earlier quoted context omitted.
You’re splitting hairs and failing at it. They have clearly found a “bug” if Night Shift is consuming 100% CPU without end, even if their hypothesis for the reason might be wrong.
> They have clearly found a “bug”... This depends on your definition of "bug". I think, in the classical sense, a bug is something that you understand both the cause and the resultant undesired behaviour and, as of consequence, you can reproduce the chain of events. Given that definition, I would be disinclined to agree with calling it a "bug". However , I would also like to point out that we're getting so nuanced in…
If I write a program that computes 2+2 and it tells me the answer is 5, that’s a bug. Why is irrelevant until I want to fix it.
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#167This is a beautiful example of the importance of diversity on a team. I have no idea how diverse the team is and I am not speaking of racial or sex diversity... this is the core of the discussion, having people with varying life experiences prevent obvious bugs like this or innovative ideas that no one person could think about. This is a fun bug
Whilst that’s true, I think it’s also a good example of how shortsighted most attempts at diversity are; in this case a Scandinavian would perhaps have the “diverse experience” to preempt a naïve implementation of a sunrise fiction, however diversity seems to always be about race or sex or identity, which seems to miss the point somewhat. Edit: Which is to say that a male with fair hair and skin and a university educ…
So, yes, diversity of experience is important, and no, that's not what is accepted as diversity in modern corporate culture.
https://www.telegraph.co.uk/news/2017/10/17/apples-head-dive...
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#168Earlier quoted context omitted.
Whilst that’s true, I think it’s also a good example of how shortsighted most attempts at diversity are; in this case a Scandinavian would perhaps have the “diverse experience” to preempt a naïve implementation of a sunrise fiction, however diversity seems to always be about race or sex or identity, which seems to miss the point somewhat. Edit: Which is to say that a male with fair hair and skin and a university educ…
Apple's diversity manager said something to that effect, and then she was made to apologize and leave. So, yes, diversity of experience is important, and no, that's not what is accepted as diversity in modern corporate culture. https://www.telegraph.co.uk/news/2017/10/17/apples-head-dive...
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#169Perhaps it's because they implemented the "Sunrise equation" naively, which becomes indeterminate for high latitudes when the Sun is close to the maximum? https://en.wikipedia.org/wiki/Sunrise_equation cos(\Omega) = - tan(\phi) x tan(\delta) Where \Omega = hour angle (sunrise, sunset offset from noon), \phi = latitude, \delta = sun declination. Clearly if the right hand side gets big enough (>1), this doesn't work.
Never knew about that equation! That's cool. Angles are always such a pain. In my experience it's worth applying trigonometric identities and working in terms of unit vectors, sines, and cosines instead of using angles directly. In this case angles seem unavoidable, though: acos(tan(x)*tan(y)) doesn't simplify to anything useful.
Re: Infinite loop in macOS Night Shift in the summer near the Arctic Circle
#170Has anyone ever determined how many times you have to drive around Infinite Loop before Apple Security calls the police on you?
I had a friend who once drove around a traffic circle as many times as he could. He got up to 39 times before a police officer pulled him over. Does anybody know if there is a law on that?
Basically, it depends how bored your local police are