My Lemny
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Jaromil@fed.dyne.org to Programmer Humor@lemmy.ml · 1 year ago

Off by one solitude

fed.dyne.org

external-link
message-square
131
link
fedilink
1
external-link

Off by one solitude

fed.dyne.org

Jaromil@fed.dyne.org to Programmer Humor@lemmy.ml · 1 year ago
message-square
131
link
fedilink
alert-triangle
You must log in or # to comment.
  • drunkpostdisaster@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    And then he texts back ‘where are you?’ And then she texts back ‘the first table’ and he replies ‘umm I’m here too. But I don’t see you’ confused she asks him ’ table 0p?’ And then ‘01*?’ He says ‘no, 00.’ Releaved she says ‘lol I am at table 01’ he chuckles ‘I am at 00, I’ll go find you’

    Later they get married and have kids. But relationship collapses and it ruins both of them and they cannot find the heart to love anyone again. Their children grow up broken and struggle through life. Some get arrested end up in prison, all of them repeatedly fall into a series of toxic relationships for the rest of their lives.

    • where_am_i@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      username checks out

    • tetris11@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Or… or… hear me out… one of them turns around on their chair, and says “hey there”.

      • drunkpostdisaster@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        They were at the corner

  • PeriodicallyPedantic@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    🙅 zeroth, first, second, third
    👉 Zerost, onest, twost, threest

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I’m the twost two that’s ever twoed.

    • psud@aussie.zone
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Good luck standardizing English

      • PeriodicallyPedantic@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Englist*

        • Tlaloc_Temporal@lemmy.ca
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Northern England just got a new nickname.

  • 🇨🇦 tunetardis@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    This could be why Obiwan wound up a hermit? (Programmers of my generation at least talk about “Obiwan errors” because his name sounds like “off-by-one”.)

  • pastermil@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    It clearly says 1

  • yesman@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    The real punch line is that in a cafe run by programmers, esoteric rules are in full force, but tables 0 and 1 are no where near each other.

  • sasquash@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    maybe she’s a lua developer

  • ddh@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    It’s for the best

  • Zwiebel@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I love how they’re looking at each other

    • PolarisFx@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      God yes, you can clearly see from the background scene that while at different tables they can clearly see each other. All this bickering is madness

  • pelya@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    In the UK it’s called a ground table.

    • undergroundoverground@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      When you get off an airplane, do you say

      “Its great to be back on solid first floor of the earth.”

      ?

      • pelya@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        If the walkway goes inside the building, then yes. And the walkway usually leads directly to the second floor, because the airplane door is 3 metres above the ground.

        • undergroundoverground@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          1 year ago

          OK but what about going onto the ground?

          Like, in your garden, is that the first floor of the planet?

          • pelya@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            Inside the building it’s the first floor, even if it’s exactly at the sea level altitude. Outside the building it’s the ground. Basement levels start at minus one, there is no zeroth floor.

    • AngryCommieKender@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      So it was a spelling mistake? They’re actually The Knights of The Ground Table!

      • Klear@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        They dance whenever they’re gable?

    • affiliate@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      do you also have minced tables there?

    • dejected_warp_core@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

  • LillyPip@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    DROP TABLE 01;

    • LousyCornMuffins@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      • KellysNokia@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Dangit Bobby!

  • lustyargonian@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    If you love me meet me at first floor

    Americans 😢 British 🤷‍♂️

    • Agent641@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      The Major: “Fighting retreat at first light”

      Me alone in the trench the morning after next, woken by German voices: “Oh no!”

    • TriflingToad@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      explanation

      • SLVRDRGN@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Exactly what this reminded me of. Thanks.

  • yonder@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    That is why my restaurant will number tables by UUID.

    • OneCardboardBox@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      A much better idea than when I tried to organize my restaurant with hashtables.

      It was too much for the waitstaff, who had to reindex the floor plan every time they added or removed a plate.

      On the plus side, delivering the right food was always O(1).

  • CanadaPlus@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Why the fuck would you spell it “1st” if it’s not 1?

    • 0ops@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I feel like the joke would’ve landed better if it said “first”. I know it’s pronounced the same way, but I’m gonna argue anyway that there’s a subtle difference. I’ve heard 0th used in cs to describe what was at the 0-index, so in that context 1st would be"second", but “first” generally means “nothing before it”. English is weird. I wonder if anyone knows whether the word “first” or “1st” came 1st (lol)?

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 year ago

        Ordinal vs. cardinal. It’s “first” not “onest”, right? Even the ancient proto-Germanic speakers could tell there’s a difference. (In fact, it’s basically a contraction of “foremost”, and has nothing to do with numbers; their weak numeracy was an advantage on this topic)

        If we weren’t implicitly choosing 1-indexing it would be 1nd for “second” (and still not “onend” or something). That breaks down once you get to third and fourth, though.

        • Umbrias@beehaw.org
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          programmer linguistigs is certainly something to behold.

    • psud@aussie.zone
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      They said 1st as an abbreviation of first (it’s a normal abbreviation 1st, 2nd, 3rd … 7th abbreviate first, second, third … seventh)

    • ElectricMoose@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Interestingly, we’ve got the same glitch in the Gregorian calendar, where the year 0 doesn’t exist. So the 21st century started in 2001…

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Nonbinary

  • sgibson5150@slrpnk.net
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Wouldn’t it be nice if documentation used the words index and offset consistently?

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      The problem is that they both are contextual and can mean any position in a list/array. The starting index or starting offset is generally zero, but could be one, depending on the language used.

      • affiliate@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        i wonder why people haven’t made a language that starts indexing at 2 yet. maybe some day

        • Vorthas@lemmy.ml
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          Dreamberd starts array indexing at -1 instead of 0 or 1.

          https://github.com/TodePond/DreamBerd

        • jaybone@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Maybe this could be a feature in brainfuck or COBOL.

          • affiliate@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            god i hope so

    • Zagorath@aussie.zone
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Aren’t those two the same thing? At least in C-style arrays, which might not be how they’re handled under the hood, but is at least how most languages present it to the programmer.

      • ReversalHatchery@beehaw.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        in my understanding offset is technically the “relative index”, or how much you have to go further

      • lefixxx@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Yes they are presented in the programmer wrong. The first thing in memory should have offset 0 and index 1

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 10 users / day
  • 23 users / week
  • 373 users / month
  • 1.37K users / 6 months
  • 0 local subscribers
  • 38.1K subscribers
  • 1.82K Posts
  • 32.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org