The check isn't important; what's important is being predictable so the CPU can guess which way the check will go. I don't know exactly how it works, but after the first couple of loops, the predictor will assume it's always going to end up in the loop and make that the fast path. It may guess wrong the first couple of loops, and the last check wrong, but the other 997 will be correct.
HN user
Tiddles-the2nd
meet.hn/city/au-Sydney
This is disgusting and unconscionable conduct by Apple. Your whole life is locked into your account (digital data and physical devices), and they either don't care or don't have the processes in place to fix it.
This is the kind of thing they need to be sued on a massive scale for to solve but it's too rare and too expensive for anything to ever happen to them for it.
A state projection concluded that the connector collapse had cost $90 million, based on a $6 million per day economic impact estimate. This includes a $491,000 loss in toll revenue for the Oakland Bay Bridge
Sounds like $200,000 a day for bonus payments was nothing.
When it comes to ad links I've always wondered if it's ignorance or done deliberately to make you click on the ad.
Also this is just weird, it tries to be EE but it just ends up being convoluted without applying the patterns correctly. E.g. all the logic is executed in the constructor of HelloWorld.java - I can't imagine that ever getting past code review.
Obligatory Fizz-Buzz EE. https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
If the test was done on a single processor and not repeated it's possible only that particular chip has this unique behaviour.
“I decided it was probably not worth $7,000, [to sue Google]” he said.
This is a big part of the problem, technically you have a recourse, but the cost for individuals is a barrier to justice. Organisations have a lot of freedom to act behind the cost to litigate.
As an interpreter, it could be very powerful for development, prototyping, and developing POCs.
Not a useful comment 20 minutes into an outage.
The internet is an interconnected web of dependencies. Unless you are Cloudflare/Akamai/Amazon/Google there is no self-hosted anymore.
You can host in your basement if you like but you're still dependent on your ISP.
That's the point, take a look into salting + hashing passwords
I'll also plug pwndbg[1] here. Like Gef it greatly extends the utility of GDB, and is oriented around exploit development.
Visually it looks very cool, but I agree it's not very helpful.
At the very least each result and RC should be in a different colour.
xchg %ax,%ax is the nop instruction. I would have expected to see <nop> written instead but the opcode (0x90) is shared by both.
It's also possible that xchg %ax,%ax is has been decoded from a multi-byte nop (to align memory) before the function call.