There's no mandated order between compilation units. It's a problem significant enough to have its own snarky name: the Static Initialization Order Fiasco https://en.cppreference.com/w/cpp/language/siof
The defining feature of the War on Terror is that it is never over.
Objective-C++ was introduced in the early aughts (https://luminaryapps.com/blog/objective-c-a-history/index.ht... says 2002; I remember watching the WWDC video in which it was introduced but I'm having trouble finding…
It actually doesn’t have ppc64 either. Just 3 slices.
It only has i386, ppc, and arm64 slices. So, an Intel Mac running recent macOS won't be able to launch it as it does not have an x86_64 slice (32-bit x86 execution having been removed). Whether an app containing code…
https://en.wikipedia.org/wiki/Channel_I/O
> I know what's going on and my comment was sufficiently accurate to get the point across in 1 sentence. I wasn't exactly intending to get into a lecture on MRO here. I was trying to not assume you were lying through…
> My point was what I said: you can have your cake and eat it too. You claimed the issue was due to a lack of a super keyword and I showed you it would not occur even if C++ had super. I made no such claim. I said (in…
> It's emphatically not "having a super keyword" or not having it. That's a red herring. Visual C++ has __super and yet it doesn't suffer from this: it errors with "ambiguous call to overloaded function" when there are…
That's not at all what Python does. It linearizes the inheritance hierarchy for the purposes of superclass attribute lookup, in an attempt to solve some aspects of the diamond problem, or at least make them solvable.…
That, and: I forgot to mention that not using the super builtin can also lead to unintentionally calling a method twice or more for the same base class in a diamond situation (note that with new-style classes, all…
Now your class C can't necessarily be used in a multiple inheritance hierarchy with some other class D, and a class E that inherits from C and D, as C hardcodes what its parents are. Python uses the C3 MRO algorithm to…
The fuel for the large majority of the fusion energy in a thermonuclear weapon is lithium deuteride, a solid. But here's some theories now how this works, one of which is changing the amount of tritium gas in the…
1. Because that doesn't fix the vulnerability, only narrows the window in which the exploit works. 2. Because it breaks the "ttl" feature of sudo for people who log in and out frequently (e.g., create and destroy…
They can still get you if you invoke SSH on the remote, as the password is sent to the remote machine one character at a time, then forwarded on to your ultimate destination all at once.
I think you may be missing the point. These rings are given to graduating engineers not as a beautiful object of congratulations for their achievements, but as a token designed to remind them of the burden they have…
There's no mandated order between compilation units. It's a problem significant enough to have its own snarky name: the Static Initialization Order Fiasco https://en.cppreference.com/w/cpp/language/siof
The defining feature of the War on Terror is that it is never over.
Objective-C++ was introduced in the early aughts (https://luminaryapps.com/blog/objective-c-a-history/index.ht... says 2002; I remember watching the WWDC video in which it was introduced but I'm having trouble finding…
It actually doesn’t have ppc64 either. Just 3 slices.
It only has i386, ppc, and arm64 slices. So, an Intel Mac running recent macOS won't be able to launch it as it does not have an x86_64 slice (32-bit x86 execution having been removed). Whether an app containing code…
https://en.wikipedia.org/wiki/Channel_I/O
> I know what's going on and my comment was sufficiently accurate to get the point across in 1 sentence. I wasn't exactly intending to get into a lecture on MRO here. I was trying to not assume you were lying through…
> My point was what I said: you can have your cake and eat it too. You claimed the issue was due to a lack of a super keyword and I showed you it would not occur even if C++ had super. I made no such claim. I said (in…
> It's emphatically not "having a super keyword" or not having it. That's a red herring. Visual C++ has __super and yet it doesn't suffer from this: it errors with "ambiguous call to overloaded function" when there are…
That's not at all what Python does. It linearizes the inheritance hierarchy for the purposes of superclass attribute lookup, in an attempt to solve some aspects of the diamond problem, or at least make them solvable.…
That, and: I forgot to mention that not using the super builtin can also lead to unintentionally calling a method twice or more for the same base class in a diamond situation (note that with new-style classes, all…
Now your class C can't necessarily be used in a multiple inheritance hierarchy with some other class D, and a class E that inherits from C and D, as C hardcodes what its parents are. Python uses the C3 MRO algorithm to…
The fuel for the large majority of the fusion energy in a thermonuclear weapon is lithium deuteride, a solid. But here's some theories now how this works, one of which is changing the amount of tritium gas in the…
1. Because that doesn't fix the vulnerability, only narrows the window in which the exploit works. 2. Because it breaks the "ttl" feature of sudo for people who log in and out frequently (e.g., create and destroy…
They can still get you if you invoke SSH on the remote, as the password is sent to the remote machine one character at a time, then forwarded on to your ultimate destination all at once.
I think you may be missing the point. These rings are given to graduating engineers not as a beautiful object of congratulations for their achievements, but as a token designed to remind them of the burden they have…