- 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
There has to be a better solution: Frist, create script in test environment. Then, print it to paper. Scan it to PDF, extract the PDF pages as image, run OCR on those images, diff the result with the script. If there are no differences, repeat the process again, but this time put the OCR result in production.
Admin
What the frist? The date? What's the date?
Admin
Admin
Admin
On the bright side, since the diffs don't need any thought to resolve the sysadmin should be able to write a script to do the whole process. And if the OCR has enough options that it can be made to run for 5 minutes (in the name of getting a high-quality output, of course) then that's a good excuse to get a coffee.
PS A proper WTF without nonsense padding! Good to see that snoofle is still doing some of the write-ups.
Admin
Don't get why an image cannot be changed in a wiki and text can...
Admin
Admin
So, hold on.
They are creating code and storing it in source control. They are then storing the code in a wiki in image format?
To make code changes, they are then running an OCR on the image of the code and then loading that into the solution?
That can't be correct, please somebody tell me I have got that wrong...
Admin
I don't even get why you are using a wiki in the first place when you don't want the content to be changed.
Admin
Admin
Almost right. It's not the code that is written in the wiki. It's the changes and commands to build the application.
Admin
Man, what a POS of deployment process. Anyway, in the article it's explained that the OCR runs many times doing a diff against the code that can be changed during this process and since the OCR doesn't have any sort of AI, it would continue without knowing that the code has changed.
Anyway, last time I used an OCR software was in 1996 and it was crap but got most of the job done. Not that I would put my career on its hands, but it worked.
Now, what was the manager thinking? I mean, OCR? Really? Didn't some think: there's got to be a better way. Maybe a plugin for the Wiki which wouldn't allow modification? Ugh!
Admin
Don't be too proud of this technological terror you've constructed. The ability to destroy a server is insignificant next to the power of the Force
Admin
There's your first WTF. If I have to write nothing more than "$./deploy" something is broken in my deployment process.
Admin
This is the problem: someone in a management position who is too proud to admit that they made the wrong call. Someone like that, high enough, can wreak havoc on any company.
Admin
Admin
You mean like locking the page?
Admin
TRWTF is that the Sys Admin didn't just use the scripts from source control and lie to the boss about running the OCR software. Either he is some kind of brown-noser or he believes in being passive aggressive by way of malicious compliance. In both cases, he should be fired.
Admin
Wow. Be careful with who you call "Hanzo". >:(
Admin
Anyway, this is TDWTF, not some help forum, what am I doing here... ;-)
Admin
Because the wiki software was a significant expense and is part of the procedure! Duh.
Admin
Why not use the "script" command to log all the actual commands that went into the box and then use curl to PUT the log to the wiki?
Admin
Pfft, what he should have done is suggest using the OCR in another process, thus DOUBLING its usefulness.
You'll never get anywhere in business with your attitude.
Admin
Don't try to frighten us with your sorcerer's ways, Lord Vader. Your sad devotion to that ancient Jedi religion has not helped you fix up the crappy deployment process, or given you enough clairvoyance to find the flaw in it.
Admin
TRWFT is OCR software that can't handle fresh computer-printed text output-- probably even a monospaced font.
Admin
Admin
"What do you mean it was all a joke?? I DIDN'T lose me wife, kids, job, house and car?
Well I've bought all the cyanide now, so it'd be a shame not to use it."
Admin
I find your lack of faith disturbing
Admin
And a simple copy/paste of the command line to the wiki and a simple copy/paste from the wiki to the command line of the next environment is not good enough?
I realize that unauthorized changes are scary, but wiki's have a "blame" feature, too and/or can be rolled back/changed to the correct version.
I agree with publicly mocking this Rube Goldberg solution.
Admin
You forgot to take a picture of it on a wooden table.
Admin
Unfortunately, Managers are always proud of the mess they create.
Admin
Because $bossman knows how to use word he knows that text can be edited. $bossman knows that images can't be changed (or, alternately, knows how to use MS Paint, and knows that changes would be obvious).
I see that at my job... all job quotations are sent to the customer in .pdf format "because then they can't change anything". Apparently the format stands for Permanent Document Format.
Admin
This has got to be the dumbest thing I've read on this site in a long time. Holy crap.
Admin
Should have used the OCR on the source code for the diff.
Admin
Admin
TRWTF is knowing you are using OCR in your "release process", but still calling a consultant to figure out why said process does not work.
Admin
Admin
Admin
Even further, what kind of incompetent moron is the SA, that never noticed wrong keywords in those scripts? I bet that more than once at least some SQL script got a DRUP command or something. Where does he shove the output logs?
Admin
But there's an easy fix for that: blow the image up 5X before posting to the wiki. Always easier to read superlargefont text!
Admin
All of this reminds me of an (over 15 years ago) episode of "This Old House" (American public TV). They went to a design studio and entered the design into some cad program, and plotted it out (nice sized sheets). Then because the data was needed as input to another program, they used an absolute positioning mouse (graticule, etc.) to re-enter the data into the second program. A wonderful manual step (probably prone to error) just because someone didn't know the export/import commands to the programs. Of course they might not have existed, but really?
No, it wasn't a wooden table, it was a drafting board.
Admin
Admin
Having worked in CM for about ten years now, the words that went through my head as I read this story was "Oh, lord...."
I have encountered my share people who just don't trust the system well enough to let it actually enforce what it's designed to enforce, but this is a whole new level of that.
Admin
Admin
A similar situation happened to me in reverse. I was doing development for an embedded device, and the docs people needed to illustrate the dot-matrix display. So they meticulously tried to recreate it using Word or Photoshop or whatever it is tech writers like to use, but of course it looked nothing like the actual display because they didn't have the custom fonts, icons, etc. When I first saw a draft of the manual my jaw dropped; it had a dozen or so of these. "You know, I can just dump the display RAM and hand you a pixel-perfect BMP, or GIF, or whatever format you want. Takes me all of 30 seconds instead of hours for you to do it by hand." Fortunately they were smart enough not to let the "procedure" get in the way.
Admin
Reminds me of a Frontalot song:
"Get your most closely kept personal thought: put it in the Word .doc with a password lock. Stock it deep in the .rar with extraction precluded by the ludicrous length and the strength of a reputedly dictionary-attack-proof string of characters (this, imperative to thwart all the disparagers of privacy: the NSA and Homeland S). You better PGP the .rar because so far they ain’t impressed. You better take the .pgp and print the hex of it out, scan that into a TIFF..."
Admin
Also this WTF is awesome. Bravo.
Admin
Norm and all the old guys? Yeah, I could see it. They wouldn't be such amateurs on Hometime, though.
Admin
OCR lands somewhere between PHP and Java on the WTF scale.
Admin