- 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
"firstSpaceLastName" is both funny and accurately descriptive. Kudos Rumen!
Admin
Hey, at least he's using stored procs!
Admin
Shouldnt this have been CodeSOD. Its a bit light for a Featured, non?
__ Ed: Indeed it is -- Fixed!
Admin
I bet the guy who wrote this had a college degree.
Admin
I don't have a first name, a space, and a last name. All I have is a last name, a comma, a space, and a first name.
Should I call GetLoginByLastNameCommaSpaceFirstName() instead?
Admin
Admin
Good thing people rarely name their son Jr these days, right?
Admin
No stupid! You have split it into a two value string array and string.join that bee-hotch back into GetLoginByFirstAndLastName(). Haven't you ever programmed before?
Oh, and don't do any bounds checking or anything like that either...
Admin
Oh come on, my code ain't that bad, is it?
Admin
No, it's perfect! In fact, without code like this, the visitors to this site might actually have to work.
Admin
why is the DB call made twice ?
Admin
Rumen is just making sure sure the user is really authorized: Twice the security!
Admin
You're new here, right?
Admin
Admin
Four words made my day. Well, those four plus the seven that provoked them...
Eleven words made my day.
Admin
Admin
Admin
I know it is a bit confusing but "login" is actually the username. It does not log the user so it is not a security issue. It is used for search for a user when sending a message and similar activities.
Admin
Two factor authentication!
Something you know: your name, and something you are: uh, your name...
Right?
Admin
Government Contractors!
There I said it.
Admin
Admin
Admin
Admin
//Ask Rumen
Admin
No variables means no errors, right?
Admin
Wait, I take that back. I don't ever want to see that.
Admin
Just remember: what has been seen cannot be unseen...
Admin
Problem 1: Degree vs. No Degree Problem 2: There are no women in IT Problem 3: I think these arguments are all about trolling.
Universal Solution: People that play with computers and haunt these forums are universally immature. I can not tell you why this is the case, but I can tell you how it has caused the above problems.
Problem 1: Degree vs. No Degree Most of the kids I went to school with had no respect for what they were learning and thus did as little as possible. The most clever of them went on to do work that required their degree--video games (as unfortunate and under-compensated as work in that field is), the FSA, and other academic disciplines. The ones who thought they were clever and spent time giggling, enamored with their own intelligence, discussing minutia with colleagues, doomed themselves to careers in business software--that which requires very few reasoning skills: just follow the patterns that have always been in place. Those who don't follow the patterns create the epic VB and J2EE WTFs that cross my eyes and are far more idiotic than anything I've seen displayed here. Immaturity kept them from REAL education, and they are several thousand dollars poorer, gaining no skills whatsoever.
Problem 2: No women in IT Women ARE (obviously in general) more mature--eager to learn and to please the ones in authority over them. They will generally go the college path of the career. Then they encounter the immaturity of their colleagues and generally choose a different brainy discipline. Those that persist are generally the stand-offish ones. In college, the good-looking ones are worshiped (but never talked to, immaturity remember) or ignored. In both cases, the 5th-grade maturity level divides the sexes. The few that "make it" to the working world are typically very hostile from their experience. They are then seen as "overly-defensive" and avoided.
Problem 3: Most of the folks in the above categories have too much time on their hands and spend their time trolling these forums. I am one of the damned. I was good in school. I was also immature. Now I'm stuck in b*$%ness software. But I pass the time (generally logged in as Nagesh or boog) by chumping all of you knuckleheads.
This is my confession. This is my future.
Admin
I think im in love.
Admin
I think I just threw up a little in my mouth...
Admin
Where's the solution? Amidst all that text, I see no actual solution.
Admin
Admin
Or use a spellchecker.
Admin
A couple of issues with this argument...
There are those of us who ended up in business software not because we are immature, or stupid, but because we are simply too nonchalant to really care about money or ambition. Think April Ludgate on Parks and Recreation.
You don't think part of the reason there are so few women in IT has something to do with the fact that 90% of CS students are men? I had entire classes in college where there were no more than two or three girls, out of about fifty total students.
Admin
No, no it's a shoutout to Hideo Kojima.
Admin
Lern 2 reed!
This also addresses a previous comment about how there are more female engineers than software engineers.
Admin
Admin
... and this is about when I close my tab to TDWTF for the day...
Admin
[quote=ShatteredArm]2) You don't think part of the reason there are so few women in IT has something to do with the fact that 90% of CS students are men? I had entire classes in college where there were no more than two or three girls, out of about fifty total students.[/quote]
As a female in IT, I think part of the reason there aren't more women in IT is the boys' club attitude. There's a certain level of arrogance in this field that is intimidating (or at the very least a turn-off) to most women. As the oldest (of 5) and the only girl in my generation, it doesn't bother me, and I can generally see through the big attitude to the actual technical aptitude of someone.
I currently deal with a tech support guy who thinks he's god's gift to bits, and treats everyone else like a 3-year-old. (It's not just me. I was paranoid there for a while, until he was on the phone with a manager in my organization and told him "Uh, no. Wrong Answer." in the way you would correct someone adding 2 and 2 to get 7.) But the product is ... well, let's just say that the backend wouldn't have passed an exercise in a DBA for beginners class, and the web front-end wouldn't pass for looks in any evaluation of HTML today. To the point where I've considered how to anonymize it for a WTF. This guy knows his product, but doesn't know how broken it is, and doesn't understand that say, we'd want to be able to report on the tickets that we put into the system.
One of the other reasons I don't think there are a lot of women is because they just aren't as interested in taking things apart and learning how they work as men are. I don't know if it's learned behavior. All I know is I got the "make 100 things from this breadboard and wire" kits as a kid, and enjoyed them. Then again, I always liked my math and science classes, and I loved the first-order logic class that I took my 2nd time around in college, but my brain only goes up to Calc II, as I failed Calc III twice before giving up a 2nd time on formal education, and I would have needed another three math classes for a CS degree. 15 years later, I don't see the need for a degree to continue in the field I've chosen, and I have test anxiety that makes it difficult to get certifications -- but I'm employed, and I enjoy what I do.
Admin
Admin
You enjoy screwing up the quote system?
Admin
Admin
So, wait, this code was written by a cow's stomach?
Admin
No sane person would openly admit to logging in as either of those guys.
Admin
I'm so happy that my cousin Rumen has his good codes recognized on this site not once but twice for outstanding code. Everyone should follow his example on how to write great code!
Admin
Yeah, not too bad for a CS graduate, eh?
Admin
Doesn't matter if it is. A smart API would memoize redundant DB calls.
Admin
Admin
Admin
I have been fielding calls all day.
Bobby Jo Stuart and Tim Van Der Hoot can not access their login. PLEASE HELP!
CAPTCHA: NISL what!