Tim's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
not_IO@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 24 days ago

oddly specific

lemmy.blahaj.zone

message-square
180
link
fedilink
1

oddly specific

lemmy.blahaj.zone

not_IO@lemmy.blahaj.zone to Microblog Memes@lemmy.worldEnglish · 24 days ago
message-square
180
link
fedilink
  • Joh4PM@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    24 days ago

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

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 days ago

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

    • verstra@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      24 days ago

      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
        0
        ·
        24 days ago

        I see what you did there.

    • tgt@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 days ago

      I guess it’s you and 255 others?

    • moriquende@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      23 days ago

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

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: [email protected]

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:

  • [email protected]
  • [email protected]
Visibility: Public
globe

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

  • 226 users / day
  • 1.17K users / week
  • 3.01K users / month
  • 7.55K users / 6 months
  • 0 local subscribers
  • 8.71K subscribers
  • 2.91K Posts
  • 111K Comments
  • Modlog
  • mods:
  • Ready! Player 31@lemmy.world
  • aeronmelon@lemmy.world
  • needanke@feddit.org
  • UI: unknown version
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org