WTF #1: Allowing employers to filter by age. That is seriously illegal most of the time in the US.
Posts made by jcoehoorn
-
RE: Document search
-
RE: Planned server move!
No all nighter or 11 drive hour here. They're outsourcing the shipping portion to a 'specialist', which probably includes secure overnight storage.
-
RE: Best f**king censorship ever
In the company's defense, I can see the merits in putting a system like this in place for outgoing email. For many business it just wouldn't do to allow that kind of thing accidently go out to clients. But incoming? When the message is obviously part of a conversation thread where previous messages have passed?
That gives me an idea... I wonder if you could improve spam filter performance noticabley by identifying messages that are part of conversation threads in the which the recipient has already partipated, and giving them a much lighter spam check. It certainly wouldn't matter for one inbox unless you could also use it to improve accuracy (which I guess at least in this case it would have), but say you're running a large system that checks a few million messages per day?
-
RE: You fail
I nominate for most appropriately titled post of the year award. ;)
-
RE: Swatting flies with Jackhammers
@vt_mruhlin said:
I was going to comment on how arias326&iodizing isn't "memorable" in my book, but then I typed this response without having to look, so I guess maybe it is.
If you look closely, you see that he was able to select the difficulty. That's pretty memorable for 17 characters at a reasonably high quality setting. -
RE: Unexpected Error Handling
@Pendi said:
At least they don't show you the exception.
Actually, if you look at the Microsoft error more closely you'll see they don't show you the exception either:
"Error settings for this application prevent the details of the application error from being viewed remotely."
-
RE: Order of operations
@H|B said:
Reminds me of the many if (something.Test() && something != null) I see once in a while...
That reminds me of an old VB6 WTF:In the debug environment, function arguments where evaluated right to left. In the release environment, they are evaluated left to right. Or vice versa, I'm not sure which anymore. The issue was mitigated somewhat since VB didn't do short-circuit evaluation, but it was still possible to get erroneous results if you had something like this:
If FunctionThatCanThrowError() And FunctionThatUpdatesDatabase() ThenEnd If
-
RE: Verizon bad math
@belgariontheking said:
On the other hand, what prompted this guy to record this particular phone conversation?
IIRC, this is a real event where the customer had purchased the service based on the cents quote, then went overseas for over a long trip and used the service based on the quoted rate. Then he got home and saw his bill was 100 times bigger than he expected. If I were expecting a $40 bill and it was $4,000 instead I'd think about recording my conversation too.
-
RE: DreamHost $7.5 Million Billing System Error
@medialint said:
I see a parade ...
Of attorneys ...
In clown suits ...
Drooling ...
Almost a haiku:
I see a parade
Of attorney in clown suits
Drooling rabidly
-- f'lar
-
RE: Calc.exe is apparently cutting edge technology
Or you could ask someone over at DevShed ;)
-
RE: For your amusement, brought to you by std::vector
People here complain here about Community Server all the time. It's really not all that bad, and can be a good choice for many forums. But here? On a forum including a large number of programmers? Community Server sucks for posting code snippets. There are about 1/2 dozen nice alternatives available for less than the cost of Community Server with a decent method for posting code snippets built in. So, not your fault about the angle brackets.
-
RE: MD5 Brute Force Attack
"You should now always use a salt that is at least the same length as your hash."
Actually, that's not quite right. You salt the users's password such that the result is longer than 16 characters before converting it to a hash. When creating the hash, use SHA-2 or Bcrypt rather than md5. Though I suppose salting the hash afterward wouldn't really hurt anything.
http://www.codinghorror.com/blog/archives/000949.html
http://www.codinghorror.com/blog/archives/000953.html -
RE: Representative Last-Ten-Lines
Reminds me of the end of the Hitchhiker's Guide to the Galaxy series.
-
RE: TableItemArray
I think there's already an Dictionary<string, string> equivalent in system.collections.specialized that might save you some typing.
-
RE: Wors Than Failure WTF #999
@Alex Papadimoulis said:
It's a problem because most people re-use passwords over and over again. Your forum password has a high probability of being identical to your password at your bank's web site or your domain login at work.@Latexxx said:
When you register to these forums, the system sends you an email with your password in plain text.
I don't understand why people consider this insecure. Setting aside the fact that it's a just a message board account, if some one has access to your email account, then they can just as easily request a "password reset" link.
-
RE: High quality photo of router
That's a 10 mega-pixel image. You might be able to do an acceptable job with lighting and background on your own, but you might not. And do you have a 10 mega-pixel camera?
Though I have to believe that anyone who would actually have a need for such a pic would likely need many more such pics, in which case they are likely better off doing it themselves, or at least buying in bulk rather than paying $30@ off a web site.
For a better WTF, look at the pictures below the main item on the page. It reminds me of the old Sesame Street song, "One of these things is not like the others..."
-
RE: Captcha Generation - the new method
It's only, what, 130 bytes per pixel?
And re-rendering to a single bitmap before passing it on to be OCR'd wouldn't take much.On the other hand it's actually kinda neat right now, because it's about the most readable captcha I've ever seen (no distortion at all), and there's likely not a single system on the planet that will crack it automatically as is.
-
RE: We ARE morons - WTF?
I like this line:
<font face="verdana, arial, helvetica, sans-serif" size="2">Comments like "UGLY TERRIBLE HACK" tend to indicate good code rather than bad: in bad code ugly terrible hacks are considered par for the course.</font>
-
RE: $35 Fee for a $50 "Loyalty Credit"!
You know, 12/1 is tomorrow. Maybe you should wait a day.
-
RE: Your password is not complex enough
That looks like the standard Active Directory notification. The WTF here though isn't ActiveDirectory. AD allows the administrators to set the policy however they want, and then merely enforces the chosen policy. A friendly message (perhaps with examples) would be nice, but not really necessary. So go blame your admins :)
-
RE: FileMaker Pro exports a string field as a number
@antonrojo said:
I think you are 100% correct about the guessing. SAS uses a very similar approach and you literally set an option called GUESSINGROWS when using the lazy option to import a file.
Guessing is okay on import. It's not your native file type, and the file may not have inherent type information. On export, however, you ought to know better.
-
RE: You have to try to do nothing with so much code.
Let's have a little contest: Who can write the most code that will compile to no instructions?
-
RE: Java Applet WTF?
@asuffield said:
@belgariontheking said:
It's got to be up there, unless you include scripting languages that aren't compiled in the first place. C# is pretty easy, too.Java is the easiest language to decompile.
Not by a long shot - but nonetheless, it is still very easy.
-
RE: Google Referrals WTF
What funnier is that some typed 'picture of' rather than using google's image search.
-
RE: Using clipboard for application communication
I have to plead guilty here. I used the clipboard once a long time ago to move data from word to excel (or something- I don't remember the precise details any more). In my defense, it's was the first of only three VBA scripts I've ever written, and it was to fix a problem with some files that had to be done that day, no time to go learn the right way to do it.
-
RE: Wikipedia, anyone can edit it
For that matter, there are compilers out there for some scripting languages, and on the other side I've even heard of a C++ interpreter.
-
RE: COMPOUND WTF TEST
Well, it is possible they used to be different and then changed so they were all the same, resulting in a copy past that included comments. But still...
-
RE: GetTimeNow
"This vb code is hurting my eyes !"
The appearance of the code is remarkably sane for vb code. Variables are declared with types, and the if/else structure is very readable. The fact that they want to encapsulate the functionality provided by Date.Now.ToString("hh:mm") & ":00" isn't a big deal either. If you do this a lot it's nice to have that small bit a logic scurried away somewhere. But the fact that they took 20 lines to implement a one-liner, the volatile variable bug, and the fact that the function exists but is never used make this wtf-worthy.
-
RE: WeatherBug bug
WeatherBug does (or did, it's been a while) show ads. That in itself isn't a big deal. It's not great, but it's part of the package. However, IIRC for a while some of the ads included some other more significant malware, prompting some anti-spyware vendors to include weatherbug in the definitions for their products. These days I think WeatherBug ads are clean and it's not blacklisted, though again: it's been a while since I've used it.
-
RE: SQL Param WTF
Someone with some amount of programming skill had to have written a report capable of going to the database and getting those IDs. Why not do the update right there, where no human intervention is needed? It would probably all fit in one update statement, no Params ever needed.
-
RE: It will help reduce support calls...
"in my system, only the end users (we have about 10) can generate requirements to change anything."
That's fine, as long as you're allowed to meet with users every now and then to 'suggest' requirements :)
-
RE: It will help reduce support calls...
This is an example of failing to meet user's expectations. For whatever reason, whether a holdover from a previous package or some other conditioning, your users expect no@email.com to be treated as a NULL value. Adapt to that- one extra if statement with a comment for the reason it exists isn't so hard to write
-
RE: I'm a proud citizen of NULL
Not to mention going to the expense to build an online alumni community in the first place. Just put a link to the right facebook group on the alumni page...
-
RE: BlnEvtName = blnEvtName == false? true : false;
@DaveK said:
construct, before I went and blindly replaced one with the other, my first question would be "What the fsck does it even mean to be taking the boolean not of something that purports to be the name of an event?"
The bln prefix indicates that this variable is, in fact a boolean (or at least should be). Hungarian notation aside, apparently only two events ever exist, and they have the names 0 and 1. ;p
-
RE: Please amputate my data
Speaking of amputated data, all I can view is top 1/5th or so of the image.
-
RE: Transcript of a real teleconference
Sounds like they could have got a lot more done by replacing clown 2 with a trained monkey.
-
RE: Amazing compression with BackupExec
Way back in college we had to do an implementation of Huffman's algorithm. IIRC we were told that Huffman coding was supposed to be able to guarantee compression on 'large files', though the definition of large files was conveniently omitted, as was an explanation for why you couldn't then just keep running huffman's over and over again until the file ceased to be 'large'.
-
RE: $4B Medicare IT Contract
Actually, I've heard Lockheed in particular has a decent software division. Or at least did at one time. I had a CS professor in college who'd worked there back in the day. Also because you have to meet certain 'standards' and be on some approved contractors list to even be allowed to bid for contracts like this. Those companies are, or course, already on the list.
-
RE: Old Lady cute wtf
It's funny because the user not only didn't know anything about how a computer worked but clearly doesn't understand how a pencil eraser works as well.
-
RE: Dell WTF
@snoofle said:
Good catch - image what the guys at id s/w could do with that ;)
I'm more of Valve fanboy myself.
-
RE: The most powerful Java method ever???
@jpaull said:
Just a plain Exception??? I would think it would be some sort of 'InsufficientPermissions' Exception that gets thrown if the User is not GOD. :)
I'm guessing this program always runs as root, and we all know that root is God.
-
RE: Tourists say the funniest things (Non-code wtf)
A Tourist Attraction is defined as a place which the local population will do anything at all possible to avoid.
-
RE: Tips for SWT usage
He's talking about the order controls get focus when you use the tab key on your keyboard, not just a tab control to show different pages in a dialog.
-
RE: Straight to the point boolean evaluation
Wow, that looks ugly, but it doesn't matter which one has precedence. Either way, it boils down to this:
if (!Page.IsPostBack)
-
RE: Enterprise Manager Choices
JDEdwards used to bug you like that. Invest $1Million implementing ERP software, forget a (very cheap) liscense renewal and everyone gets popups when they try to open it on their local machine and you're locked out of important company data.
-
RE: Vista Power Security WTF
Mizpah- I think his point isn't so much that he need to fix his own machine but that anyone could walk up to most any locked vista machine, and simply unlock it.