- 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
Sick! Sick! Sick!
Admin
noscript is not just useful for paranoids who seriously think the browser is going to take over their computer and empty their bank accounts (as opposed to redirecting their clicks to fraudulently pump up a third party's ad revenue). I know a lot of people who use it just because they're sick of looking at stupid rollover ads.
Admin
Noscript is also good at preventing drive-by downloads/malware installation/etc. All it takes is one wrong click to get the crap onto your machine. Even legitimate adservers sometimes serve malware javascript.
Noscript also highlights the general illiteracy that web developers have - there are websites you browse that are literally completely functional without javascript (I didn't realize Apple's website was not "allowed" - it just kept working), and websites where clicking a link requires javascript to move one page.
Admin
Unfortunately, the rendering is much slower, probably because the output is much larger (all those long URL params... four per pixel!). Moreover it chokes after a couple of zoom levels when the step size gets down to using E-notation, which is apparently not parsed correctly by the next step. Also, it doesn't look like the zoomed-in rendering shows exactly the right location... maybe I need to change the scale? Anyway, fixing those issues is left as an exercise to some other reader.
Kudos to Joel/bisqwit for a fun toy and an interesting way to render raster results in a browser.
and here's the modified mandelbrot.xsl:Admin
Why do we allow something that is supposed to be for formatting (stylesheets, xslt) have both the full power of a turing machine and full access to browser state and data, and the ability to upload that information back to whereever?
Admin
... an example of Greenspun's Tenth Rule. (Assuming XSL was coded in C or derivatives, of course.)
Admin
PS: The result is slightly elongated horizontally on Firefox 3.5 Beta 4 / linux, also.
Admin
OH NO!
I took care to disable images in my browser to avoid being lethally brain-crashed by Langford's Parrot-basilisk, and now you tell me you can draw it on my screen just using XML? I'm so screwed.
Admin
The Real WTF #1 is that you consider XSLT "scripting". The Real WTF #2 is that my Firefox with NoScript enabled (including on TDWTF) renders the XML just fine. The Real WTF #3 is that because of something you did in 1998, you think you had a clue.
Admin
Maybe not trivial to write, but trivial to have in your toolbox:
(Thanks to dpawsons XSLT FAQ which every XSLTer should have a bookmark to.
Admin
buy viagra online http://canadlan-drugs.com
Admin
That's by Bisqwit, he has a YouTube channel and he's really good