- 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
I am also in agreement that a. users should have at least one, preferably multiple easy ways to report bugs in a system, but b. those channels should not be routed directly from users to the developers of the system. Rather, they should go through tech support first, tech support should verify that they're actually bugs and not already known issues, and then file a bug to the dev bug tracker, and the devs should get a notification to look into it at their convenience. This does, require, however, that tech support not be chained to a retarded script, and actually have both the intelligence and the privs to actually help customers, which seems to not be the case at most larger companies, where most of the job of tech support seems to be "get the user to hang up in disgust as quickly as possible, so we don't have to spend money on tech support."
Admin
If they had a really good grasp on the technical details of each task, they would instantly be promoted out of level 1 tech support.
Admin
I'm not understanding why the number of records gets reset to zero at the start of each week.
But yes in general programmers no longer think about optimization. There was a time when it was important (and not just because its embedded and doesn't have a file system). Hardware is cheap, throw more hardware at it. I see it in the programmers around me. Where C applications that used to run on a Pentium90 with 64 Mb of ram being replaced with Java applications with barely any function differences now need a dual core 2 GHz machine with 2 Gb of ram. And what do they resort to but "Raise the minimum requirements".
Admin
My definition of insanity is repeating the same quote for the 10,000 time, no matter how clever it might have been originally, and expecting people to be just as impressed at your cleverness, as they were by the first 9,999 people who said the same thing.
Admin
What do you mean no authoritative or reliable source? It's quoted on thedailywtf.com! What more reliable source do you need?
Admin
Hee hee hee. He used the words "intelligence" and "tech support" in the same sentence!
Admin
But, wait, one thing still puzzles me here.
The program took 30 times as long to display a screen on Fridays as it did on Mondays.
For each "real" record read, the program was reading a dummy table 2 or 3 times.
The programmer eliminated the unnecessary reads.
Assuming #2 is essentially constant, the program would still take 30 times as long on Friday as on Monday. Okay, I guess the run times fall from 1 second and 30 seconds to 1/3 second and 10 seconds. But this change should have had nothing to do with the ratio of the times. And there's still something wrong with a program that does 30 times as much work on Friday as it takes to get the same result on Monday.
Admin
I figured it was something like a "Sales Closed This Week" report that grouped report results by weekday.
Admin
Admin
There's no evidence that any version of this quote was known prior to 1980. The earliest known occurrence of the quote, in the form "insanity is repeating the same mistakes and expecting different results", is in a Narcotics Anonymous text dated 1981. An American novelist named Rita Mae Brown used it in the "standard form" in her novel in 1983.
Admin
More powerful languages are just equivalent to more powerful guns that developers shoot themselves with.
Admin
But this is also geared towards businesses, not individual users. For that it does make sense to have first-level drone support, but it also makes sense to always have some people who aren't first-level drone support around, to help out with issues that are not retarded, or that aren't in the script, and the first-level support should at least be trained to recognize "this is not in my script, I will give it to someone else". And by someone else, I don't mean "the person next to me, who will read the same script, and then repeat until the user gives up". (Though more commonly what it actually means is "I will promise the user that someone else will call back, then hang up and never tell anyone else to call them back."
Admin
PHP isn't a less powerful gun, it's a gun that jams half the time and shoots backward the other half.
Admin
Perhaps I should have been more explicit.
Prior to PHP5.3.0, "this week" meant the 7 days of which "today" is the middle. Since 5.3.0, it means the ISO week (Mon-Sun) containing today.
Therefore "monday this week" is in the future if today is vendredi, samedi or dimanche and we are executing under older PHP.
Admin
It could still have originated with Einstein. After all, he'd only been dead for a quarter of a century. Someone of his calibre wouldn't let a little thing like that get in the way.
Admin
It's Serge in French, I think.
Sergio is either Spanish, Italian or Portuguese.
Admin
Or they might be importing oil from a supplier whose weeks begin on Saturdays. Or they might have some branches whose weeks begin on Saturdays and some branches whose weeks begin on Sundays all in the same country.
Admin
Hitler knew how to stop an argument on the internet.
Admin
I'm fairly certain that the definition of insanity originated with Erickson. It's discussed at some length in "The Structure of Magic" the NLP book that John Bandler and Richard Grinder wrote about Erickson's work.
Or something like that. It may have been one of the other books they wrote about Erickson.
Admin
Back in the day, programs ran fine on a $500 PC.
These days, the modern counterparts to those programs still run fine on a $500 PC.
I'm all for efficient coding, but spending tens of thousands of dollars in developer time optimizing a program to run on a PC that can no longer even be purchased is a waste of capital.
Admin
Admin
Admin
TRWTF is letting users dictate software design or relying on them to define problems.
It took years before we ever adopted a required "testing" phase of software (outside of the original developer), but now I think that the majority of my colleagues consider testing it to be running the application and clicking on the buttons. If nothing explodes and nothing looks amiss then it's good for production!
Nevermind that we usually don't understand how it's supposed to work in detail (of course there are no formal specs of any kind) and serious and obvious bugs that should easily be spotted by peer review are completely ignored.
"It works" is not good enough for me. I hope it never is.
Admin
"Looks like someone's got a 'case of the mondays'"...
Admin
Right. Face it: English is the "Lingua Franca du Jour."
Admin
Admin
[* When Tepco and the government couldn't imagine the possibility of a tsunami being as big as the tsunami in 1896 and 1933, the government approved Tepco's inadequate safety measures.]
Admin
Yes, just like humans, computers need time to recover from Wednesday Thursday Friday.
Admin
Dilbert said it best: it's the curse of competency
(September 13, 2008, for the interested)
Admin
So will the next PHP support strtotime('lundi this week')? That would be a better match for this bilingual code.
Admin
Admin
Admin
[quote user="Anonymous Paranoiac"][quote user="Lis"][quote user="QJo"] Given them something that requires fuzzy decision making and they'll immediately ask for an automation.[/quote]
That is because thinking is hard.
Admin
[quote user="a"][quote user="Anonymous Paranoiac"][quote user="Lis"][quote user="QJo"] Given them something that requires fuzzy decision making and they'll immediately ask for an automation.[/quote]
That is because thinking is hard. [/quote]
guess TRWTF is me in not counting the quote tags. Proof that Thinking is hard?
Admin
I wonder what Monday's date is when today's $date is "') OR DROP TABLES--"
Admin
Monday's date? Pfah! That's what week numbers are for.
Admin
I had a similar problem. I was stuck with optimization of one routine that took 4 hours but was required to complete in two. As it turned out that every time the date was needed, a function was called that did "SELECT sysdate FROM dual" and output the result to a variable. It took only 3ms (on average) to run this, but this was called so many times (a lot of nested loops) that using one variable that was populated at the beginning reduced running time more than an hour.
Other optimizations were less WTFy.