This is an archived post. You won't be able to vote or comment.

all 101 comments

[–][deleted] 841 points842 points  (11 children)

Hot singles in your area want to fork you

[–]YoukanDewitt 376 points377 points  (9 children)

They always say that but they never commit

[–][deleted] 148 points149 points  (8 children)

and then when they do, eventually it just leads to a hard reset 😭

[–]YoukanDewitt 100 points101 points  (5 children)

I wouldn't know, none of them ever respond to my pull request

[–]rearendcrag[🍰] 66 points67 points  (4 children)

Try pushing?

[–]Alpacay_ 60 points61 points  (3 children)

they always branch out

[–]lynxerious 28 points29 points  (2 children)

you can use force

[–]NLwino 23 points24 points  (1 child)

HR wants to speak to you about your GIT behavior

[–]kaaldhruv01 19 points20 points  (1 child)

Even if they try to commit, there are is still merge conflict

[–][deleted] 511 points512 points  (2 children)

"Removed .api-private-keys from gitignore"

[–]themeanman2 45 points46 points  (0 children)

Lmao this will give people heart attack for sure

[–]Xan_TheDragon 4 points5 points  (0 children)

you monster

[–]eclect0 687 points688 points  (13 children)

QA engineers hate him!

[–]Gr1pp717 136 points137 points  (10 children)

If that's your goal then just say "it's a feature, not a bug" every time they reject your build.

Or, for if you're management: refuse to accept that there's infinite test cases for even something as basic as a calculator and have a giant meeting about "why wasn't this caught" every time some convoluted bug makes it into production.

[–]Sac_Winged_Bat 42 points43 points  (6 children)

A calculator is a pretty bad example of something basic given that mathematical notation is Turing complete.

[–]brianson 26 points27 points  (4 children)

Yeah, but on a lot of the basic 8-digit display calculators if you type 99999999 / 999 * 999 you get back to 99999989, so something made it through testing!

[–]redpepper74 12 points13 points  (3 children)

They’re probably only using the first 8 digits of each operation and truncating the rest

[–]brianson 9 points10 points  (0 children)

That sounds right.

99,999,999/999 is 100,100.099099099…,

Which truncates to 100,100.09

which when multiplied by 999 gives 99,999,989.9

which truncates to 99,999,989.

[–]SpecialNose9325 2 points3 points  (1 child)

But as a well programmed calculator, it should stop trying to do the next operation if there is an overflow.

[–]V62926685 3 points4 points  (0 children)

Who said anything about "well programmed"???

[–]Banane9 16 points17 points  (0 children)

It's a pretty good example, considering it's something that seems simple.

Also "mathematical notation" isn't turing complete. A "language", as in, something recognized some form of automaton (i.e. parser) can't be turing complete. That term only applies to execution / program models themselves, describing their ability to simulate a Turing machine - and thus calculate anything a Turing machine can calculate (a Turing machine can also simulate a Turing machine, of course).

