NekuSoul-Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
not_IO@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 24 天前

oddly specific

lemmy.blahaj.zone

external-link
message-square
199
fedilink
1.49K
external-link

oddly specific

lemmy.blahaj.zone

not_IO@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 24 天前
message-square
199
fedilink
  • Joh4PM@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    12
    ·
    24 天前

    Since you start counting from zero, the byte limit should be 255 = 2^8 - 1.

    • verstra@programming.dev
      link
      fedilink
      English
      arrow-up
      46
      ·
      edit-2
      24 天前

      There are only two hard problems in computer science:

      • naming things,
      • cache invalidation,
      • off-by-one errors.

      I’m afraid you’ve fell victim to the problem 2.

      • AbsolutelyNotAVelociraptor@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        6
        ·
        24 天前

        I see what you did there.

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      ·
      24 天前

      The count is 0 through 255, which equals 256 total.

    • moriquende@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      24 天前

      If you create a table and number the first row with “0”, you’ll need 256 rows to reach row index “255”

    • tgt@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      24 天前

      I guess it’s you and 255 others?

Microblog Memes@lemmy.world

microblogmemes@lemmy.world

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: !microblogmemes@lemmy.world

A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, Twitter X, KBin, Threads or elsewhere.

Created as an evolution of White People Twitter and other tweet-capture subreddits.

Rules:

  1. Please put at least one word relevant to the post in the post title.
  2. Be nice.
  3. No advertising, brand promotion or guerilla marketing.
  4. Posters are encouraged to link to the toot or tweet etc in the description of posts.

Related communities:

  • !whitepeopletwitter@sh.itjust.works
  • !curatedtumblr@sh.itjust.works
Visibility: Public
globe

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

  • 1.99K users / day
  • 7.45K users / week
  • 12.9K users / month
  • 28K users / 6 months
  • 1 local subscriber
  • 8.72K subscribers
  • 2.72K Posts
  • 111K Comments
  • Modlog
  • mods:
  • Ready! Player 31@lemmy.world
  • aeronmelon@lemmy.world
  • needanke@feddit.org
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org