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

Programmer Humor

19623 readers
96 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
 
(page 2) 29 comments
sorted by: hot top controversial new old
[–] drsensor@programming.dev 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"

[–] abraxas@sh.itjust.works 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@programming.dev 3 points 10 months ago

Einstein did say...

[–] Jimmycrackcrack@lemmy.ml 2 points 10 months ago (5 children)
[–] Droggelbecher@lemmy.world 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 (4 replies)
[–] mineralfellow@lemmy.world 1 points 10 months ago

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

[–] Fridgeratr@lemmy.world 1 points 10 months ago

I only do it because it works!

[–] freakrho@programming.dev 1 points 10 months ago

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

[–] supercriticalcheese@lemmy.world 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.

load more comments
view more: ‹ prev next ›