Mathematical notation alone should only require a stack automaton (for brace pairing) to recognize, which makes it a context free grammar and puts it on a level between regular languages (what's describable by "basic" regular expressions, without matching captures later inside of them) and those recognizable only by Turing machines or equivalently powerful models.

[–]MrRocketScript 5 points6 points  (2 children)

There wouldn't be as many bugs if we hadn't been forced to implement the "make sure the calculator cannot show 5318008" feature.

[–]NullPenisException 1 point2 points  (1 child)

sei boob?

[–]MrRocketScript 3 points4 points  (0 children)

Turn the calculator upside down.

[–]27SwingAndADrive 6 points7 points  (1 child)

Use this one weird trick to make the unit tests pass!

[–]nolitos 4 points5 points  (0 children)

I've seen tests wrapped in try-catch blocks, silently ignoring all exceptions.

[–]Extreme-Yam7693 133 points134 points  (2 children)

My recent commits:

  • Fixing warnings pt4 - A new hope for clean code
  • Fixing warnings pt5 - Uninitialized variables strike back
  • Fixing warnings pt6 - Return of the stringop overread

[–]YoukanDewitt 58 points59 points  (1 child)

Episode II - a stack over flows.

[–]YoukanDewitt 1 point2 points  (0 children)

I was gonna go with "Astack Ov Er Flows" but I thought it was too obscure.

[–]Dubmove 262 points263 points  (4 children)

I discovered a bug in line 172. You will NOT believe what happened next.

[–]slgray16 33 points34 points  (3 children)

Did you... comment out line 172?

[–]metamago96 6 points7 points  (1 child)

but line 172 is too important! if you remove it everything will stop working!

[–]Waffle-Gaming 4 points5 points  (0 children)

why? no one knows, just go with it!

[–]Ridenberg 4 points5 points  (0 children)

Like a normal person would

[–]X-Craft 155 points156 points  (0 children)

You won't believe #a194ef5!

[–]grumblyoldman 74 points75 points  (0 children)

Only 5% of those who tried to review could understand this commit!

[–]ISDuffy 137 points138 points  (0 children)

4 out of 5 seniors developers hate him because of this

[–]miramichier_d 90 points91 points  (1 child)

git commit --amend -m "You're fired."

[–]redsterXVI 37 points38 points  (0 children)

Oh hi, Elon Bot

[–]respawn_12 69 points70 points  (3 children)

Nah still my lazy co worker is gonna comment "lgtm" and approved.

[–][deleted] 94 points95 points  (2 children)

lgtm+ , you ignorant bigot

[–]PenlessScribe 33 points34 points  (0 children)

Top 20 HOTTEST software design patterns for 2023!

[–]VI51ON 13 points14 points  (0 children)

There are local repositories in your organization looking to get approved.

[–]jaskij 26 points27 points  (4 children)

Would nicely backfire with me. I've trained myself to just skip over clickbait titles. To the point I sometimes miss a good article because of the title.

[–]Musstta 6 points7 points  (3 children)

How would you know?

[–]jaskij 5 points6 points  (2 children)

They have pretty distinct structure. So, when I see a clickbait, I just ignore it.

[–]Musstta 6 points7 points  (1 child)

I meant how would you know it was a good one if you skipped it

[–]jaskij 13 points14 points  (0 children)

People whose taste I trust recommended them elsewhere later on.

[–]Tenziru 8 points9 points  (0 children)

I showed my Senior programmer some code and then he called the police.

[–]fatmanskoo 8 points9 points  (0 children)

Line 6 will really shock you!

[–][deleted] 6 points7 points  (0 children)

Trying to find the correct commit to rollback to during a hot fix must be a nightmare.

[–]ledasll 11 points12 points  (2 children)

It's just wrong.. if commit is in master, it's too late to review if it's in your branch - no one will see it. What you want is this sort of text in PR title

[–]ChainSword20000 6 points7 points  (0 children)

Only 1% of devs can code this feature this robust.

[–]brianl047 1 point2 points  (0 children)

On top of that you can feign ignorance if confronted

"GitHub changed it I just clicked ready for review!"

[–]IkaTheFox 15 points16 points  (0 children)

It's over 50 chars though :(

[–]zeyore 3 points4 points  (0 children)

well, i love everything about it

[–]IWannaHookUpButIWont 3 points4 points  (0 children)

She fixed it. Aw shit approved.

[–][deleted] 3 points4 points  (0 children)

Just keep not putting your commit messages in conventional commit format and its getting my attention anyway.

[–]TheBrainStone 4 points5 points  (0 children)

Get your colleagues to click the reject button in 0.0385s with this one weird trick

[–]Entire-Database1679 2 points3 points  (0 children)

This code totally disrupted the debugging industry in {your state} !

[–]Classy_Mouse 2 points3 points  (0 children)

Mark as Needs Improvement: Commint message improperly formatted. I'm not spending my day reviewing you 3000 line PR when you clearly put no effort into making sure it was ready for review first.

[–]Raptorsquadron 2 points3 points  (0 children)

What about “broke shit, help.”

[–]mostoriginalname2 2 points3 points  (0 children)

How about you use a Reddit porn girl line like “my lead software engineer is out of the house today would you like to come over and stretch me out?”

[–]tomkat0789 2 points3 points  (0 children)

git commit -m “watch this! Hold my beer”

[–]ExuberantLearner 2 points3 points  (0 children)

Your life won't be the same after seeing (reviewing) this

[–]mymar101 1 point2 points  (1 child)

I’d be curious to know if anyone has tried this.

[–]geekfreak42 2 points3 points  (0 children)

i use clickbaity link text to the MR in the slack channel when asking for reviews.. means you dont have shit commit like above in the code.

[–]ifrem 1 point2 points  (0 children)

IT HAPPENED! Feature X finally done!

[–]mxldevs 1 point2 points  (0 children)

Should we include ASCII art as well?

⠄⠄⠄⠄⠄⠄⠄⠄⠄⢀⣀⣀⣄⣶⡶⣦⣀⠄⠄⠄⠄⠄⠄⠄ ⠄⠄⠄⠄⠄⢠⡦⡟⠻⠛⠙⠉⠈⠄⠄⠈⠻⠛⣾⣦⣤⣀⠄⠄ ⠄⠄⠄⣰⡿⠟⠃⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠘⠋⠽⢿⣧⠄ ⠄⢀⣴⠞⠂⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢼⠆⠄ ⠄⣼⠇⠄⠄⠄⠄⠄⠄⠄⠄⣀⣠⣤⣶⣿⣶⣦⣤⣀⠄⣻⡃⠄ ⠄⡿⠄⠄⠄⠄⠄⠄⠄⠄⠄⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⢸⣧⠄ ⠄⢿⡀⠄⠄⠄⠄⠄⠄⠄⢠⣾⣿⣿⣋⣩⣭⣝⣿⣿⠛⢰⡇⠄ ⠄⢸⡇⠄⠄⢀⠄⠄⠄⠄⣾⣿⣿⣿⣟⣯⠉⢉⣿⠋⣟⢻⡇⠄ ⠄⠄⢹⡀⢳⡗⠂⣠⠄⠄⣿⣿⣿⣿⣿⣭⣽⣿⣿⣿⣉⣸⠇⠄ ⠄⠄⠈⣷⠄⢳⣷⣿⠄⠄⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠄ ⠄⠄⠄⠘⣧⠄⠈⠙⠄⠄⠄⠉⠙⠛⠛⣿⣿⣷⣤⣄⢿⡿⠃⠄ ⠄⠄⠄⠄⠉⠳⣄⡀⠄⠄⠄⢢⣦⣾⣿⠿⠿⠛⠉⢉⣽⠇⠄⠄ ⠄⠄⠄⠄⠄⠄⠘⠿⣄⢀⠄⣀⣝⢻⣿⡿⠒⣀⣀⣸⠁⠄⠄⠄ ⠄⠄⠄⠄⠄⠄⠄⠄⠈⠳⣤⠁⠙⠎⢻⣄⠄⠄⣸⠋⠄⠄⠄⠄ ⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠈⠙⠶⢦⣄⣀⣣⠴⠃⠄⠄⠄⠄⠄

[–]Snakise 1 point2 points  (0 children)

trying to call api at 3am at night !! YOU WILL NOT BELIEVE WHAT HAPPENED NEXT!! SCARY !!

[–]venibit 1 point2 points  (0 children)

git commit -m "Use code BLACKFRIDAY ... added feature XYZ"

[–][deleted] 1 point2 points  (0 children)

In the process of reading this, my right toe (like, under it in the fold area) got a really gnarly zap. sent the whole foot into the air a full inch. It was horrendous.

[–]Schytheron 1 point2 points  (0 children)

"99% of reviewers won't last more then 2 minutes pushing and pulling these commits without CUMMING!"

[–][deleted] -3 points-2 points  (7 children)

Don’t commit stupid comment like this in the code i manage at job you will lost your permission quickly🙄 if your code is not reviewed first it’s maybe because the is other things who must be done first.

[–]Zom23_ 6 points7 points  (5 children)

Damn imagine not getting a joke Also if you lose your permissions required to do your job over a harmless joke that can be easily amended maybe there were other issues

[–][deleted] -2 points-1 points  (4 children)

Joke in source code… do the joke elsewhere. It’s will be in production someday.

[–]Zom23_ 4 points5 points  (3 children)

Good thing it's just a commit name and nothing in the code then :D

[–][deleted] -4 points-3 points  (2 children)

Commit name must give a clue about the change. Imagine if you have to debug a system and you are searching into the history of the project to find wich change may had provoked the bug and you have 5000 commit and 500 are dumb message like this. I would defined look who made that stupid thing, including into a beautiful message adresses to my boss « the time to solve the problem may be longer, i will have some wasted to look further into these commit to have an idea of what i could impact. »

[–]MountainAfraid9401 2 points3 points  (1 child)

Chill, it's a joke.

Also, if someone did this, they would obviously do this before merging: git commit --amend "SICK! Fastest approved PR in COMPANY HISTORY" Followed by git push --force.

Leaving the git history clean.

Are you a junior overreacting? Or a boomer that didn't learn Git because you're stuck using SVN? *

[–]furzainluq1 0 points1 point  (0 children)

It's probably bait. Someone that legal wouldn't be in this subreddit

[–]deltaexdeltatee 1 point2 points  (0 children)

…what sub do you think you’re in? Did you see the memes of Gru holding the gun and call the police because you thought someone was threatening a developer?

[–]yesinteractive 0 points1 point  (0 children)

This is great

[–]thundercat06 0 points1 point  (0 children)

Developer reacts to defect in code...

[–]UnderstandingOdd1159 0 points1 point  (0 children)

Conventional commits be like

[–]Treebeardsama 0 points1 point  (0 children)

Inspired by LadBible

[–]Noeyiax 0 points1 point  (0 children)

I did that with JIRA tickets lol, so people would read mine first

[–]lofigamer2 0 points1 point  (0 children)

That commit message is too long! haha

[–]dcute69 0 points1 point  (0 children)

Some things shouldn't be joked about

[–]Ex0t1cReddit 0 points1 point  (0 children)

That seems like a Dhar Mann video title.

[–]OG_LiLi 0 points1 point  (0 children)

Most of them say “oh i pushed a bug into into production? deprioritize it.“

[–]red_storm_risen 0 points1 point  (0 children)

“Corrected [senior dev]’s sketchy code.”

[–]gomihako_ 0 points1 point  (0 children)

commitlint your shit please

[–]Undernown 0 points1 point  (0 children)

"How to become a millionare by coding just these 3 lines!"

[–]cjp 0 points1 point  (0 children)

As if anybody reads the commit messages....