<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Martin's Blog</title>
	<atom:link href="http://www.martienus.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.martienus.com</link>
	<description>Logic to Art</description>
	<lastBuildDate>Fri, 06 Aug 2010 03:43:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on PHP: Image Resizer Class by ebat' vas v</title>
		<link>http://www.martienus.com/code/php-image-resizer-class.html/comment-page-1#comment-6652</link>
		<dc:creator>ebat' vas v</dc:creator>
		<pubDate>Fri, 06 Aug 2010 03:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.martienus.com/?p=15#comment-6652</guid>
		<description>greh ne nasrat&#039;</description>
		<content:encoded><![CDATA[<p>greh ne nasrat&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Regex: validate e-mail address in PHP by Garth Schwanke</title>
		<link>http://www.martienus.com/code/regex-validate-e-mail-address-in-php.html/comment-page-1#comment-6573</link>
		<dc:creator>Garth Schwanke</dc:creator>
		<pubDate>Sat, 31 Jul 2010 21:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.martienus.com/coding/regex-validate-e-mail-address-in-php.html#comment-6573</guid>
		<description>Good Page, thats Nice Information for me..</description>
		<content:encoded><![CDATA[<p>Good Page, thats Nice Information for me..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript: Remove values from array prototype by Octavian</title>
		<link>http://www.martienus.com/code/javascript-remove-values-from-array-prototype.html/comment-page-1#comment-6555</link>
		<dc:creator>Octavian</dc:creator>
		<pubDate>Fri, 30 Jul 2010 21:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.martienus.com/?p=33#comment-6555</guid>
		<description>&quot;No copy of the original is needed to do the math&quot;
Right before your &quot;return r&quot; you got one n-length array and one (n-1)length array.
It&#039;s almost the same as having a copy of your initial array.

Except that, your method only covers the integer-indexed arrays. It&#039;s doing its job for that, but what about hash tables?</description>
		<content:encoded><![CDATA[<p>&#8220;No copy of the original is needed to do the math&#8221;<br />
Right before your &#8220;return r&#8221; you got one n-length array and one (n-1)length array.<br />
It&#8217;s almost the same as having a copy of your initial array.</p>
<p>Except that, your method only covers the integer-indexed arrays. It&#8217;s doing its job for that, but what about hash tables?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Regex: validate e-mail address in PHP by Audrie Nam</title>
		<link>http://www.martienus.com/code/regex-validate-e-mail-address-in-php.html/comment-page-1#comment-6451</link>
		<dc:creator>Audrie Nam</dc:creator>
		<pubDate>Sat, 24 Jul 2010 12:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.martienus.com/coding/regex-validate-e-mail-address-in-php.html#comment-6451</guid>
		<description>There’s a book known as “Avoid Retirement And Stay Alive”. The notion will be the fact that retirement has no area in current society. When you have the ability to make function pleasant by balancing it against the other points you&#039;d like to do, then you can easily reside like you’ve got all the time within the globe.</description>
		<content:encoded><![CDATA[<p>There’s a book known as “Avoid Retirement And Stay Alive”. The notion will be the fact that retirement has no area in current society. When you have the ability to make function pleasant by balancing it against the other points you&#8217;d like to do, then you can easily reside like you’ve got all the time within the globe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP: Image Resizer Class by Felton Rumbach</title>
		<link>http://www.martienus.com/code/php-image-resizer-class.html/comment-page-1#comment-6449</link>
		<dc:creator>Felton Rumbach</dc:creator>
		<pubDate>Sat, 24 Jul 2010 07:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.martienus.com/?p=15#comment-6449</guid>
		<description>&lt;a href=&quot;http://skatelongboards.wordpress.com/&quot; rel=&quot;nofollow&quot;&gt; Skate Longboards&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://skatelongboards.wordpress.com/" rel="nofollow"> Skate Longboards</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript: Remove duplicates from Array by Alex</title>
		<link>http://www.martienus.com/code/javascript-remove-duplicates-from-array.html/comment-page-1#comment-6411</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 21 Jul 2010 13:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.martienus.com/code/javascript-remove-duplicates-from-array.html#comment-6411</guid>
		<description>There is an alternative example here at:
http://www.bytechaser.com/en/functions/xjfj6grjfr/create-a-distinct-list-from-a-javascript-array.aspx 
which works with text and numbers and allows you to specify if you want the process to be case sensitive.</description>
		<content:encoded><![CDATA[<p>There is an alternative example here at:<br />
<a href="http://www.bytechaser.com/en/functions/xjfj6grjfr/create-a-distinct-list-from-a-javascript-array.aspx" rel="nofollow">http://www.bytechaser.com/en/functions/xjfj6grjfr/create-a-distinct-list-from-a-javascript-array.aspx</a><br />
which works with text and numbers and allows you to specify if you want the process to be case sensitive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript: Remove duplicates from Array by Rajini</title>
		<link>http://www.martienus.com/code/javascript-remove-duplicates-from-array.html/comment-page-1#comment-6331</link>
		<dc:creator>Rajini</dc:creator>
		<pubDate>Mon, 12 Jul 2010 21:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.martienus.com/code/javascript-remove-duplicates-from-array.html#comment-6331</guid>
		<description>Fantastic! It saved my time a lot.
Keep it up!</description>
		<content:encoded><![CDATA[<p>Fantastic! It saved my time a lot.<br />
Keep it up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript: Remove duplicates from Array by getburl</title>
		<link>http://www.martienus.com/code/javascript-remove-duplicates-from-array.html/comment-page-1#comment-6144</link>
		<dc:creator>getburl</dc:creator>
		<pubDate>Thu, 17 Jun 2010 15:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.martienus.com/code/javascript-remove-duplicates-from-array.html#comment-6144</guid>
		<description>Here is a slightly different approach. Rather than grabbing on the matches, I grabbed where in the sequence when they do not match after sorting.

var dedup = function(a)
	{
		a.sort(); //get the dups together
		var b = []; //create a replacement array
		for(var i=a.length;i--;) //loop down the original array
			{
				if(a[i]!==a[i-1]) //since they are bunched, only pull out the ones that don&#039;t match
					{
						b[b.length] = a[i]; // give the replacement array the ones that dont match
					}
			}
		return b; // return the replacement arra
	}
alert(&#039;Original Array:\&#039;bob\&#039;,\&#039;sally\&#039;,9,\&#039;sally\&#039;,\&#039;george\&#039;,\&#039;george \&#039;,\&#039;andrew\&#039;,23,230,\&#039;23\&#039;\n&#039; + &#039;Deduped Array:&#039;+ dedup([&#039;bob&#039;,&#039;sally&#039;,9,&#039;sally&#039;,&#039;george&#039;,&#039;george &#039;,&#039;andrew&#039;,23,230,&#039;23&#039;]));</description>
		<content:encoded><![CDATA[<p>Here is a slightly different approach. Rather than grabbing on the matches, I grabbed where in the sequence when they do not match after sorting.</p>
<p>var dedup = function(a)<br />
	{<br />
		a.sort(); //get the dups together<br />
		var b = []; //create a replacement array<br />
		for(var i=a.length;i&#8211;;) //loop down the original array<br />
			{<br />
				if(a[i]!==a[i-1]) //since they are bunched, only pull out the ones that don&#8217;t match<br />
					{<br />
						b[b.length] = a[i]; // give the replacement array the ones that dont match<br />
					}<br />
			}<br />
		return b; // return the replacement arra<br />
	}<br />
alert(&#8216;Original Array:\&#8217;bob\&#8217;,\&#8217;sally\&#8217;,9,\&#8217;sally\&#8217;,\&#8217;george\&#8217;,\&#8217;george \&#8217;,\&#8217;andrew\&#8217;,23,230,\&#8217;23\&#8217;\n&#8217; + &#8216;Deduped Array:&#8217;+ dedup(['bob','sally',9,'sally','george','george ','andrew',23,230,'23']));</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript: Remove duplicates from Array by Jose</title>
		<link>http://www.martienus.com/code/javascript-remove-duplicates-from-array.html/comment-page-1#comment-6069</link>
		<dc:creator>Jose</dc:creator>
		<pubDate>Thu, 10 Jun 2010 08:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.martienus.com/code/javascript-remove-duplicates-from-array.html#comment-6069</guid>
		<description>@vakata  Thanks you very much!</description>
		<content:encoded><![CDATA[<p>@vakata  Thanks you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript: Remove duplicates from Array by Mason Houtz</title>
		<link>http://www.martienus.com/code/javascript-remove-duplicates-from-array.html/comment-page-1#comment-5924</link>
		<dc:creator>Mason Houtz</dc:creator>
		<pubDate>Thu, 27 May 2010 01:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.martienus.com/code/javascript-remove-duplicates-from-array.html#comment-5924</guid>
		<description>@Martin

I&#039;m definitely not suggesting it&#039;s a good idea to misuse an array by treating it like an associative hash. What I&#039;m suggesting is that others have nonetheless already done so, and my point was that this kind of thing can break existing code.

I know better, man. :)</description>
		<content:encoded><![CDATA[<p>@Martin</p>
<p>I&#8217;m definitely not suggesting it&#8217;s a good idea to misuse an array by treating it like an associative hash. What I&#8217;m suggesting is that others have nonetheless already done so, and my point was that this kind of thing can break existing code.</p>
<p>I know better, man. <img src='http://www.martienus.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 3.242 seconds -->
