I don't think they would care much about the infidelity, but banging a report and a geopolitical enemy is a pretty bad idea overall. I don't think people would have been so surprised if a LockMart C-suite had been voluntold to resign after having an affair with a KGB-linked Soviet woman. And with a direct report as a cherry on top.
Gates had affairs with two Russians, nothing happened. He also had ties to Epstein and Epstein knew about these affairs, so he had huge leverage if needed.
Google execs had affairs, I think Sergey Brin had an affair with an employee, again nothing happened.
Gates had affairs with Russian prostitutes, and well after the end of the Cold War; not with Soviet IT businesswomen that might have been linked to the KGB.
And w.r.t. Brin vs. Huang, Rosenberg was a comparatively much lower ranked employee that didn't have a stratospheric career. I think Huang would have survived Kimberly only, but she was just the cherry on the top.
That banging customers and execs is a huge conflict of interest and security risk. There is a good reason if C-suites typically bang escorts instead of their colleagues.
> But I'm not sure how hard it would be to resist a honey trap.
The guy has enough money to have sex parties with the prettiest girls on Earth every single night until the end of his life, I'm pretty sure resisting a state-sponsored honeypot is not the hardest thing ever.
Yeah you say that then your country elects a serial-cheater pedophile as president; I'm not sure you are so representative of your country customs as you think.
I don't know; at some point “don't put your dick in people from the Other Side” should be a pretty well known rule if you're someone important. She didn't even hide her nationality.
I mean, the academic community deliberately went against historical sources without much evidence-based arguments to do so. Turns out that denying DNA data is not doable, and now they have to do a 180.
Again, anyone actually familiar with Gothic studies (I trained in the field and remain employed in a closely related one) would know that people didn't outright "go against Jordanes", but rather the Gothic Urheimat was always discussed as a matter of controversy, with Jordanes' claims one version but external evidence lacking. Now there is some external evidence.
Historians hold out on claims made in historical sources -- especially when written centuries after the fact -- all the time, it is a standard scientific practice to seek external evidence.
And for having worked in a similarly behaving field, there is a big difference between “yeah we're not sure yet” and “no the ancients are most certainly wrong because our Modern Thinking is necessarily better (wink wink)”.
First you shouldn't have unwraps in prod code, and you can verify that in your CI/build process/whatever. Second, now you have a crash of the SSH server, which is arguably much better than some random logging in as root.
This isn't about "you", it's about whether any consumer of your code is using unwrap on the result, which currently is perfectly safe to do. The equivalent in C is returning NULL, which would also have caused a crash. They decided not crashing was preferable, which is how we ended up here.
"you shouldn't have unwraps in production code" is exactly the same form of argument as "you shouldn't be assuming crypt returns a valid non-null pointer in production code".
Absolutely not. Unwrap is a language rule, so everyone knows unwrap is not a safe thing to do and writing it even once is an explicit dismissal (and you should document it). On the other side, knowing that crypt does not necessarily return a hash is easily overlooked and forgotten, there is no code smell that can hint you that you are doing things wrong.
I don't really care about the form of the argument when the concrete results are that (i) “no unwrap in prod” is trivial to ensure through the toolchain, (ii) even though, its consequences are “damn it crashed” instead of “welp I guess this guy is root now”.
In this situation, the decisions to make crypt implementations stop returning null in favor of a string error token were made not because C programs that misuse crypt are difficult to fix, but because they are in the form of unknown binaries in the wild that you cannot fix.
And that analogous situation can happen in the safer language where crypt returns an Optional(String) which some bad programs assume is always present. You don't know where all such programs exist, and people use them who don't have the code and cannot fix them.
Returning an error token which is carefully different from crypt's second argument was an attempt to fix programs that cannot be hunted down, patched and recompiled, even if fixing them would be easy to do.
Of course the tooling for C pointers being null or not is not comparable to optional types; that's not debatable.
> And that analogous situation can happen in the safer language where crypt returns an Optional(String) which some bad programs assume is always present.
Once again, no, because these unknown programs would just crash on the `.unwrap()`; not get in a silently corrupted state. Same causes, different effects.
OK, so you are talking about running crypt() on bare metal microcontrollers or other small systems that don't have MMU support for trapping null pointers. Everywhere else, dereferencing an undisplaced null pointer is a instant CPU trap, even though it be formally undefined behavior in ISO C.
Note that even on systems that don't have hardware support for trapping null pointers, it can be implemented in the compiler as a code generation option.
For instance, in 1987, Microsoft Quick C introduced the /Zr option for doing this, as well as a #pragma check_pointer({on|off}).
That won't be uniform. If you want really random shuffle, mod to the closest next power of 2 then re-sample until you get a number within the bounds.
reply