<?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 Viking Hammer</title>
	<atom:link href="http://vikinghammer.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://vikinghammer.com</link>
	<description>Just some rambling</description>
	<lastBuildDate>Wed, 17 Mar 2010 03:13:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on The Perch Roulette Simulator by Ross Hendricks</title>
		<link>http://vikinghammer.com/2009/08/30/the-perch-roulette-simulator/comment-page-1/#comment-157</link>
		<dc:creator>Ross Hendricks</dc:creator>
		<pubDate>Wed, 17 Mar 2010 03:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://vikinghammer.com/?p=88#comment-157</guid>
		<description>&lt;p&gt;The perch strategy is not incorrect, but it is incomplete. The strategy is mathematically sound up until the 4th step, which directs the better to retreat after a second loss. This is actually the worst time to leave, because each consecutive red (or zero) is exponentially increasing the odds of the next number being a black. Try and flip a coin 100 times, the odds of you landing 7 consecutive &quot;heads&quot; or &quot;tails&quot; are so astronomically low that you could sit for hours and likely never see it happen. The same concept applies to roulette. While it is true that the 2 extra 0&#039;s improve the house odds, this effect is almost negligible compared to the 36 total other numbers. The statement would correctly read that you will virtually never see 7 &quot;non-blacks&quot; or 7 &quot;non-reds&quot; consecutively. So, instead of giving up after the 2nd try, continue to place your bets until you win. The only things you need to be mindful of is a) making sure you have a big enough initial starting amount to ensure that you can do this up until at least the 7th and preferably the 8th consecutive same-colored spin, and b) making sure that you do not exceed the maximum bet up to the 7th and preferably 8th consecutive spin. This is the complete fool proof system.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The perch strategy is not incorrect, but it is incomplete. The strategy is mathematically sound up until the 4th step, which directs the better to retreat after a second loss. This is actually the worst time to leave, because each consecutive red (or zero) is exponentially increasing the odds of the next number being a black. Try and flip a coin 100 times, the odds of you landing 7 consecutive &#8220;heads&#8221; or &#8220;tails&#8221; are so astronomically low that you could sit for hours and likely never see it happen. The same concept applies to roulette. While it is true that the 2 extra 0&#8217;s improve the house odds, this effect is almost negligible compared to the 36 total other numbers. The statement would correctly read that you will virtually never see 7 &#8220;non-blacks&#8221; or 7 &#8220;non-reds&#8221; consecutively. So, instead of giving up after the 2nd try, continue to place your bets until you win. The only things you need to be mindful of is a) making sure you have a big enough initial starting amount to ensure that you can do this up until at least the 7th and preferably the 8th consecutive same-colored spin, and b) making sure that you do not exceed the maximum bet up to the 7th and preferably 8th consecutive spin. This is the complete fool proof system.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using function scope to build a jQuery event handler by sirsean</title>
		<link>http://vikinghammer.com/2010/03/04/using-function-scope-to-build-a-jquery-event-handler/comment-page-1/#comment-151</link>
		<dc:creator>sirsean</dc:creator>
		<pubDate>Sat, 06 Mar 2010 17:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://vikinghammer.com/?p=115#comment-151</guid>
		<description>&lt;p&gt;Actually, it&#039;s important to note that the second line is wrong.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;li.find(&#039;input&#039;).attr(&#039;id&#039;, &#039;answer_&#039; + answer_index).attr(&#039;tabindex&#039;, tabindex).attr(&#039;value&#039;, &#039;&#039;);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Because we&#039;re cloning the first field, we have to set the value attribute to empty; if we don&#039;t, all the new fields you add will start with the value of the first field (which, in this case, is not what we want).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Actually, it&#8217;s important to note that the second line is wrong.</p>

<pre><code>li.find('input').attr('id', 'answer_' + answer_index).attr('tabindex', tabindex).attr('value', '');
</code></pre>

