A photo of a cake with 8 candles in a row. The first and fifth candle from the right are lit. The caption reads “Happy 17th Birthday”

    • ArrowMax@feddit.org
      link
      fedilink
      arrow-up
      25
      ·
      1 day ago

      Even in decimal, the most-significant digit is to the left. Binary in text form is no exception to this.

      Unless we are talking little-endian, which would start with the least-significant bit.

    • yermaw@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      1 day ago

      Now that you mention it it is pretty fucky, but in every textbook thats tried to teach me counting in binary its gone from right to left.

      • calcopiritus@lemmy.world
        link
        fedilink
        arrow-up
        15
        ·
        1 day ago

        It’s not. Numbers are arranged (both binary and base 10) with the most significant digit on the left.

        Whether you read the number from left to right or right to left is irrelevant and you can choose whichever one you want.

        But it is completely consistent with base 10 (normal numbers).

      • illpillow@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        Same here. University told me the lowest bit is on the right, the highest on the left. Never questioned it.

    • adb@lemmy.ml
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      13 hours ago

      Binary exists in both big-endianLSb or little-endianMSb. In other words, both directions can be valid.

      As explained below: Endianness is specifically the order of bytes. I was under the impression that it also implied a specific order of bits but anyways, the correct terms for this discussion is Least/Most Significant bit order.

      • glibg10b@lemmy.zip
        link
        fedilink
        arrow-up
        2
        ·
        14 hours ago

        This is a single byte, so it’s represented the same in big-endian vs little-endian. Endianness defines the order of bytes, not individual bits

        • adb@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          14 hours ago

          Indeed, endianness is the order of bytes, my bad. I guess I meant LSb vs MSb

      • CannonFodder@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 day ago

        Ya, but we pretty much always write it with most significant on the left. The endianness is more to do with the order transmitted when serialized. Or are there cases where people actually write it backwards?

        • adb@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          13 hours ago

          The way I see it, if you want to be pedantic about it (it being a joke photo, so potentially unintentionally reversed by the camera, of a cake which is in 3d space and can be seen in both directions) you might as well do it properly and acknowledge that different orders exist for bits.

          Indeed writing conventions are also a good point, however this is not writing. People actually working at bit level are probably more likely to see bits on a scope (so in both LSb or MSb order) than as 1 and 0s written on a piece of paper or a screen.

    • BlackVenom@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      The people saying right to left is normal are either Australian or mirror universe folks.

      At least I thought that until I looked up ascii conversations and then just random converters … How have I forgotten this? The pic is right…