Comment On FAIL FAIL,FAIL FAIL,FAIL FAIL and More

"We're had been using a manufacturer's web service, but started getting errors all of a sudden," wrote Peter Lindgren. "Something has really, really failed." [expand full text]
« PrevPage 1 | Page 2 | Page 3 | Page 4Next »

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 17:03 • by oheso
381126 in reply to 381116
Zylon:
they reinstated the _target attribute in HTML5.


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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 17:04 • by Ralph (unregistered)
381127 in reply to 381117
dogmatic:
sorry you lost your flash game score little kid when you clicked to read the contests rules, shoulda right-clicked that link dontchya know
Oops, almost missed that one! So explain to me again how you got that game running on little Timmy's computer without sending him any executable code?

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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 17:07 • by oheso
381128 in reply to 381117
dogmatic:

There are many times when a stateful web app cannot be easily restored with a back click.


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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 17:08 • by Zylon
381129 in reply to 381126
oheso:
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.

No, saying something is right because it's in a spec is exactly as valid as saying something is wrong because it's NOT in a spec, which is what Ralph tried to claim.

Do try to keep up, would you?

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 17:11 • by oheso
381130 in reply to 381129
Zylon:

No, saying something is right because it's in a spec ...


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.

Madness? This is 4chan!

2012-05-14 17:35 • by DataURI (unregistered)
381131 in reply to 381127
Ralph:
dogmatic:
sorry you lost your flash game score little kid when you clicked to read the contests rules, shoulda right-clicked that link dontchya know
Oops, almost missed that one! So explain to me again how you got that game running on little Timmy's computer without sending him any executable code?

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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 17:38 • by Zylon
381132 in reply to 381130
oheso:
Zylon:

No, saying something is right because it's in a spec ...


Inclusion in the spec does not make it mandatory.

Congratulations on insisting on following the conversation in your head, and not the one that's actually happening.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 17:40 • by Sigivald (unregistered)
381133 in reply to 381069
That is true, in its place.

But what I noted in:


Public Function Save() As Boolean
Try
SaveMeeting()
Catch ex As Exception
Throw ex
End Try
End Function


was that the obvious explanation is that the catch block is there to let you <I>place a breakpoint</i> 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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 18:33 • by J (unregistered)
381135 in reply to 381117
dogmatic:
There are many times when a stateful web app cannot be easily restored with a back click. Sure you might be able to put everything in a session var, and restore from that, but that could be hours to days of work to implement... or you could just have the click spawn a new window. Try explaining to grandma that she has to fill out the 30 field form page again because she should've ctrl-clicked that link, or how about "sorry you lost your flash game score little kid when you clicked to read the contests rules, shoulda right-clicked that link dontchya know". Your arrogance is pretty funny though, you must be a real treat to work with.


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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 18:41 • by Zylon
381136 in reply to 381135
J:
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 know what those little floating boxes are called? "Windows".

Don't try to re-invent the tools that the OS has already given you.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 19:31 • by anon (unregistered)
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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 19:34 • by Norman Diamond (unregistered)
Michael:
/**

* Defines the value for none. Default is "none".
*/
public static String NONE = "none";

The original code was:
/**

* Defines the value for none. Default is "無".
*/
public static String NONE = "無";

Then a foreigner tried to localize it but didn't know how. They changed the default instead of adding an option to deviate from the default.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 19:34 • by Friedrice the Great (unregistered)
OVERWHELMED, OVERWHELMED, OVERWHELMED, OVERWHELMED, OVERWHELMED, OVERWHELMED and More.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 19:37 • by Norman Diamond (unregistered)
381140 in reply to 381127
Ralph:
The web is for distributing knowledge.

Ignorant cool-tards have turned it into a medium for distributing software.

Yeah, I always wondered who allowed "ftp://" in URLs, and why. Next I wondered why someone allowed http to transport the same kinds of files.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 19:38 • by J (unregistered)
381141 in reply to 381136
Zylon:
J:
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 know what those little floating boxes are called? "Windows".

Don't try to re-invent the tools that the OS has already given you.


