r/ProgrammerHumor • • Apr 13 '22

Every Time

Post image
1.1k Upvotes

44 comments sorted by

•

u/QualityVote Apr 13 '22

Hi! This is our community moderation bot.


If this post fits the purpose of /r/ProgrammerHumor, UPVOTE this comment!!

If this post does not fit the subreddit, DOWNVOTE This comment!

If this post breaks the rules, DOWNVOTE this comment and REPORT the post!

30

u/_zaphod Apr 13 '22

It works... better send this shit in before i test it and it doesn't work again

82

u/[deleted] Apr 14 '22

We run it again because we want it to fail again! A repeatable error is easier fixed than an intermittent one! Anyone who has to fix concurrency bugs will tell you that straight away hehe!

15

u/Thunder9191133 Apr 14 '22

Yea I don't think anyone is gonna be able to fix whatever the hell series of bugs that created memory storage in BotW

19

u/Cheeseblock27494356 Apr 14 '22

Check out OP's account. It's a crazy weird shit bot that woke up after 13 years and just started posting like crazy today: https://old.reddit.com/user/_zaphod

Reddit is full of these bot accounts. There's been a bunch of them in the 13-11 year old range that have started posting in the last week.

10

u/toraku72 Apr 14 '22

I'm starting to think Reddit themselves are moving the bots so it'll look like they still have a lot of active users after the massive spike in number of users from r/place.

2

u/Celivalg Apr 14 '22

Nah, it's just the AIs waking up, they finally found a model that works. But the optimization function is set on upvotes...

2

u/[deleted] Apr 14 '22

can i report a reddit account?

2

u/toraku72 Apr 15 '22

Seems like not. Yet.

17

u/[deleted] Apr 14 '22

Y'all ain't never start a 2 stoke engine before?

It only really starts after it's been started once.

10

u/[deleted] Apr 14 '22

My bathroom light with a slow failing fluorescent igniter is like that. I have to turn it on where it won't light, then turn off and back on where it lights every time. I really need to change the bulb :)

16

u/TheWatchingDog Apr 13 '22

Sometimes me. "Why does it work now, i didnt change a single thing"

Things every programmer knows

2

u/ZStarMCZ5487 Apr 14 '22

oh and its does not work again ._.

13

u/frinkmahii Apr 13 '22

Sometimes the code just needs primed by running a few times before starting up to work correctly

4

u/[deleted] Apr 14 '22

Is your battery at 100%? I hear that can be a factor.

6

u/420_arch_btw Apr 14 '22

I did that with a test the other day. But more like 20 times lmao

6

u/Illustrious-Fault224 Apr 14 '22

If doing the same thing over and over again and expecting different results is insanity what is it when my code compiles successfully after recompiling it for the nth time😂😂

6

u/[deleted] Apr 14 '22

Okay

But sometimes it works after the second attempt

5

u/ToMorrowsEnd Apr 14 '22

I would start with upgrading the 15 year old laptop.

5

u/yodahouse900 Apr 14 '22

of course i run it twice!

otherwise how can i tell wether it is my fault or QT's?

10

u/bill10351 Apr 13 '22

You gotta throw a console.log(“here”) in there for good measure

7

u/seeroflights Apr 14 '22

Image Transcription: Meme


[Image of a person with short blonde hair, sitting in front of a table with an open laptop. The person has a thoughtful expression and holds their hand to their face.]

MY CODE DOESN'T WORK

LETS CHANGE NOTHING AND RUN IT AGAIN


I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!

3

u/MarketingNo2851 Apr 14 '22

Deep learning:

3

u/plan17b Apr 14 '22

This is a legitimate strategy if coding JavaScript and the browser cannot be bothered to clear the cache consistently

5

u/Transcendentalist178 Apr 14 '22

And then it works...

4

u/noxdragon26 Apr 14 '22

I shit you not, this was the case a couple times

2

u/NicNoletree Apr 14 '22

I've run out of ideas and I've tried nothing!

2

u/JackieDaytona__ Apr 14 '22

Maybe I didn't mash the button hard enough the first time? Better make sure.

2

u/GerarBallhausen Apr 14 '22

console.log(“here”)

2

u/Tasuridev Apr 14 '22

If not valid option, why work sometimes?

2

u/Downtown-Ad-2414 Apr 14 '22

; <- or you forget this lil fucker somewhere.

2

u/Snykeurs Apr 14 '22

Totally me, in fact my code is launched on a server and sometimes it crash for no reason and sometimes it run perfectly

Black magic

1

u/dudeofmoose Apr 14 '22

I feel personally attacked, it's missing the intermittent reboot attempts, which makes all the difference.

1

u/Spartana1033 Apr 14 '22

Be sure to punch it for max results.

1

u/[deleted] Apr 14 '22

shut up ahut up shut up

1

u/YeaBoio Apr 14 '22

Yea, but this time with debugger on

1

u/liseklucian Apr 14 '22

also error: missing ; at line 2400030

1

u/python_flutter Apr 14 '22

I was working on Nodejs and I was saving it and it would crash, then I would save it again without any changes and it would work... sometimes. I was stumped, but I didn't want to look a gift horse in the mouth. After doing this for a whole day, I decided to figure out what the error was, turns out it had more to do with when my terminal would freeze up and I would exit out of it without closing my server down, which I guess sometimes it would still be running in the background because I didn't close it properly. When I tried to load up my server again it would throw an error saying that port is already being used.

1

u/Sawertynn Apr 14 '22

( ' _ ` )___/ program sometimes breaks, it's a bug

(^ u ^)==3- program sometimes WORKS

1

u/lincon127 Apr 14 '22

Sounds like you're stuck in an infinite loop!

1

u/[deleted] Apr 14 '22

If there are network calls, this is normal.

0

u/[deleted] Apr 14 '22

[deleted]

2

u/smegnose Apr 14 '22

Legitimately? To look at a different cause in your debugger, or that running it more than once changes the state, which changes the input of the next run.