- 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
How's it FUD? Perl's regex engine has best case O(n), and worst case O(n^2). Other implementations have guarenteed O(n). You judge the general quality of a general algorithm by its worst case, not its general case. Only specialized algorithms should be measured based on specialized cases. Take note of the author's reply in that thread; the point is, unless you're someone who knows the tricks of Perl's particular regex implementation, its performance is not going to have any sane guarentees (you certainly can't port a regex string and assume it will perform well).
So the real WTF is suggesting someone try doing "a ton" of regex work in a language whose implementation doesn't guarentee that your regex won't cause a hang.
Admin
If you think .Net is a language you probably have the wrong job, or hopefully you have another job.
Admin
You've never coded .NET CLI in MSIL/CIL?
Admin
-- Furry cows moo and decompress.
Admin
(1) A rhetorical question is generally defined as one to which no answer is expected. Now, really. How could such a thing exist on a site like this? (Answers on a moebius strip, please.) (2) Rhetorical questions are normally posed to make a rhetorical point. Otherwise they're hardly rhetorical, are they? That would be more of a WTF question. Try as I might, I fail to see a rhetorical point here.
No, this is more of a category error.
Kudos to Wikipedia on this one, btw. Normally, the thing is just infuriating. In this case it comes up with Henry Denham, who invented the "rhetorical question mark" back in the 1580s.
Even if this isn't true, I want to believe that it is.
As for "clowder," well, miaow! Recursively.
Admin
Admin
For the love of god, don't you have anything more important to worry about than typos?
Pedants think they're showing people how intelligent they are; I think it's actually the opposite.
Admin
Right. So you have this difficult to maintain mess of VB6 and regexes, and your suggestion is to add yet another language and more source code (in that new language) to the mix?
We have two problems (VB6 and regexes). Add Perl, and we have THREE problems.
Admin
... that, and I can't find the BBCode for a rhetorical question mark.
Admin
Thre real WTF is XSLT.
Admin
Confucius didn't say much of what he gets credit for; he just gets the copyleft credit-of-the-doubt
Admin
I'll bite. A rhetorical question is one that you ask another person when you both already know the answer. Like, "is the sky blue?"
You don't want the answer because you already know it. You're asking it to prove a point, hence, "rhetorical". A better one would be "how long until we stop reading about XML WTFs?"
Admin
Genius!
We all want to know: Where the Hell are Larry, Curly, Shemp, and Curly-Joe?
Are they (and I realise this is controversial -- it even borders on a flame ware) even more cretinous than you?
Jest askin'
Admin
Point (1).
I like this game. Try again?
Admin
Isn't God a proper noun? Unless you meant "For the love of a god"?
Just sayin' like!
Admin
I don't think that is a good idea. Looking at the Excel version could be the software developer equivalent of staring at an arc welder without wearing a face shield.
Admin
Admin
Admin
Dave could easily have worked where I work; all of that sounds disturbingly familiar. Especially the Excel.
Admin
Yeah, you could use flexx and bison. Then you'd have three problems. Four if you count the regex's in flexx.
At this point the best approach is to mercilessly beat the person who gave you the data until they agree to export it in XML format, so you can parse it using one of many standard off-the-shelf tools.
Admin
It's all true, but worse. I was there.
When developing, or perhaps trying to debug something blind because the different code paths meant that the development mode was often useless, a key press at the wrong moment could activate the hideous monster lurking underneath.
When the full software starts running in the background, it updates all the XSL - it downloads the production copy via a creaking old ASP script. A single script which handles, or in fact barely handles, all control and data for the application, dropping data all over the place.
You complete your feverish hack to make the script work again - did "Dave" mention that reg exp changes could only be made Live? - and then go to SVN to quickly get the corresponding changes checked in. Getting those XSL changes to production is going to take at least 15 minutes, and that's assuming no-one else (including automated processes) kicks off a conflicting build, in which case they both fail. There's no reason for the builds to kill each other, that's just the way it's always been. Are we allowed to fix this? No.
Except when you look at SVN, all your files have changed. The brilliant application has, silently, brokenly, replaced your working copies with special versions, filtered through the majesty of a tatty ASP script so that all the indentation is changed. Now, I hope you remember exactly which files you have been editing.
When this happens it is acceptable to scream and run away.
Admin
Admin
Admin
Admin
The root cause of ALL madness...
Admin
Admin
Admin
The real WTF is that the VB6 application was using over 2GB RAM, more than the amount of address space it could conceivably consume. Unless of course the application had been marked large address aware (I seriously doubt whether that's safe to do with a VB6 application) and was running on a system using either the /3G switch or a 64 bit version of Windows. :P
(yes, this is tongue-in-cheek, I do not begrudge Alex the user of hyperboles)
Admin
Admin
If you ever have to work with regular expressions download the free tool Expresso from Ultrapico. http://www.ultrapico.com/Expresso.htm
It will document the regular expression for you and even generate the .NET code to run it. Awesome tool.
Admin
Admin
Admin
How many roads must a man walk down, before you can call him a man?
captcha: sino
Admin
None.
Admin
42
Admin
I have to own up to that one. It's often a side effect of finally "getting" regular expressions.
I like to think I've got over it now.
Admin
"People might look at a problem and think: Oh, I'm going to solve that with regualr expressions.
Then they have two problems."
(Jamie Zawinski)
Admin
And when I say "power off", I mean they just switch off the electric supply. Poff! You should hear the screems from those who haven't saved their data yet (or were just in the process of saving...)
Admin
What do you do know?
Admin
Joined here six months ago and they always tell me "it is easy to do that". But no one has ever found anything easy including the people who says so.
Admin
And today I described to my boss a requirement for parsing multimegabyte text files into CSV, and he suggested GWBASIC.
Admin
I agree- none. You've already called him a man in the question
Admin
"Fewer bad", shorely?
Admin
Admin
Admin
Admin
Admin
Nobody expects the Spanish Inquisition!
Admin
Not according to all the anti-any-MS-language brats on this site. If it's an MS language, then clearly "that's the RWTF!111!! i iz haxorz el337!!!". Go fuck yourselves.
There's something to be said about consolidating your platform, even if it means using less desirable technologies. Let's say you have a small team of 3 developers. And they're all VB devs for your all-VB.NET app. Why introduce PERL into the equation? Now when you worry about turnover you have to add PERL qualifications to the mix. And what if it's only one of the devs pushing for PERL? Unless you want to train the others, there's no coverage if he gets hit be the proverbial bus.
Now, in all practicality, ceteris paribus, a PERL developer is probably a more qualified developer than a VB.NET developer. But that doesn't mean you should turn a 1 language app into a multi-language app "cuz those other lang's are kewl" simply for that reason alone.
Admin