<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gubatron.com &#187; AJAX</title>
	<atom:link href="http://www.gubatron.com/blog/category/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gubatron.com/blog</link>
	<description>Another Venezuelan Geek in New York</description>
	<lastBuildDate>Tue, 16 Mar 2010 18:18:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Plurk.com Review</title>
		<link>http://www.gubatron.com/blog/2008/06/03/plurkcom-review/</link>
		<comments>http://www.gubatron.com/blog/2008/06/03/plurkcom-review/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 17:38:13 +0000</pubDate>
		<dc:creator>gubatron</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[plurk]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.gubatron.com/blog/?p=822</guid>
		<description><![CDATA[What is it?
In short, it&#8217;s a twitter clone, a time waster, with a little more thought into it. Is it more complex? Maybe not, sometimes the right added functionality makes life easier for people. 
Why you should try it?
I tried Jaiku, Pwnce, FriendFeed and Twitter, and stayed with Twitter. I&#8217;m actually proud to say that [...]]]></description>
			<content:encoded><![CDATA[<h3>What is it?</h3>
<p><a href="http://www.plurk.com" rel="nofollow"><img align="right" src="http://www.plurk.com/static/logo.png" border="0" style="margin:10px 10px"/></a>In short, it&#8217;s a twitter clone, a time waster, with a little more thought into it. Is it more complex? Maybe not, sometimes the right added functionality makes life easier for people. </p>
<h3>Why you should try it?</h3>
<p>I tried Jaiku, Pwnce, FriendFeed and Twitter, and stayed with Twitter. I&#8217;m actually proud to say that I&#8217;ve sent 6,801 Twitts that have landed me 390 twitter followers, and this is probably the hardest thing about switching from Twitter to another competitor, as good as it may be.</p>
<p>But from last week I&#8217;ve been hearing about Plurk, and today after some good web-reputable friends joined I decided to give it a try (see the power of web-prestige?), before they joined I just thought&#8230; &#8220;another twitter competitor&#8221;.</p>
<p>The added functionality might make things better, it&#8217;s probably the evolution of micro-blogging happening, and twitter needs better competition in order to get better.</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://twitter.com/home?status=Plurk.com+Review+http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F&amp;title=Plurk.com+Review"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F&amp;title=Plurk.com+Review"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F&amp;title=Plurk.com+Review"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F&amp;headline=Plurk.com+Review"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Plurk.com+Review&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Plurk.com+Review&amp;u=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Plurk.com+Review&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Plurk.com+Review&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Plurk.com+Review&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F&amp;title=Plurk.com+Review&amp;summary=&amp;source="><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F06%2F03%2Fplurkcom-review%2F&amp;title=Plurk.com+Review"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.gubatron.com/blog/2008/06/03/plurkcom-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 3.1 Benchmark part II &#8211; VS Firefox 3.0b4</title>
		<link>http://www.gubatron.com/blog/2008/03/20/safari-31-benchmark-part-ii-vs-firefox-30b4/</link>
		<comments>http://www.gubatron.com/blog/2008/03/20/safari-31-benchmark-part-ii-vs-firefox-30b4/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 19:53:47 +0000</pubDate>
		<dc:creator>gubatron</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Geeklife]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[3.1]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[ff3]]></category>
		<category><![CDATA[firefox3]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[safari3.1]]></category>

		<guid isPermaLink="false">http://www.gubatron.com/blog/2008/03/20/safari-31-benchmark-part-ii-vs-firefox-30b4/</guid>
		<description><![CDATA[This is the Part II of Benchmarks between Safari 3.1&#8217;s JavaScript engine and Firefox. Last Benchmark was done against Firefox 2, and Safari destroyed Firefox&#8217;s Javascript engine, in some aspects being up to 7 times faster.
So I was curious and I downloaded and tried the benchmark on Firefox 3.0b4. to see how much Firefox 3.0 [...]]]></description>
			<content:encoded><![CDATA[<p>This is the Part II of <a href="http://www.gubatron.com/blog/2008/03/19/new-safaris-javascript-engine-kicks-ass/">Benchmarks between Safari 3.1&#8217;s JavaScript engine and Firefox</a>. Last Benchmark was done against Firefox 2, and Safari destroyed Firefox&#8217;s Javascript engine, in some aspects being up to 7 times faster.</p>
<p>So I was curious and I downloaded and tried the benchmark on Firefox 3.0b4. to see how much Firefox 3.0 will improve its Javascript performance, key to today&#8217;s web applications and the future of the web.</p>
<p>After seeing the results, I say Kudos to the Firefox 3 team, they&#8217;ve improved considerably their JavaScript engine and that only makes me glad cause I won&#8217;t have to switch to Safari. :)</p>
<p>I will not make any tests on HTML rendering, if you find any benchmark results on HTML rendering, please leave links on the comments section.</p>
<p>Once again, here are the results side by side:</p>
<style>
pre {
border:none;
font-size:9px;
}
</style>
<table cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<pre style="background-color:#FFCC00; width:205px">FIREFOX 3.0b4
========================
RESULTS
(means and 95% confidence intervals)
-----------------------------------------
Total:                 3876.6ms +/- 0.9%
-----------------------------------------

  3d:                   489.0ms +/- 1.3%
    cube:               193.8ms +/- 1.2%
    morph:              138.2ms +/- 1.5%
    raytrace:           157.0ms +/- 3.8%

  access:               594.2ms +/- 5.6%
    binary-trees:        57.4ms +/- 5.9%
    fannkuch:           246.0ms +/- 0.8%
    nbody:              219.8ms +/- 13.6%
    nsieve:              71.0ms +/- 2.1%

  bitops:               470.4ms +/- 0.7%
    3bit-bits-in-byte:   67.8ms +/- 1.5%
    bits-in-byte:        90.8ms +/- 1.8%
    bitwise-and:        177.4ms +/- 1.1%
    nsieve-bits:        134.4ms +/- 0.5%

  controlflow:           42.4ms +/- 1.6%
    recursive:           42.4ms +/- 1.6%

  crypto:               257.2ms +/- 1.2%
    aes:                 87.4ms +/- 1.3%
    md5:                 83.8ms +/- 4.0%
    sha1:                86.0ms +/- 0.0%

  date:                 412.0ms +/- 0.4%
    format-tofte:       251.6ms +/- 0.6%
    format-xparb:       160.4ms +/- 0.4%

  math:                 502.0ms +/- 2.2%
    cordic:             188.0ms +/- 0.5%
    partial-sums:       231.2ms +/- 5.2%
    spectral-norm:       82.8ms +/- 3.6%

  regexp:               275.6ms +/- 1.0%
    dna:                275.6ms +/- 1.0%

  string:               833.8ms +/- 0.7%
    base64:              98.6ms +/- 1.4%
    fasta:              228.8ms +/- 3.2%
    tagcloud:           166.2ms +/- 0.6%
    unpack-code:        218.6ms +/- 0.5%
    validate-input:     121.6ms +/- 0.6%
</pre>
</td>
<td valign="top">
<pre "background-color:#888; width:205px">SAFARI 3.1
========================
RESULTS
(means and 95% confidence intervals)
-----------------------------------------
Total:                 <strong>3368.8ms</strong> +/- 1.0%
-----------------------------------------

  3d:                   414.8ms +/- 1.9%
    cube:               132.2ms +/- 2.4%
    morph:              144.6ms +/- 4.1%
    raytrace:           138.0ms +/- 0.6%

  access:               520.4ms +/- 4.1%
    binary-trees:        78.6ms +/- 11.3%
    fannkuch:           231.4ms +/- 2.0%
    nbody:              149.2ms +/- 8.1%
    nsieve:              61.2ms +/- 3.9%

  bitops:               449.6ms +/- 2.4%
    3bit-bits-in-byte:   69.8ms +/- 9.6%
    bits-in-byte:        99.2ms +/- 4.6%
    bitwise-and:        167.2ms +/- 2.3%
    nsieve-bits:        113.4ms +/- 6.7%

  controlflow:           91.2ms +/- 4.7%
    recursive:           91.2ms +/- 4.7%

  crypto:               247.2ms +/- 2.3%
    aes:                 81.2ms +/- 2.5%
    md5:                 83.8ms +/- 4.6%
    sha1:                82.2ms +/- 2.0%

  date:                 306.4ms +/- 0.5%
    format-tofte:       146.6ms +/- 1.4%
    format-xparb:       159.8ms +/- 1.0%

  math:                 454.8ms +/- 1.3%
    cordic:             174.4ms +/- 1.6%
    partial-sums:       193.8ms +/- 1.2%
    spectral-norm:       86.6ms +/- 4.4%

  regexp:               209.6ms +/- 0.7%
    dna:                209.6ms +/- 0.7%

  string:               674.8ms +/- 2.2%
    base64:             103.8ms +/- 9.0%
    fasta:              177.0ms +/- 1.0%
    tagcloud:           136.0ms +/- 4.6%
    unpack-code:        136.0ms +/- 1.7%
    validate-input:     122.0ms +/- 2.6%
</pre>
</td>
</tr>
</table>
<p>Almost there. Only in Flow control and recursion it beats Safari, the rest needs to improve, however, it&#8217;s improved a lot comparing to the previous version of Firefox.</p>
<p><center><img src="http://farm3.static.flickr.com/2174/2345121485_4a81e90d19.jpg?v=0"/></center></p>
<p>The machine used for this test is a MacBook Pro running Mac OS X Version 10.4.11 with a 2.33 GHz Intel Core 2 Duo and 2GB 667 MHz DDR2 SDRAM.</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://twitter.com/home?status=Safari+3.1+Benchmark+part+II+%26%238211%3B+VS+Firefox+3.0b4+http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F&amp;title=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F&amp;title=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F&amp;title=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F&amp;headline=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4&amp;u=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F&amp;title=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4&amp;summary=&amp;source="><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F20%2Fsafari-31-benchmark-part-ii-vs-firefox-30b4%2F&amp;title=Safari+3.1+Benchmark+part+II+-+VS+Firefox+3.0b4"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.gubatron.com/blog/2008/03/20/safari-31-benchmark-part-ii-vs-firefox-30b4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Safari&#8217;s JavaScript engine Kicks Ass!</title>
		<link>http://www.gubatron.com/blog/2008/03/19/new-safaris-javascript-engine-kicks-ass/</link>
		<comments>http://www.gubatron.com/blog/2008/03/19/new-safaris-javascript-engine-kicks-ass/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 17:51:00 +0000</pubDate>
		<dc:creator>gubatron</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Geeklife]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Opinions]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[speed]]></category>

		<guid isPermaLink="false">http://www.gubatron.com/blog/2008/03/19/new-safaris-javascript-engine-kicks-ass/</guid>
		<description><![CDATA[So I downloaded yesterday the latest Software Update for Mac OSX and it included an update of the Safari Web Browser, which I had taken for dead ages ago, I&#8217;m a hardcore Firefox user.
Today I read about the new updates, and I read something that caught my eye at Mackinando.com.
it executes JavaScript six times faster [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm3.static.flickr.com/2094/2345178853_2f0af7ce85.jpg?v=0" align="right" style="margin:10px"/>So I downloaded yesterday the latest Software Update for Mac OSX and it included an update of the Safari Web Browser, which I had taken for dead ages ago, I&#8217;m a hardcore Firefox user.</p>
<p>Today I read about the new updates, and I read something that caught my eye at <a href="http://www.mackinando.com">Mackinando.com</a>.</p>
<blockquote><p>it executes JavaScript six times faster than the rest</p></blockquote>
<p>I go to the Safari Site, and they compare themselves with a previous version, Firefox, and Opera (not IE, not even worth mentioning)</p>
<p>I couldn&#8217;t believe my eyes, so I googled for &#8220;<a href="http://www.google.com/search?client=safari&#038;rls=en&#038;q=Javascript+benchmark&#038;ie=UTF-8&#038;oe=UTF-8">JavaScript Benchmark</a>&#8220;, and tried the <a href="http://webkit.org/perf/sunspider-0.9/sunspider.html">SunSpider JavaScript Benchmark</a> onboth Firefox 2.0.0.12 and the shiny new Safari 3.1.</p>
<p><center><img src="http://farm3.static.flickr.com/2174/2345121485_4a81e90d19.jpg?v=0"/></center></p>
<p>The machine used for this test is a MacBook Pro running Mac OS X Version 10.4.11 with a 2.33 GHz Intel Core 2 Duo and 2GB 667 MHz DDR2 SDRAM.</p>
<p>Here are the results side by side:</p>
<style>
pre {
border:none;
font-size:9px;
}
</style>
<table cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<pre style="background-color:#FFCC00; width:205px">FIREFOX 2.0.0.12
========================
RESULTS
(means and 95% confidence intervals)
-----------------------------------------
Total:                 <strong>15365.4ms</strong> +/- 1.7%
-----------------------------------------

  3d:                   2386.6ms +/- 7.9%
    cube:                733.0ms +/- 20.8%
    morph:              1269.8ms +/- 9.4%
    raytrace:            383.8ms +/- 37.1%

  access:               1386.2ms +/- 4.8%
    binary-trees:        201.6ms +/- 0.6%
    fannkuch:            294.8ms +/- 5.4%
    nbody:               691.2ms +/- 8.9%
    nsieve:              198.6ms +/- 1.5%

  bitops:               3461.2ms +/- 0.4%
    3bit-bits-in-byte:   275.8ms +/- 0.6%
    bits-in-byte:        248.2ms +/- 0.7%
    bitwise-and:        2765.2ms +/- 0.5%
    nsieve-bits:         172.0ms +/- 4.7%

  controlflow:           153.4ms +/- 0.7%
    recursive:           153.4ms +/- 0.7%

  crypto:                527.2ms +/- 0.5%
    aes:                 230.8ms +/- 1.2%
    md5:                 147.4ms +/- 0.5%
    sha1:                149.0ms +/- 0.6%

  date:                 2551.8ms +/- 0.3%
    format-tofte:       1449.6ms +/- 0.3%
    format-xparb:       1102.2ms +/- 0.8%

  math:                 1312.6ms +/- 12.8%
    cordic:              497.4ms +/- 12.0%
    partial-sums:        501.6ms +/- 1.6%
    spectral-norm:       313.6ms +/- 36.1%

  regexp:                501.0ms +/- 0.2%
    dna:                 501.0ms +/- 0.2%

  string:               3085.4ms +/- 10.3%
    base64:              914.6ms +/- 3.4%
    fasta:               676.0ms +/- 35.4%
    tagcloud:            441.4ms +/- 0.6%
    unpack-code:         846.8ms +/- 25.4%
    validate-input:      206.6ms +/- 1.1%
</pre>
</td>
<td valign="top">
<pre "background-color:#888; width:205px">SAFARI 3.1
========================
RESULTS
(means and 95% confidence intervals)
-----------------------------------------
Total:                 <strong>3368.8ms</strong> +/- 1.0%
-----------------------------------------

  3d:                   414.8ms +/- 1.9%
    cube:               132.2ms +/- 2.4%
    morph:              144.6ms +/- 4.1%
    raytrace:           138.0ms +/- 0.6%

  access:               520.4ms +/- 4.1%
    binary-trees:        78.6ms +/- 11.3%
    fannkuch:           231.4ms +/- 2.0%
    nbody:              149.2ms +/- 8.1%
    nsieve:              61.2ms +/- 3.9%

  bitops:               449.6ms +/- 2.4%
    3bit-bits-in-byte:   69.8ms +/- 9.6%
    bits-in-byte:        99.2ms +/- 4.6%
    bitwise-and:        167.2ms +/- 2.3%
    nsieve-bits:        113.4ms +/- 6.7%

  controlflow:           91.2ms +/- 4.7%
    recursive:           91.2ms +/- 4.7%

  crypto:               247.2ms +/- 2.3%
    aes:                 81.2ms +/- 2.5%
    md5:                 83.8ms +/- 4.6%
    sha1:                82.2ms +/- 2.0%

  date:                 306.4ms +/- 0.5%
    format-tofte:       146.6ms +/- 1.4%
    format-xparb:       159.8ms +/- 1.0%

  math:                 454.8ms +/- 1.3%
    cordic:             174.4ms +/- 1.6%
    partial-sums:       193.8ms +/- 1.2%
    spectral-norm:       86.6ms +/- 4.4%

  regexp:               209.6ms +/- 0.7%
    dna:                209.6ms +/- 0.7%

  string:               674.8ms +/- 2.2%
    base64:             103.8ms +/- 9.0%
    fasta:              177.0ms +/- 1.0%
    tagcloud:           136.0ms +/- 4.6%
    unpack-code:        136.0ms +/- 1.7%
    validate-input:     122.0ms +/- 2.6%
</pre>
</td>
</tr>
</table>
<p>Comparing with Firefox, the overall result of this test was that it&#8217;s 4.56 times faster.</p>
<p>However, if we look test by test, there are areas where I feel embarrassed for Firefox.</p>
<p><strong>Bitwise Operations</strong><br />
For example, Bit-Operation tests in Safari 3.1 are 7.7 times faster in Safari, being the case of the bitwise-AND (&#038;) operator the worst of them, <strong>Safari performed bitwise-and&#8217;s 16 times faster than Firefox</strong></p>
<p>OUCH!!</p>
<p><strong>String Operations</strong><br />
So you&#8217;d be curious now about String operations, which is probably a lot of what goes on with Javascript, and Ajax, parsing those XML results and what not, maybe the bitwise &#038; won&#8217;t hurt us that much given that not many programmers today are smart enough to use them for web programming.</p>
<p>When it comes to String operations, Safari 3.1 was 4.5 times faster than Firefox 2.</p>
<p>Kudos to the Safari Team, I thought there was no point in having Safari until I did this benchmark. I guess they don&#8217;t want to let go of Web Browser users, maybe they make millions every month with ad-clicks on Google generated with the search field they have at the top of the browser which is set by default to do Google search.</p>
<p>Once again the saying proves it self</p>
<blockquote><p>&#8220;Competition is good&#8221;</p></blockquote>
<p>Let&#8217;s hope this will make the Firefox team think more on Javascript improvements with the upcoming Firefox 3. Once it&#8217;s release ready, it&#8217;ll be worth it running this benchmark again and see where it stands.</p>
<p><strong>Update (March 20th, 2008)</strong></p>
<p>I&#8217;ve made tests on Firefox 3 beta 4, <a href="http://www.gubatron.com/blog/2008/03/20/safari-31-benchmark-part-ii-vs-firefox-30b4/">You can see the results here</a>. Tests have been made again on the same Macbook Pro. The improvements of Firefox 3 are notable, however, on the mac, Safari still wins.</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://twitter.com/home?status=New+Safari%26%238217%3Bs+JavaScript+engine+Kicks+Ass%21+http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F&amp;title=New+Safari%27s+JavaScript+engine+Kicks+Ass%21"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F&amp;title=New+Safari%27s+JavaScript+engine+Kicks+Ass%21"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F&amp;title=New+Safari%27s+JavaScript+engine+Kicks+Ass%21"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F&amp;headline=New+Safari%27s+JavaScript+engine+Kicks+Ass%21"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=New+Safari%27s+JavaScript+engine+Kicks+Ass%21&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=New+Safari%27s+JavaScript+engine+Kicks+Ass%21&amp;u=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=New+Safari%27s+JavaScript+engine+Kicks+Ass%21&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=New+Safari%27s+JavaScript+engine+Kicks+Ass%21&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=New+Safari%27s+JavaScript+engine+Kicks+Ass%21&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F&amp;title=New+Safari%27s+JavaScript+engine+Kicks+Ass%21&amp;summary=&amp;source="><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2008%2F03%2F19%2Fnew-safaris-javascript-engine-kicks-ass%2F&amp;title=New+Safari%27s+JavaScript+engine+Kicks+Ass%21"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.gubatron.com/blog/2008/03/19/new-safaris-javascript-engine-kicks-ass/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Nuevo Mashup &#8211; MapMyName.com</title>
		<link>http://www.gubatron.com/blog/2007/04/24/nuevo-mashup-mapmynamecom/</link>
		<comments>http://www.gubatron.com/blog/2007/04/24/nuevo-mashup-mapmynamecom/#comments</comments>
		<pubDate>Tue, 24 Apr 2007 13:59:29 +0000</pubDate>
		<dc:creator>gubatron</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Geeklife]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.gubatron.com/blog/2007/04/24/nuevo-mashup-mapmynamecom/</guid>
		<description><![CDATA[Este Mashup lo encontre via un update de Huguito en Twitter.

Super sencillo, de hecho hay herramientas similares, pero para que bloggers sepan de donde vienen sus visitantes, esto es simplemente una sola pagina para que todo el mundo se registre en el mapa, es un mashup hecho con Google Maps. 
Al momento de unirme no [...]]]></description>
			<content:encoded><![CDATA[<p>Este Mashup lo encontre via un update de <a href="http://www.twitter.com/huguito">Huguito</a> en Twitter.</p>
<p><a href="http://www.mapmyname.com?id=2320"><img src="http://www.mapmyname.com/beta/people/2320/2320.jpg"/></a></p>
<p>Super sencillo, de hecho hay herramientas similares, pero para que bloggers sepan de donde vienen sus visitantes, esto es simplemente una sola pagina para que todo el mundo se registre en el mapa, es un mashup hecho con Google Maps. </p>
<p>Al momento de unirme no habian mas de 2000 personas registradas, vamos a ver como escala a medida que se registre mas gente.</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://twitter.com/home?status=Nuevo+Mashup+%26%238211%3B+MapMyName.com+http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F&amp;title=Nuevo+Mashup+-+MapMyName.com"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F&amp;title=Nuevo+Mashup+-+MapMyName.com"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F&amp;title=Nuevo+Mashup+-+MapMyName.com"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F&amp;headline=Nuevo+Mashup+-+MapMyName.com"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Nuevo+Mashup+-+MapMyName.com&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Nuevo+Mashup+-+MapMyName.com&amp;u=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Nuevo+Mashup+-+MapMyName.com&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Nuevo+Mashup+-+MapMyName.com&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Nuevo+Mashup+-+MapMyName.com&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F&amp;title=Nuevo+Mashup+-+MapMyName.com&amp;summary=&amp;source="><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2007%2F04%2F24%2Fnuevo-mashup-mapmynamecom%2F&amp;title=Nuevo+Mashup+-+MapMyName.com"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.gubatron.com/blog/2007/04/24/nuevo-mashup-mapmynamecom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer Javascript vs Firefox: AJAX Error Recovery in Firefox</title>
		<link>http://www.gubatron.com/blog/2006/08/04/internet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox/</link>
		<comments>http://www.gubatron.com/blog/2006/08/04/internet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox/#comments</comments>
		<pubDate>Fri, 04 Aug 2006 14:44:48 +0000</pubDate>
		<dc:creator>gubatron</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Geeklife]]></category>

		<guid isPermaLink="false">http://www.gubatron.com/blog/2006/08/04/internet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox/</guid>
		<description><![CDATA[After a good 4 hours or more, we finally found the error, it was our bad, but Firefox was helping us, Internet Explorer was keeping the standards but not reporting a warning or recovering from our fault&#8230;
We&#8217;re currently using a complex ajax call that needs to pass a bunch of variables that have been set [...]]]></description>
			<content:encoded><![CDATA[<p>After a good 4 hours or more, we finally found the error, it was our bad, but Firefox was helping us, Internet Explorer was keeping the standards but not reporting a warning or recovering from our fault&#8230;</p>
<p>We&#8217;re currently using a complex ajax call that needs to pass a bunch of variables that have been set on smarty (don&#8217;t ask why please)&#8230; to make it easy, we decided to do:</p>
<p><code>$all_smarty_variables = $smarty->get_template_vars();<br />
$jsonString = $jsonEncode->encode($all_smarty_variables);<br />
</code></p>
<p>There&#8217;s this thing thats way better than XML to  pass information about objects&#8230; its called <a href="http://www.json.org">JSON</a>, it&#8217;s basically a way for Javascript to serialize its objects in strings, you can send and receive these strings via AJAX requests, and just eval them, or have JSON libraries on your favorite language used on the server side to unmarshall, and re-instanciate the objects that come from javascript.</p>
<p>So&#8230; in short words, no need for XML to send and receive objects, no more parsing crap, plus I would say the transfered data is much less. If you don&#8217;t think I&#8217;m on the right track, monitor the AJAX requests that GMail does, you&#8217;ll see some JSON action, or probably a custom implementation of google, they don&#8217;t send XML&#8230; why do that when you can send objects&#8230;</p>
<p>So now that I spent two paragraphs selling you JSON to do your remote procedure calls, I&#8217;ll tell  you the odity.</p>
<p>As always everything was working fine with us doing our remote call and sending our big ass string in Firefox.</p>
<p>But when we tried in IE, it didnt work.</p>
<p>We tried adding slashes, removing slashes, htmlfying it, you name it we tried it.</p>
<p>After good 4 hours, we found out IE is strict about the size of URL requests done via GET (which makes sense, 1024bytes probably)&#8230;<br />
but in any case, our (S)AJAX call worked just fine with Firefox</p>
<p>We went to Sajax.php and saw the following config&#8230;<br />
<code><br />
   $GLOBALS['sajax_request_type'] = 'GET';<br />
</code></p>
<p>So yeah, we made that a &#8216;POST&#8217; request type and it worked, it was our bad.</p>
<p>Is this one point in favor of IE for keeping HTTP real? Is this one point in favor of Firefox developers for probably checking the request URL &#8217;s length before doing an AJAX GET and arbitrarily changing the method to POST?</p>
<p>You decide.<br />
You&#8217;re a good geek if you are still reading this, hope you feel me.</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://twitter.com/home?status=Internet+Explorer+Javascr...+http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F&amp;title=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F&amp;title=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F&amp;title=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F&amp;headline=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox&amp;u=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F&amp;title=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox&amp;summary=&amp;source="><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.gubatron.com%2Fblog%2F2006%2F08%2F04%2Finternet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox%2F&amp;title=Internet+Explorer+Javascript+vs+Firefox%3A+AJAX+Error+Recovery+in+Firefox"><img class="lightsocial_img" src="http://www.gubatron.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.gubatron.com/blog/2006/08/04/internet-explorer-javascript-vs-firefox-ajax-error-recovery-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->