homeGeek CultureWebstoreeCards!Forums!Joy of Tech!AY2K!webcam

The Geek Culture Forums


Post New Topic  New Poll  Post A Reply
my profile | directory login | | search | faq | forum home
  next oldest topic   next newest topic
» The Geek Culture Forums   » All about the comics!   » The Joy of Tech   » Beautiful like.... JAVASCRIPT??

 - UBBFriend: Email this page to someone!    
Author Topic: Beautiful like.... JAVASCRIPT??
Ti
Assimilated
Member # 941

Member Rated:
5
Icon 11 posted April 17, 2009 21:14      Profile for Ti   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Maybe I missed a satirical angle on this strip, but anyone who has actually had to code in Javascript will know that while in the end it may be functional, it is one of the ugliest languages out there. Full of hacks to try and get it into the different browsers. The lake in question should be full of tires, old cars, muddy rainwater, and should have a leaky dam.

Or maybe I'm just angry because I've spent the whole day trying to get a page to come up right in IE6.

--------------------
Check out my webpage/blog/review stash
www.logichigh.com

Posts: 377 | From: Sunnyvale, CA | Registered: Oct 2001  |  IP: Logged
Infinitesimal
Geek
Member # 4865

Member Rated:
5
Icon 1 posted April 17, 2009 21:17      Profile for Infinitesimal     Send New Private Message       Edit/Delete Post   Reply With Quote 
Don't worry I dont get it either.
I'm living proof that Javascript will cause hair loss.

IE6 can die. die. die.

--------------------
That which doesn't kill you can only make you stronger. Therefore I am damn near indestructable.

Posts: 153 | From: Melbourne, Australia | Registered: Jan 2006  |  IP: Logged
dragonman97

SuperFan!
Member # 780

Member Rated:
4
Icon 1 posted April 17, 2009 22:21      Profile for dragonman97   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Well...I still say that JS is far more beautiful than PHP.

JS works very nicely when you're just using it in Firefox. [Wink]
I've worked hard to remove JS from things that are used by IE - it just isn't worth the headache.

I can't speak too well about Safari - but I did just write a 14 line piece of JS that retools all the links on a given page to work better on Mobile Safari.
code:
function main() {
// Test for Mobile WebKit browser
var isMobile = WebKitDetect.isMobile();

if(isMobile){
//Rewrite all links to images - possibly even use iUI
var links=document.getElementsByTagName("a");
for (var i=0;i<links.length;i++){
var curr_link=links[i];
var innerImg=curr_link.childNodes[1];
curr_link.href=innerImg.src;
}
}
}

AFAIC, that was easier than making a new copy of the page (which would need maintenance!) specifically for Mobile Safari and doing server-side sniffing.

It helps that I've spent a bit of time working on Greasemonkey, but I really find the general design of the DOM to pretty decent to manipulate. XPath is incredible, but has a STEEP learning curve, and doesn't have good cross-browser support.

[/geek]

--------------------
There are three things you can be sure of in life: Death, taxes, and reading about fake illnesses online...

Posts: 9332 | From: Westchester County, New York | Registered: May 2001  |  IP: Logged
fs

Solid Nitrozanium SuperFan!
Member # 1181

Icon 1 posted April 18, 2009 01:11      Profile for fs   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
"Beautiful like.... JAVASCRIPT??" should have been a poll option. That was my first thought too.

--------------------
I'm in ur database, makin' moar recordz.

Posts: 1973 | From: The Cat Ship | Registered: Mar 2002  |  IP: Logged
Snaggy

Sir Snaggalot!
Member # 123

Member Rated:
5
Icon 3 posted April 18, 2009 08:58      Profile for Snaggy   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
The joke is supposed to be interpreted that the scenery looks just like those tacky javascript webpages, not that the beautiful scene is like javascript code.

You're all just too [Geek] for me. [Razz]

Posts: 8111 | From: Canada | Registered: Jan 2000  |  IP: Logged
fs

Solid Nitrozanium SuperFan!
Member # 1181

Icon 1 posted April 18, 2009 11:28      Profile for fs   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Oooh... I get it now! [blush]

--------------------
I'm in ur database, makin' moar recordz.

Posts: 1973 | From: The Cat Ship | Registered: Mar 2002  |  IP: Logged
Snaggy

Sir Snaggalot!
Member # 123

Member Rated:
5
Icon 3 posted April 18, 2009 11:33      Profile for Snaggy   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
I should have used javascript to animate it. [Razz]
Posts: 8111 | From: Canada | Registered: Jan 2000  |  IP: Logged
dragonman97

SuperFan!
Member # 780

Member Rated:
4
Icon 1 posted April 18, 2009 14:07      Profile for dragonman97   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Snaggy:
The joke is supposed to be interpreted that the scenery looks just like those tacky javascript webpages, not that the beautiful scene is like javascript code.

You're all just too [Geek] for me. [Razz]

When you're /not/ on vacation, could you provide a relevancy link for those of us who avoid tacky JS sites? ;P

Cheers,

dragon

P.S. I'm in the left person's camp, I think - I just enjoy beautiful settings and forget about tech while doing so. [Razz] Nature is a wonderful thing to enjoy...and on that note, it's beautiful out here now, so ta!

--------------------
There are three things you can be sure of in life: Death, taxes, and reading about fake illnesses online...

