Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
KMag
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
94 ms
·
931.
▲
by
KMag
5y ago
It was over 20 years ago now, and I don't remember which library it was, but I ran across a type-1 UUID library that stored the timestamp of the latest UUID it handed out in a static (or maybe thread-local, I forget) variable, and woul
932.
▲
by
KMag
5y ago
If you want privacy and anonymity, be careful about how you're generating your UUID. Some flavors of UUID are just the MAC address, process ID, and timestamp, which makes them trivially guessable (and poorly scalable). Instead of a UU
933.
▲
by
KMag
5y ago
Well, I doubt the Winter War is covered much in Russian secondary school. "You're going to Finland" probably doesn't cause Simo Hayha[0] to visit Russian soldiers in their nightmares. [0] https://ifunny.co&#x
934.
▲
by
KMag
5y ago
Thanks. I know a guy who was trained to place demolition charges on the US warheads in Buchel in case the base was overrun, and I had gotten the false impression from him that all of the warheads had since been removed.
935.
▲
by
KMag
5y ago
Germany has never had nuclear weapons of its own, though the US has had around 60 warheads in Buchel (edit: and currently probably has about about 20 warheads) as part of the NATO Nuclear Sharing deterrent, and the Soviet Union deployed som
936.
▲
by
KMag
5y ago
They may be trying to signal they're willing to cut of their nose to spite their face in order to dissuade France from pushing for deeper sanctions if the Belarus situation further deteriorates.
937.
▲
by
KMag
5y ago
Ahh... I've misunderstood that extra bit, and I think it's never at the 2**128 position. I've misread the code for padding. A stop bit is used to disambiguate zero padding from messages that end in zeroes, similar to most h
938.
▲
by
KMag
5y ago
That's an argument for auditing existing systems, not having Europe finance development of brand new systems to encrypt communications.
939.
▲
by
KMag
5y ago
Point taken about different partitions of the IV into counter and nonce. As far as GCM GHASH vs Poly1305, they use the same math. Just one is in a Galois field modulo the prime 2**130 - 5 and the other is in a 128-bit binary Galois field re
940.
▲
by
KMag
5y ago
Is there a well-reviewed paranoid alternative to libnacl/libsodium, given that ChaCha20-Poly1305 is just as brittle to nonce reuse as AES-GCM? I trust libsodium/libnacl's randombytes_buf to give me unique nonces as long as I
941.
▲
by
KMag
5y ago
No new systems need to be developed, only a will to deploy existing systems. To the best of public knowledge, Curve25519 with AES-GCM or ChaCha20-Poly1305 is good enough to keep the NSA out for years. These are available in TLS, OpenVPN,
942.
▲
by
KMag
5y ago
I think any moderately sized nation state quickly develops an inner state with autocratic tendencies. Democracy combined with a healthy press and strong protections on free speech are a strong check on the domestic powers of this inner sta
943.
▲
by
KMag
5y ago
Wasn't there also at one point a proposal for a F-35 maintenance facility in Turkey? Having that kind of access to F-35 information and being potentially beholden to a manufacturer of the main threat to the F-35 sounds like a huge int
944.
▲
by
KMag
5y ago
> The only memories of playing monopoly I have are with family. It sounds like the GP may have played with non-family members, but not retained the memories. The Monopoly games you don't remember are the ones you really need to wor
945.
▲
by
KMag
5y ago
Technically, the old system was a flat tax. The new system is a tax that's a flat fee. Flat tax almost always refers to a flat rate, not a flat fee.
946.
▲
by
KMag
5y ago
My wife, I, and some of our friends have also had this sort of gut feeling. However, I suspect it's a combination of selective memory (how many thousand random things have been thrown at you by advertising/YouTube suggestions in
947.
▲
by
KMag
5y ago
I went to the University of Minnesota my sr. year of high school. I remember a sophomore in my physics class being less enthusiastic about hanging out when I gave her a heads-up that I was (1) under 18 and (2) likely moving to Massachusett
948.
▲
by
KMag
5y ago
Growing up in Minnesota in the late 1990s, we had Post-Secondary Enrollment Option (PSEO), where public high school students could go part or fill-time to college or university in-state for their jr. and/or sr. year of high school. As
949.
▲
by
KMag
5y ago
In what sense do you consider SHA-256 superior to SHA-1? If you're looking for preimage resistance, unless your passwords contain more than 128 bits of entropy, I suspect bruit forcing your password is still faster than a preimage atta
950.
▲
by
KMag
5y ago
Except I was wrong... sorry. I haven't been able to find documentation that lazy ELF symbol binding is disabled when taking the address of an extern fuction, but using objdump to dump the .plt section, it's clear printf is no lon
951.
▲
by
KMag
5y ago
Ahh... I was wrong! There's one detail I wasn't aware of: if you take the address of a dynamic function, it appears to disable ELF lazy dynamic symbol binding for that function, so that it's guaranteed the GOT entry has been
952.
▲
by
KMag
5y ago
I'm not a language lawyer, but I'm pretty sure with x86 and x86_64 ELF dynamic symbols, &func is the address of the program linkage table (PLT) entry for the dynamic symbol, in the current ELF executable/library. The exec
953.
▲
by
KMag
5y ago
> One example is kerberos. It kills me that most enterprise environments use Kerberos via Active Directory, LDAP, or NIS. So, your workstation probably has Kerberos tickets sitting on it, which would allow very light weight 2-way authen
954.
▲
by
KMag
5y ago
For pretty much any A and B, you can create a perspective from which A is like B. The interesting question is "in which cases does this perspective give useful insights or solutions?" For treating a single animal, it's almos
955.
▲
by
KMag
5y ago
From 2006 to 2010, I worked on the Google indexing system, primarily writing C++ code that executed every single bit of JavaScript in every HTML page Googlebot could find. At any time, there were roughly 1 million threads on roughly 1,000
956.
▲
by
KMag
5y ago
I think the most useful definition is that a program representation is an intermediate representation if its primary raison d'etre is as a starting point for building other program representations. (We assume source code has dual purp
957.
▲
by
KMag
5y ago
There's also Human Herpes Virus 8 that causes Kopsi's Sarcoma[0]. Nearly all cases are found in immunocompromised individuals, and in times/places without HAART readily available, it is/was a common cancer in HIV+ peopl
958.
▲
by
KMag
5y ago
> prevent them becoming carriers Avoiding passing the virus on to female partners isn't the only benefit for men. HPV also can cause penile, throat, and anal cancers in men. For instance, Michael Douglas has stated his throat canc
959.
▲
by
KMag
5y ago
At least those samples to be mixed just right to survive over 1,000 years had a mixture that got stronger with age. There's a big element of survivorship bias. Also, due to a lack of reinforcement, Roman concrete structures, at least
960.
▲
by
KMag
5y ago
Does the book account for the effect of more people undergoing testing once there was an effective treatment? If there's no effective treatment, testing mostly benefits others.
More ›