The google testing blog suggest the original approach the problem:
Posts made by flukus
-
RE: OO - The *other* end of the spectrum
-
RE: Realy dynamic website
For some reason the tourism industry loves to use oracle when SQLite would be overkill, thank god I've moved on from this.
-
RE: What happens when you move from a MVC framework to a Page framework?
Should be relatively easy to port to microsofts MVC framework shouldn't it?
-
RE: WTF is going on with microsoft office 2007 GUIs?
As much as I hate microsoft and being a slashdot readin, linux using hippy. I love the ribbon, I'ts just so intuitive and it's nice to have a gui that doesn't get in your way.
Open Office is no longer the first thing I install at a windows.office company computer.
-
RE: Wasabi: good idea or not?
So the wtf is that they chose a vendor specific language in the first place?
-
RE: Coworker WTF
The real wtf is that you think Al Gore is left wing!
"You know, nothing about you surprises me! I had you figured out from day one. You’re a racist, and probably a Republican! “
Pretty much the exact same impression I got from your post. You sound like a gay bashing, christian republican who has something against porn.
-
RE: Excel Doc Title
It looks like a consequence of the way excel 2003 treats multiple windows as an MDI app.
What do people pay out gimp (i know I do) but not excel for essentially the same "feature"?
-
RE: Roll your own language?
There are time when a really simple DSL is the most elegant way to solve a problem.
You get to move all the error checking (potential bugs) into one spot. You can completely remove thousands of lines of (potentially) buggy code into a couple hundred. The program becomes much more maintainable. And if your DSL primarily works with an external library you have a nice buffer against API changes.
Of course, there are millions of times when this is a bad idea, and millions of programmers who don't understand reflection etc. and it can end in disaster. The trick is to keep it simple enough that it can ONLY deal with the problem domain it was meant to.
-
RE: Visual Studio 2005 WTF indeed....
Another serious wtf is using visual source safe, the worst product to ever come out of microsoft, including me and clippy.
-
RE: YAFWTF - what good is a phone call... if you're unable to speak?
The wtf is that they added special code for it at all.
Bots won't send anything through POST. They won't even follow the crappy ajaxified buttons that this forum has.
-
RE: Misused Ternary
I've often seen:
if (someBool == true)someBool = false;
else
someBool = true;
Things like these I always change a leave a smiley face for the developer.
-
RE: Help with a competency quiz
Go spend some time on slashdot. You would be really suprised (and disapointed) at the amount of self confessed nerds that still don't know the difference between java and javascript.
-
RE: I just dodged a bullet!
@Devi said:
Ugh, I did that once, I was a HTML monkey/copywriter (i.e. I was one of the people who made up phrases like "See Angeline get her first **** while **** in her ********* backwards." and scattered them all over everything). I found it great fun for about a day or so, then my brain started collapsing under the strain of being constantly exposed to porn while not being (or given my location, not wanting to be) horny. I came to the conclusion that it takes a special kind of man to work with porn all the time, and I certainly am not that kind of man...
I actually don't see that much porn, if the guys didn't turn the volume up occasionally I'd hardly ever notice. Most of them finds the novelty wears off after a couple of weeks and it just doesn't constantly register as porn to them. They have to sit there all day editing the DVDs@Devi said:
Anyhows, I think your boss made the right decision, the whole project sounds like an epic nightmare. When implementing a new system takes less time than fixing a simple bug in the old system (or in this case, simply being able to comprehend the old system) it's a no brainer really. To be fair, you should probably take the time to at least try and understand the old system, mainly to look for:
1) Weird functionality that actually has a reason and will need to be replicated in some way
2) Mistakes that you should avoid
Though given the seemingly awesome scope of the WTFness, you might want to just skip that part and just make sure you have a good design specification before you start...
It's actually a fairly straight forward online shopping site (until we start adding fun DRM'd content down the track). I avoided most potential WTFs through my site design (I love castle), I think it would be faster to create and fix new mistakes than to unravel all the old ones.
-
RE: I just dodged a bullet!
Apart from the way to long first paragraph it was reasonably coherent. I never professed to have an literary talent.
@ebs2002 said:
(no, structs and classes should not be interchangeable).
Umm, aren't structs and classes the same thing, only that the default scope is different between the two? Or were you not talking about C?
In this case it was VB.net in which they are quite similar, it's more about the implied difference (structures are simple structures, class have all the OO goodies). It was an attempt to explain the complete lack of OO understanding.
The worst offense was when I had an abstract class A from which B and C derived. This should have been transparent from his code but instead, as I discovered months later, their were a million if statements along the lines of:
if obj.class == "B"
B.foo()
else if obj.class == "C"
C.foo()
Even where A.foo() was declared.
-
I just dodged a bullet!
I've only been in the industry a couple of years but I've seen my share of WTFs. Boss hiring marketing team and setting a (very short) deadline before work on the project has begun. Said boss bringing his pet programmer from previous company, programmer of course learned c at uni, asp afterward and continues to program asp.net as though it's vb6 and has a complete disregard of object orientation (no, structs and classes should not be interchangeable). I think I could write a long WTF about this guy. The boss frequently making technical decisions he knows nothing about and expects us to be good at everything. Also hate unit testing and thinks testing should be done by clicking every button in every possible combination (we spent days working through sheets with the combinations) and thinks that VB.net and the asstastic orm of the previously mentioned programmer will scale to one of the biggest sites on the planet (They have a budget in the tens of millions to attempt this with). Once again this could be a post in it's own right. And lets not forget the boss that wants a website but can't articulate what any of the content should be apart from the insistence on round corners, my employment from this place was ended mutually after 3 weeks. Leaving them with the previous website containing a main php page, devoid of any php, linking to several pdfs. God know what the delphi code of their "enterprise solution" looked like.
To be fair my new job is not really a WTF. The boss confesses to know nothing and leaves most decisions up to me and leaves me alone to get the job done. He also recognizes how out of date the old asp sites are so I got to start from complete scratch. Plus, I get to work in the porn industry which is always good.
Looking through the old code though the are several of the typical WTFs. An a access database (several actually) powering the site. Credit card details being given over standard http. Thousands of asp files scattered everywhere (copy and pasted between sites). Having to add products manually to several databases. An offer the shelf shopping cart application that uses mysql (great for consistency).
The worst part came this week when I started looking at the payment gateway. I was told which company we used and who they leased the tech from (I would of thought a large banking institution would make their own banking software but apparently not). I was looking for some sort of technical documentation, I can't find any on the main site, must be in the members area, which I can't access till the person with the password isn't off sick).
My boss contacted the previous developer who replied with "everything you need to pass should be on the order form". Thats great, I went to the old asp files of the latest site to be added, found it opening up some sort of com object and passing obscurely named variables (globally assigned somewhere else of course) to it and then redirecting. No commenting of course, so I'll have to leave that and hope the bank has technical documentation.
I get the following that a dodged a bullet (or missile) thanks to the boss deciding that the old site wasn't worth maintaining.
Oh yeah, the really WTF is the way this sites behaves in konqueror, I'm half inclined to blame konqueror though.
-
TblDates WTF?
I've come across a few WTFs befor at various jobs (everyone sees them and most of us have probably created a few), but I discovered the biggest one today.
I was looking at a table which had a date field, simple enough right? Apparently not, the date field wasn't a date but a reference to tblDates which contains an id and and a date for every day through to 20XX. So in 20XX we get to recieve the classic tech support call of "can you add more numbers to the database?"
The only possible reasoning I can see behind this was that the database designer thought that dates were stored as strings and therfore it used less space to store them all in one table. But as I see DateTime (MSSQL) uses 8 bytes so I asume SmallDateTime uses 4 bytes, this means that the worste case scenario 1 entry per date would have used 4 bytes, now it uses 12, requires an inner join and added complexity.
Apparently someone from the company will be getting in contact with the ex employee soon so I'm interested to here the reasoning behind this.
Can anyone think of a more logical explaination?