Hard Pass
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 2 天前

Bites & Bytes

programming.dev

message-square
40
link
fedilink
  • cross-posted to:
  • onehundredninetysix@lemmy.blahaj.zone
742

Bites & Bytes

programming.dev

CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 2 天前
message-square
40
link
fedilink
  • cross-posted to:
  • onehundredninetysix@lemmy.blahaj.zone
alert-triangle
You must log in or register to comment.
  • FuglyDuck@lemmy.world
    link
    fedilink
    English
    arrow-up
    135
    ·
    2 天前

    Megabyte:

    • partofthevoice@lemmy.zip
      link
      fedilink
      arrow-up
      16
      ·
      24 小时前

      Gigabyte:

      • FuglyDuck@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        21 小时前

        Terrabyte:

        • Doomsider@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          20 小时前

          Petabyte

    • RustySharp@programming.dev
      link
      fedilink
      arrow-up
      22
      ·
      2 天前

      Looks more like a panTerabyte

    • Valmond@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      7
      ·
      1 天前

      “some sort of elaborate Peta-bite image”

      • FuglyDuck@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 天前

        I wouldn’t suggest petting that bite. It’ll take a chunk.

    • trashman@feddit.org
      link
      fedilink
      arrow-up
      6
      ·
      1 天前

      Now I get it!

      “I am never gonna financially recover from this.”

      Joe predicted the AI memory crisis. Mind blown!

  • heartSagan5@lemmy.zip
    link
    fedilink
    arrow-up
    6
    ·
    24 小时前

    Word=4bytes Dword=8bytes=2words Qword=16bytes=4words

    *On a 32-bit, x86 arch. The word size on Voyager is like 12-bits or something odd.

    • Mark with a Z@suppo.fi
      link
      fedilink
      arrow-up
      1
      ·
      39 分钟前

      Memes can’t even teach me about programming my voyager properly. Smh my head.

  • BitsAndBites@lemmy.world
    link
    fedilink
    arrow-up
    42
    ·
    1 天前

    You rang?

    • ohshit604@lemmy.halstead.host
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      23 小时前

      3 year old account and now is when you decide to introduce yourself?

      • BitsAndBites@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        22 小时前

        Nice to meet you

        • ohshit604@lemmy.halstead.host
          link
          fedilink
          arrow-up
          3
          ·
          21 小时前

          Ya know, when I first made that comment all I did was a quick check on your profile and saw no data;

          But then I realized my instance is only a month or so old so perhaps I’m missing data, and Lo and behold I was correct, I just figured it was a 3yo account with absolutely no activity coming back to life, I retract my previous comment.

    • fartographer@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 天前

      Now I wanna see an animated Beetlejuice/Addams Family crossover

  • OpenStars@discuss.online
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 天前

    Word:-)

    • tetris11@feddit.uk
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 天前

    • A_norny_mousse@piefed.zip
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 天前

      Funny, in Finnish a byte is called a syllable. Which would better apply to a nibble I guess.

      • Natanael@infosec.pub
        link
        fedilink
        arrow-up
        3
        ·
        1 天前

        A word is typically 4 bytes

        https://en.wikipedia.org/wiki/Word_(computer_architecture)

        • heartSagan5@lemmy.zip
          link
          fedilink
          arrow-up
          5
          ·
          24 小时前

          It depends on the architecture. Some chips have weird words, like the Voyager spacecraft computer.

        • A_norny_mousse@piefed.zip
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 天前

          Oh. Shit, first I didn’t know what a nibble is, now I didn’t know what a word is … I’ll just show myself out and make sure I never try to write any assembler code.

          • Natanael@infosec.pub
            link
            fedilink
            arrow-up
            3
            ·
            1 天前

            Well technically

            https://en.wikipedia.org/wiki/Syllable_(computing)

            • A_norny_mousse@piefed.zip
              link
              fedilink
              English
              arrow-up
              1
              ·
              16 小时前

              Trust Finns to hang on to some outdated term!

          • OpenStars@discuss.online
            link
            fedilink
            English
            arrow-up
            1
            ·
            24 小时前

            Actually that does sound best… but not because of anything to do with you, that advice just applies to all humans for the last basically twenty years. So it’s nothing to do with AI slop, but rather compilation got SO FREAKING GREAT that in like 99.9% of cases it does better than a human.

            Ironically, one of the reasons for that is that concepts like “word” varies between different architectures (like like “byte” too - e.g. you’ve likely heard the distinction between 32-bit vs. 64-bit systems). As the other person said it is usually 4 bytes but other times it can be like 2 (in super old systems I suppose) or more than 4 in like super powerful ones (128-bit ones maybe?).

            And compilers keep track of ALL of those minutiae, as well as a bunch more stuff too. Like a small(-ish) loop that only runs a couple to few times is far more efficient to just be duplicated in the assembly code, rather than have the GO-TO procedure jump back to its beginning spot. And also it helps immensely to feed things to the chip based on what the various cache sizes are - L1, L2, L3 (though not all chips have all… or even any of those).

            So yeah, it’s best to leave compilation to the computer to handle, thus freeing up the programmer to handle the overall logical flow and deal with other higher-order effects like code reuse and documentation and stuff.

  • A_norny_mousse@piefed.zip
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    2 天前

    🤔 what’s a nibble then? … oh, it’s half a byte

    • Kn1ghtDigital@lemmy.zip
      link
      fedilink
      arrow-up
      7
      ·
      1 天前

      I thought it was spelled ‘nybble’?

      • A_norny_mousse@piefed.zip
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 天前

        According to the article linked both are valid

      • bss03@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 天前

        Yeah, I’ve always used the “nybble” spelling for data instead of tooth activity. But, also I think more people just use “hex digit”.

      • Zorque@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 天前

        Depends on if its referring to hard drive storage or reality.

        • Valmond@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          1 天前

          Hard drive storage: 3.737965139 bits

  • ℭ𝔞𝔱 @lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 天前

    That bite looks like it was painful.₍^. .^₎Ⳋ

  • notSys@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    1 天前

    Wtf is a nibble?

    • embed_me@programming.dev
      link
      fedilink
      arrow-up
      8
      ·
      1 天前

      Half of a byte

      • modus@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        1 天前

        What’s the other half called?

        • tetris11@feddit.uk
          link
          fedilink
          English
          arrow-up
          9
          ·
          1 天前

          jeremy

        • palordrolap@fedia.io
          link
          fedilink
          arrow-up
          6
          ·
          1 天前

          Wait until you learn what the other seven parts of a byte are called when the first one is called a bit.

        • Cyberfuchs@discuss.tchncs.de
          link
          fedilink
          arrow-up
          3
          ·
          1 天前

          One is called high nibble, the other half is called low nibble

          • stardustpathsofglory@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            1 天前

            Sounds like a case for the beauty doc

        • Valmond@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          1 天前

          Ellbin

    • ITGuyLevi@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      1 天前

      Two crumbs…

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.

  • 771 users / day
  • 2.12K users / week
  • 6.94K users / month
  • 16.6K users / 6 months
  • 1 local subscriber
  • 33.2K subscribers
  • 1.66K Posts
  • 40.9K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.20
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org