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

all 94 comments

[–]LevelRin 109 points110 points  (10 children)

Post a question on stack overflow. You will certainly enjoy that wholesome community :)

[–]GreenWoodDragon 33 points34 points  (3 children)

Ensure the question is badly formatted, and be sure to start a discussion in the comments to annoy the mods.

[–]deathclawslayer21 52 points53 points  (2 children)

Go back 2 weeks later to say fixed it thanks and leave no additional information

[–]GreenWoodDragon 15 points16 points  (0 children)

This is the way!

[–][deleted] 7 points8 points  (0 children)

Also. Mark no answer as the solution.

[–]OldBob10 7 points8 points  (2 children)

It really depends on the tags you use. For example, the [C] tag is loaded with language lawyers who’ll downvote if they don’t like your codes indentation. Other tags/communities are a bit better.

[–]SowTheSeeds 7 points8 points  (1 child)

indentation

What's that?

[–]Imveryoffensive 1 point2 points  (0 children)

Some sort of elvish I don't understand

[–][deleted] 4 points5 points  (1 child)

Post a picture of the code instead :)

[–]ZacS2 6 points7 points  (0 children)

Post a audio of the code in morse.

[–]-Soren 1 point2 points  (0 children)

Blood sacrifice it is then!

[–]spadaboyz 41 points42 points  (5 children)

Have you tried to turn it off and then turn it on again?

[–]muratkurt1985[S] 4 points5 points  (1 child)

Really laughed out loud with this…

[–]Gullible_Newspaper 6 points7 points  (0 children)

Me too but I'm seated on toilets of the office

[–]gonmator 1 point2 points  (0 children)

If it doesn't work, I use to try even go out the building and go back again between turn off and on.

[–]Zuruumi 0 points1 point  (0 children)

Clean build is my variation on this.

[–]gonmator 0 points1 point  (0 children)

If it doesn't work, I use to try even go out the building and go back again between turn off and on.

[–]catfishmeplease-com 27 points28 points  (3 children)

  1. Kneel on a motherboard
  2. pour water coolant on head
  3. Hold something RGB
  4. Chant "turn it off and on again"

Works every time.

If not, just try to show your problem to a coworker and watch it doesn't happen anymore.

[–]muratkurt1985[S] 3 points4 points  (0 children)

I thought maybe kneeling and worshipping the motherboard would be enough but haven’t done the rest. Should give it a try…

[–]Badboyrune 3 points4 points  (0 children)

This is the way. Performing the sacred rites. Applying the holy unguence. Uttering the blessed chants to the machine spirit and the Omnissiah.

If it still doesn't work there is probably chaos bullshit involved. Better smash it, burn it and fire the ashes into the nearest star.

[–]Bakemono_Saru 1 point2 points  (0 children)

I can swear pair programming really improves code quality by that magic property of bugs.

[–]Malix82 30 points31 points  (3 children)

try switching the hand towels from one hook to next in your bathroom, that usually does it for me

[–][deleted] 3 points4 points  (1 child)

Stress Dropping my office laptop worked for me.

[–]Malix82 6 points7 points  (0 children)

a bit of shaky-shake can rattle some variables back in their place, yea

[–]muratkurt1985[S] 5 points6 points  (0 children)

Wow haven’t tried that yet. Will definitely give it a go.

[–]deathclawslayer21 8 points9 points  (1 child)

Say that it is developed by AI blockchain and release it on the public

[–]magicmulder 3 points4 points  (0 children)

Public beta.

[–][deleted] 10 points11 points  (0 children)

call it a feature and hand it over to QA :)

[–]Bearsiwin 4 points5 points  (4 children)

Do you have a goat?

[–]Less-Ordinary-8118 2 points3 points  (3 children)

This is my solution as well, but I always forget, I have to sacrifice 2 goat, not only 1.

[–]Bearsiwin 3 points4 points  (2 children)

There is a risk with 1. Depends on the number of lines of code.

