Re:Infinite loop in macOS Night Shift in the summer near the...
by caf on Friday June 28, 2019 @11:56PM
(#20310734)
Consider the loop conditions (which are clearly non-trivial) and ask "is it certain that this loop will always terminate"?
Presumably in this case you would have arrived at an answer along the lines of "yes, so long as there's always a sunset". Which should then prompt the question: hang on, is there always a sunset? A quick scan over whatever datafile it's using for input should answer that.
Presumably in this case you would have arrived at an answer along the lines of "yes, so long as there's always a sunset". Which should then prompt the question: hang on, is there always a sunset? A quick scan over whatever datafile it's using for input should answer that.