Recent submissions

Comment · 1 year ago
It's not obvious to me that comparing GDP per capita is a fair comparison when talking about one country with immigration vs one without. A lot of the immigration I believe to be not so skilled. But we needed lower-skill jobs filled too.
Comment · 1 year ago
Ah of course! It's improving the branch target predictor. Makes sense, thanks!
Comment · 1 year ago
I'm struggling to confirm that my intuition of why the compiler optimisation is faster than the naive switch expansion.

Is it about the layout of where the assembly instructions end up, and spacing around them? Or the CPU pipelining working better? Or...?

Comment · 1 year ago
There are reasons for not wanting to sell their brainchild to Musk (of all people) that don't involve money.
Comment · 1 year ago
Timeline, maybe.
Comment · 1 year ago
Could you give an example or two of languages/frameworks that have demonstrated abstracting the transaction blocks away? I'm not sure I'm following so I think this will help.
Comment · 2 years ago
C.f. 'git', which you probably do use and etymologically is obviously a bit rude and humorous too.
Comment · 2 years ago
Could you link to the particular case you're referring to?
Comment · 2 years ago
An error in the article.
Comment · 2 years ago
Agreed!
Comment · 2 years ago
Hard-coded in what? Every DoH client?
Comment · 2 years ago
Interesting ideas and vulnerability! With a nice and concise summary. Thanks for sharing
Comment · 2 years ago
As always, it depends what properties you're relying on MD5 for. Just because something uses MS5 doesn't mean it's broken, because its preimage resistance (i.e. 'invert this hash') and second preimage resistance (i.e. 'find an input that goes to the same hash of this other input') are both not broken (yet) from a practical perspective.

Sometimes whether a cryptographic protocol relies on collision resistance can be surprisingly nuanced, so it should be phased out for this alone (and as we have better options) but for simple examples (e.g. to make a signed hash of an executable, which is probably equivalent to what you're describing) it's not broken.

Comment · 3 years ago
The overlap with VS Code is very helpful for Neovim too though, as Neovim integrates well with technologies and plugins intended for VS Code. My C++/Rust debugger setup comes from installing VS Code, getting it to install its debugger, and then pointing Neovim at it.
Comment · 3 years ago
Or at least which country?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton