this post was submitted on 24 Jan 2024
1023 points (98.2% liked)

Programmer Humor

19659 readers
723 users here now

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

founded 1 year ago
MODERATORS
1023
Bug Fixing (programming.dev)
submitted 10 months ago by JPDev to c/programmer_humor
 
(page 2) 32 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 10 months ago

"Works in my environment."

[–] drsensor 4 points 10 months ago (1 children)

My way: wrap it in a shell script and put a condition if exit status is not 0 then say "try clear the cache and run it again"

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

AKA - the test suites at half the companies I've worked. Except they use a loop with retries as well

[–] tengkuizdihar 3 points 10 months ago

Einstein did say...

[–] [email protected] 2 points 10 months ago (5 children)
[–] [email protected] 4 points 10 months ago

I mean

maybe

[–] [email protected] 1 points 10 months ago

Not with code, but i write a lot of LaTeX and that often starts working on second compilation

load more comments (3 replies)
[–] [email protected] 1 points 10 months ago

If that doesn’t work, restart it and then try.

[–] [email protected] 1 points 10 months ago

Well if it doesn't work once try again if it doesn't work twice or thrice maybe there's a problem. If it works it is resolved ... for now, least effort solution.

[–] [email protected] 1 points 10 months ago

I only do it because it works!

[–] freakrho 1 points 10 months ago

on xcode i would say it has a 50% chance of working

load more comments
view more: ‹ prev next ›