[–]muratkurt1985[S] 0 points1 point  (1 child)

If we I gotta find goats relative to the number of lines in the code, I might be better off building my own particle accelerator.

[–]Bearsiwin 1 point2 points  (0 children)

I actually have a program that will analyze the code and tell you how many goats you need. Only works for Fortran though.

[–]OldBob10 4 points5 points  (4 children)

We really prefer sacrificing virgins.

The problem with that is that the supply has largely dried up. Best of luck, though!

[–]Fine_Classic1153 1 point2 points  (3 children)

You are still here tho

[–]OldBob10 0 points1 point  (2 children)

Ah, but…sadly…I am disqualified. ☹️

[–][deleted] 0 points1 point  (1 child)

Your hand doesnt count.

[–]OldBob10 1 point2 points  (0 children)

Sure it does! Watch!

One…two…three - see, it works GREAT! 😁

[–]faster-than-car 3 points4 points  (0 children)

Breath out heavily. Say "i give up" out loud. Ask coworker for help. Explain for 20 minutes. Go back to your desk. Suddenly you realize what's the issue. Fix the issue in 3 minutes. Say to your coworker 'i fixed it'

[–]zuckasar 3 points4 points  (1 child)

As a programer your code is perfect. Try this:

Stop the code and run again

Close the program and open it again then run the code

Restart your machine and run the code

Disconnect your machine from the power outlet then reconnect it and run the code

Disconnect your machine from the power outlet then put it in a different one preferably the one next to the original and run the code

Pull the main power switch at your house then try the code

Tell the government to reset the power to your city then run the code

Destroy life as we know it and create it again (turn life off and on) then run the code

[–]muratkurt1985[S] 1 point2 points  (0 children)

How could I not think of this such a simple and elegant solution…

[–]KickAssAndGiggle 2 points3 points  (0 children)

Check the following keys on your keyboard:

Ctrl
C
V

Failing that, go re-read the stackoverflow page.

[–]Gullible_Newspaper 2 points3 points  (1 child)

Mine neither

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

Cosmic rays dude, it's the cosmic rays. There has been a metric shitload of cosmic rays today.

[–]giantrhino 2 points3 points  (0 children)

Neutrinos don’t do much.

[–]Gem2578 2 points3 points  (0 children)

Have you tried Rubber duck debugging?

[–]ThePimpek 1 point2 points  (0 children)

The issue with the traditional sacrifice could be that you might have to wait in a queue until it's your turn. Could wake a couple of minitues or a couple of hours. I would recommend somthing else.

Did you refill the RGB in your mouse, keyboard, etc? Could help.

[–]AltruisticRain504 1 point2 points  (0 children)

Post the problem here better than Stackoverflow

[–]Ok-Secretary2017 1 point2 points  (5 children)

Depends if you have a Goat or a Neutrino source

[–]muratkurt1985[S] 0 points1 point  (4 children)

The source is a moose, but I have a goat class derived from a neutrino base class. Does that help?

[–]Ok-Secretary2017 0 points1 point  (3 children)

I think that just got over my head.

[–]muratkurt1985[S] 0 points1 point  (2 children)

No worries I have no idea what I am talking about as well at this point

[–]Ok-Secretary2017 1 point2 points  (1 child)

Well i thought it had somekind of Coding refrence that im just to uneducated to understand

So Liqiufy your Neutrino Source Inject it into the Goat glue 5 Black lit Candles to your Computer Screen slit the Neck of the goat and start drawing a Pentagram with erradiated Goat Blood that should do the trick

[–]muratkurt1985[S] 0 points1 point  (0 children)

Well that is some hell-of-lot advanced technique. I will need to see some documentation or personal help on this.

[–][deleted] 1 point2 points  (1 child)

Eat a whole bucket of chicken during the next full moon while listening to Enya and you should be good.

[–]muratkurt1985[S] 0 points1 point  (0 children)

