3 ms·
Even macos autolayout subsystem (cassowary solver) can break constraints based on priority as part of regular operation. It is a linear/logical problem, strange
by wruza 10y ago
Even macos autolayout subsystem (cassowary solver) can break constraints based on priority as part of regular operation. It is a linear/logical problem, strange that scifi robots fail in it. Probably scifi authors are not aware of non-strict problems.
No-lie should have minimal priority possible, otherwise HAL breaking TLoR is only a matter of time.
- M_Grey 10y agoThis has to be the most intellectually sound, and technically sophisticated analysis that still has, "Well then of course there wouldn't be a movie to watch," as it's answer.
- alanh 10y agoHaha. Anyone who has written more than a dozen lines of CSS is hopefully also familiar with the computer ignoring one directive in favor of the other. Try this: .foo { display: inline; float: right; } Better believe foo won't be inline! That’s per spec :)
- mannigfaltig 10y agoMaybe a programmer accidentally added another zero to the priority value for keeping the secret (say, 100 instead of 10). Hard constraints are the limiting case of soft constraints.
- wruza 10y agoOr, to be sure, he put -1 into priority field and published in hurry into production. He didn't know that the value was cast to unsigned long in the view controller. Still happens in the future, I guess.