Live data from Hacker News

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

twitter.com

151–160 of 175 posts

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

#151
post #91
post #39

Earlier quoted context omitted.

Yeah I always feel like a jerk when people open tickets in the summer saying “Please do this at #:## EST” and I have to reply “thanks for providing a time but it’s currently EDT in NYC. Is that what you meant?”

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”.

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

#152
post #104

Earlier quoted context omitted.

If we tried to get these thing 100% right we'd not have time for anything else. Punting is pragmatic.

You're absolutely right that "100% right" is an unreasonable standard. I submit that knowing that there are places on the planet where, at times, the sun doesn't set, however, is a reasonable thing to expect of someone who's made it far enough in life to be writing code (or testing it! How did this pass QA?) for Apple . f.lux gets it right if I set my zip to Barrow, AK. Why can't Apple, with how many orders of magnit…

Agreed

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

#153
post #26

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…

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)

And that it's possible for two places to be more than 24 hours apart.

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

#154
post #150

This 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

My thinking was rather that they made an assumption. Which is a much simpler explanation because people make faulty assumptions every day.

But yeah, diversity would have helped.

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

#155
post #74
post #45

Earlier quoted context omitted.

Wot, what's the false case?

Some cultures end the day at (wait for it...) sunset. And now we're back to the original problem.

Apparently Muslims and Jews here have agreed that the day ends at sunset or at 21:00, whichever comes first (or at all). It would be difficult if you couldn't eat for the better part of a month.

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

#156
post #45

Earlier quoted context omitted.

Wot, what's the false case?

DST. Some countries (Brazil) switch over at midnight instead of 2:00 am. One day of the year has no midnight.

I never considered how many logical problems arise from the use of AM/PM. I knew time handling is tricky but it seems like every time I see this topic discussed, I learn about a new corner case.

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

#157
post #150

This 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

My thinking was rather that they made an assumption. Which is a much simpler explanation because people make faulty assumptions every day. But yeah, diversity would have helped.

I believe the first portion of your reply directly supports the original comment here. Everyone's assumptions are based off of their experiences. A diversity of experiences and backgrounds creates an environment where assumptions are challenged more frequently. The more than a team can support their decisions through facts, instead of assumptions, the stronger their solutions will be.

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

#158
post #150

This 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

> I am not speaking of racial or sex diversity

I was about to wonder how racial and sex diversity plays into a program running into an infinite loop.

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

#159

Has 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?

Some places have laws against "cruising"

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

#160
post #150

This 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 education wouldn’t qualify as diverse in most contemporary conceptions of diverse, despite a likely underlying diversity of culture and experience.

Post reply on HN