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”

  • ZoteTheMighty@lemmy.zip
    link
    fedilink
    arrow-up
    6
    ·
    8 hours ago

    I did this once, but just had holes instead of unlit candles. I only had like 3 or 4 of them, and nobody’s got time to go buy candles when everyone’s about to sing happy birthday.

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    72
    ·
    1 day ago

    Old man’s last words on his 256th birthday: “Unhandled IntegerU8OverflowException, terminating application.”

    • oce 🐆@jlai.lu
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      15 hours ago

      Octal 31 = 3 x 81 + 1 x 80 = 24 + 1 = Decimal 25

      • The Yuki language in California has an octal system because the speakers count using the spaces between their fingers rather than the fingers themselves.[2]
      • The Pamean languages in Mexico also have an octal system, because some of their speakers “count the knuckles of the closed fist for each hand (excluding the thumb), so that two hands equals eight.”[3] https://en.wikipedia.org/wiki/Octal
      • vrek@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        There is another joke there regarding the movie nightmare before Christmas but I’m not smart enough to figure it out.

  • JasonDJ@lemmy.zip
    link
    fedilink
    arrow-up
    15
    ·
    1 day ago

    Heh I’ve been making my wife do this since my 32nd birthday.

    She still doesn’t understand binary and thinks I’m a nerd when I try to explain it to her.

    Maybe this year, when it’s 1+8+32, things will click.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      5 hours ago

      That’s because humanity dates back to the teletype era, before bytes. It was decided that saving candles was more important than having the extra century of lifespan.

      Now, by convention, the leftmost candle being unlit indicates it’s a standard human and not a member of another species-alphabet, possibly requiring multiple cakes.

      (On a serious note, aging is not necessarily thought to be as simple as just the Hayflick limit)

    • 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
      12 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
        ·
        13 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
          ·
          13 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
          ·
          12 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…