- 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
Which axis?
Admin
So how come none of them are capable of solving a problem which requires forethought? As in "hey, I'm going to be in a big presentation tomorrow, and I know that there is a possibility of the technology not working right or my data set having some unexpected glitches in it (look there: a problem, just waiting to be solved) so maybe I should test that my laptop connects to the projector, and try running my presentation on it once, and make sure that the graphs look as I expect them to." If managers actually had ever thought these things, then you could make a case that they are "problem solvers." But delegating each problem to an underling and then leaning on them until they solve it for you is NOT the same as actually solving the problem, despite what they teach in management school.
Or my personal favorite is bosses who can't solve a time and manpower problem. If there is a problem like "the software is six months behind schedule," and it turns out to be because you only hired three developers, your problem is the relative supply and demand of manpower, and the solution is frequently to obtain more manpower. Equally ridiculous are the managers who solved this problem once and they now believe that increasing the supply is the solution for all such problems, so when another project a few years later is again six months behind schedule but already has 100 developers on it, they keep buying more and more manpower when the actual solution is structural and has to do with the way the developers are (or aren't) coordinating their efforts. (Which is why the book "The Mythical Man-Month" had to be written in the first place: because these "problem solvers" just couldn't solve that problem.)
These are high-school- and college-level economics and management problems, but most managers out there couldn't solve this if their careers depended on it. The only reason most managers are still around is because, for no explicable reason, their careers don't depend on it.
TL;DR: If bosses were problem solvers, then the number of problems would have a negative correlation to the number of bosses; in the real world, the reverse is true. QED.
Admin
Admin
FTFY
Admin
I have to laugh at the bad code produced because a shop won't use agile processes.
Admin
It appears not, but what is the reference, please?
Sincerely,
Gene Wirchenko
Admin
True story. We had an inhouse monitoring tool, that among other things had a heartbeat which tested how long a certain operation would take. If that exceeded a certain threshold, it would show a bright red. After some changes which increased the regular effort, the Heartbeat began to consistently exceed the threshold - and although no impace was noticed by users, the monitor-wtaches were concerned "...because there's a lot of red on the monitor...". We fixed it by doubling the threshold at which the output is displayed in red - and everyone is happy once more.
For the non-technical who want to be involved and see everything working, it's important to remember that blue is placid and normal, green means something is particularly happy, yellow/amber means that there's a possible problem, and red means the world is ending. So, there's 2 ways you avoid mass panic:
Admin
Admin
A lot of people seem to be missing the "record sales" part.
The data source is retrieving all data and modifying it to say it's data from 200X. Which produces record sales every year.
Someone probably tried to fix it poperly at some point and the VP wouldn't "accept" the fix.
Admin
Acutally, this is one that we don't really know much about out of context.
We know that we get a substring of length 10 from the original string. Now some common date formats would be: YYYYMMDD = 8 char (and DDMMYYYY/MMDDYYYY) YYMMDD = 6 char (and variabts) DD MMM YY = 9 char (and possibly 10 if we like le space on le end) DD MMM YYYY = 11 char HHMMSSDDMMYY = 12 char, but 10 without year - and maybe we were trying to replace 12 with 2012 (or something) DDth MMM = 8 char
I'm wondering whether the 2012 is not appending the year per se', but is appending some representation of the FINANCIAL year (in which case it should actually have been changed in July) - in which case it seems a bit odd that it fixed the problem....
Either way, I think there's something more going on here than most of us imagine....
Admin
Admin
Yeah, fiscal years are another thing, but can be handled.
Admin
Admin
Yup.
Year at the end of date string? Now you're at the mercy of the parsing application to treat it as US or UK date string. ("MM dd yyyy" or "dd MM yyyy")
Admin
Admin
Clearly what you need is an IF statement adding 2012 if the date is before the end of 2012 and 2013 if the date is after then.
Admin
http://en.wikipedia.org/wiki/Now_Wait_for_Last_Year
Admin
I missed my station because the article was so interesting. BTW, this is the first article that I read after subscribing to the feeds. Good job!
Admin
Admin
If it weren't fixed it wouldn't be fixed.
Admin
Matt, does someone piss in your Cheerios® every morning? Do you truly think that your writing style adds (positively) to the atmosphere here?
Admin
That won't work with tablets that auto-rotate the picture. I suggest tilting the table so that the picture is upside-down and setting up some mirrors.
Admin
Admin
Just out of interest... are you currently living in Peru?
Admin
No, he's just an average internet douchebag, who's stupid enough to think that its possible to Google for something when you know exactly nothing about it.
Presumably you're supposed to type "That thing, by Philip K. Dick, which has something to do with some other thing I read on some website somewhere" and as we all know, Google will sort that out.
Admin
The article very explicitly states that he did NOT just change the date to 2013; he replaced that code with a call to a library function.
Admin
It's heartwarming to see how successful Akismet is at preventing comment spam, isn't it?
Admin
Admin
Nope, just had a Korean client at my last job.
Admin
"Bug 1354: graph is reversed when using an odd number of mirrors"
Admin
Funny that I came across this today.
Admin
Whatever. This IT stuff isn't so hard. It was a date on a presentation. If it was any harder than writing it down with a pen and paper, we'd still be using pens and paper for presentations.
Admin
TRWTF is embedding code in XML.
Admin
Admin
[akismet]http colon slash slash thedailywtf.com/Articles/Every-Last-Cent!.aspx[/akismet]
Admin
I'd never trust a Std library, no matter what it says.
Admin
What if the string 'str' is null? It'll splatter the yellow all over the page.
Admin
VP are the funniest when they think that bragging about company's success (record sales and that bullshit) is what bottom-layer employes actually give a fuck about - like I like hearing that your ass is getting rich, motherfucker - gimme a piece and then I'll listen to your crap and look at your stupid chart.
Admin
Throwing an exception with an invalid parameter is passed to a method is actually the right way to do it. If whatever calls the method can't handle an exception, that's TRWTF.
Admin
The real WTF is no one here seems to remember that companies operate on Fiscal not calendar years for sales data.
Admin