- 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
They (re)instated a whole bunch of crap in HTML5 and made code soup the norm.
I'm not saying there isn't a whole bunch of useful stuff in HTML5; there is. But to say something is right because it was included/allowed for in HTML5 is pretty much akin to justifying spelling and grammar via finding matching examples on the internet.
Admin
You see, this is the core problem.
The web is for distributing knowledge.
Ignorant cool-tards have turned it into a medium for distributing software.
This is a fundamentally flawed idea that can never be made secure. We knew in the 1960s not to mix data and code! But then we forgot, I guess.
But who cares about all the victims of this silliness? Timmy must have his dancing cartoons, mustn't he? And we can't think of any other way to get him some entertainment software. Pathetic.
Admin
It's doable and it should be done. Don't pop up a new window on me because you're a lazy programmer.
I have to work every day with other peeps' screwy web apps where the back button breaks stuff, and it gives me pleasure every day to think of awful things happening to those developers. Really awful things.
Admin
Do try to keep up, would you?
Admin
Inclusion in the spec does not make it mandatory.
I am not Ralph. I understand his position. I don't keep to it myself exclusively, but I will say that by default sites I visit do not execute JS on my computer.
Admin
Admin
Admin
That is true, in its place.
But what I noted in:
was that the obvious explanation is that the catch block is there to let you place a breakpoint to catch it in the act, rather than being 'real' code intended to do anything useful in and of itself.
This makes even more sense if SaveMeeeting is, say, a method in a DLL that you don't have access to the internals of.
Admin
This is a job for one of those little floating page elements, warning you you're about to lose all your form data. Or better yet, the information she's looking for itself should go in a little floating box, instead of opening a new window.
You can probably tell I don't know a whole lot about web development. I'm speaking from a user's perspective -- I prefer if the sites I visit never open new windows on their own.
Admin
Don't try to re-invent the tools that the OS has already given you.
Admin
Congratulations, Ralph. You've just convinced anyone that previously thought there was no place for opening links in a new window to change their mind. Simply because they don't want to be on the same side as you.
Admin
Admin
OVERWHELMED, OVERWHELMED, OVERWHELMED, OVERWHELMED, OVERWHELMED, OVERWHELMED and More.
Admin
Admin
Yes, that's what I meant. Instead of a window, why don't you try a window?
Admin
Admin
Oh, never mind, I see you're a troll....
Admin
Admin
Admin
Admin
Admin
Admin
Admin
Fixed that for them:
if(t1 == '' || t2 == '' || t3 == '' || t4 == '' || t5 == '' || t6 == '' || t7 == '' || t8 == ''){ alert("Please fill-up all the fields"); dataok = false; return(dataok);} t4 = t5; if(t4 != t5){ alert("Please enter the password again"); dataok = false; return(dataok);} if(t9 == 0){
Admin
Hahaha oh man that's the best laugh I have all day. Thanks for taking the time out of filing your punch cards to discuss!
Admin
Opening a help window on a form that is now halfway filled out comes to mind.
Admin
(The scene: somewhere, in the past.)
Luser: I shouldnt have to put in any effort whatsoever! The computer should just work!
Marketroid: Yeah! You engineers, make it just work!
Engineers: What? No. Just... no.
PHB: Do it or youre fired.
Engineers: Well, all right then. But this is a really bad idea.
(The scene: some time later.)
Luser: It broke and all my stuff is gone! Waa! Waa!
Engineer (to second engineer): Fancy a cup of tears? I saved some for you.
Second engineer: Mmm. Delicious!
Admin
Don't have a problem with the GUID code.
Worked on one system where the application language, middleware language, and database all had GUID function and all three created them in different formats. Finally standardized on just one and because of the nature of the project GUID had to be created but not used in the database you had stuff like that to get a GUID.
Admin
You're wrong. This will compile; and return 'False'.
In VB.Net, you can ommit the 'return' and the method will return the default value (which is 'False' for boolean).
Admin
public static final String BACKSLASH = ""; public static final String QUOTE = """;
hey, why is our code leaking out of our backslash?
Admin
About those constants, and how the submitter questioned they were real, I found this in our code the other day:
Admin
I never noticed that arrow before. I've always just middle-clicked on "Inbox", to open my inbox in another window. No silly javascript required.
Admin
Recording ALL possible personal details abount clients is a common practice in Georgia (Country in Caucasus). (I'm one of the maintainers of that 'serious' banking app)
Admin
Indeed, definitely not a WTF. Even has a nice fallback for clients without javascript and avoids data duplication.
Admin
Admin
Admin
Admin
It's like WTF domination.
Captcha - nisl. Fa-shizzle?
Admin
Sure, it is, you fail. It has nothing to do with XHTML - HTML strict doesn't allow it either.
Not allowing the target-attribute is the real wtf. Just because some fascists wrongly believe this shouldn't be possible.
Admin
Links to external websites should ALWAYS be opened in a new tab. If you don't agree you're a fucking retard that know nothing about ux.
Admin
No, Otto, the WTF is you. HTML Strict doesn't allow the target-attribute (not, parameter - moron) either. Fucking wannabe.
Admin
Or to put it another way:
Admin
Try SaveMeeting() Catch ex As Exception Throw ex End Try
Will actually result in the stack being lost beyond the line Throw Ex.
If you wanted the stack to keep earlier entries in the stack, then you will have todo: Try SaveMeeting() Catch ex As Exception Throw New Exception(ex.ToString(), e) End Try
Well in C# anyway
Admin
How odd that .NET behaves that way. In the sane world of Java, catching e and throwing e a bit later preserves the original stack trace, as you're throwing exactly the same exception object you caught. Of course, catching e, and throwing new Exception() would lose it...
Admin
Because users are idiotic twats who need to be guided by the hand to do anything. This doesn't cover you? Tough shit matey, the world doesn't revolve around "making things perfect for oheso".
It's people like you that ensure that the target attribute of an href is not valid in so many 'standards'*, because it upsets their semantic sensibilities of what HTML 'should be'. TRWTF is arguing about how evil opening a new window is to the extent that people use some crufty JS to work around the 'standard'.
Admin
Admin
Please don't cite bs. the rel-attribute was there long before HTML4.
Admin
Twisting and turning yourself into the strangest code constructions just to conform to a guideline is the kind of mindless idiocy that ruins so many websites out there. A site does not have to validate as long as you can explain why it doesn't and why you need the feature that breaks validation. Choosing to break your site's functionality just to have a validating site shows to me you clearly haven't gotten the point.
Admin
Actually there is a good reason why DB GUIDs are better. We've had a problem with Windows generating a repeating GUID about once every 20 000 times where SQL Server does not.
Admin
Generally, complete retards don't change their mind that fast