Yes, that's what I meant. Instead of a window, why don't you try a window?

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 19:57 • by Ralph (unregistered)
381143 in reply to 381137
anon:
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.
I didn't realize this was a popularity contest. I'll get back in line immediately sir!

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 20:10 • by Johnny come lately (unregistered)
381144 in reply to 381024
QJo:
There's a cogent reason for defining SLASH = "/" and PERCENT as "%". They're control characters. When you want to build a string using them, in certain contexts, you don't want to muddy the waters by having to remember to escape them. Often more trouble-free to do it this way.
But, but...

Oh, never mind, I see you're a troll....

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 20:15 • by Ching (unregistered)
381145 in reply to 381040
Stefan:
/**
* Defines the value for none. Default is "none".
*/
public static String NONE = "none";

That ain't so bad. Probably just a text when a var. is empty.
although something like String blankText = "none"; or would have been better.
and if we ever decide that "none" is a valid value we can simply change it to "zilch"

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 20:19 • by Dongle (unregistered)
381146 in reply to 381052
oheso:
Otto:
The "target" parameter is not valid in XHTML 1.0 Strict, so using it like that would not pass validation.

You have to consider your use-case with HTML, basically. Which makes HTML the real WTF here.


Links which open in new windows are TRWTF.
Exactly. When surfing pr0n and you want videos in each window you can right click and explicitly choose what should be opened in a new window

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 20:31 • by Samran (unregistered)
381147 in reply to 381092
Nagesh:
Lot of code is writing because of comercial demand. If business want to have 83 params or 84 params in function, developer should do it.


After all, the person holding the cheque book is always right!


If you had told Shah Jehan, Taj mahal can not be built, he would have cut off your head and fed it to the pigs. Great monument in art always built on sacrifice.

So don't worry if getting code to production ready state is going to upset a few people like your wife and children.
Don't trust man with cheque book - he can't pay...
Better work for company with cash or card

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 20:43 • by Chief (unregistered)
381148 in reply to 381127
Ralph:
dogmatic:
sorry you lost your flash game score little kid when you clicked to read the contests rules, shoulda right-clicked that link dontchya know
Oops, almost missed that one! So explain to me again how you got that game running on little Timmy's computer without sending him any executable code?

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.
Damn-straight Ralphy. They should pay for it like we used to!!

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 20:48 • by JB (unregistered)
381149 in reply to 381137
anon:
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.
Not true - if anything he's strengthened my opinion...

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 22:20 • by Cheong (unregistered)
"I had to look over some C# code written by a colleague of mine," notes John D, "the following lines represent just the tip of the iceberg of the pain that I had to go through while understanding the code."

bool true1 =true;
bool true12 = true;
.... snip ....
true1 = false;
true1 = false;

