<?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>Learning is bateru &#187; Javascript</title>
	<atom:link href="http://bateru.com/news/reviews/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://bateru.com/news</link>
	<description>Writing software and articles to help improve understanding. - Larry Battle</description>
	<lastBuildDate>Thu, 17 May 2012 03:26:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Code of the Day: Javascript Decimal Expansion a.k.a Division</title>
		<link>http://bateru.com/news/2012/05/code-of-the-day-javascript-decimal-expansion-a-k-a-division/</link>
		<comments>http://bateru.com/news/2012/05/code-of-the-day-javascript-decimal-expansion-a-k-a-division/#comments</comments>
		<pubDate>Wed, 16 May 2012 22:54:05 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[decimal expansion]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://bateru.com/news/?p=1049</guid>
		<description><![CDATA[<a href="http://bateru.com/news/2012/05/code-of-the-day-javascript-decimal-expansion-a-k-a-division/" title="Code of the Day: Javascript Decimal Expansion a.k.a Division"></a>Today&#8217;s Code of the Day is about decimal expansion, which is just division. So you might be asking yourself, &#8220;if decimal expansion is divsion. Then why not use a/b?&#8221;. Well the problem is that Javascript has a ton of problems &#8230;<p class="read-more"><a href="http://bateru.com/news/2012/05/code-of-the-day-javascript-decimal-expansion-a-k-a-division/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://bateru.com/news/2012/05/code-of-the-day-javascript-decimal-expansion-a-k-a-division/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code of the Day: Javascript, Fix for isNaN</title>
		<link>http://bateru.com/news/2012/05/code-of-the-day-javascript-fixed-for-isnan/</link>
		<comments>http://bateru.com/news/2012/05/code-of-the-day-javascript-fixed-for-isnan/#comments</comments>
		<pubDate>Mon, 14 May 2012 22:25:45 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[code of the day]]></category>
		<category><![CDATA[isNaN]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[numbers]]></category>

		<guid isPermaLink="false">http://bateru.com/news/?p=1057</guid>
		<description><![CDATA[<a href="http://bateru.com/news/2012/05/code-of-the-day-javascript-fixed-for-isnan/" title="Code of the Day: Javascript, Fix for isNaN"></a>Javascript is a dynamically typed langauges. This feature causes for Arrays, Booleans, and other types to be converted to a numeric values depending on usage. However this feature can cause headarches when trying to detect numbers. For example, isNaN() detects &#8230;<p class="read-more"><a href="http://bateru.com/news/2012/05/code-of-the-day-javascript-fixed-for-isnan/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://bateru.com/news/2012/05/code-of-the-day-javascript-fixed-for-isnan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code of the Day: Javascript, Prime Factors of a Number</title>
		<link>http://bateru.com/news/2012/05/code-of-the-day-javascript-prime-factors-of-a-number/</link>
		<comments>http://bateru.com/news/2012/05/code-of-the-day-javascript-prime-factors-of-a-number/#comments</comments>
		<pubDate>Fri, 11 May 2012 23:05:30 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[code of the day]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[prime factorization]]></category>
		<category><![CDATA[prime factors]]></category>

		<guid isPermaLink="false">http://bateru.com/news/?p=1054</guid>
		<description><![CDATA[<a href="http://bateru.com/news/2012/05/code-of-the-day-javascript-prime-factors-of-a-number/" title="Code of the Day: Javascript, Prime Factors of a Number"></a>Javascript: Prime Factorization Today&#8217;s code is a enhancement of Code Renaissance&#8216;s version of &#8220;Finding Prime Numbers in Javascript&#8221;. Main difference are the following. Faster performance by eliminating recursion and caching Math.sqrt. Whole numbers bigger than 1 return an empty array, &#8230;<p class="read-more"><a href="http://bateru.com/news/2012/05/code-of-the-day-javascript-prime-factors-of-a-number/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://bateru.com/news/2012/05/code-of-the-day-javascript-prime-factors-of-a-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code of the Day: Javascript, Convert decimal to a simplified fraction</title>
		<link>http://bateru.com/news/2012/05/code-of-the-day-javascript-convert-decimal-to-a-simplified-fraction/</link>
		<comments>http://bateru.com/news/2012/05/code-of-the-day-javascript-convert-decimal-to-a-simplified-fraction/#comments</comments>
		<pubDate>Wed, 09 May 2012 00:09:37 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[code of the day]]></category>
		<category><![CDATA[stackoverflow.com]]></category>

		<guid isPermaLink="false">http://bateru.com/news/?p=1047</guid>
		<description><![CDATA[<a href="http://bateru.com/news/2012/05/code-of-the-day-javascript-convert-decimal-to-a-simplified-fraction/" title="Code of the Day: Javascript, Convert decimal to a simplified fraction"></a>Inspired from a stackoverflow.com question. Convert decimal amount to text string fraction in Javascript? Code /** * @author Larry Battle &#60;http://bateru.com/news/contact-me&#62; * @license MIT * @version 1.0 * @date May 08, 2012 * @purpose To provide a function that converts &#8230;<p class="read-more"><a href="http://bateru.com/news/2012/05/code-of-the-day-javascript-convert-decimal-to-a-simplified-fraction/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://bateru.com/news/2012/05/code-of-the-day-javascript-convert-decimal-to-a-simplified-fraction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code of the day: Get unique objects from an array of json objects.</title>
		<link>http://bateru.com/news/2012/03/code-of-the-day-get-unique-objects-from-an-array-of-json-objects/</link>
		<comments>http://bateru.com/news/2012/03/code-of-the-day-get-unique-objects-from-an-array-of-json-objects/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 02:42:07 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[underscore]]></category>
		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://bateru.com/news/?p=1016</guid>
		<description><![CDATA[<a href="http://bateru.com/news/2012/03/code-of-the-day-get-unique-objects-from-an-array-of-json-objects/" title="Code of the day: Get unique objects from an array of json objects."></a>Inspired from Removing duplicate objects with Underscore for Javascript Source: /** @function _.uniqObjects @require Underscore.js and json.stringify @purpose return an array of objects without duplicated objects. */ _.uniqObjects = function&#40; arr &#41;&#123; return _.uniq&#40; _.collect&#40; arr, function&#40; x &#41;&#123; return &#8230;<p class="read-more"><a href="http://bateru.com/news/2012/03/code-of-the-day-get-unique-objects-from-an-array-of-json-objects/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://bateru.com/news/2012/03/code-of-the-day-get-unique-objects-from-an-array-of-json-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reimplementation of Number.prototype.toFixed</title>
		<link>http://bateru.com/news/2012/03/reimplementation-of-number-prototype-tofixed/</link>
		<comments>http://bateru.com/news/2012/03/reimplementation-of-number-prototype-tofixed/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 01:53:33 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://bateru.com/news/?p=1004</guid>
		<description><![CDATA[<a href="http://bateru.com/news/2012/03/reimplementation-of-number-prototype-tofixed/" title="Reimplementation of Number.prototype.toFixed"></a>Number.prototype.toFixed was giving me too many problems, so I just rewrote it. There&#8217;s the source. /** @author Larry Battle &#60;a alt=&#34;contact me&#34; href=&#34;bateru.com/news/contact&#34;&#62;Contact Me&#60;/a&#62; @date Mar 30, 2012 @purpose Provide the fix for Number.prototype.toFixed() function. @info source at http://bateru.com/news/2012/03/reimplementation-of-number-prototype-tofixed */ &#8230;<p class="read-more"><a href="http://bateru.com/news/2012/03/reimplementation-of-number-prototype-tofixed/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://bateru.com/news/2012/03/reimplementation-of-number-prototype-tofixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code of the day: Fix for Number.prototype.toFixed</title>
		<link>http://bateru.com/news/2012/03/code-of-the-day-fix-for-number-prototype-tofixed/</link>
		<comments>http://bateru.com/news/2012/03/code-of-the-day-fix-for-number-prototype-tofixed/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 08:47:23 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://bateru.com/news/?p=991</guid>
		<description><![CDATA[<a href="http://bateru.com/news/2012/03/code-of-the-day-fix-for-number-prototype-tofixed/" title="Code of the day: Fix for Number.prototype.toFixed "></a>In javascript, Number.prototype.toFixed has problems rounding. Here&#8217;s the fix and some test cases. Number.prototype.toFixed = &#40;function &#40;&#41; &#123; var oldToFixed = Number.prototype.toFixed; return function &#40;precision&#41; &#123; var value = this.toString&#40;&#41;, power = Math.pow&#40;10, precision &#124;&#124; 0&#41;; return oldToFixed.call&#40;&#40;Math.round&#40;value * power&#41; &#8230;<p class="read-more"><a href="http://bateru.com/news/2012/03/code-of-the-day-fix-for-number-prototype-tofixed/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://bateru.com/news/2012/03/code-of-the-day-fix-for-number-prototype-tofixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Error: ParseInt fails when supplied with large numbers</title>
		<link>http://bateru.com/news/2012/03/javascript-error-parseint-fails-when-supplied-with-large-numbers/</link>
		<comments>http://bateru.com/news/2012/03/javascript-error-parseint-fails-when-supplied-with-large-numbers/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 02:24:33 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://bateru.com/news/?p=978</guid>
		<description><![CDATA[<a href="http://bateru.com/news/2012/03/javascript-error-parseint-fails-when-supplied-with-large-numbers/" title="Javascript Error: ParseInt fails when supplied with large numbers"></a>ParseInt returns 1 for when passed any number greater or equal to 1e+21. var x = 1.0e+2; console.log&#40; x == 1e+2 &#41;; console.log&#40; parseInt&#40; x, 10 &#41; == 100 &#41;; console.log&#40; parseFloat&#40; x &#41; == 100 &#41;; &#160; var x &#8230;<p class="read-more"><a href="http://bateru.com/news/2012/03/javascript-error-parseint-fails-when-supplied-with-large-numbers/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://bateru.com/news/2012/03/javascript-error-parseint-fails-when-supplied-with-large-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>js2coffee.org helps your learn coffeescript faster</title>
		<link>http://bateru.com/news/2012/03/js2coffee-org-helps-your-learn-coffeescript-faster/</link>
		<comments>http://bateru.com/news/2012/03/js2coffee-org-helps-your-learn-coffeescript-faster/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 21:41:18 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[amazing]]></category>
		<category><![CDATA[Coffee script]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[coffeescript]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://bateru.com/news/?p=947</guid>
		<description><![CDATA[<a href="http://bateru.com/news/2012/03/js2coffee-org-helps-your-learn-coffeescript-faster/" title="js2coffee.org helps your learn coffeescript faster"></a>coffeescript icon Coffee-script is a smoking hot simple language that converts 100% into Javascript code. Coffee-script allows you to spend more time focusing on the algorithm rather than the syntax. js2coffee.org is an awesome website that converts your Coffee-script to &#8230;<p class="read-more"><a href="http://bateru.com/news/2012/03/js2coffee-org-helps-your-learn-coffeescript-faster/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://bateru.com/news/2012/03/js2coffee-org-helps-your-learn-coffeescript-faster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Siebel eScript headaches.</title>
		<link>http://bateru.com/news/2012/03/siebel-escript-headaches/</link>
		<comments>http://bateru.com/news/2012/03/siebel-escript-headaches/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 21:11:06 +0000</pubDate>
		<dc:creator>Larry</dc:creator>
				<category><![CDATA[eScript]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Siebel]]></category>

		<guid isPermaLink="false">http://bateru.com/news/?p=938</guid>
		<description><![CDATA[<a href="http://bateru.com/news/2012/03/siebel-escript-headaches/" title="Siebel eScript headaches."></a>Here are a few problems that I&#8217;ve encountered while spending a week programming in Siebel eScript 7.8. Siebel eScript is ECMAScript compliant. ECMAScript is the standard implementation of JavaScript as defined by the ECMA-262 standard. Beginning with Siebel Business Applications &#8230;<p class="read-more"><a href="http://bateru.com/news/2012/03/siebel-escript-headaches/">Read more &#187;</a></p>]]></description>
		<wfw:commentRss>http://bateru.com/news/2012/03/siebel-escript-headaches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

