home.social

#octal β€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #octal, aggregated by home.social.

  1. CW: spoiler

    I think that `CAL XCHGI` should assemble to `206 015 002`.

    OK, I can't read as easily as , so I didn't check that the 206 is correct. But that address in the 2nd/3rd bytes looks proper dodgy.

  2. I got dragged into a conversation today where a group of people collectively decided that binary, octal, and hexadecimal number systems are useless and stupid.

    Most of them use hexadecimal every day. In their graphic design work. #FF5733 is not decimal. It is HEXADECIMAL.

    Their argument against binary was that counting in it is inefficient. That 1, 10, 11, 100, 101 is dumb compared to 1, 2, 3, 4, 5.

    These fools fail to understand that both systems are one and the same!

    Every positional number system works identically. You have N symbols. You count through them. When you exhaust them, you reset and carry. Decimal has 10 symbols (0-9). Binary has 2 (0-1). Octal has 8 (0-7). Hexadecimal has 16 (0-F). Same mechanism. Different base.

    Binary is not inefficient. It maps to transistor states. Octal compresses binary into groups of three-- which is why Unix permissions are written as 000 - 777. Hexadecimal compresses binary into groups of four --which is why every memory address and colour code is in hex. These are not alternatives to decimal. They are the same information at different compression levels.

    The people arguing loudest had encountered these systems, used them regularly, and left without a single question about how any of it works.

    I do not know what is worse -- the ignorance or the confidence it travels at.

    #numbersystems #binary #hexadecimal #octal #computerscience #fediverse #linux #rant

  3. I got dragged into a conversation today where a group of people collectively decided that binary, octal, and hexadecimal number systems are useless and stupid.

    Most of them use hexadecimal every day. In their graphic design work. #FF5733 is not decimal. It is HEXADECIMAL.

    Their argument against binary was that counting in it is inefficient. That 1, 10, 11, 100, 101 is dumb compared to 1, 2, 3, 4, 5.

    These fools fail to understand that both systems are one and the same!

    Every positional number system works identically. You have N symbols. You count through them. When you exhaust them, you reset and carry. Decimal has 10 symbols (0-9). Binary has 2 (0-1). Octal has 8 (0-7). Hexadecimal has 16 (0-F). Same mechanism. Different base.

    Binary is not inefficient. It maps to transistor states. Octal compresses binary into groups of three-- which is why Unix permissions are written as 000 - 777. Hexadecimal compresses binary into groups of four --which is why every memory address and colour code is in hex. These are not alternatives to decimal. They are the same information at different compression levels.

    The people arguing loudest had encountered these systems, used them regularly, and left without a single question about how any of it works.

    I do not know what is worse -- the ignorance or the confidence it travels at.

    #numbersystems #binary #hexadecimal #octal #computerscience #fediverse #linux #rant

  4. I got dragged into a conversation today where a group of people collectively decided that binary, octal, and hexadecimal number systems are useless and stupid.

    Most of them use hexadecimal every day. In their graphic design work. is not decimal. It is HEXADECIMAL.

    Their argument against binary was that counting in it is inefficient. That 1, 10, 11, 100, 101 is dumb compared to 1, 2, 3, 4, 5.

    These fools fail to understand that both systems are one and the same!

    Every positional number system works identically. You have N symbols. You count through them. When you exhaust them, you reset and carry. Decimal has 10 symbols (0-9). Binary has 2 (0-1). Octal has 8 (0-7). Hexadecimal has 16 (0-F). Same mechanism. Different base.

    Binary is not inefficient. It maps to transistor states. Octal compresses binary into groups of three-- which is why Unix permissions are written as 000 - 777. Hexadecimal compresses binary into groups of four --which is why every memory address and colour code is in hex. These are not alternatives to decimal. They are the same information at different compression levels.

    The people arguing loudest had encountered these systems, used them regularly, and left without a single question about how any of it works.

    I do not know what is worse -- the ignorance or the confidence it travels at.

  5. I got dragged into a conversation today where a group of people collectively decided that binary, octal, and hexadecimal number systems are useless and stupid.

    Most of them use hexadecimal every day. In their graphic design work. #FF5733 is not decimal. It is HEXADECIMAL.

    Their argument against binary was that counting in it is inefficient. That 1, 10, 11, 100, 101 is dumb compared to 1, 2, 3, 4, 5.

    These fools fail to understand that both systems are one and the same!

    Every positional number system works identically. You have N symbols. You count through them. When you exhaust them, you reset and carry. Decimal has 10 symbols (0-9). Binary has 2 (0-1). Octal has 8 (0-7). Hexadecimal has 16 (0-F). Same mechanism. Different base.

    Binary is not inefficient. It maps to transistor states. Octal compresses binary into groups of three-- which is why Unix permissions are written as 000 - 777. Hexadecimal compresses binary into groups of four --which is why every memory address and colour code is in hex. These are not alternatives to decimal. They are the same information at different compression levels.

    The people arguing loudest had encountered these systems, used them regularly, and left without a single question about how any of it works.

    I do not know what is worse -- the ignorance or the confidence it travels at.

    #numbersystems #binary #hexadecimal #octal #computerscience #fediverse #linux #rant

  6. I got dragged into a conversation today where a group of people collectively decided that binary, octal, and hexadecimal number systems are useless and stupid.

    Most of them use hexadecimal every day. In their graphic design work. #FF5733 is not decimal. It is HEXADECIMAL.

    Their argument against binary was that counting in it is inefficient. That 1, 10, 11, 100, 101 is dumb compared to 1, 2, 3, 4, 5.

    These fools fail to understand that both systems are one and the same!

    Every positional number system works identically. You have N symbols. You count through them. When you exhaust them, you reset and carry. Decimal has 10 symbols (0-9). Binary has 2 (0-1). Octal has 8 (0-7). Hexadecimal has 16 (0-F). Same mechanism. Different base.

    Binary is not inefficient. It maps to transistor states. Octal compresses binary into groups of three-- which is why Unix permissions are written as 000 - 777. Hexadecimal compresses binary into groups of four --which is why every memory address and colour code is in hex. These are not alternatives to decimal. They are the same information at different compression levels.

    The people arguing loudest had encountered these systems, used them regularly, and left without a single question about how any of it works.

    I do not know what is worse -- the ignorance or the confidence it travels at.

    #numbersystems #binary #hexadecimal #octal #computerscience #fediverse #linux #rant

  7. A bonus top tip for today:

    '\376' will not compare equal to a character in memory with the value 254.

    This is not assembly language, where one can compare an 8-bit byte with an 8-bit constant and have it just work, willy-nilly.

    That would be crazy.

    #djbwares #dnscache #octal #StandardC

  8. Today's top tip:

    8 is not an octal digit.

    I had to take a 2 hour break (dealing with a relative) before I spotted that one.

    #octal #djbwares #dnscache

  9. Aircraft and glider transponder codes - FAA gotcha.

    I have not yet received my glider registration from the FAA (any day now, lol!), but they have assigned a transponder code for the N-number I have reserved. (see first screenshot)

    To configure my avionics, I need to load this transponder code into the device.

    FLARM wants it as a 24-bit hexadecimal value. (Each hexadecimal value is 4 bits in binary...so it's going to be a six-character code...but my code is not six characters.)

    Hmmmm, that number the FAA gave me just doesn't seem correct.

    I then called up a known, long-registered aircraft to compare their transponder code. (2nd screenshot)

    Surprise! The transponder code I was given was in octal, but not labeled as such. OK, convert to hexadecimal and now everything makes sense.

    Onward!

    #AvGeek #Aviation #ElectricAircraft #ExperimentalAviation #Homebuilt #Glider #DIY #Avionics #Electronics #Transponder #Octal #Hexadecimal #Gotcha #FAA

  10. Aircraft and glider transponder codes - FAA gotcha.

    I have not yet received my glider registration from the FAA (any day now, lol!), but they have assigned a transponder code for the N-number I have reserved. (see first screenshot)

    To configure my avionics, I need to load this transponder code into the device.

    FLARM wants it as a 24-bit hexadecimal value. (Each hexadecimal value is 4 bits in binary...so it's going to be a six-character code...but my code is not six characters.)

    Hmmmm, that number the FAA gave me just doesn't seem correct.

    I then called up a known, long-registered aircraft to compare their transponder code. (2nd screenshot)

    Surprise! The transponder code I was given was in octal, but not labeled as such. OK, convert to hexadecimal and now everything makes sense.

    Onward!

    #AvGeek #Aviation #ElectricAircraft #ExperimentalAviation #Homebuilt #Glider #DIY #Avionics #Electronics #Transponder #Octal #Hexadecimal #Gotcha #FAA

  11. Aircraft and glider transponder codes - FAA gotcha.

    I have not yet received my glider registration from the FAA (any day now, lol!), but they have assigned a transponder code for the N-number I have reserved. (see first screenshot)

    To configure my avionics, I need to load this transponder code into the device.

    FLARM wants it as a 24-bit hexadecimal value. (Each hexadecimal value is 4 bits in binary...so it's going to be a six-character code...but my code is not six characters.)

    Hmmmm, that number the FAA gave me just doesn't seem correct.

    I then called up a known, long-registered aircraft to compare their transponder code. (2nd screenshot)

    Surprise! The transponder code I was given was in octal, but not labeled as such. OK, convert to hexadecimal and now everything makes sense.

    Onward!

    #AvGeek #Aviation #ElectricAircraft #ExperimentalAviation #Homebuilt #Glider #DIY #Avionics #Electronics #Transponder #Octal #Hexadecimal #Gotcha #FAA

  12. Aircraft and glider transponder codes - FAA gotcha.

    I have not yet received my glider registration from the FAA (any day now, lol!), but they have assigned a transponder code for the N-number I have reserved. (see first screenshot)

    To configure my avionics, I need to load this transponder code into the device.

    FLARM wants it as a 24-bit hexadecimal value. (Each hexadecimal value is 4 bits in binary...so it's going to be a six-character code...but my code is not six characters.)

    Hmmmm, that number the FAA gave me just doesn't seem correct.

    I then called up a known, long-registered aircraft to compare their transponder code. (2nd screenshot)

    Surprise! The transponder code I was given was in octal, but not labeled as such. OK, convert to hexadecimal and now everything makes sense.

    Onward!

    #AvGeek #Aviation #ElectricAircraft #ExperimentalAviation #Homebuilt #Glider #DIY #Avionics #Electronics #Transponder #Octal #Hexadecimal #Gotcha #FAA

  13. Aircraft and glider transponder codes - FAA gotcha.

    I have not yet received my glider registration from the FAA (any day now, lol!), but they have assigned a transponder code for the N-number I have reserved. (see first screenshot)

    To configure my avionics, I need to load this transponder code into the device.

    FLARM wants it as a 24-bit hexadecimal value. (Each hexadecimal value is 4 bits in binary...so it's going to be a six-character code...but my code is not six characters.)

    Hmmmm, that number the FAA gave me just doesn't seem correct.

    I then called up a known, long-registered aircraft to compare their transponder code. (2nd screenshot)

    Surprise! The transponder code I was given was in octal, but not labeled as such. OK, convert to hexadecimal and now everything makes sense.

    Onward!

    #AvGeek #Aviation #ElectricAircraft #ExperimentalAviation #Homebuilt #Glider #DIY #Avionics #Electronics #Transponder #Octal #Hexadecimal #Gotcha #FAA