not digg
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
bricked@feddit.org to Programmer Humor@programming.dev · 10 hours ago

Don't grow older than 255 or else it will overflow

feddit.org

message-square
45
fedilink
507

Don't grow older than 255 or else it will overflow

feddit.org

bricked@feddit.org to Programmer Humor@programming.dev · 10 hours ago
message-square
45
fedilink
alert-triangle
You must log in or register to comment.
  • MousePotatoDoesStuff@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 hours ago

    Because of the Hayflick limit, 7 candles should be enough… but only for now, hopefully.

  • galacticbackhoe@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    I only buy ipv6 cakes, so I’m good.

  • ratatouille@feddit.org
    link
    fedilink
    Deutsch
    arrow-up
    4
    ·
    4 hours ago

    I read 136 🤣

  • SubArcticTundra@lemmy.ml
    link
    fedilink
    arrow-up
    14
    ·
    6 hours ago

    I’d actually quite like an overflowing cake thank you very much

    • xyx@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      5 hours ago

      thinking of getting older than 255?

      • PartyAt15thAndSummit@lemmy.zip
        link
        fedilink
        arrow-up
        2
        ·
        5 hours ago

        How about 4294967295?

        • xyx@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          3 hours ago

          with 8 bit? true, with 32 bit you might have a chance to see the sun die, but… there are just 8 candles

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    41
    ·
    9 hours ago

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

  • vrek@programming.dev
    link
    fedilink
    English
    arrow-up
    12
    ·
    7 hours ago

    Why do I confuse Halloween and Christmas? Because Oct 31 is the same as Dec 25

    • flambonkscious@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      Ha🤣, that’s great (once I was already thinking in binary/non-Dec numerals)

      • vrek@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours 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
    10
    ·
    7 hours 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.

  • raman_klogius@ani.social
    link
    fedilink
    English
    arrow-up
    57
    ·
    10 hours ago

    Very optimistic to have an 8th candle

    • bricked@feddit.orgOP
      link
      fedilink
      arrow-up
      95
      ·
      10 hours ago

      The candles are only available in packs of 8. It’s the smallest addressable unit of wax in many cake architectures

      • humanamerican@lemmy.zip
        link
        fedilink
        arrow-up
        19
        ·
        9 hours ago

        Last birthday party I was at I just wanted a nibble of cake but they told me I had to take one or more bites.

        • ITGuyLevi@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          8 hours ago

          I usually just gather a nibble by picking up a couple crumbs… I’ll see myself out.

        • tetris11@feddit.uk
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          9 hours ago

          I’d have a few words with them, kick them right up their rear endian

      • raman_klogius@ani.social
        link
        fedilink
        English
        arrow-up
        10
        ·
        8 hours ago

        Maybe this is a signed cake, so one can celebrate negative birthdays of people who aren’t born yet. 🤔

        • VindictiveJudge@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 hours ago

          Given that typical gestation time is less than one year, that involves some planning and determination.

        • Iron Lynx@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          8 hours ago

          Light all the candles as an announcement that you’re gonna start having kids and hope she’ll get pregnant in exactly three months. Not in 2, not in 4, but in 3 precisely.

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        1
        ·
        9 hours ago

        Although a processor might be nominally capable of accessing a bus of a certain width, it does not mean that all address or data lines need be connected.

  • Ms. ArmoredThirteen@lemmy.zip
    link
    fedilink
    English
    arrow-up
    17
    ·
    9 hours ago

    33 was a special year for me because it’s the same forwards and backwards both in decimal and binary

    • meow@discuss.tchncs.de
      link
      fedilink
      arrow-up
      4
      ·
      9 hours ago

      1 is asswell :3

      • Zier@fedia.io
        link
        fedilink
        arrow-up
        6
        ·
        8 hours ago

        If 1 is asswell, then 2 is assgood, and 3 is the beginning of an orgy.

    • HairyHarry@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago

      00100001

      Am I being dumb? How ist that the same forward and backwards?

      • wieson@feddit.org
        link
        fedilink
        arrow-up
        11
        ·
        7 hours ago

        If you drop leading zeros as you would in decimal

        • HairyHarry@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          6 hours ago

          Damn. I AM dumb.

  • Sam_Bass@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 hours ago

    The BTUs alone will cook you til your juices evaporate

  • itkovian@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    10 hours ago

    I will grow older than 255 because then it will overflow and I become 0 years old.

  • regdog@lemmy.world
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    10 hours ago

    Who counts from right to left?

    Is this image mirrored?

    • bricked@feddit.orgOP
      link
      fedilink
      arrow-up
      34
      ·
      10 hours ago

      You will be surprised to hear that this is how we read decimal numbers too

    • ArrowMax@feddit.org
      link
      fedilink
      arrow-up
      16
      ·
      10 hours 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.

      • sfbing@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        5 hours ago

        Anyone who opens their egg on the small end deserves to be removed from our society.

    • adb@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      9 hours ago

      Binary exists in both big-endian and little-endian. In other words, both directions can be valid.

      • CannonFodder@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        9 hours 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?

    • BlackVenom@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours 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…

    • yermaw@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      10 hours 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
        8
        ·
        10 hours 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
        ·
        10 hours ago

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

        • RustySharp@programming.dev
          link
          fedilink
          arrow-up
          9
          ·
          9 hours ago

          In kindergarten I was taught when reading the number 123, the lowest digit is on the right, and the highest on the left. Never questioned it either.

          • Osprey@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            8 hours ago

            deleted by creator

    • SethranKada@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      10 hours ago

      Binary is always right to left? I’ve never seen it written left to right at least.

    • humanamerican@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      9 hours ago

      There are 3 leading “zeros”

  • banazir@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    9 hours ago

    Oh, I like this. Nice.

  • regdog@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    3
    ·
    10 hours ago

    Happy 136th birthday

    • ITGuyLevi@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      8 hours ago

      Little-endian for the win!

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.28K users / day
  • 3.27K users / week
  • 6.81K users / month
  • 14.6K users / 6 months
  • 1 local subscriber
  • 30K subscribers
  • 2.1K Posts
  • 32.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org