- 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
Admin
Maybe they "should", for "normal" users, but I know that when I'm browsing, I don't want them to. If I want a new tab/window, I'll tell the browser I want one, thank you very much. I'd be perfectly happy if I could configure my browser to ignore target.
As I said in a previous post, the thing that really bugs me is when javascript it used for this in a way that means that me opening a link in a new window doesn't actually work, and I have to normal-click it instead. That's just brain dead implementation.
Admin
Would have liked XXX-Backside-Service even more.
Admin
Oviously you don't know always beforehand know whether it makes sense to open a page in a new tab. This is why the target-attribute is important. And yes, browsers should provide an option to ignore it. Just like you can disable js, images, css. Even better they should allow you to configure rules which pages to open in a new tab and which not - taking presedence over the authors target suggestion (just like user/author css).
The reason this doesn't exist yet, maybe is due that most people like having external links in new tabs.
Admin
And, as others have pointed out, throw ex will mess up the stack trace info so even if you really needed to put a breakpoint there (instead of just breaking on exception) you ought to rethrow the original exception properly.
I have a whole slew of WTFs from the same developers that I really ought to submit at some point....
Admin
Validation could be a client requirement, it has been for me on a few projects. Perhaps HTML Strict is TRWTF, but it's also possible that the project was inherited with that doctype already set. Without context we can't really know if this is a WTF or not. I do know one thing, it's definitely no big deal, not like some monstrosities I've seen, like CC numbers that pass over http and are stored unencrypted in a db. Or perhaps the nice Flex "Framework" that I had to work with one time that had it's own broken way of parsing xml, even though e4x had been around for years already. When I suggested we just use e4x instead of debugging their crap, I was met with angry silence. That's months of hard work gone to waste dontchyaknow!
Admin
You assume he's counting 83 lines by hand instead of copy and pipe the pasteboard into wc -l? You FAIL, FAIL, FAIL.
Admin
MS made the mistake of trying to cater for idiot users, and only succeeded in creating more idiotic users.
Idiots will always find a way to make their own life inconvenient. Write GUI's for competent (not necessarily expert) users. Users will (out of necessity) either become competent or fall by the wayside. Writing GUI's to support idiots only makes a cumbersome interface for everyone else, and (if anything) turns otherwise competent users into morons.
Admin
Admin
Holding a grudge against _blank just because your porn sites spammed you isn't very smart either.
Admin
You may be living in the past.
My webapps are single page and your back button is both useless and not supported.
What I mean there, is that there are much better ways to navigate than simply back and forward (that scheme only handles one path by the way), like a recent list adapted to your application for example.
IMHO, any application DIRECTLY supporting the back button is a WTF in this day and age, there is only bad consequences to that kind of stuff.
And any application supporting it INDIRECTLY is so missing the point because for the same work, one could simply put a better navigation scheme in place than ol' stupid backforward reload everything except some is cached but some is not ...
Admin
Actually you have so much more control AND interaction possibilities with a popup div that using the OS windows would be the worst approach, hitting popup blockers as well.
Admin
lol.
And this is why you shouldn't trust anyone's GUID code to be correct.
By the way, do you know if the source for SQL Server GUID uses hashes ?
Cuz if it's the case, you've got hidden collision potential ;)
Oh and, even java's GUID function is broken, so I doubt you'll find a perfect implementation in microsoft land ;)
Admin
Admin
Do users understand the browser back button?
Also, fuck you Akismet. Let's see how much blather I have to tack on here before your incompetent heuristics decide this isn't spam.
Admin
The fact that people using the web as it is today, i.e. ever so retarded and still in dire need of back forward nav due to its mainly folder file tree design, require a back button has absolutely no relevance when you design an application.
Do you have a back button in Outlook ? calc ? notepad ?
No, there are only back buttons where it makes sense, explorer, winamp and vlc.
So quit using your failed rethoric on how websites should remain in the dark ages of folder-based html and join us in 2012, it's great here.
Admin
"Folder-based HTML"?
Hooooo boy, this thread is really bringing out the moonbats.
Admin
I don't fail often.
But when I do, I FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL!
Admin
Admin
Admin
"I'm not talking about Websites, I'm talking about web apps, which is why Websites shouldn't support a back button". So...Websites are old fashioned are they? I notice the likes of google, yahoo and facebook are still banking on them pretty heavily.
When they start trying to get out of them at a rate of knots, I might start to worry...
Admin
Captcha: appellatio - oh dear....I've never enjoyed fruit so much
Admin
Fortunately, calling him an idiot is applicable either way.
Admin
So if you FAIL at FAILing, have you succeeded?
Admin
Yes, it's also called an URL.
Who the fuck wants every screen to have its own URL ????
The only reason people are attached to that is because in the past it was the only way, using static webpages that were files located in folders, thus the "folder-based" term referring to the directory structure of the old web.
Admin
No. You will press the back button if you want to go back, that's true for all users.
Now what does that mean when there's no "back" ? nothing. And it will not even cross your mind to press mouse4 because you don't want to go "back".
I am talking about APPLICATIONS, not friggin websites OR random users OR potential clients.
Admin
Nobody's talking about websites here.
Admin
You're just off in the corner being the spittle-spewing crazy guy.
Admin
Admin
I question both of these statements. I ran the following SQL script:
DECLARE @myid uniqueidentifier, @cnt int
SET @cnt = 0
WHILE @cnt < 20 BEGIN SET @myid = NEWID() PRINT 'Value of @myid is: '+ CONVERT(varchar(255), @myid) SET @cnt = @cnt + 1 END
And got these results:
Value of @myid is: 21026332-881C-4B45-B4AB-44B7408FC5FA Value of @myid is: 0523D6C4-ABAE-4B48-B607-116CA558895A Value of @myid is: CED0DDA9-E7A7-460C-9827-C7B1C554AD20 Value of @myid is: 8D4D8151-D419-4E3E-AC41-03E308B405D9 Value of @myid is: 1A0AA5A2-D4AE-465C-B990-3DCA04B34666 Value of @myid is: 339A9289-EEC0-4ABA-B1F7-D22612FC2226 Value of @myid is: D312DE2F-FE20-4111-A22F-07B46FA6F5F1 Value of @myid is: 212C0D21-22E0-428E-A9CA-18C06EDA9FF2 Value of @myid is: 67FB1BB5-9CE5-4E41-AA3C-893F454979B9 Value of @myid is: 9B7EA234-4A61-483F-AC6A-3508E57083A6 Value of @myid is: D9ABDC99-F0E9-4A32-99FF-D91B39DED459 Value of @myid is: B9F71A1B-C538-44F5-8B99-BB52F4A7ED13 Value of @myid is: 1EBC1EF9-8920-4252-9784-E1FB20C2EB87 Value of @myid is: 0BF2BEF7-D1FB-49AC-A2CA-7C7FA2B876D6 Value of @myid is: 52BAD120-D769-4374-84BF-372FAE59B915 Value of @myid is: 7B176EB3-E043-48AC-94A1-077F98D83106 Value of @myid is: F3A73B9A-BB1F-46B0-BCEA-752FE18AD971 Value of @myid is: 471F65F4-999F-4283-9BD9-74440FC9E6D1 Value of @myid is: 0DA978A1-2264-439C-ACAB-6795FBA9CA9D Value of @myid is: B2F775DD-1DC4-4F50-855F-EB0E3AE28EE7
Can someone please explain the words "sequential" and "monotonic" as they relate to these results? Because I can't see how they do.
Admin
Regarding GUIDs see: http://blogs.msdn.com/b/ericlippert/archive/2012/04/30/guid-guide-part-two.aspx
Addition: The shown code as a "WTF" looks like VBScript, which has no built-in GUID-class or GUID-methods, so the function shown as a "WTF" is a good idea.
Admin
Yes, you still need to instantiate an object that is outside of the base VBScript object model, but the DLL that provides this object is part of Windows. http://blogs.technet.com/b/heyscriptingguy/archive/2005/02/21/how-can-i-create-a-guid-using-a-script.aspx
Wow. My first brush with Akismet being retarded....
Admin
It's NEWSEQUENTIALID() that returns sequential GUID, not NEWID().
Admin
That is exactly how it got there.
First... this probably made the front page because I used the VS extension, and I will agree it's not a really horrible WTF.
However, it is a useless function that does nothing but push the stack. It causes a compiler warning (which the vendor says is "ok, it's just a warning, nothing important") because it can never return a value, but it does build. The SaveMeeting() function is the very next block in the code file, and it's not implementing an "ISaveAble" interface or something. All it does is push the stack, eat the exception, and return null. I don't buy the debugging argument, because you can just as easily put your breakpoint in the SaveMeeting function, or its exception handler (which does the same thing as this one... nothing).
Admin
Well, the content of the bh, let me see the also want to see a few times more, content directly highlighted a theme, let the subject becomes more bright, and theme and then in line with the be fond of, it is too good, I'll focus on.