Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Xirdus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
301.
▲
by
Xirdus
5mo ago
There is huge value in being acquainted with computers at a young age, especially if they end up in STEM or some white collar job.
302.
▲
by
Xirdus
5mo ago
Speaking of WebAccessibilityFails, the article overflows to the left without a scrollbar when viewed on a phone narrower than an iPhone, making the first word of every line unreadable (and there are a lot of lines on a phone narrower than a
303.
▲
by
Xirdus
5mo ago
There was once a privilege escalation vulnerability in Linux kernel that only happened when compiled with optimizations. In kernel space, address 0 is just regular memory that can be read from and written to if there's a page mapped to
304.
▲
by
Xirdus
5mo ago
100% agreed on the sloppiness. But overflow checking is not sloppiness. It's the opposite of sloppiness. Unchecked math is sloppiness, allowing overflows to happen silently and uncontrollably is sloppiness. It just so happens this kind
305.
▲
by
Xirdus
5mo ago
In practice, GCC -O2 will happily erase entire swathes of code and turn perfectly logical source into nonsense assembly whenever it gets as much as a sniff of UB anywhere in the code path. Nobody would be talking about UB if GCC wasn't
306.
▲
by
Xirdus
5mo ago
Are they, though? Does the end customer get more post-transaction protections when not using 3D Secure? That doesn't sound right. I'd think the merchant is on the hook exactly as much either way.
307.
▲
by
Xirdus
5mo ago
The problem with 3D Secure is that the merchant can unilaterally decide not to use it, which defeats the whole purpose of 3D Secure.
308.
▲
by
Xirdus
5mo ago
I interpreted these words: > If you want to be standards correct, yes you have to know the standard well. to mean that being standards-correct is optional. It's not. Every C programmer needs to know every possible UB by heart and ne
309.
▲
by
Xirdus
5mo ago
If you don't follow the standard, gcc -O2 can introduce bugs to your code that you never even wrote. Skipping null checks, executing both branches of a conditional, and so on.
310.
▲
by
Xirdus
5mo ago
> A check is only useful if you want to actually change the behavior when it happens, otherwise it is useless. You almost always want to change the behavior to erroring out on overflow. The few cases where overflow really is intended and
311.
▲
by
Xirdus
5mo ago
It was from some filesystem code. https://news.ycombinator.com/item?id=7296497 unsigned three = 1; unsigned five = 5; unsigned seven = 7; These actually get changed through pointers to consecutive powers of 3, 5
312.
▲
by
Xirdus
5mo ago
But did they build this different harness? And are they sure other models can't cope with it?
313.
▲
by
Xirdus
5mo ago
Disagree with the last one. Back when unions were more common in my country, union officials were the gatekeepers of career progress or even entering the profession, and they were taking bribes. I've never seen an HR department half as
314.
▲
by
Xirdus
5mo ago
If you say it in German, it doesn't even sound out of place. Zweiundzwölf, vierundzwölf.
315.
▲
by
Xirdus
5mo ago
Reminds me of one of my favorite joke programs. #include <stdio.h> #define SIX 1+5 #define NINE 8+1 int main() { printf("%d\n", SIX * NINE); }
316.
▲
by
Xirdus
5mo ago
Of course it's because of imperial units. TIL, thanks. But on a sidenote, I question the utility of knowing x11 and x12 when working with time. x15 could be useful, unfortunate they don't teach that (but I think most people with h
317.
▲
by
Xirdus
5mo ago
Up to 12? Is that a British/Anglosphere/Victorian thing? In Poland they teach up to 10, which is suffinient for arbitrarily large numbers because they also teach long division and how to combine it with times table. Technically up
318.
▲
by
Xirdus
5mo ago
> A lawyer will always be needed because judgments are and must be made by humans only. Honestly, I believe lower court judges will be the first job in the legal industry to become fully automated.
319.
▲
by
Xirdus
5mo ago
> Starting with C was great for performance of Git Isn't the entire git rebase logic written in Bash scripts? Or was originally?
320.
▲
by
Xirdus
5mo ago
Well, one could argue that the lesson from CVE-2017-0780[1] should've been "don't automatically decode rich messages from untrusted sources". [1]: https://www.trendmicro.com/en_us/research/17&#x
321.
▲
by
Xirdus
5mo ago
Everything needs branding. "United States of America" and "USA" is branding. Good branding makes people's lives easier and (on average) a tiny bit happier. That has some impact on quality of life. Spending a few tax
322.
▲
by
Xirdus
5mo ago
Once you stop thinking of domain as an addressing tool and start thinking of them as branding, the complaints will make sense. "Dot k12 dot oh dot us" is a terrible brand name.
323.
▲
by
Xirdus
5mo ago
In a way, yes, that makes it more okay. You can't have a conflict of interest if you have no interest. Cloudflare has clear interest in hosting the malicious actors and it's in clear conflict with providing services to their other
324.
▲
by
Xirdus
5mo ago
If company A is Amazon, company B is Ubisoft, and company C is Oracle, then I think it's very likely there isn't any pattern or "loop" here and it's legitimately just 3 different companies in 3 different situations
325.
▲
by
Xirdus
5mo ago
ICANN doesn't get any kickbacks from Canonical needing to protect itself as far as I can tell. Cloudflare literally sells the protection.
326.
▲
by
Xirdus
5mo ago
If the 3rd party module is popular, its badness will affect other people too and either the module will get improved or well known workarounds/"best practices" will develop. With AI-generated code, more often than not you
327.
▲
by
Xirdus
5mo ago
Code 204 is just code 200 with the "yes the body really is zero bytes this is not an error it's supposed to be like this" bit set.
328.
▲
by
Xirdus
5mo ago
Type F must be a function that's generic over any possible lifetime 'a, with a single argument that's a reference with lifetime 'a to a tuple of two numbers, and returns a reference with the same lifetime 'a to an 8
329.
▲
by
Xirdus
6mo ago
So, did your Claude switch from "You're absolutely right!" to "You're absolutely right." or was it deeper than that?
330.
▲
by
Xirdus
6mo ago
It makes the exploit code more readable. We all love to laugh at C folks but for real, even Linux kernel maintainers care about readability.
More ›