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

Programmer Humor

25040 readers
1314 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 2 years ago
MODERATORS
 
(page 2) 32 comments
sorted by: hot top controversial new old
[–] drsensor@programming.dev 4 points 1 year 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 1 year ago* (last edited 1 year 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 1 year ago

Einstein did say...

[–] Jimmycrackcrack@lemmy.ml 2 points 1 year ago (5 children)
[–] peopleproblems@lemmy.world 4 points 1 year ago

I mean

maybe

[–] Droggelbecher@lemmy.world 1 points 1 year ago

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

load more comments (3 replies)

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.

[–] mineralfellow@lemmy.world 1 points 1 year ago

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

[–] Fridgeratr@lemmy.world 1 points 1 year ago

I only do it because it works!

[–] freakrho@programming.dev 1 points 1 year ago

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

load more comments
view more: ‹ prev next ›