▲ 163 ▼ AI is hitting employment among young software developers hard (finance.yahoo.com) submitted 4 months ago by sanitation@lemmy.today to c/technology@lemmy.world 36 comments fedilink hide all child comments
[–] rf_@lemmy.world 4 points 4 months ago (2 children) What’s the biggest blunder you remember? permalink fedilink source parent hideshow 2 child comments replies: [–] clif@lemmy.world 17 points 4 months ago* I'm going to claim this one wasn't entirely my fault and should have been coded better... But I ran it. I ran a script that expected to run from a bin directory, cd/chdir to a input file directory, then do a sed on every file to replace windows line endings to UNIX/Linux line endings. After that it would start loading and processing them. The problem was, if the directory it tried to change to didn't exist, it silently continued and ran it on the current directory... You know, the bin directory... With all the compiled C binaries. So at about 16:30 on a Friday, 30 min before we started our huge weekend builds, I nuked about 70% of the binaries by randomly replacing all bytes that looked like crlf with lf. Turns out binaries didn't like that. Good times. permalink fedilink source parent [–] ThirdConsul@lemmy.zip 6 points 4 months ago An European country had no access to card payments for a weekend here :) permalink fedilink source parent
[–] clif@lemmy.world 17 points 4 months ago* I'm going to claim this one wasn't entirely my fault and should have been coded better... But I ran it. I ran a script that expected to run from a bin directory, cd/chdir to a input file directory, then do a sed on every file to replace windows line endings to UNIX/Linux line endings. After that it would start loading and processing them. The problem was, if the directory it tried to change to didn't exist, it silently continued and ran it on the current directory... You know, the bin directory... With all the compiled C binaries. So at about 16:30 on a Friday, 30 min before we started our huge weekend builds, I nuked about 70% of the binaries by randomly replacing all bytes that looked like crlf with lf. Turns out binaries didn't like that. Good times. permalink fedilink source parent
[–] ThirdConsul@lemmy.zip 6 points 4 months ago An European country had no access to card payments for a weekend here :) permalink fedilink source parent