Don't mind. Just change the interpretation of these trueX variable as boolX and you'll be fine. (Or will it?)

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-14 23:20 • by Coyne
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){

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 01:50 • by dogmatic (unregistered)
381153 in reply to 381127
Ralph:
dogmatic:
sorry you lost your flash game score little kid when you clicked to read the contests rules, shoulda right-clicked that link dontchya know
Oops, almost missed that one! So explain to me again how you got that game running on little Timmy's computer without sending him any executable code?

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.


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!

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 02:30 • by peter (unregistered)
381154 in reply to 381101
_:
You should quit trolling:
Ralph:
My Name:
I don't know more than HTML basics
Right, so you must be the guy who wrote 97% of the sites on the web, right? Or else the guy everyone else is copying? (Sigh!)
My Name:
<a href="/the/path/to/the/url"
onclick="window.open(this.getAttribute('href'),'_blank');return false;">
link text
</a>

I assume there is a way to do this without Javascript?
Uh, yeah. You know, there was a web before someone got the profoundly indefensible idea to let every random idiot worldwide take control of your browser.

<a href="/the/path/to/the/url">link text</a>

That's it! Simple, right? But that's all you have to do! In fact that's all you should do.

(Whine) But I want it to open in a new window...

Fuck you and the horse you rode in on, arrogant asshole! It is ***MY*** computer not yours!!! If I want a new window I can right click and open the link in a new window or a new tab. That's my choice not yours. Go to hell.


You're wrong, the feature was implemented for a reason. Sometimes (frequently) the user flow only makes sense to open as a popup or new tab. Just because you can't follow the simple flow of a website doesn't mean we should all become ludites.

Name one.


Opening a help window on a form that is now halfway filled out comes to mind.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 02:31 • by David (unregistered)
381155 in reply to 381127
Ralph:
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.


(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!

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 02:34 • by will (unregistered)
Don't have a problem with the GUID code.<br>
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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 02:34 • by dk (unregistered)
381157 in reply to 381068
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).

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 02:56 • by lolwtf
public static final String BACKSLASH = "\";
public static final String QUOTE = """;

hey, why is our code leaking out of our backslash?

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 03:10 • by toon
About those constants, and how the submitter questioned they were real, I found this in our code the other day:

$us = "_"; // underscore

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 04:31 • by xorsyst
381160 in reply to 381111
the beholder:
There's another situation: when you're writing an email on Gmail and you remember you need info that's in a message somewhere in your Inbox/Sent box/whatever. Why lose your current email when you can click the nice little diagonal arrow to pop your mail out and enable you to use the other window to search for the info you want?


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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 04:58 • by Artem Chachanidze (unregistered)
381162 in reply to 381063
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)

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 05:07 • by zirias (unregistered)
381163 in reply to 381021
Bednee:
Actually, the way to open a link in a new window makes sense. The reason is that "target" attibute isn't valid in some XHTML doctype (I believe it's Strict, which else right). So in order to keep validity it has to be done this way.


Indeed, definitely not a WTF. Even has a nice fallback for clients without javascript and avoids data duplication.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 05:21 • by TheRider
381164 in reply to 381154
Ralph:
(Whine) But I want it to open in a new window...

Fuck you and the horse you rode in on, arrogant asshole! It is ***MY*** computer not yours!!! If I want a new window I can right click and open the link in a new window or a new tab. That's my choice not yours. Go to hell.
This definitely depends on the audience. I know plenty of people in my vicinity who don't have a CS degree, who only use computers very irregularly and who can't distinguish between entering a URL in the address line of the browser and entering a search term in the Google window that happens to be their startup site. These people also have no clue that their mouse has more than just the left button. When I tell them to right-click to open the context menu, I am regularly met with blank stares -- or prolonged, astonished silence, when on the phone. To help these people out, I regularly make within-a-homepage-links open in the same window and outside-of-the-current-homepage-links open in a new tab. They love me for that. So it's not so much that *I* want it to open in a new window (I, personally, couldn't care less), it is more of an ease-of-use thing.

peter:
Opening a help window on a form that is now halfway filled out comes to mind.
You are, of course, right in so far as most of the time, in these circumstances, we would lose the form content if the help came up inside the same window. But that is only because most web programmers don't know their asses from their elbows. Technical correct solutions are possible, and help-in-a-new-window is just the easy way out. Don't get me wrong, I don't hate new windows when they make sense, and they *do* make sense if the web developer doesn't know any better.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 05:37 • by MORAN (unregistered)
381165 in reply to 381155
David:
Ralph:
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.


(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!

I don't get it. Are you agreeing with him or not?

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 05:42 • by Jake (unregistered)
381166 in reply to 381025
Bednee:
Se:
Bednee:
Actually, the way to open a link in a new window makes sense. The reason is that "target" attibute isn't valid in some XHTML doctype (I believe it's Strict, which else right). So in order to keep validity it has to be done this way.


Agreed. That one isn't a WTF.


Disagreed. Although the author of that particular snippet of code may have had no choice, it's most definitely a WTF to be forced to use Javascript over plain standard HTML to open a link in a new window. Forcing your own WTF upon thousands of other developers? Not only is that a WTF, it takes WTF to a whole different level.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 06:03 • by TheSHEEEP (unregistered)
381167 in reply to 381166
It's like WTF domination.

Captcha - nisl. Fa-shizzle?

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 06:04 • by Mathew (unregistered)
381168 in reply to 381033
SergeS:
My Name:
<a href="/the/path/to/the/url"
onclick="window.open(this.getAttribute('href'),'_blank');return false;">
link text
</a>

I don't know more than HTML basics, so I assume there is a way to do this without Javascript? Otherwise, I don't see the wtf.


Yes, but this is not valid XHTML way


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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 06:07 • by Mathew (unregistered)
381169 in reply to 381146
Dongle:
oheso:
Otto:
The "target" parameter is not valid in XHTML 1.0 Strict, so using it like that would not pass validation.

You have to consider your use-case with HTML, basically. Which makes HTML the real WTF here.


Links which open in new windows are TRWTF.
Exactly. When surfing pr0n and you want videos in each window you can right click and explicitly choose what should be opened in a new window


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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 06:11 • by Mathew (unregistered)
381170 in reply to 381041
Otto:
The "target" parameter is not valid in XHTML 1.0 Strict, so using it like that would not pass validation.

You have to consider your use-case with HTML, basically. Which makes HTML the real WTF here.


No, Otto, the WTF is you. HTML Strict doesn't allow the target-attribute (not, parameter - moron) either. Fucking wannabe.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 06:12 • by nobulate
381171 in reply to 381069
Medinoc:
As a .Net developer, I ABHOR the "throw ex" construct: It strips the exception of its stack trace, making debugging harder.


Or to put it another way:

DestroyCallStackException up = new DestroyCallStackException();

throw up;

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 06:42 • by Glad (unregistered)
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

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 06:45 • by omghi (unregistered)
381173 in reply to 381069
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...

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 06:52 • by Herr Otto Flick (unregistered)
381174 in reply to 381125
oheso:
the beholder:
Why lose your current email when you can click the nice little diagonal arrow to pop your mail out and enable you to use the other window to search for the info you want?


Can give the user the choice without forcing it on him. IOW, a regular link with no target specified.

FTFY.


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'.

* The best thing about standards is that there are so many to choose from.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 07:02 • by Medinoc
381175 in reply to 381172
Glad:

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

Or you could simply use Throw without argument.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 07:17 • by Mathew (unregistered)
381176 in reply to 381047
Nappy:
The HTML 4.0 specification took away the target attribute, but it added another attribute: rel. This attribute is intended to specify the relationship between the document that contains the link, and the target of the link. The specification defines a bunch of standard values for this attribute (e.g. next, previous, chapter, section), most of which have to do with relationships between small sections of a larger document. However, the spec leaves the developer free to use nonstandard values for site-specific purposes.

http://www.sitepoint.com/standards-compliant-world/


Please don't cite bs. the rel-attribute was there long before HTML4.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 08:55 • by NMe
381178 in reply to 381087
Ralph:
Fuck you and the horse you rode in on, arrogant asshole! It is ***MY*** computer not yours!!! If I want a new window I can right click and open the link in a new window or a new tab. That's my choice not yours. Go to hell.

You give the guy more credit than he deserves. I'd bet he used XHTML, validated the site and got the message saying that the target-attribute is not allowed, then figured this would be the way to solve that. Classroom example of someone who uses validation as a goal instead of a means to an end.
Jake:
Bednee:
Se:
Bednee:
Actually, the way to open a link in a new window makes sense. The reason is that "target" attibute isn't valid in some XHTML doctype (I believe it's Strict, which else right). So in order to keep validity it has to be done this way.


Agreed. That one isn't a WTF.


Disagreed. Although the author of that particular snippet of code may have had no choice, it's most definitely a WTF to be forced to use Javascript over plain standard HTML to open a link in a new window. Forcing your own WTF upon thousands of other developers? Not only is that a WTF, it takes WTF to a whole different level.

Validation is not a goal in itself. There is not a single browser out there that will break upon seeing a target="_blank". Worst case scenario, a browser will ignore it. It will never break the website. It will never cause the user problems.

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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 09:59 • by Martin (unregistered)
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.

Re: FAIL FAIL,FAIL FAIL,FAIL FAIL and More

2012-05-15 10:04 • by Mathew (unregistered)
381196 in reply to 381137
anon:
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.


Generally, complete retards don't change their mind that fast
« PrevPage 1 | Page 2 | Page 3 | Page 4Next »

Add Comment