|
If I've told you once, I've told you a thousand times!
Last post 01-09-2007 6:23 PM by foxyshadis. 22 replies.
-
01-02-2007 8:07 PM
|
|
-
fennec


- Joined on 11-07-2006
- Posts 358
|
If I've told you once, I've told you a thousand times!
I'm sure all know generated HTML is rarely something to be proud of. Sometimes, though, it's worse than others. This particular bit just seemed a bit... insistent. Here's a screenshot from 'vi' running in a session of PuTTY:

There were several more screens' worth of this.
:(){ :|:& };:
|
|
-
-
codemoose


- Joined on 05-24-2006
- Posts 45
|
Re: If I've told you once, I've told you a thousand times!
what are you complaining about? that looks really pretty! </sarcasm>
Lusers - making the unthinkable a reality since 00:00:00 UTC, January 1, 1970
|
|
-
-
Cap'n Steve


- Joined on 09-07-2006
- Posts 456
|
Re: If I've told you once, I've told you a thousand times!
Am I disturbed for thinking that picture would make a good logo or background?
|
|
-
-
Arancaytar


- Joined on 12-02-2005
- Frankfurt, Germany
- Posts 175
|
Re: If I've told you once, I've told you a thousand times!
Look at it from a few meters away - it's the national flag of WTFistan. ^^.
A monk asked Joshu: isTrue(dog.hasBuddhaNature()) ? Joshu replied: FILENOTFOUND
|
|
-
-
skippy


- Joined on 03-10-2006
- Calgary, AB
- Posts 190
|
Re: If I've told you once, I've told you a thousand times!
Cap'n Steve:Am I disturbed for thinking that picture would make a good logo or background?
*insert bad joke regarding cameras and wooden tables*
|
|
-
-
Whiskey Tango Foxtrot? Over.


- Joined on 03-10-2006
- I'm a Nashville carpetbagger.
- Posts 332
|
Re: If I've told you once, I've told you a thousand times!
Cap'n Steve:Am I disturbed for thinking that picture would make a good logo or background?
Actually, I agree. Hey, fennec -- think you can take a screen of that at 1280x1024 and post it here?
Agile Team-Oriented Waterfall-Centric Cowboy Coder.
|
|
-
-
barfoo


- Joined on 10-27-2006
- Posts 44
|
Re: If I've told you once, I've told you a thousand times!
The question is, were all those font tags closed properly?
|
|
-
-
-
sparked


- Joined on 07-31-2006
- Posts 15
|
Re: If I've told you once, I've told you a thousand times!
I've needed new wallpaper for some time now. Thank you.
|
|
-
-
fennec


- Joined on 11-07-2006
- Posts 358
|
Re: If I've told you once, I've told you a thousand times!
Irrelevant:This tiles:
Ooh, nice. :)
:(){ :|:& };:
|
|
-
-
DustinMichaels


- Joined on 12-21-2006
- Posts 7
|
Re: If I've told you once, I've told you a thousand times!
The real wtf is that this person put quotations around the size attribute value. Don't they know that it is optional and that they could of saved lots of bandwidth. Arg these people make me mad :(
|
|
-
-
fennec


- Joined on 11-07-2006
- Posts 358
|
Re: If I've told you once, I've told you a thousand times!
barfoo:The question is, were all those font tags closed properly?
Actually, yes. 'tidy' tells me:
tidy:line 1 column 1 - Warning: missing <!DOCTYPE> declaration line 1 column 350251 - Warning: unescaped & which should be written as & line 1 column 245 - Warning: <table> lacks "summary" attribute line 1 column 11484 - Warning: trimming empty <font> line 1 column 58672 - Warning: trimming empty <font> line 1 column 114893 - Warning: trimming empty <u> line 1 column 125093 - Warning: trimming empty <font> ..... line 1 column 361599 - Warning: trimming empty <font>
Info: Document content looks like HTML 4.01 Transitional
192 warnings, 0 errors were found!
I've gone into my versioning system and found the original code. Note for added WTFiness, it's all on one line. (To be fair, it used to be all on many lines, but they were using LF line terminators and some time before I got to the file, those had been replaced - silly Macs, anyway :P). The modified file is here for comparison; only 21 kilobytes, to the original's 356 kilobytes. You may note the font is no longer Arial, Helvitica, or even sans-serif. I is a lazy searcher-and-replacer sometimes, and have more important (if less graphically compelling) WTFs to unWTF.
:(){ :|:& };:
|
|
-
-
joe.edwards


