- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
After all, what's the worst John's brand new script could do?
Admin
Hard to read, uninteresting, WTF lacking story.
Unsubscribe.
Admin
Source for frist not found!
Admin
Admin
Hello you're through to 3rd line support. How can I help?
Oh, the critical data import isn't working? Well that is to be expected, because $staffmember is currently on holiday.
Please check back in a week.
WONTFIX. click
Admin
There is less risk in not changing anything. Management doesn't know that John's new script won't break things in a catastrophic way. Also some shops value a dev's work over IT.
As long as John handed the ropes over to Roman to maintain for the upcoming weeks/months of trying to figure out why a trivial local change broke production, who cares? Roman may give up eventually and John's new script will get promoted. Or Roman decides he doesn't want to change anything and reverts his local changes and stops breaking production.
Admin
So the policy is to not try and fix something that isn't broken, so why doesn't the story just end with:
"And they put the old, working, .BAT file back into production and everyone lived happily ever after"
Admin
Admin
TRWTF is:
a) not immediately finding the problem that caused the job to fail.
b) not immediately rolling back to the pre-Romanised version of the bat file, followed by Roman being required to share his proposed new (broken) version with John, who would then go over it with Roman to work out what it was that went wrong.
c) allowing Roman to continue with his broken script after the second time it happened.
After b) has happened, it would then be confirmed that it was something that Roman had done that broke it. (Note that it still has not been established that Roman's changes did in fact break it -- it could have been coincidental). It would also be an opportunity to call Roman out on his untruth that he never did nuffink.
Admin
Erm... 44 lines, 831 words and 4848 characters just to say: "In company X management prefers to find the root cause of a problem first, even if that means waiting longer, before applying a fix"?
And it's not as if that would be a wtf.
Actually, saying "I don't know what causes the problem, but here is a replacement script that does not exhibit the same problems, so it must be a fix", that's wtf.
Admin
Well, it certainly can be. But on the other hand, when production is already failing, it's a lot easier to justify that kind of thing... telling the boss "I don't know what caused the bug, but the relevant code no longer exists".
Admin
TL;DR - Management being management
Admin
Admin
CAPTCHA: ratis - this sort of cheap humor barely ratis as worth the trouble, but I did it anyway.
Admin
Admin
No picture. I didn't even start reading because there's no picture!
Admin
Given your name I presume it'd have to be a small animated gif of a rotating bone?
Admin
TBW, DR.
/ Too Badly Written, Didn't Read
Admin
NEVER believe such a statement. For working-relationship purposes, it's usually a bad idea to directly challenge it, but you turn it around. "I didn't change anything." "OK, so what did you do?" This isn't guaranteed to get a useful answer, but starting from "What did you do?" instead of "What did you change?" is possibly more useful. "Show me what you did." might be even better.
Admin
I'm sure a bash script would work much better.
Admin
After unsubscribing, remember to stop commenting.
captcha: enim, an enumeration with roman numbers.
Admin
Maybe they're commenting on a replacement version of the production program that creates the article on his own PC
Admin
And flashing text in a really odd colour over a really bad pixelly background.
Does anyone else wish Yahoo had kept Geocities around just for laughs?
Admin
TRWTF is that it was a move and not a copy
CAPTCHA: distineo. The production file's distineo was Roman's local machine.
Admin
"But I didn't do anything."
"What, nothing at all? Absolutely nothing at all?"
"That's right, I didn't do anything!"
"So remind me again: why do we pay you?"
Admin
Admin
Did someone say they wanted Geocites back?
Admin
HD: Do you see any kind of error message?
LU: Nothing.
HD: What's on your screen now?
LU: Nothing.
HD: Your screen is completely dark?
LU: Well not exactly.
HD: What color is it then?
LU: Mostly gray, except for some funny words at the top.
HD: I see. And what do those words say?
LU: (proceeds to relay the error message that didn't exist two seconds before...)
Admin
I did not get the punchline for this story.
Admin
Obligatary XKCD reference...
http://www.torwuf.com/xkcd-geocities/
Admin
So, BAT file watches a magic directory for a file to appear, then ftps the file to another machine. Developer does something on his dev machine and the production system breaks. SysAdmin writes a replacement BAT file using Powershell. Management decides to keep BAT file in place until the root cause is found.
Scenario 1: Developer changed the production code or the production config file. Proposed solution: Rewrite the BAT file in Powershell. This might work, but will require test time and is likely to introduce new problems. Actual (but not suggested) solution: Revert the changes. Duh.
Scenario 2: Developer didn't change the production code or the production config file. That means his dev work is somehow preventing the file from being put into the magic directory, or manages to delete the file from the magic directory before the production code processes it. Proposed solution: Rewrite the BAT file in Powershell. This will not work, because the BAT file is not the problem. The file still won't be in the magic directory when the new Powershell script runs. Actual (but not suggested) solution: Fix Developer's dev environment so it doesn't touch production.
So, can anyone come up with any scenario here in which rewriting the production code from scratch is actually the right thing to do? 'Cause I sure as heck can't think of any.
Admin
This is one of the few stories I have read on the Daily WTF where the villain is not clear after the first couple of paragraphs.
It is certainly the first one where I STILL don't know who the bad guy is after finishing the article. So, what was the WTF, and was there a solution?
Admin
Looks to me like the well of understanding is bone dry; since it seems very unlikely that Roman will bone up on reality.
I feel in my bones that this is now a permanently manual process. This tickles my funny bone, since it will be Roman (the cause of the problem) wearing his fingers to the bone.
Admin
Admin
To be fair, PowerShell is quite a bit more powerful than CMD (even CMD is more powerful than most people realize). You can generally make a shorter and clearer script to do something in PS than you can in a BAT file.
Given that, it may not be that bad an idea to replace the BAT.
Admin
Admin
So the WTF is not using source control to track changes to the batch files?
Or is the WTF that the story is unreadable?
Admin
Admin
Does anyone else feel that this story was accidentally truncated, despite it being ten times as long as it should have been?
Admin
Admin
Admin
Admin
Admin
FTFY
Admin
EDIT: double post o_O
Admin
WTF is the need to mention 'all over again' all over again right after saying 'déjà vu'?
Use our cloud services and Watson to avoid embarrassing mistekes like these. Watson doesn't have much work these days anyway lol.
Admin
TRWTF is the implication that it is EVER summer in Winnipeg. Winnipeg has 3 seasons: Winter, Mosquito, and Roadwork.
Admin
That is the way I read it as well.
So, TRWTF is that Roman's development environment had modify access to critical production files.
Also that they didn't just disable Roman's copy of the BAT (I'm assuming he had it scheduled) until Roman could grok it enough to fix it.
It seems that John intentionally encouraged Roman to leave his broken instance running so there would continue to be a production issue to justify John working on a new script.
Admin
Admin
Maybe the president's daughter got boned with a vibrating .bat