Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
H8crilA
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
271.
▲
by
H8crilA
2y ago
This is so funny that you have just demonstrated how stupid this construction is in practice by making a mistake.
272.
▲
by
H8crilA
2y ago
What's the behavior of this piece of code according to the spec? You can choose any C/C++ spec: void f() { char x[100]; gets(x); }
273.
▲
by
H8crilA
2y ago
Perhaps we're not in a discussion that's worth continuing, but I'm talking about programming language design. There are languages with UB, and there are languages without UB - and I think in 2024 the verdict is clear.
274.
▲
by
H8crilA
2y ago
The point is exactly that "it is totally expected", and it has caused massive losses over the decades. It has been abused for everything ranging from turning your friend's PC off, to ransomware, to state-on-state espionage an
275.
▲
by
H8crilA
2y ago
No, it's the former that's more dangerous, and it has been there from the beginning. Every time you dereference a bad pointer (already free'd, corrupted, badly casted, ...), every time you go over the bounds of some array, ev
276.
▲
by
H8crilA
2y ago
No, UB has always been just undefined. `gets()`, one of the most exploited functions in the history of computers, does not require any clever malice from the compiler. And there are a lot of such examples. In fact practice has shown that it
277.
▲
by
H8crilA
2y ago
And if you ever reach it then maybe the program will crash, or maybe demons will start flying out of your nose. No one really knows, and that's what makes undefined behavior exciting!
278.
▲
by
H8crilA
2y ago
The most terrifying concept is still the good old undefined behavior. How is it possible that a simple `gets()` call can pop a reverse shell and empty your bank account? Or steal national secrets and potentially cause a war? Undefined truly
279.
▲
by
H8crilA
2y ago
How does multiplication work in LWE? Let's say in the non-trippy variant, the "leveled homomorphic encryption".
280.
▲
by
H8crilA
2y ago
AFAIK the Germans kept improving both the Enigma itself and the procedures for using it. For example there was some specific weakness that the Polish attacks used, but at some point Germans figured it out and "patched" it. By the
281.
▲
by
H8crilA
2y ago
I don't feel good about this at all, but please keep in mind that there is still serious independent journalism in Israel. And it's doing very well. For example I can recommend pretty much anything published by Haaretz, or Barak R
282.
▲
by
H8crilA
2y ago
Nothing wrong with gambling (i.e. wagering real resources against an uncertain outcome), the entire financial market / all of capitalism is a chaotic orchestra of millions of gambles.
283.
▲
by
H8crilA
2y ago
For a number of years now, work has been proceeding in order to bring perfection to the crudely conceived idea of a transmission that would not only supply inverse reactive current for use in unilateral phase detractors, but would also be c
284.
▲
by
H8crilA
2y ago
It is impossible to study cryptography without "all the mathematical details". You can at best implement someone's scheme, but even that is not the best idea, as you're likely to make some mistake somewhere.
285.
▲
by
H8crilA
2y ago
This. I would only add that even the FSB (which is theoretically the equivalent of the FBI, and should operate domestically) has extensive foreign operations. It was most likely the FSB that was primarily blamed for the major fuckup that wa
286.
▲
by
H8crilA
2y ago
https://aviation.stackexchange.com/questions/65718/what-make... There are many ways of totalling a plane beyond a stall.
287.
▲
by
H8crilA
2y ago
Just so we're clear, there's practically no such thing as an "unstallable plane". If some pilot believes that then their license should be revoked. Even jet engines can experience stalls internally on the compressor blad
288.
▲
by
H8crilA
2y ago
Quantum AI running self driving cars in the blockchain cloud, social VR controlled. Experience our agile experience powered with renewable big data. Gamifying the digital transformation of tomorrow!
289.
▲
by
H8crilA
2y ago
Orban is slowly running out of things to sell - and steal the proceeds together with his buddies. I do wonder what did the Chinese bid for this.
290.
▲
by
H8crilA
2y ago
The entire European Union project is a direct result of the failure of colonialism - if we cannot be colonisers competing over far away resources then it makes sense that we should start playing nice together, without war, and present ourse
291.
▲
by
H8crilA
3y ago
Why would you use this for anything else than a joke given that Certbot exists, and is even in most repositories? (asking seriously)
292.
▲
by
H8crilA
3y ago
In many countries doctors' unions actually encourage this sort of stuff, by restricting the number of spots in medical degrees. Making sure there are as few juniors as possible, making their life more miserable than it needs to be - th
293.
▲
by
H8crilA
3y ago
I'm really not sure why this is popping up here, but we may as well exchange information: who has actually used secure those enclave-like solutions? I mean various kinds of setups where some userspace code is in a way more privileged t
294.
▲
by
H8crilA
3y ago
Military planes that show up on ADS-B do so for either of the two reasons (or both): a) to make civilian air traffic control life easier b) as (strategic) signalling - this applies for example to NATO tankers and electronic intelligence pla
295.
▲
by
H8crilA
3y ago
You may have some points but McArthur wanted to turn Korea into a sea of irradiated isotopes. I think it's fair he was turned down.
296.
▲
by
H8crilA
3y ago
This was a lot worse in the Soviet Union. The level of inequality there is hard to comprehend, where your personal essentials such as freedom to move or being able to defend yourself from violence highly depended on your "wealth",
297.
▲
by
H8crilA
3y ago
This is a ChatGPT-level question :) . Pasting GPT-4 response: If someone is caught installing a backdoor into a software library such as libxz, particularly one that interacts with a secure communication protocol like OpenSSH, they could be
298.
▲
by
H8crilA
3y ago
Of course it is a crime. This is in fact more than a crime, it's a counter-intelligence problem, even if done by a non-state actor.
299.
▲
by
H8crilA
3y ago
Do we have any idea at all who has done it? From what I've read there's no credible attribution in public sources.
300.
▲
by
H8crilA
3y ago
Too long on (a) - but there are workarounds that require creativity. See "FrankenSAM". Also, interceptors! Ammunition is something that always runs out either quicker or much quicker or much much quicker than anticipated when shit
More ›