- 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
[quote user="Oh THAT Brian]Captch: valetudo - Car park valet with an attitude.[/quote]
Actually Vale Tudo is a pretty brutal martial art. Means "anything goes" in Portuguese.
Admin
Oh, sorry, I forgot. Computers used to be for automating repetitive tasks. Then they decided to let babies have chainsaws, and tried to make them baby-friendly, which means they put a lot of candy colored cartoons all over the place and made it really really hard to automate your work any more.
{stifles the urge to run screaming through the nearest window -- Windows will be the death of us all yet...} OK absolutely time to run, for the window, or another interview, or weapons... something.Admin
See Dot. See Dot Run. Run, Dot, Ruan error has occurred, and Dot has stopped running. Please contact a macro administrator!
Admin
Hmm...The state drivers' manuals in Australia ("Drivers' Handbook" in most states) have a disclaimer at the front pointing out that they're not legal documents and do not necessarily present the road rules accurately (or even correctly). Little wonder that few people know their road rules.
That said (and drifting off topic briefly), the biggest problem is roughly what Remy said.... [rant] People are taught to operate a motor vehicle, not drive. They complete a (simple) multiple choice test to show that they have some vague idea that there might be some sort of order that dictates when they can do things, and they complete a practical that tests basic maneuvers (generally not in traffic). A driver is then given a certificate (licence) which says that they are competent to drive...yet though they can operate a motor vehicle, and may be able to execute some pretty impressive maneuvers, they aren't necessarily ready to drive. Driving is about more than moving the car, it is reacting to and working with traffic and conditions around you. Preparing early for hazards. Planning where you are going and how you will get there (being in the correct lane early). Anyways, that rant's for another day...the point is, it is extremely naive to think that a basic written test and a practical is sufficient to teach people how not to kill themselves with 1t of steel (actually, up to 4.5t in Australia on a basic car licence) and 50+ litres of petrol....
The only reason road tolls don't rise quicker is because safety features are getting better. Drivers most certainly aren't!!
[/rant]
Admin
Maybe I missed something....
So the application was written in Braille?
Admin
sigh
Get away from the head, Lee.
Admin
Jason definitely seemed to have a bad romance with this VBA monster.
Admin
You already have arms, numbnuts!
Admin
Admin
Just to be clear. Had Office chosen any other language to do its macros, we would be complaining about it right now instead.
I have yet to be shown a Turing-complete programming language that both allows a programmer to perform non-trivial actions, and prevents said programmer from performing stupid actions. Or, to put it another way, if you can do something meaningful with it, it is nearly guaranteed that someone will find a way to do something stupid with it.
Admin
One of the best! The are DOTS! DOTS are coming!!!
:-D A question: Does "Feature Articles" contain real facts or are they make-up stories? This story looks too much funny. :-D
Admin
The vast majority of this story comes from one of our readers (credited as Jason). Liberties were taken to enhance the entertainment value, but all of the code and weird programming techniques were kept as provided by the submitter.
//I'll let Alex speak for WTFs at large, but they're usually based on a submission.
Admin
Whats most amusing about this for me is I was just in the same situation.
Urgent hacked mail merge application which was added to an existing project with no budget. No source control, not officially supported and suddenly mission critical. Had to fix it urgently because during the 2003 2007 upgrade someone decided to test it (finally) and discovered it was broken.
Thankfully hacking around in VBA isnt too difficult and I was able to fix it in a day. Even gained an award for the trouble.
Admin
In fact, there are ten dots. Ehm, eleven. Ehm, twelve
Admin
Aitsch! I forgot te dot above the i.
Admin
Dippin' Dots: ice cream of the future.
I can remember when this used to be the ice cream of the future:
http://www.dawnsong.org/LotRO/housing/images/yard_small/HayStack.jpg
Admin
Two quality WTFs in a row, and well written. Bravo, Remy, Alex should learn a few things from you.
Admin
Admin
Circle, circle, dot, dot. Now you've got your WTF shot.
Admin
As I recall (could be wrong) he was on the team to bring VBA to Excel. I think Word may have already had it? Maybe? But he definitely was with the Excel team.
Admin
It's not the whole organisation that causes such software to grow organically: it's the self-protecting, arrogant, ignorant, imature, IT programmers, who need a 3-year project and a 4-person budget to get half the functionality on the one-true-platform in the one-true-language. Fix that problem, and the Personal Computer revolution goes away.
If you want to change the world, you must first start by changing yourself....
Admin
Has enybody ever picked up the phone or hammered out a email to comaplian about the code that was posted in the Dailywtf? Or are they too ashamed? Maybe those users dont read these sites?
Admin
.-- .... . .-. . / .- .-. . / - .... . / .-.. .. -. . ... / -... . / -.. .-. .- .-- -. ..--..
Captha: tristique = My old memory or Trist-run...
Admin
Didn't Visual Basic for Applications(tm) evolve from WordBasic (which was the macro language in Word95 and probably 6.0)?
Admin
"Don't blink. The dots are passing the data when you are not looking. And they are faster than you think. So, listen me carefully, don't freak out and don't blink..." see new Doctor Who episode.
Admin
The WTF is that the 'dots' weren't done in white. If they were white nobody would try to delete them.
Admin
I can't decide whether I'd rather go skinny-dipping in the pond or the river.
Admin
After a few, ah, problems such as the one reported in Payback's Payback, stories are now heavily anonymized (as told in that entry).
Admin
Do not try to remove the dots, because that is not possible! Instead try to imagine the truth.
What truth?
There are no dots...
Obviously the original programmer should have found a better solution to store those variables: Setting the text color to white!
Admin
Suddenly, Real Life isn't the only place where a missed period can cause problems.
Admin
Just like the babies and chainsaws analogy - you don't blame the chainsaw, you blame the moron who gave it to a damn baby.
Admin
Probably the best WTF story I've ever read!
Admin
They were probably in the... erm... "DOT" file...
Admin
The real problem with VB/VBA is that it encourages people who know nothing about programming to start writing programs. Which would be fine if they kept them to themselves....
After a number of years of incompetent interaction, sooner or later someone who knows what they are doing turns up and dies of a heart-attack after looking at the code. :(
Admin
VBA in Access is okay if it's a) written by programmers b) only used by one or two people.
Admin
Signed. . . except for #2, for which excel has conditional formatting.
Most of the VB/VBA bashing, however is because of:
A: "Programmers" who are just jumping on the bash VB bandwagon
B: "Programmers" for whom the majority of their VB/VBA experience is maintaing and debugging the code of incompetentes, like the VBA module I ran accross recently in an access application which, except for the header and end sub, was written as a tsql script. ("Why wont this compile?" "'Cause you're an idiot")
C: Elitism, many people here see the "BASIC" part of VB/VBA and make assumptions, or just talk out of their A**. Or they look down on VB/VBA simply because it's easy enough, and ubiquitous enough, for the vast majority of users to actually think they have a chance of becomming programmers.
D: Jealousy.
But, C is the biggest problem. I've seen VB and VBA code both from average users and developers who REALLY ARE hardcore C++ or Java or whathaveyou programmers that are equally complete and utter garbage. I think a name change from VB (Visual Basic) to VRH (Visual Really Hard) might help. And then we VHR programmers might get some respect!
It's similar to the Oracle vs MS SQL debates we have around here. I understand why an oracle developer is proud that they can write custom statements to completely and fully control the application of sequence numbers as unique keys for their tables.
I mean that's really nice.
I don't understand why they think it should be REQUIRED.
Nor am I impressed when my oracle partners show me every instance of :NEXTVAL From SEQUENCE as though it's some kind of miracle magic supercode for getting a new number for their key.
I can write custom modules for MS Sql to do the same thing, but if all I want is a simple, incremented number why should I have to? The less time i spend coding the simple stupid things, the more time I have to code the complicated requirements sent by our one step from the loony bin business partners.
Admin
Anyone who thinks pre-dotNet VB is a good language should try this exercise:
Write a mutlti-threaded desktop application. You cannot use timer controls or pepper your code with calls to DoEvents().
Bonus points for implementing a exception handler that catches excpetions from other functions down the call stack.
Admin
Been there, done that. While it's possible using unsupported calls (I have the Visual Basic Magazine around here somewhere ...), you're right - it's not pretty - or easy.
About the best way to do something like that is to write a VB6 COM DLL with events. The VB code calls the DLL, then it continues on it's merry way, waiting for an event callback from the DLL. But it's a bitch trying to debug that thing!
. -..- - .-. .- / .--. --- .. -. - ... / .. ..-. / -.-- --- ..- / -.-. .- -. / .-. . .- -.. / - .... .. ... .-.-.-
Admin
For example, you can build a perfectly adequate house using wood. You may be able to do the same for some types of commercial or industrial buildings, but usually you'll want to use something else, e.g. steel, or risk structural issues.
Admittedly, unlike wood, there are few-if-any examples where you would be better off choosing VB over other common languages. (No fair pulling out an obscure or special-purpose language that is even less functional.)
Admin
There is another language that lets you store variables as 1pt font objects in a Word document? Horrifying thought there...
Admin
So running all code on the UI thread and forcing the program to manually process messages via DoEvents() is a good thing? Doesn't seem like a good tool for any job.
Admin
You know that the answer to the last question is inevitably going to be "Nothing! Really!! I swear!!!", don't you?
;o)
Admin
Granted, I'm not a native speaker myself - but I do not see anything wrong with this at all.
Would you care to elaborate?
Admin
No matter how badly a program is written, if it works, it works. When the program has been running for a while, there is high probability that the problem is in the data. With old programs, data bugs are much more common than programming bugs or system bugs.
So, WTF, why didn't start by with the user.
Admin
Admin
Admin
So how would a world class programmer store data in a Word Document?
Admin
Admin
Admin
One dot if by lAND two dots if by C three dots if by Java and four dots if by VB.