News for hackers. Stuff that matters.
Re:Bibi-Binary by adaml_623 on Saturday November 04, 2023 @04:25AM (#38139111)
That section on negative numbers seems incomplete. It doesn't indicate how you write negative numbers instead talks about how normal binary computers use twos complement.

Edit: I think I was assuming you'd only use 4 bit or 8 bit values with this notation.

Re:Bibi-Binary by masklinn on Saturday November 04, 2023 @07:05AM (#38139911)
As far as I can see the section on negative numbers was completely made up, or at least it is not sourced in the system's patent. The encoding was mostly defined as a way to transmit (and write down) binary data in nibbles (groups of 4 bits), it does not really concern itself with what that data encodes.

The one thing it does support which the wiki does not note, is a run-length encoding: if a syllable ends in R, then the segment until the next R is interpreted as a positive integer and a repetition count so HORBAR is 05 (5 repetitions of 0), and DIRHAHOR is 1516 (16 repetitions of a fully set nibble).

Re:Bibi-Binary by masklinn on Saturday November 04, 2023 @11:07AM (#38141701)
And of course I forgot about HN's shitty markup and didn't notice before the edition timer ran out.

HORBAR is repeat(0x0, count=5)

DIRHAHOR is repeat(0xF, count=16)

Also in script form this is written as a strange parenthetical. Strange because the repeated nibble gets an open paren "stuck" to it, like a tail. So repeated nibbles don't look much like their base form.

Re:Bibi-Binary by meindnoch on Saturday November 04, 2023 @08:52AM (#38140595)
Indeed the section on negative numbers is bullshit. One's or two's complement representation only works with fixed-length numbers. Arbitrary-length numbers would need an infinite number of leading 1 digits.