News for hackers. Stuff that matters.

bonzini

Re:The SEC Should Block Anthropic's IPO to Protect the Public on Tuesday November 03, 2026 @01:23AM (#50348733)
NVIDIA has such a huge market cap that it would affect every stock ETF or pension fund, not to mention the domino effects.
Technically, the receivers need not use 50 years old tech. I am saying that not to be annoying but because I wonder how much that matters.
Re:Florilegium: Procedural Flowers in LaTeX on Friday October 30, 2026 @05:12PM (#50310201)
I don't mind that as much. Scratching an itch with AI is fine, but if you want to publish it to the world I sort of expect some effort to show why you did that and why I should care.
Re:Florilegium: Procedural Flowers in LaTeX on Friday October 30, 2026 @01:57PM (#50307726)
Readme is AI. :/
Re:Why Is This Fingerprinting Script Creating Bioweapons? on Wednesday October 28, 2026 @04:58PM (#50280807)
It doesn't work. GStreamer removed it because models recognize it as prompt injection.
The review (design for assembly) is done by hand.
No wait - Manhattan only has N-S lines (well, Manhattan is tilted, so more precisely, only has "Avenue-parallel" lines). There are no E-W ("Street-parallel") lines because it is too narrow.
Re:Writing about pratt parsing so I remember it on Tuesday October 27, 2026 @07:31AM (#50257558)
Pratt parsing, in its simplest form, is essentially an optimized recursive descent that uses lookahead to skip levels. Which as you say ends up being clearer too.
I think Manhattan is kinda special because the lines are mostly parallel, there aren't as many east-west lines.
I interpreted that as gravity causing things from the two galaxies to mix up, after which normal matter can interact electromagnetically (in more head on collisions than usual) but dark matter won't.
https://www.righto.com/2026/09/8087-tangent-cordic.html

They definitely were used back in the day, now the x87 isn't used much at all.

How do FSTSW AX and similar instructions write to AX?
Have you already covered how the decoding of instructions is shared with the 8086?
Re:Show HN: XY Music Notation on Thursday October 15, 2026 @02:55AM (#50100183)
Finger positions are learnt through muscle memory, not reading the sheet, and isomorphic notation would not help for all instruments anyway. Guitar, mostly and that's why you have tabs. Trumpet, only for certain pairs of notes (G-C, C-F, F-Bb are played very differently). Saxophone, mostly no. Clarinet, hell no it's a mess of an instrument.
Re:FCSS 2: Utility CSS that reads like CSS on Wednesday October 14, 2026 @08:03AM (#50086335)
The difference I can think of is the ability to play with priority (unlike style="" which has fixed priority), but I'm not sure if that's an advantage or a disadvantage. :)
Re:Show HN: XY Music Notation on Wednesday October 14, 2026 @07:07AM (#50085753)
The piano keyboard optimizes the keys for either reachability (white keys are wider) or feeling (black keys are narrow but have edges and can be pressed from the side). The Janko keyboard optimizes for neither, all keys are equal. It has all the disadvantages of the guitar with almost none of the advantages (the range for one hand is smaller than the guitar's, and there's no bending/sliding/vibrato)
Re:Show HN: XY Music Notation on Wednesday October 14, 2026 @05:35AM (#50084826)
The problem is not the disruption introduced by page turning, that you hint to in another comment. You're ignoring that notation is optimized for both melodic and harmonic content and how quickly you can grab both; and music is not constructed from notes, it's constructed from scales.

Irregular spacing is a feature, not a bug, unless you're playing Schönberg and friends, because being able to quickly separate thirds, fourths and fifths is much more important than being able to grab octaves and even more important than identifying individual notes.

Your brain anyway doesn't have to work on "it's on a line therefore it's one of C D E F# G# A#", it very quickly learns to work on "it's on adjacent lines therefore it's a third apart" when you read sheet music. Two notes both on lines or both on spaces are part of a triad; "two notes very far apart, one on a line and one on a space" is almost always an octave, and you can grab that intuitively in standard music notation even without reading the two notes one by one; whereas smaller intervals are simply too far apart on isomorphic notation.

Same for understanding when your scale is changing or you're deviating from the normal fingerings (key signature vs. inline accidentals). And all this ignores the fact that G# and Ab aren't even played the same on some instruments, at least at an advanced level, and chromatic notation cannot capture that.

Re:Show HN: XY Music Notation on Wednesday October 14, 2026 @04:43AM (#50084363)
> Also, why force someone learning piano to learn two different clefs? Just use Treble and Sub-Bass.

Because the two clefs are symmetrical around middle C. Line "6" of the bass clef is line "0" of the treble clef. They are not two different clefs, the are two halves of the same 11-line staff.

> some of the time I'd be thinking about start/stop times rather than durations

It's actually a combination of both. Bar lines give you a bigger multiple, beams give you a smaller one (typically 1/4 or 2/4). Only within each 1/4 or 2/4 do you have to think in deltas.

Re:Show HN: XY Music Notation on Wednesday October 14, 2026 @04:31AM (#50084281)
The whole premise makes no sense. The site asks "When you listen to the scale, which staff best represents what you hear?" to which I answer "When you listen to music, does it sound anything like a chromatic scale?"
Re:Show HN: XY Music Notation on Wednesday October 14, 2026 @02:22AM (#50083173)
To be fair this is just adding extra info to the existing musical notation, which at worse you ignore. That makes it better than almost all other proposals.
Re:Show HN: XY Music Notation on Wednesday October 14, 2026 @02:18AM (#50083137)
You need to have 2 notations because having 7 notes instead of 12 packs more information in less space. The scale is almost always made of up to 7 notes. Expressing each note as the difference from a default is essentially compression, as it lets you see both the position in the scale (important for harmonic relationships which help you memorize the thing) and the note which you have to play.

Sometimes you need G and the note to its right, so you want to call the latter a variation on A (A-flat). Sometimes you need A and the note to its left, so you want to call the latter a variation on G (G-sharp). They are the same note but they have a different function. It's not an idiosyncrasy, rather, when it works it's more efficient because it describes two things at the same time. It doesn't work perfectly for many cases: Misirlou, the Simpson's theme, anything in whole-tone or octatonic scale, but those are the exceptions in practice, just like some things compress better than others.

It is suboptimal even for the blues scale, but not too much and in fact that shows another benefit of giving two names to a note. The blues scale is mostly a variation on the pentatonic scale; the A#/Bb note in a minor E blues scale is used mostly as an intermediate note. So if you're going up to a B you can write that note A# because it is working like an A, while it you're going down to an A you will write it Bb because it is working like a B.

Likewise for chords. If I see E Ab B, E-A points me at a suspended chord, not a major chord, which would be wrong. Whereas if I see E G# B, it is clearly a triad.

Re:BB(10) > Graham's Number on Tuesday October 13, 2026 @04:47PM (#50078495)
Computable doesn't mean that you can write it down the number that is the value, given an oracle that tells you the value. It means that you know that it the number you are writing down is the right one, because you computed it.
Re:BB(10) > Graham's Number on Tuesday October 13, 2026 @12:51PM (#50074796)
> for all n, BB(n) is trivially computable, since it is a single integer".

It is not computable, because for high enough n you can't prove that you got the right integer.

And also you can prove that if a sequence a_n is always larger than BB(n) for some n, that sequence a_n is also not computable.

Re:BB(10) > Graham's Number on Tuesday October 13, 2026 @11:47AM (#50073597)
No, high enough busy beaver numbers are not computable. They can be defined but there's no way to know what they are.

That is because if you could compute BB(n) for arbitrary n, you could run a Turing machine for BB(n)+1 steps and if it hasn't stopped yet then you know that the input corresponds to a machine that never halts. So it's impossible to compute BB(n) for arbitrary n, because doing so is equivalent to the halting problem.

Even for very small n you can create Turing machines where it's incredibly hard to prove that they halt: for n=25 you can create a Turing machine that stops only if the Goldbach conjecture is false. Though that isn't enough to prove it's not computable.

Re:11 year old unsoundness bugs found in Rust borrow checker on Tuesday October 13, 2026 @10:26AM (#50072300)
> - If a compiled safe Rust program has unsound behavior, the compiler needs to be fixed

Not really: the program still needs to be fixed, but fixing the compiler ensures that this unsound behavior never happens again to anyone. So you have two bugs to solve (vs C++'s one bug) but then you kill an entire class of unsoundness bugs just by recompiling.

Re:11 year old unsoundness bugs found in Rust borrow checker on Tuesday October 13, 2026 @08:53AM (#50070907)
"Some(...)" means that this Option<T> does have a value of type T in it; "None" means it doesn't.

"q.0" is not really needed, it's a struct with unnamed fields. Here is the same with named fields:

  struct Q<T: 'static> { pub x: Option<T> }
  ...
  let l = String::new();
  let mut q = Q { x: None };
  q.x = Some(&l);
Re:3rd Yandex Cloud Data Center Was Hit on Sunday October 11, 2026 @02:47PM (#50046464)
Too bad Trump said it this time directly...
As of a few months ago they still have trouble, with low thinking, at the "should I drive to a car wash that is 100 m away" kind of question.
Liberty Linux is repackaging Red Hat work that is mostly visible in CentOS Stream. It doesn't have any original engineering. Same for Oracle.
Thanks to you!

Older »