Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Jaromil ( jaromil@fed.dyne.org )  to Programmer Humor@lemmy.ml · 2 years ago

Off by one solitude

fed.dyne.org

message-square
29
link
fedilink
765

Off by one solitude

fed.dyne.org

Jaromil ( jaromil@fed.dyne.org )  to Programmer Humor@lemmy.ml · 2 years ago
message-square
29
link
fedilink
alert-triangle
You must log in or # to comment.
  • lustyargonian ( lustyargonian@lemm.ee ) 
    link
    fedilink
    arrow-up
    25
    ·
    2 years ago

    If you love me meet me at first floor

    Americans 😢 British 🤷‍♂️

  • ddh ( DarkDarkHouse@lemmy.sdf.org ) 
    link
    fedilink
    English
    arrow-up
    25
    ·
    2 years ago

    It’s for the best

  • Anna ( AnnaFrankfurter@lemmy.ml ) 
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    2 years ago

    Hey, if she thinks 1 is 1st index then you dogged dodged a bullet and deserve better.

    Happy now all you English majors.

    • Bob ( MadBob@feddit.nl ) 
      link
      fedilink
      arrow-up
      21
      ·
      2 years ago

      you dogged a bullet

      😳

  • sasquash ( sasquash@sopuli.xyz ) 
    link
    fedilink
    arrow-up
    20
    ·
    2 years ago

    maybe she’s a lua developer

  • PeriodicallyPedantic ( PeriodicallyPedantic@lemmy.ca ) 
    link
    fedilink
    arrow-up
    18
    ·
    2 years ago

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

    • psud ( psud@aussie.zone ) 
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Good luck standardizing English

      • PeriodicallyPedantic ( PeriodicallyPedantic@lemmy.ca ) 
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Englist*

        • Tlaloc_Temporal ( Tlaloc_Temporal@lemmy.ca ) 
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Northern England just got a new nickname.

  • LillyPip ( LillyPip@lemmy.ca ) 
    link
    fedilink
    arrow-up
    12
    ·
    2 years ago

    DROP TABLE 01;

  • sgibson5150 ( sgibson5150@slrpnk.net ) 
    link
    fedilink
    arrow-up
    12
    ·
    2 years ago

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

    • Zagorath ( Zagorath@aussie.zone ) 
      link
      fedilink
      arrow-up
      2
      ·
      2 years 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 ( ReversalHatchery@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

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

  • Lettuce eat lettuce ( Lettuceeatlettuce@lemmy.ml ) 
    link
    fedilink
    arrow-up
    10
    ·
    2 years ago

    I still mess this up for lists in Python…

  • Zwiebel ( Zwiebel@feddit.org ) 
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 years ago

    I love how they’re looking at each other

    • PolarisFx ( PolarisFx@lemmy.dbzer0.com ) 
      link
      fedilink
      arrow-up
      4
      ·
      2 years 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

  • NigelFrobisher ( NigelFrobisher@aussie.zone ) 
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    This thread is a great example of why they don’t like to let (most) software developers talk to the customers.

  • HiddenLayer555 ( HiddenLayer555@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    Easy solution: Switch to table UUIDs.

  • 🇨🇦 tunetardis ( tunetardis@lemmy.ca ) 
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years 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”.)

  • CanadaPlus ( CanadaPlus@lemmy.sdf.org ) 
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    2 years ago

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

    Edit: Which is not pronounced “onest”. I think people might be missing the point here; I’m actually a fan of zero indexing.

    • 0ops ( 0ops@lemm.ee ) 
      link
      fedilink
      arrow-up
      8
      ·
      2 years 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 ( CanadaPlus@lemmy.sdf.org ) 
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        2 years 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 ( Umbrias@beehaw.org ) 
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          programmer linguistigs is certainly something to behold.

          • CanadaPlus ( CanadaPlus@lemmy.sdf.org ) 
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Fun fact, Noam Chomsky’s linguistic theories were and are the foundation of parsing.

    • psud ( psud@aussie.zone ) 
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

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

      • CanadaPlus ( CanadaPlus@lemmy.sdf.org ) 
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Sure, but you have to see how it’s an own goal if you’re showing up to table 0.

  • No_Money_Just_Change ( No_Money_Just_Change@feddit.org ) 
    link
    fedilink
    Deutsch
    arrow-up
    3
    ·
    2 years ago

    Plot twist, neither cared about the table number

    One went to the first table produced, the other to the first table placed

  • lugal ( lugal@sopuli.xyz ) 
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    What more can I say

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.

  • 8 users / day
  • 160 users / week
  • 194 users / month
  • 1.82K users / 6 months
  • 871 local subscribers
  • 43.6K subscribers
  • 1.25K Posts
  • 10.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape ( AgreeableLandscape@lemmy.ml ) 
  • cat_programmer ( cat_programmer@lemmy.ml ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code