Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bonzini
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
151.
▲
by
bonzini
6mo ago
For one literacy right now is ~100% and has never been anywhere close to that until 50-60 years ago.
152.
▲
by
bonzini
6mo ago
Vimeo was bought by Bending Spoons. https://news.ycombinator.com/item?id=45197302
153.
▲
by
bonzini
6mo ago
I don't know, this is the one that I mentioned: https://www.openwall.com/lists/oss-security/2026/03/30/5 You can see my name under "Timeline", I asked kindly for both distros-list and
154.
▲
by
bonzini
6mo ago
Not really, because they made Linux a CNA specifically to own the process and distort it the way they want it to be.
155.
▲
by
bonzini
6mo ago
> they don't believe that vulnerabilities conceptually make sense That's exactly what I wrote: "they have a strong belief that all kernel bugs are vulnerabilities and all vulnerabilities are just bugs; sometimes taken to t
156.
▲
by
bonzini
6mo ago
Partly they already have enough on their plate. It's up to the reporter to pick how to handle the disclosure, and unless a specific maintainer chooses to handle it, the Linux security team clearly says they won't. Partly they have
157.
▲
by
bonzini
6mo ago
A single PR for a 3000-line addition would, in all likelihood, be rejected anyway.
158.
▲
by
bonzini
6mo ago
Completely without editing, to the point of hallucinating a RHEL version (14.3) that doesn't exist.
159.
▲
by
bonzini
6mo ago
Nope, there was and will be no yelling.
160.
▲
by
bonzini
6mo ago
There is 64 bytes of metadata per memory page indeed.
161.
▲
by
bonzini
6mo ago
I agree it is an exaggeration in that of course you could write a wrapper. The point was that if everyone had to write their own FFI wrappers, Rust wouldn't go far and openat is not an exception. There is code available at the right le
162.
▲
by
bonzini
6mo ago
If I have to use unsafe just to open a file, I might as well use C. While Rustix is a happy middle that is usually enough and more popular than the open at crate, libc is in the same family as the "*-sys" crate and, generally spea
163.
▲
by
bonzini
6mo ago
The correct comparison is to rustix, not libc, and rustix is not first-party. And even then the rustix API does not encapsulate the operations into structs the same way std::fs and std::io do.
164.
▲
by
bonzini
6mo ago
No, -1 is simply the process group with pgid 1: https://stackoverflow.com/questions/392022/whats-the-best-wa... The problem is that -DIGIT doubles as both "signal number" and process group. The right way
165.
▲
by
bonzini
6mo ago
It's not a low bar when C/C++/D are basically the only languages in which you can write certain kinds of programs.
166.
▲
by
bonzini
6mo ago
That's the same for the C or Python standard libraries. The difference is that in C you tend to use the Win32 functions more because they're easily reached for; but Python and Rust are both just as Unixy.
167.
▲
by
bonzini
6mo ago
Still it's something like a second factor (or even, literally, overriding might require 2FA).
168.
▲
by
bonzini
6mo ago
It's still not a violation of Fisher's principle, long term we would see natural selection move the threshold temperature upwards.
169.
▲
by
bonzini
6mo ago
Ah, you mean in terms of complexity of the calculation. Thanks for clarifying. In practice AF and CF can be computed from the carry out vector which is already available, and OF is a single XOR (of the two most significant bits of the carry
170.
▲
by
bonzini
6mo ago
You don't do twos complement negation for sub in an integer ALU. You do ones complement (A + ~B) and set the input carry to 1. The difference is that you don't need two carry propagations and therefore you can just add a fancy A +
171.
▲
by
bonzini
6mo ago
Indeed this is the best explanation!
172.
▲
by
bonzini
6mo ago
Temperature-dependent sex determination may not be at equilibrium now but is not an exception to Fisher's principle. The temperature at which sex determination switches is variable based on the parent's genes, and it will try to r
173.
▲
by
bonzini
6mo ago
They occupy 8 of the possible 256 byte values. Together, those five cases used about 15% of the space. Though I was forgetting one important case: MOV r,imm also used one-byte opcodes with the register index embedded. And it came in byte an
174.
▲
by
bonzini
6mo ago
The Z80 can do either LD A,0 or SUB A or XOR A, but the LD is slower due to the extra memory cycle to load the second byte of the instruction.
175.
▲
by
bonzini
6mo ago
OF/CF/AF are always cleared anyway by SUB r,r. So there's absolutely no difference.
176.
▲
by
bonzini
6mo ago
One byte instructions, with 8 registers as in the 8086, waste 8 opcodes which is 3% of the total. There are just five: "INC reg", "DEC reg", "PUSH reg", "POP reg", "XCHG AX, reg" (which is 7
177.
▲
by
bonzini
6mo ago
The article is about x86, and x86 assembly is mostly a superset of 8080 (which is why machine language numbers registers as AX/CX/DX/BX, matching roughly the function of A/BC/DE/HL on the 8080—in particular wit
178.
▲
by
bonzini
6mo ago
6502 doesn't even have register-to-register ALU operations, there's no alternative to LDA #0. 8080/Z80 is probably where XOR A got a lead over SUB A, but they are also the same number of cycles.
179.
▲
by
bonzini
6mo ago
A move on SPARC is technically an OR of the source with the zero register. "move %l0, %l1" is assembled as "or %g0, %l0, %l1". So if you want to zero a register you OR %g0 with itself.
180.
▲
by
bonzini
6mo ago
If you only use AI casually, the $20/month subscription to Claude can be enough.
More ›