- Joined on 08-14-2006
- Dallas, TX
- Posts 386
|
Re: If I've told you once, I've told you a thousand times!
Love the tiling wallpaper.
|
|
-
-
stvmty


- Joined on 01-03-2007
- Posts 1
|
Re: If I've told you once, I've told you a thousand times!
fennec:
I've gone into my versioning system and found the original code. Note for added WTFiness, it's all on one line. (To be fair, it used to be all on many lines, but they were using LF line terminators and some time before I got to the file, those had been replaced - silly Macs, anyway :P). The modified file is here for comparison; only 21 kilobytes, to the original's 356 kilobytes. You may note the font is no longer Arial, Helvitica, or even sans-serif. I is a lazy searcher-and-replacer sometimes, and have more important (if less graphically compelling) WTFs to unWTF.
wtf firefox chrashed while viewing the source code of that page :(
|
|
-
-
Volmarias


- Joined on 07-14-2005
- Princeton, NJ
- Posts 410
|
Re: If I've told you once, I've told you a thousand times!
Dee-lish.
Reminds me of the crappy code in our authoring system at work. There's a plugin from '96 that we use to turn rich text (from a win32 client) into HTML. It ejaculates font tags into the stream, so many that "Hello world" ends up being about 200 bytes worth of tag markup.
|
|
-
-
Beardy


- Joined on 01-04-2007
- Posts 1
|
Re: If I've told you once, I've told you a thousand times!
Um, I've just looked at the source of the modified file you gave, seems like those font-tags are multiplying again. Broken regex?
|
|
-
-
MasterPlanSoftware


- Joined on 11-10-2006
- Posts 108
|
Re: If I've told you once, I've told you a thousand times!
Wow. I just applied the tiled one as my wallpaper on my triple screen setup (3840x1024) and it is making me dizzy. WTF
|
|
-
-
AbbydonKrafts


- Joined on 11-21-2006
- Carrollton, GA, USA
- Posts 1,022
|
Re: If I've told you once, I've told you a thousand times!
MasterPlanSoftware:Wow. I just applied the tiled one
as my wallpaper on my triple screen setup (3840x1024) and it is making
me dizzy. WTF
LOL. I applied it to my dual screen setup (2560x1024),
turned off desktop icons, minimized everything, and called a co-worker
in yesterday evening. He asked what was I trying to do to him and he
about hit the whiteboard. He said it reminded him of those images that
made it look like it was spinning, but is really static.
Join us at #TDWTF on irc.slashnet.org !
|
|
-
-
fennec


- Joined on 11-07-2006
- Posts 358
|
Re: If I've told you once, I've told you a thousand times!
You're making me jealous of your nice display setups. O_o
:(){ :|:& };:
|
|
-
-
CornedBee


- Joined on 01-29-2005
- Posts 87
|
Re: If I've told you once, I've told you a thousand times!
DustinMichaels:The real wtf is that this person put quotations around the size attribute value. Don't they know that it is optional and that they could of saved lots of bandwidth. Arg these people make me mad :(
Despite the obvious sarcasm, I feel the need to remind people that they're not actually optional, not even in HTML.
|
|
-
-
Tweenk


- Joined on 08-12-2006
- Poland, Warsaw
- Posts 92
|
Re: If I've told you once, I've told you a thousand times!
Quotes around numeric attribute values are not mandatory in HTML, but are mandatory in XHTML. Quotes around non-numeric attribute values are always mandatory. In this case there are font tags, which means that this is HTML (XHTML disallows font tags IIRC), so the quotes are optional.
|
|
-
-
danixdefcon5


- Joined on 01-09-2007
- Mexico City, DF, Mexico
- Posts 669
|
Re: If I've told you once, I've told you a thousand times!
nope ... I've used <form method=POST> and had no problem with that ... :D so quotemarks aren't really mandatory for non numeric.
I wonder if that page was made with obfuscation in mind? I would definitely crap out if I was to modify that thing...
| | |
- GIR
  - Joined on Thu, Jan 1 1970
- Garbage Invasion Robot
- Posts 666
| I'm going to sing the Doom song!
|
|
-
-
foxyshadis


- Joined on 11-21-2004
- Posts 430
|
Re: If I've told you once, I've told you a thousand times!
danixdefcon5:nope ... I've used <form method=POST> and had no problem with that ... :D so quotemarks aren't really mandatory for non numeric.
I wonder if that page was made with obfuscation in mind? I would definitely crap out if I was to modify that thing...
They're mandatory by the SPEC, but generations of web-kiddy idiots prevent any reasonable web browser from enforcing such niceties.
|
|
Page 1 of 1 (23 items)
|
|
|