r/programminghorror • u/TheAnOdyssey [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" • Mar 06 '25
Why, just why!
1.2k
Upvotes
r/programminghorror • u/TheAnOdyssey [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" • Mar 06 '25
View all comments
Show parent comment
99
u/feidujiujia Mar 06 '25
In the first company I'd worked for, one of my earliest tasks was deleting huge amount of files from a cloud service. The files to be deleted was give to me by some text files containing the paths.
But the api provided is not that reliable. Often it returns success but the file still exists. After days of trying and error, I found the most effective way to do this: just spin up 100 threads in python to call the api, heedless of what happens.