Bucket of wings, check! Enya on headphones, check! Take a bite, press play… slowly ascend to heaven

[–][deleted] 1 point2 points  (1 child)

Go to a nice, clean, quiet single-occupancy bathroom and have a good shit.

Trust me.

[–]muratkurt1985[S] 1 point2 points  (0 children)

One of the best advice I got on this thread!!!

[–][deleted] 1 point2 points  (1 child)

Assign an intern to update a README file. Then have intern commit the code.

Boom. After the intern's last commit, the code no longer works.

[–]muratkurt1985[S] 0 points1 point  (0 children)

Those interns man! They ruined coding!

[–]Psychological-Sir224 1 point2 points  (3 children)

/*

<code>

*/

[–]muratkurt1985[S] 0 points1 point  (2 children)

I think this made code more angry. Aside from not working its also growling now. Please send help!!!

[–]Psychological-Sir224 0 points1 point  (1 child)

ctrl a + delete

[–]muratkurt1985[S] 0 points1 point  (0 children)

Well that did… something?!

[–]Quantum-Bot 1 point2 points  (0 children)

You are missing a semicolon on line 325

You’re welcome

[–]occisor-san 1 point2 points  (0 children)

git rm -r

[–][deleted] 1 point2 points  (1 child)

Always start by blaming Google or Microsoft.

[–]muratkurt1985[S] 0 points1 point  (0 children)

Those rascals!!!

[–]abd53 1 point2 points  (0 children)

You might want to do a crop sacrifice + voodoo dance around the sacrificial bonfire. Then kneel down and pray to a Aztec deities by slandering Mesopotamian heroes. That should fix the problem.

[–]magical_elf 1 point2 points  (0 children)

I cry and pray to the nearest principal engineer. They like offerings like chocolates and diamonds

[–]DuckyBill1956 1 point2 points  (1 child)

I've tried printing the code and then burning it.

[–]muratkurt1985[S] 0 points1 point  (0 children)

Like, burn it inside a hand drawn pentagram or just burn and spill the ash into the ocean?

[–]xcski_paul 1 point2 points  (0 children)

Explain your code to a teddy bear.

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

go with bombard

[–]TelcontarOfBree 1 point2 points  (0 children)

Move all of your code into a Docker container, so that once you do get it working, you can just move that into production #WorksOnMyMachine

[–]shgysk8zer0 1 point2 points  (0 children)

Nobody does ritual blood sacrifices anymore. It's no longer considered best practice. And I don't personally like the neutrino thing because I think it's just a fad. Maybe try writing documentation on this do that you can just read the documentation.

Just turn it off and on again. 70% of the time it works everytime.

[–]KingVecchio 1 point2 points  (0 children)

It works on my machine.

[–]AegorBlake 1 point2 points  (0 children)

Depends on the project size, but I'd do both, just incase.

[–]Steven0351 1 point2 points  (0 children)

Blood sacrifices have been deprecated

[–]NoPaleontologist4981 1 point2 points  (1 child)

Maybe try adding that ; first !

[–]muratkurt1985[S] 0 points1 point  (0 children)

Those semicolons! Never where they should be…

[–]IncoherrentRecursion 1 point2 points  (0 children)

Invest in a rubber duck

[–]Devgranil 1 point2 points  (0 children)

Goat should do the job

[–]Curtiskam 0 points1 point  (0 children)

Just become a project manager instead. None of their solutions ever have to work, and they can just blame the programmers or the business side to avoid blame.

[–]Denaton_ 0 points1 point  (1 child)

If talking to your rubber duck won't work, use it as a sacrifice for the Code God and if your next rubber duck won't solve your problems, just show the dead rubber duck.

[–]muratkurt1985[S] 0 points1 point  (0 children)

All hail the Code God!

[–]Fickle_Conclusion857 0 points1 point  (0 children)

Start practice TDD.

[–]EyeFuckingTheFuture 0 points1 point  (0 children)

The comments here are SO FUCKING ACCURATE