Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
theg5prank
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
theg5prank
4y ago
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/s
2.
▲
by
theg5prank
4y ago
The defining feature of the War on Terror is that it is never over.
3.
▲
by
theg5prank
4y ago
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 troubl
4.
▲
by
theg5prank
4y ago
It actually doesn’t have ppc64 either. Just 3 slices.
5.
▲
by
theg5prank
4y ago
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 for 3 architecture
6.
▲
by
theg5prank
6y ago
https://en.wikipedia.org/wiki/Channel_I/O
7.
▲
by
theg5prank
6y ago
> 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 my opinion) C++ do
8.
▲
by
theg5prank
6y ago
> 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"
9.
▲
by
theg5prank
6y ago
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. But it doesn'
10.
▲
by
theg5prank
6y ago
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 multiple inheritance has a
11.
▲
by
theg5prank
6y ago
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 traverse all rel
12.
▲
by
theg5prank
10y ago
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 primary; but note that
13.
▲
by
theg5prank
13y ago
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 terminal win
14.
▲
by
theg5prank
13y ago
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.
15.
▲
by
theg5prank
13y ago
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 taken on.