Posts: 9332 | From: Westchester County, New York | Registered: May 2001  |  IP: Logged
Infinitesimal
Geek
Member # 4865

Member Rated:
5
Icon 1 posted April 18, 2009 20:50      Profile for Infinitesimal     Send New Private Message       Edit/Delete Post   Reply With Quote 
I'll have to agree with dman on this one, when persented by scenes such as that the last thing on my mind is tech. It would usually be me going "oooooooooh" followed by pulling out the DSLR if I've thought to pack it.

[Smile]

--------------------
That which doesn't kill you can only make you stronger. Therefore I am damn near indestructable.

Posts: 153 | From: Melbourne, Australia | Registered: Jan 2006  |  IP: Logged
Snaggy

Sir Snaggalot!
Member # 123

Member Rated:
5
Icon 3 posted April 19, 2009 12:10      Profile for Snaggy   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Relevancy Link... the script I used.
Lake
Author: David Griffiths
an applet class which takes in an image and reflects it in a virtual lake. More info here:
http://www.jaydax.co.uk/tutorials/laketutorial/dgclassfiles.html

Image for the comic...
http://www.geekculture.com/images/javascriptwater/lake.html

Posts: 8111 | From: Canada | Registered: Jan 2000  |  IP: Logged
MacManKrisK

Gold Hearted SuperFan!
Member # 955

Member Rated:
5
Icon 1 posted April 19, 2009 12:25      Profile for MacManKrisK     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Infinitesimal:
...the last thing on my mind is tech. {snip} pulling out the DSLR

The DSLR is tech, is it not?

--------------------
"Buy low, sell high
get rich and you still die"


Posts: 2331 | From: Southwest Michigan, USA | Registered: Oct 2001  |  IP: Logged
fs

Solid Nitrozanium SuperFan!
Member # 1181

Icon 1 posted April 19, 2009 12:41      Profile for fs   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Arg, my eyes. Snaggy, there should be a seizure warning on that.

--------------------
I'm in ur database, makin' moar recordz.

Posts: 1973 | From: The Cat Ship | Registered: Mar 2002  |  IP: Logged
dragonman97

SuperFan!
Member # 780

Member Rated:
4
Icon 1 posted April 19, 2009 14:09      Profile for dragonman97   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Snaggy:
Relevancy Link... the script I used.
Lake
Author: David Griffiths
an applet class which takes in an image and reflects it in a virtual lake. More info here:
http://www.jaydax.co.uk/tutorials/laketutorial/dgclassfiles.html

Image for the comic...
http://www.geekculture.com/images/javascriptwater/lake.html

That's actually pretty damned cool - first time I've ever seen it, though!
(Utterly frivolous and better suited to Flash, but still nifty.)

--------------------
There are three things you can be sure of in life: Death, taxes, and reading about fake illnesses online...

Posts: 9332 | From: Westchester County, New York | Registered: May 2001  |  IP: Logged
Infinitesimal
Geek
Member # 4865

Member Rated:
5
Icon 1 posted April 19, 2009 16:49      Profile for Infinitesimal     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by MacManKrisK:
quote:
Originally posted by Infinitesimal:
...the last thing on my mind is tech. {snip} pulling out the DSLR

The DSLR is tech, is it not?
Yes I suppose, but I don't think of how it works when I'm using it, in fact even the settings are subconcious, the photographer spends more time thinking about the photo than how the camera works, or at least the ones that get the point. The hapless souls that only think in technical terms never really get past the happy snap phase.

Much to learn tiny grasshopper [Big Grin]

--------------------
That which doesn't kill you can only make you stronger. Therefore I am damn near indestructable.

Posts: 153 | From: Melbourne, Australia | Registered: Jan 2006  |  IP: Logged
Richard Wolf VI
SuperBlabberMouth!
Member # 4993

Icon 1 posted April 20, 2009 00:03      Profile for Richard Wolf VI   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Snaggy:
Relevancy Link... the script I used.
Lake
Author: David Griffiths
an applet class which takes in an image and reflects it in a virtual lake. More info here:
http://www.jaydax.co.uk/tutorials/laketutorial/dgclassfiles.html

Image for the comic...
http://www.geekculture.com/images/javascriptwater/lake.html

That seems Java, not JavaScript to me. Similar syntax different runtime environments, isn't it?

--------------------
The same old iWanToUseaMac... Who am I fooling? I'm getting a Wii now, iWanToUseaMac isn't :P
Get Opera. The best web experience.
Contest. Group. Success.

Posts: 1356 | From: Bogotá, Colombia | Registered: Mar 2006  |  IP: Logged
dragonman97

SuperFan!
Member # 780

Member Rated:
4
Icon 1 posted April 20, 2009 06:23      Profile for dragonman97   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Actually...apples and oranges.

Similar name, completely different beasts.

--------------------
There are three things you can be sure of in life: Death, taxes, and reading about fake illnesses online...

Posts: 9332 | From: Westchester County, New York | Registered: May 2001  |  IP: Logged


All times are Eastern Time  
Post New Topic  New Poll  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:

Contact Us | Geek Culture Home Page

© 2015 Geek Culture

Powered by Infopop Corporation
UBB.classicTM 6.4.0



homeGeek CultureWebstoreeCards!Forums!Joy of Tech!AY2K!webcam