<p>Because we&#8217;re cloning the first field, we have to set the value attribute to empty; if we don&#8217;t, all the new fields you add will start with the value of the first field (which, in this case, is not what we want).</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using function scope to build a jQuery event handler by Paul</title>
		<link>http://vikinghammer.com/2010/03/04/using-function-scope-to-build-a-jquery-event-handler/comment-page-1/#comment-150</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sat, 06 Mar 2010 15:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://vikinghammer.com/?p=115#comment-150</guid>
		<description>&lt;p&gt;Yeah I was concerned since the .find changes the scope all the remaining methods act on, but then I decided I&#039;d just ignore that potential issue.  Your 3 liner is much easier to read too.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yeah I was concerned since the .find changes the scope all the remaining methods act on, but then I decided I&#8217;d just ignore that potential issue.  Your 3 liner is much easier to read too.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using function scope to build a jQuery event handler by sirsean</title>
		<link>http://vikinghammer.com/2010/03/04/using-function-scope-to-build-a-jquery-event-handler/comment-page-1/#comment-149</link>
		<dc:creator>sirsean</dc:creator>
		<pubDate>Thu, 04 Mar 2010 23:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://vikinghammer.com/?p=115#comment-149</guid>
		<description>&lt;p&gt;Good call. I tried to go in that direction:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var li = $(append_to + &#039; li:first-child&#039;).clone(true); 
li.find(&#039;input&#039;).attr(&#039;id&#039;, &#039;answer_&#039; + answer_index).attr(&#039;tabindex&#039;, tabindex);
li.appendTo(append_to);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I had to split it up because I&#039;m setting the attributes on the input element, but appending the li element to the list.&lt;/p&gt;

&lt;p&gt;Maybe there&#039;s a way to fit it onto one line, but once that &quot;find(&#039;input&#039;)&quot; is in there I can&#039;t figure out how.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good call. I tried to go in that direction:</p>

<pre><code>var li = $(append_to + ' li:first-child').clone(true); 
li.find('input').attr('id', 'answer_' + answer_index).attr('tabindex', tabindex);
li.appendTo(append_to);
</code></pre>

<p>I had to split it up because I&#8217;m setting the attributes on the input element, but appending the li element to the list.</p>

<p>Maybe there&#8217;s a way to fit it onto one line, but once that &#8220;find(&#8216;input&#8217;)&#8221; is in there I can&#8217;t figure out how.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using function scope to build a jQuery event handler by Paul</title>
		<link>http://vikinghammer.com/2010/03/04/using-function-scope-to-build-a-jquery-event-handler/comment-page-1/#comment-148</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 04 Mar 2010 21:57:45 +0000</pubDate>
		<guid isPermaLink="false">http://vikinghammer.com/?p=115#comment-148</guid>
		<description>&lt;p&gt;Awesome, I shattered the comment system.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Awesome, I shattered the comment system.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using function scope to build a jQuery event handler by Paul</title>
		<link>http://vikinghammer.com/2010/03/04/using-function-scope-to-build-a-jquery-event-handler/comment-page-1/#comment-147</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 04 Mar 2010 21:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://vikinghammer.com/?p=115#comment-147</guid>
		<description>&lt;p&gt;Cool stuff Sean.  I like the scoping trick with the anonymous function.&lt;/p&gt;

&lt;p&gt;It&#039;s a bit inelegant to use:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$(&#039;&lt;li&gt;&lt;/li&gt;&#039;).appendTo(append_to);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;What about doing something like&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$(&#039;#parent_ul:first-child&#039;).clone(true).find(&#039;input&#039;).attr(&#039;id&#039;,&lt;answer_index&gt;).attr(&#039;tabindex&#039;,).appendTo(append_to);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;That&#039;ll even clone event handlers if you end up binding any to the individual li/input elements.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Cool stuff Sean.  I like the scoping trick with the anonymous function.</p>

<p>It&#8217;s a bit inelegant to use:</p>

<pre><code>$('&lt;li&gt;&lt;/li&gt;').appendTo(append_to);
</code></pre>

<p>What about doing something like</p>

<pre><code>$('#parent_ul:first-child').clone(true).find('input').attr('id',&lt;answer_index&gt;).attr('tabindex',).appendTo(append_to);
</code></pre>

<p>That&#8217;ll even clone event handlers if you end up binding any to the individual li/input elements.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Simple Edutainment Game: It&#8217;s Math Bejeweled! by Scott Laidlaw</title>
		<link>http://vikinghammer.com/2008/12/25/a-simple-edutainment-game-its-math-bejeweled/comment-page-1/#comment-141</link>
		<dc:creator>Scott Laidlaw</dc:creator>
		<pubDate>Tue, 02 Feb 2010 01:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://vikinghammer.com/?p=5#comment-141</guid>
		<description>&lt;p&gt;Yep, we are working on it. It&#039;s a challenge but let me know if you want a copy of Ko&#039;s Journey in a couple of week for perusal.   http://kosjourney.com&lt;/p&gt;

&lt;p&gt;Scott&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yep, we are working on it. It&#8217;s a challenge but let me know if you want a copy of Ko&#8217;s Journey in a couple of week for perusal.   <a href="http://kosjourney.com" rel="nofollow">http://kosjourney.com</a></p>

<p>Scott</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex: Make Sure to Call Super in Item Renderer Override Methods by Vishal</title>
		<link>http://vikinghammer.com/2009/02/25/flex-make-sure-to-call-super-in-item-renderer-override-methods/comment-page-1/#comment-140</link>
		<dc:creator>Vishal</dc:creator>
		<pubDate>Thu, 28 Jan 2010 05:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://vikinghammer.com/?p=41#comment-140</guid>
		<description>&lt;p&gt;This is something new that I have learn today. Thank You&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is something new that I have learn today. Thank You</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Twitter: What would you name the baby of Email and Twitter? by jaimenm</title>
		<link>http://vikinghammer.com/2010/01/09/open-twitter-what-would-you-name-the-baby-of-email-and-twitter/comment-page-1/#comment-138</link>
		<dc:creator>jaimenm</dc:creator>
		<pubDate>Sun, 10 Jan 2010 12:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://vikinghammer.com/2010/01/09/open-twitter-what-would-you-name-the-baby-of-email-and-twitter/#comment-138</guid>
		<description>&lt;p&gt;Agree with Michael...Wave&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Agree with Michael&#8230;Wave</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Twitter: What would you name the baby of Email and Twitter? by Michael</title>
		<link>http://vikinghammer.com/2010/01/09/open-twitter-what-would-you-name-the-baby-of-email-and-twitter/comment-page-1/#comment-135</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sun, 10 Jan 2010 03:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://vikinghammer.com/2010/01/09/open-twitter-what-would-you-name-the-baby-of-email-and-twitter/#comment-135</guid>
		<description>&lt;p&gt;It sounds like Google Wave which is federated and XMPP-based (think of a public wave). It also sounds like atom/rss plus PubSubHubBub.&lt;/p&gt;

&lt;p&gt;They&#039;re both distributed systems in which consumers are pushed information they signal interest in.&lt;/p&gt;

&lt;p&gt;Surely a federated twitter-type service could be based on PubSubHubBub, or Wave.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It sounds like Google Wave which is federated and XMPP-based (think of a public wave). It also sounds like atom/rss plus PubSubHubBub.</p>

<p>They&#8217;re both distributed systems in which consumers are pushed information they signal interest in.</p>

<p>Surely a federated twitter-type service could be based on PubSubHubBub, or Wave.</p>]]></content:encoded>
	</item>
</channel>
</rss>
