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

Programmer Humor

19529 readers
279 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) 31 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 9 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 9 months ago* (last edited 9 months ago)

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

[–] [email protected] 3 points 9 months ago

Einstein did say...

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

I mean

maybe

[–] [email protected] 1 points 9 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 9 months ago

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

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

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

[–] [email protected] 1 points 9 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 9 months ago

I only do it because it works!

load more comments
view more: ‹ prev next ›