- 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 should register an account. After "submit", I realized that I left out the tie-in:
Likely, the developer was trying to activate the window, but some other process was interfering. Rather than trying to figure out what it was, the developer figured they would call Activate over and over until it worked. The same problem my Swing-dumb predecessor had: complacent incompetence.
Admin
One More
Admin
Admin
What you are referring to is the convention of starting ordinal numbers with zero:
index of 0 -> 1st index of 1 -> 2nd index of 3 -> 3rd etc.
If cardinal numbers started at zero, it would look like this: count of 1 -> 0 count of 2 -> 1 etc.
It wouldn't make any sense, so...
"Real programmers know the difference between cardinal and ordinal numbers."
Admin
WHOOOOOSH
Admin
Needs more enterprisiness. Looks like you need a few more object factories generating crap from XML files deployed in glorified zip files.
Admin
I got the joke, but someone was wrong on the internet
Admin
Admin
Had a really good interview the other day, I'm hoping to put in my resignation shortly.
If there should come the point of discussing what people can handle my current tasks, I'm not so sure I won't be able to mention that I wouldn't hire a couple of my cow-workers to wash my car.
These are people who've been around IT for 25 years +, but haven't changed their approach with the times, and are now the very definition of hack.
Or perhaps they never had the analytical skills of you average chimpanzee to start with, I guess I don't know.
Admin
Admin
Why would anyone hire developers to wash their car?
Admin
1, 2, many (3 <= i < \aleph_0), lots (i >= \aleph_0)
--Joe
Admin
Admin
A: 1 Couple: 2, sometimes 3 Few: more than 2, less than 5 Several: more than 3, less than 10 Handful: 5-20 Lots: 10-50 Many: 20-100 Heaps: 50-1000 Buttload (or the metric Ass-tonne): 500-9000 Over 9000!!!!!!!!: exactly what it sounds like.
Does that help?
Admin
Oh yes, that would be so hilarious if that happened.
Admin
Are you being sarcastic? I can't tell at all!
Anyway, I already did that in the base-64 encoding thread.
Admin
Does it really matter exactly what "several" means? Isn't it more relevant what the guy who originally used the word "several" meant? Instead of arguing about the literal definition and forgetting the context in which it was used, which defeats the purpose of trying to understand what the guy said?
Hmmm.. If I heard someone else say this I might just tell them: "Welcome to the internet"
Admin
Bring it the fuck on! Also, screw you, Akismet!
Admin
Or could it be that the coder was trying to pad the the LOC measurement that some managers use?
Admin
You just had to ruin my day with a vision of Balmer bouncing around on stage.
Admin
Admin
Perhaps we're missing the chance for some fun with this UI signaling...
Activate(); Sleep(); Activate(); Sleep(); Activate(); Sleep(); Activate(); Sleep(); Sleep(); Sleep(); Activate(); Sleep(); Sleep(); Sleep(); Activate(); Sleep(); Sleep(); Sleep(); Activate(); Sleep(); Activate(); Sleep(); Activate(); Sleep();
Admin
Won't work. Needs random numbers.
Admin
Admin
I didn't even click on the link and knew it was some fag linking Wikipedia. It's not clever. It's not funny. Just the word "smell" with a link under it and the short, useless, one sentence post was all I needed to know that you were linking the cartoon where the editor iteratively one-up each other on how they input an article.
It was great to read when it came out. It's even great when clicking on the Random Article button on the site and seeing it. It's NOT funny when someone links to it from a one-sentence post and thinks they're so fucking clever to have discovered Wikipedia.
You probably still use lmgtfy and think you're so damn clever.
It means in real life, you're an unoriginal hipster doofus.
Got anything to do with sanitizing inputs to a SQL database, etc.? Link to Secure input and output handling. Got a nerd-project slow-ass turing machine? Like a minecraft logic circuit from redstone? Link to the one where it's some guy alone in the world making Stonehenge out of rocks. Got a story about password security or encryption? Link to the one where they broke RSA cryptography with brute force attacks.
Fuck off. You're not clever.
Admin
[quote user="Luiz Felipe"][quote user="Grandma Narsi"] Damn fucking convoluted logic. Who have coded it? I think i understood. 2 = few 3 = few 4 = few / several 5 = several 6 = many [/quote]
Be sure to use random selection for 4: It'll make the user's life more ... interesting ... that way.
("User friendly? What's that? Oh. We generally prefer user abusive.")
Admin
The actual title is Enterprise Software Architect - I think he just shortened it for the sake of the article, you are correct though........ This is also only a tiny tiny FRACTION of the WTFs I found within...... and to answer the code review question as to why an architect was doing tedious code reviews was because we needed to asses what it would take to either re-write or retro-fit the existing applications into our Enterprise Framework. In this case, it's a re-write - as were most of the apps I reviewed. That should make more sense...... :-D
These comments are all priceless, I laughed all morning. Thanks everyone.
Admin
Admin
Can i haz new wtf plz?
kthxbai
Admin
Or he was paid by the line
Admin
Admin
Admin
Admin
Just watch, this is going to be the only article posted over and over for the next 8 days.
Admin
Well, you're a fucking offensive cunt, aren't you, shithead?
Admin
I've written my fair share of sleep code, and it goes a little something like this:
Admin
Yep, that was the sound of the joke going over your head...
woosh
... actually, I'm not being fair. There was this douchebag ted who flamed on the fact that people link to old xkcd articles, and this was a parody of it... I would link to it myself, but it may create a rift in the space-time continuum, and because I'm lazy.
Admin
No no! We should link to it so then someone can flame me for linking to a Daily WTF comment!
Admin
Admin
Admin
Admin
Now if it had been named DoMagic instead of Activate I think it probably would have been worthy of some sort of award ;)
Admin
Is there are suggestion he's sleep deprived?
And why haven't the "Where's todays post?" posts started...
Admin
I think one of these came not long after
Admin
plural of random numbers >= 8 (and multiple of 4).... a couple of random numbers would be 8
I wonder if the plural implies a few, several or many?
Admin
Admin
Same difference.
Admin
I work on surface & multi-touch applications and have to work with WPF frequently. The documentation is horrendous. It's even worse for MS Surface.
Admin
First - if you use a framework, trust it will Activate the window for you after the Activate() call.
Second - It gives you an event, telling you when it is done.
Third - Activating a window actually need to execute something in the UI thread, if it happen that you are blocking the UI thread, it will not activate - no matter how hard you try.
When you are using WPF - use to the fact that you and the WPF engine are two separate entity, you tell it to work, and then it will be working at its own pace. After the work is done, it will tell you so.
So in that code example - all it needs to do is to activate() at the end of the method, and believe WPF will activate the window.
If you are uncomfortable and absolutely need the window to get activated. Place a timer - wait for the isactivated event or, if it does not come on time, retry as much as you want.
The code sucks if you need some UI state in the mid of an event handler.
Admin
Picture yourself interviewing a candidate (a seasoned C++ and C#/.NET developer) who, in his role as MS MVP, obtained early access to pre-release versions of ".NET FX"... Which includes "Avalon", as early as May 2005. Immediately recognizing the potential of the new platform, he starts experimenting with XAML and code-behind right away. In July 2005, MS makes the name "WPF" official. Subsequently, your interviewee publishes articles and hold speeches about the future technology. A publisher approaches him for a book about WPF. In September 2005, he is hired for his first real-world project involving WPF. Since then, and up to today, he has been working exclusively on WPF projects, and particularly as an expert of that technology - so in fact and every effect, as of today, your candidate has ~6 years of solid, in-depth, everyday, hands-on experience with WPF.
Now, my question for you, dear valued interviewer: What exactly would you expect your candidate to put in his resume under the item "WPF experience", if not "5+ years", without you accusing him of "lying" or even "rounding up"? Isn't he rather modestly rounding down already? ;-)
Really curious to know...