What you're suggesting seems like a spectacular leap.
I do not think it is very likely that the unnamed employee at Cloudflare that was micro-optimising code in the DNS resolver is also the author of this RFC, Joe Abley (the current Director of Engineering at the company, and formerly Director of DNS Operations at ICANN).
This is interesting.
It looks like there was even some discussion of making this behaviour part of the standard, since it's implemented by all of the major browsers.
It works for any type that implements the `std::error::Error` trait; which is something you can easily implement for your own types.
If you want your errors to be integers for some reason, you can wrap that type in a zero-sized "newtype" wrapper, and implement `Error` for that.
The Stack Overflow answer you linked seems to be claiming that it's simply easier to return strings, but I wouldn't say this is a restriction imposed by the language.
I found this[0] discussion on Jonathon Blow's youtube channel about game physics/framerate dependence. It certainly seems to more than simply a problem of software architecture as some commenters appear to suggesting here.
> I just realized I’m agreeing with a social justice warrior about something
Why are you accusing thinkxl of being a “social justice warrior” and why, exactly do you feel that that undermines your agreement? Is website usability a liberal ideology?
Lacking any actual justification your edit feels very out of place on hn.
I have the same issue on the mid 2012 13" model. The camera seems to stop being recognised whenever the macbook goes into sleep mode... no solution found so far.
0: https://news.ycombinator.com/item?id=46266875