jlai.lu
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmings.world to Programmer Humor@programming.dev · 2 个月前

Why I always keep doing it...

lemmy.world

message-square
67
link
fedilink
584

Why I always keep doing it...

lemmy.world

cm0002@lemmings.world to Programmer Humor@programming.dev · 2 个月前
message-square
67
link
fedilink
alert-triangle
You must log in or # to comment.
  • copacetic@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    122
    ·
    2 个月前

    xkcd 242 obviously

    • Rhaedas@fedia.io
      link
      fedilink
      arrow-up
      29
      ·
      2 个月前

      I feel called out. I’m not sure which way I’d go.

      • SpaceNoodle@lemmy.world
        cake
        link
        fedilink
        arrow-up
        28
        ·
        2 个月前

        Get somebody else to pull it.

        • 0ops@piefed.zip
          link
          fedilink
          English
          arrow-up
          20
          ·
          2 个月前

          For science.

    • Absolute_Axoltl@feddit.uk
      link
      fedilink
      arrow-up
      11
      ·
      2 个月前

      Me playing point and click games

    • diabetic_porcupine@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 个月前

      You know what this is based AF because if you don’t do it a second time how would you know if it wasn’t a weird edge case or a race condition or maybe you just didn’t internalize the cause and effect because you weren’t looking for it until a bug appeared

  • rumschlumpel@feddit.org
    link
    fedilink
    arrow-up
    51
    ·
    2 个月前

    But sometimes it works, or throws a different error …

    • einkorn@feddit.org
      link
      fedilink
      arrow-up
      44
      ·
      2 个月前

      And a different error means progress!

      • SpaceNoodle@lemmy.world
        cake
        link
        fedilink
        arrow-up
        13
        ·
        2 个月前

        A different error each time?

        • einkorn@feddit.org
          link
          fedilink
          arrow-up
          3
          ·
          2 个月前

          I refer to @floofloof@lemmy.ca comment.

    • floofloof@lemmy.ca
      link
      fedilink
      arrow-up
      20
      ·
      2 个月前

      When it does a different crazy thing every time and you have no idea why, it means you’re a genius and have created life.

      • littleomid@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 个月前

        Or you’re coding in C.

    • idunnololz@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 个月前

      Actually tru. Damn preprocessors.

    • atopi@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 个月前

      you have to check if you are dealing with a bug or with a ghost

  • Blackmist@feddit.uk
    link
    fedilink
    English
    arrow-up
    32
    ·
    2 个月前

    You make a change. It doesn’t fix it.

    You change it back. The code now works.

    • zerobot@lemmy.wtf
      link
      fedilink
      arrow-up
      11
      ·
      2 个月前

      the real fix was the journey, the destination never mattered

    • MummifiedClient5000@feddit.dk
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 个月前

      The code now works breaks in a new way.

  • DahGangalang@infosec.pub
    link
    fedilink
    arrow-up
    26
    ·
    2 个月前

    The usual for me is that I flip back over to my editor and hit ctrl+save, cause heaven forbid I ever remember to do that before running.

    • jtrek@startrek.website
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      2 个月前

      I have no regrets from setting my editor to save-on-blur

  • TabbsTheBat (they/them)@pawb.social
    link
    fedilink
    arrow-up
    23
    ·
    2 个月前

    The first one is to warm up the engine. Like getting your car ignition to kick over in the winter

    • WanderingThoughts@europe.pub
      link
      fedilink
      arrow-up
      7
      ·
      2 个月前

      and sometimes that’s exactly what’s needed. Services wake up, connections get established and then when you try again things are up and it works.

  • sleepmode@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    2 个月前

    Trying to debug race conditions be like

    • verdare@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      10
      ·
      2 个月前

      Yuuup… Debugging concurrent code is a bitch.

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
    link
    fedilink
    English
    arrow-up
    20
    ·
    2 个月前

    Code doesn’t work; don’t know why.

    Code works; don’t know why.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 个月前

      Cargo Cult Programming is bad.

  • schema@lemmy.world
    cake
    link
    fedilink
    arrow-up
    15
    ·
    2 个月前

    The absolute worst thing that can happen is if it suddenly starts working without doing anything

    • Ravel@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      2 个月前

      Sweet, push to production.

  • endless_nameless@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    2 个月前

    The error message goes stale when it’s been sitting for a while. I need to see a fresh one.

  • Hisse@programming.dev
    link
    fedilink
    arrow-up
    14
    ·
    2 个月前

    You know, youve gotta give your computer some warmup.

  • abcdqfr@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    2 个月前

    Not sure which is worse. When you know you changed nothing and it inexplicably starts|stops working compared to yesterday

    • Rhaedas@fedia.io
      link
      fedilink
      arrow-up
      12
      ·
      2 个月前

      Far worse, and this applies to more than programming. If something is broken, I want it to be consistent. Don’t fix yourself, or sort of work but have a different effect. Break, and give me something to figure out, damn it.

  • marcos@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    2 个月前

    Running the code again is fast and requires no thinking. Finding the problem is slow and requires a lot of thinking.

    It’s worth looking under the light-post in case your keys somehow rolled there. Just not for long.

  • MsPenguinette@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    2 个月前

    You jest but “wait and retry” is such a powerful tool in my DevOps toolbox. First thing I tell junior engineers when they run across anything weird

    • marlowe221@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 个月前

      Honestly, in DevOpS, when you’re running stuff in a GitHub Action/Azure DevOps Pipeline/Jenkins, yeah… sometimes a run will fail for no obvious reason.

      And then work the next time (and the next 100+ times after that) when you haven’t changed a damn thing.

    • blarghly@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 个月前

      “Maybe if we ignore the problem, it will go away”

  • sunbeam60@feddit.uk
    link
    fedilink
    arrow-up
    11
    ·
    2 个月前

    Ah, come on this is valid investigation.

    If you get the same error every time, you know you can find it and debug it, somewhat with ease.

    If you don’t, you might have a thornier issue at hand.

    • SleeplessCityLights@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      2 个月前

      I hate how stupid and obvious this is, but we all do it at least once if the compile is short. But with a 20 min compile, I am investigating.

  • rem26_art@fedia.io
    link
    fedilink
    arrow-up
    10
    ·
    2 个月前

    gotta rule out cosimc rays flipping a bit or two

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.

  • 418 users / day
  • 3.09K users / week
  • 7.92K users / month
  • 17.4K users / 6 months
  • 137 local subscribers
  • 31.8K subscribers
  • 2.36K Posts
  • 91.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.19
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org