bookwormstory.social
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · 1 year ago

Added Bugs to Keep my job

sh.itjust.works

message-square
160
link
fedilink
322

Added Bugs to Keep my job

sh.itjust.works

alphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · 1 year ago
message-square
160
link
fedilink
alert-triangle
You must log in or register to comment.
  • Schal330@lemmy.world
    link
    fedilink
    arrow-up
    50
    arrow-down
    1
    ·
    1 year ago

    Removed double quotes, added single quotes

    • iAvicenna@lemmy.world
      link
      fedilink
      arrow-up
      35
      ·
      1 year ago

      someone later on -m “removed single quotes, added double quotes”

      • QuazarOmega@lemy.lol
        link
        fedilink
        English
        arrow-up
        19
        ·
        1 year ago

        More commits == More money!!!

        • gravitas_deficiency@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          7
          ·
          1 year ago

          Real talk: I have worked at a company where an exec briefly had the bright idea to rank developers on number of commits made.

          You can imagine how that turned out.

          He wasn’t an exec for very long.

          • QuazarOmega@lemy.lol
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            lmaoo, I can’t believe someone actually did that and was serious about it.
            I’m already imagining commits piling up with comments like:

            • “add a newline”
            • “move function up”
            • “rename variable users to user_list”
            • “Revert previous commit”
            • “no John, it’s user_list and that’s it, don’t you dare change it again”

            He wasn’t an exec for very long.

            Good riddance I guess

            • gravitas_deficiency@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              5
              ·
              1 year ago

              Oh, no, we can do better.

              Every single line of every single PR is an individual commit. And never squash-commit.

              • QuazarOmega@lemy.lol
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 year ago

                Talk about atomic commits

                • gravitas_deficiency@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  edit-2
                  1 year ago

                  If you really want to nuke it from orbit: do it for every character.

                  It is absolutely technically feasible to go further than that, but I think that’s the point of diminishing returns in terms of effort.

    • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Why do u prefer single quotes?

      • grrgyle@slrpnk.net
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Not Shall330, but double quotes can imply variables in the string in some languages.

        • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Which languages are these?

          • bitchkat@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            1 year ago

            PHP for one. “$x” will interpret the variable $x. ‘$x’ does not.

            • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.ee
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              1 year ago

              Well there’s ya problem ur using php.

              • charolastra@programming.dev
                link
                fedilink
                arrow-up
                4
                ·
                1 year ago

                Also bash

                • nyan@lemmy.cafe
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  1 year ago

                  And Perl.

      • Schal330@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I have no preference! It was to do with Spring/yaml config and some really strange conflict which required the use of single quotes. I’m still a total noob in the world of software dev, so I wouldn’t be able to explain why it worked 🤣

  • 1boiledpotato@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    36
    ·
    1 year ago

    “Update”

    It was my dotfiles, ok?

    • Anticorp@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      You’re going to regret not adding the second sentence to the commit message some day.

      • grrgyle@slrpnk.net
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        Bold of you to assume there is a cohesive theme to dotfile commits. Usually it’s just been long enough that I don’t want to lose my latest tweaks

  • steersman2484@sh.itjust.works
    link
    fedilink
    arrow-up
    33
    ·
    1 year ago

    Squash me later

    • The Assman@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      My commit messages have gotten extremely lazy since I start squashing all my commits down to one. I just describe the PR on the first commit message and write nonsense in all the others.

      • grrgyle@slrpnk.net
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        I’ve been adding the commit shas + messages to the final description, if anyone wants to see my exploratory work.

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

          I know that if you are on the local repository where the commits were originally created they’ll remain accessible through recovery methods but AFAIK orphaned commits aren’t synced to other machines.

          • grrgyle@slrpnk.net
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            1 year ago

            That’s correct. This is for work, which uses GitHub. The dangling commits remain accessible via their sha through the web ui, so I can link them in the PR description. I don’t put them in the actual commit message.

            I think these are garbage collected eventually, but no idea on cadence. It’s long, anyway.

    • brvslvrnst@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      deleted by creator

  • generaldenmark@programming.dev
    link
    fedilink
    arrow-up
    27
    ·
    1 year ago

    Initial commit

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

      grats on formalising your (new) project

    • hemko@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Initial commit #463

  • alyth@lemmy.world
    link
    fedilink
    arrow-up
    27
    ·
    1 year ago

    Tests: Add a few test files.

    • eskimofry@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      1 year ago

      I thought we lost you … Jia Tan!

  • camr_on@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    1 year ago

    God read my code and it made Him cry

  • Ving Thor@lemmy.one
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    Update coffee list and tex files.

    …and yes we have our office coffee list in a git repo.

    • herrcaptain@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Do new hires have to submit a pull request to get in on it? If so, I’m guessing the non-technical staff don’t get to drink a lot of coffee.

      • Ving Thor@lemmy.one
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        It’s actually just a paper list where people make ticks for coffee. That is then manually synced to an hledger file in git.

        • Serinus@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          For what? To keep track of who’s drinking coffee? Are you charging for coffee?

          • MenacingPerson@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Mfw I git push -f

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

              Always force-with-lease

          • Ving Thor@lemmy.one
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            I work in academia… There is no free coffee here.

    • theneverfox@pawb.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Do you have any plans to open source your coffee list? I want to add this feature where I get an iced coffee in the morning

  • Zahtu@feddit.de
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    “Changed consent banner text to reflect from legal, even though they are wrong”

    • Anticorp@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      1 year ago

      “circumvented GDPR despite calling out strong ethical objections, because legal & management are forcing me to”

  • AllHailTheSheep@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    ·
    1 year ago

    “fix for real this time”

  • Jyek@sh.itjust.works
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    “28496 - there, it’s fucking fixed you twat waffle.”

    Ticketed bug bosses son found. Dude nagged his dad who nagged us until it got fixed. Boss doesn’t review code. And for the sake of a half dozen coworkers, I hope he never does.

  • FreshLight@sh.itjust.works
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    “I’m sorry, guys.”

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

    “;”

    Previous commit was some stupid easy fix I didn’t even bother compiling. Well, I should have, because it was the first time in recent memory I committed some code with a missing semicolon…

    Before anyone asks : no, we don’t do reviews ¯\_(ツ)_/¯

    • UFO@programming.dev
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      1 year ago

      Join me and use ~ to mean “shit changed just check the diff”

      • Hexarei@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        For those I just commit with the message “ngl there’s a lot of changes in here”

        • towerful@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Tweaked some things

          +2543; -5642;

          • Strykker@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            “Moved code base from 2 spaces to 4.”

  • JoshCodes@programming.dev
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    git commit -m “if this doesn’t fix it I’m looking up availabilities at my nearest maccas”

  • grrgyle@slrpnk.net
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    wip: good luck you monday fuck hahahaha

  • iflyspaceships@lemmy.world
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    1 year ago

    Hrfg7ygfrvvby

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.

  • 755 users / day
  • 4.61K users / week
  • 9.17K users / month
  • 17.6K users / 6 months
  • 3 local subscribers
  • 23.1K subscribers
  • 1.33K Posts
  • 43.9K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org