- 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
Thanks guys! I learned something new, just in time for these forums to become deprecated. ;-)
Admin
Problems:
Take your pick.
Admin
Latest clbuttic comment from Attwood, btw (for those who are viscerally averse to Discourse):
The phrase "Architecture Astronauts" springs readily to mind here.Well, we've had a poor few months of WTFs recently, although that one a couple of days ago was definitely up to scratch.
In a way, it's reassuring that Alex is encouraging his buddy with the inflated helium balloon head to come up with a new classic every other day ...
Admin
Admin
The situation where the rewrite fixes difficencies like looking in magic directories for magic files, rather than recreating old issues in new languages.
Admin
Badly written, overly wrong, boring, no real point.
Admin
And the president's daughter name's McAfee.
Admin
Deploying completely new script BEFORE the upcoming long weekend?
This is The Real Fail!
Do it, if you want to fix everything on the holiday.
Admin
Hello? business logic in a batch file?!! How much business logic can you encapsulate in batch commands?
I don't think ECHO, CHOICE, CD, FOR, and IF EXISTS would let you accomplish much....
Admin
For example, routing decisions based on the filenames reflecting their business content would be "business logic"; ensuring that certain files get routed to particular recipients is "business logic", and so on.
Admin
Maybe you all would like to discuss tomorrow's Error'd here? I wasn't that opposed to the new comment system until I realised I have to make an account to log in. Never gonna do that, sorry. Anyway, my comment...
Ara beware, next scene LG will break through your door with a fire axe...
Doesn't really work after all that serious stuff, dammit
Admin
Not sure what just happened.
Not sure if author is sure what just happened.
Admin
Paraphrased for the impatient.
IT Professional, John, always looks for opportunities to automate tasks that repeat and just consume time. If you can get software to do it right one time, and do it right again and again, it makes less mistakes, works faster, and doesn't need benefits. Some processes, however, were ingrained in the corporate culture, and automated these would tread on "if it ain't broke, don't fix it". Better to leave them alone. Or so he thought.
Developer Roman didn't have anything better to do, and was working on a replacement solution to migrate files. He brought in John to help him understand the intent of the code in the .BAT files he intended to interact with. The .BAT file in question was moderately complex. The basic functionality was to look in a directory for a specific file, and when the file appeared, send it to a remote destination using PSFTP. Naturally there were also many lines of business logic embedded in the .BAT file along with this simple flow.
Some morning after, the process failed. A source file the .BAT depended on was missing. Suspecting that Roman had deployed a change to the production environment, John petitioned Roman for any changes. Roman swore that he was only testing a replacement production program on his own PC. Roman questioned the deployment of the dependency, and John double-checked the build for any problems with components. John suspected that Roman's shiny new program was affecting the production environment, but Roman insisted that his application used a config file to determine which folders to watch.
This stalemate ensued until John suggested a powershell equivalent replace the whole process instead of a program, and Roman agreed... Or so it seemed... One weekend full of problems, and John was ready with his script. Roman insisted on protecting his love-child, and pushed back.
Circumventing Roman, John petitioned the managers. Misunderstanding the problem, the managers backed Roman, who wanted to keep working out the case of the missing file, given that he offered to watch the situation over the weekend. Somehow manual intervention in a broken program to replace a working process was deemed the safest option. But what does a lowly IT guy know.
Admin
Maybe he's understanding is too marrowly defined, but I get the boner every time I read it.
Admin
Admin
Also Roman is quite .bat man to be able to put up with watching if code failed or not.
Captcha: I need haero such as .BAT man.
Admin
I'm assuming that it was failing because dev b's testing of his new changes was upsetting production, so until dev b stopped testing it was going to keep failing. At this point he stopped testing the new feature to go look for why testing was upsetting production. The new version by dev a in powershell had the new functionality so that dev b could just stop.
Neither of them should be let anywhere near a computer.
Admin
Admin
My take: John's manager was Codethulu, who had set John to replace a crap system, but John hadn't yet realized the new system would just be different crap. It can sometimes take years for people to realize this.
Another manager took a more sensible tack for an intern, limiting the scope of work to a system that didn't matter much, so the kid could produce some real results and learn. There was no time or reason to advance John's larger mission.
When John and the intern's goals came into conflict, the managers decided to let the kid continue, because the kid could still learn, and the kid's efforts to keep the system running (even if it shouldn't have made it to production) seemed like a trait worth cultivating.
The article reminds me a little bit of Ticket 232632
Admin
So, Discourse actually has a straight-forward way to do strike-through, without having to make BBcode summon elemental text-styles from a parallel dimension.
All just more proof how Akismet Discourse really sucks.
FTFM
Admin
Admin