- 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
public interface GenericFrist { postComment(null); }
Admin
So TRWTF is that Sergio can't work out how the application wokrs from the source and now tries to contact people who might have worked on it a decade ago? Smart move.
Admin
Unexpected end of file.
Admin
TRWTF is that he went to madrid without even calling/mailing first, no wonder he got tossed on his ass
Admin
Pay no attention to that consulting firm behind the curtain!
Admin
Was he carrying a clue-bat?
Admin
Even if he found them, why would have they paid him attention? After all he's their replacement.
Admin
Just fix the code. Do a bit of profiling of what is slowing it down and fix it. Rinse-repeat a couple times and call it a day.
He'd be done sooner than the trip going to Madrid. It isn't like they told him the app is broken. It is just slow, getting slower.
Admin
Maybe he should have a look at the log file. Is might have become quite big after ten years. And appending stuff would then require an increasing amount of time.
Admin
TRWTF is Sergio and this story. What else did he expect from going to Madrid? And what's wrong with a desk, chair and PC in an office. Why is it barren? Did he expect to inherit other people's stuff?
Check the PC for doco that isnt embedded in code, and rewrite sections as needed. Geez, one would think he's never worked on a legacy system before.
Admin
Admin
Would be interesting to see if the log file contains any entries of the type "Error getting method getCodigo for class"
Admin
Your other comments are probably comments to the writer, not the submitter. This site tries to be funny beyond the actual story itself and sometimes that seems to backfire.
Admin
FTFY
Admin
Seriously, that's a word now?
Admin
We're still left hanging on TRWTF, cases include: 1/ Sergio can't use Blame 2/ Casa de Quixote didn't use version control That said, if the culprit is right there in the first commit (whenever it happens) then you just have to suck it up and roll with it.
"In the beginning, the Code was without form, and void."
Admin
Admin
Hey Erik, La Mancha is really in central Spain! What's wrong with your fake geography today?
Admin
When you got an application that performs slowly what do you do: A) Wade around the codebase looking for anything that might look a bit fishy. B) Use a profiling tool to identify where the bottleneck really is?
Admin
No comments about TRWTF being the mix of English, Spanish, and combined-English-and-Spanish method names? Although I suppose TRWTF is how normal^H^H^H^H^H^Hfamiliar that codebase sounds to me.
Admin
Having worked with foreign-language code-bases in the past, this is pretty standard. Since the keywords tend to remain in English, people will mix-and-match languages all the time.
Admin
Admin
Admin
Should be "Ero" ?
Admin
Admin
Admin
Admin
Admin
"dÈmodÈ"? "démodé"!
Bad code is still worse, but spelling errors in comments are annoying too.
Admin
Gasp! No javadocs?
You know as well as I do what happens when you decree that every method must be javadoced:
/**
public int getFoo();
/**
public void setFoo(int foo);
But yes - calling everything via reflection absolutely sounds like some dumbass corporate coding standard. Possibly they were having classloader issues caused by a broken build/deploy process. Or maybe someone simply decided that it was more flexible and dynamic.
Admin
I worked for a rather large tax preparation firm and we had hired an offshore consulting firm to integrate financial advice into the tax experience. The consulting firm, as one might expect, handed us back something ridiculously slow. As it turns out, they wrote all their methods to take a single string parameter and return a single string parameter: XML. Each method unpacked incoming data from it and then packaged up return data. At least they got to bypass all that slow parameter checking the language would normally enforce!
Captcha: iusto. iusto threw up in my mouth a little having the relive this.
Admin
It's four letters, including two vowels. Of course it's a word. What language it belongs to is anyone's guess - though I wouldn't be surprised to see it as the CAPTCHA.
Admin
Admin
If the reflection was the cause of the slowdown, the application would have been slow from the start. It would have been worse still on 2004 (or 1994) hardware.
Obviously, something else is the cause.
Admin
The new equipment would requite frequent restarts? I wouldn't buy that shit either.
Admin
C) Fly to Madrid on the company's dime in a vain attempt to track down the original developers and have them explain it to you because apparently you are too fucking stupid to work it out yourself.
Apparently Casa de Quixote's ability to evaluate developers technical skills hasn't improved any.
Admin
Google translate, for what that's worth, won't detect a language but translates it to 'Doc', apparently as in the slang term for doctor, if you select Bosnian as the source language.
Admin
That was a little premature of me. A little further down the list of languages, and translating it from Latin to English yeilds 'teaches' - so yes, we may well see it as the captcha!
Admin
I was waiting for Dulcinea to make an appearence
Admin
C) Track down the original developers and demand they create documentation for you! Or else!!
Admin
I think the ending is missing:
A few minutes later Sergio awoke from his slummber. Glancing at the clock indicated that 10 minutes had passed. He looked to the screen. The app was still loading.
Admin
I believe the reflection stupidity part, but the whole "track-down-the-original-developers-in-Madrid" is pure story bloat!
The original developers were idiots, period! Just scrap all the useless code, improve whatever you can and move on.
If someone wrote something as stupid as this reflection scheme, would anyone reasonably believe that it would be any good getting in contact with the said person? Only two scenarios are possible if you ever get an answer: "Neat, huh?" (in this case, the guy is still as dumb as always) or "I'm really sorry, man! I was totally inexperienced, and thought it was a good idea..." (the guy learned his lession, but the code is crap because it is).
Admin
That part confused me, too.
And I was half expecting "ToString" instead of "toString."
Admin
No, no, you see, the reflection is the documentation. "Oh, don't worry, we use this highly standard framework. It's self-documenting!"
CAPTCHA: saepius. Don't bother using your Homo saepius brain; let the pattern do the thinking for you.
Admin
Is this a Don Quixote story?
It seems like it must be a take-off at least, because he's certainly on a useless chivalric mission...
Admin
Show me the money!
Admin
Being French, I've seen that one quite a lot. I say it's a mild case of mojibake rather than a real spelling error.
Admin
A recent fad in the UK was to create a nickname for someone by taking the first two (or three) letters of their first name and concatenate them with the first two (or three) letters of their last name.
Hence you get such delights as:
Rumour has it that Pete Doherty was not a big fan of this craze.
Admin
A programmer with courage? That's new.
Admin