<?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 stephenwoods.net</title> <atom:link href="http://stephenwoods.net/comments/feed/" rel="self" type="application/rss+xml" /><link>http://stephenwoods.net</link> <description>!important</description> <lastBuildDate>Wed, 12 May 2010 01:54:54 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>Comment on Learning Python by kellan</title><link>http://stephenwoods.net/2010/02/21/learning-python/comment-page-1/#comment-45</link> <dc:creator>kellan</dc:creator> <pubDate>Wed, 12 May 2010 01:54:54 +0000</pubDate> <guid
isPermaLink="false">http://stephenwoods.net/?p=133#comment-45</guid> <description>&lt;pre class=&quot;brush: javascript&quot;&gt;
object Coin {
val rand = new scala.util.Random()
def toss() = {
rand.nextBoolean()
}
}var heads = 0
var tails = 0
val range = 0.until(1000000)
for (i &lt;- range) {
if (Coin.toss()) {
heads += 1
} else {
tails += 1
}
}println(&quot;Heads: &quot; + heads + &quot; Tails: &quot; + tails)
&lt;/pre&gt;</description> <content:encoded><![CDATA[<pre class="brush: javascript">
object Coin {
	val rand = new scala.util.Random()

	def toss() = {
		rand.nextBoolean()
	}
}

var heads = 0
var tails = 0
val range = 0.until(1000000)
for (i &lt;- range) {
	if (Coin.toss()) {
		heads += 1
	} else {
		tails += 1
	}
}

println(&quot;Heads: &quot; + heads + &quot; Tails: &quot; + tails)
</pre>]]></content:encoded> </item> <item><title>Comment on New Job by stacy</title><link>http://stephenwoods.net/2010/04/16/new-job/comment-page-1/#comment-44</link> <dc:creator>stacy</dc:creator> <pubDate>Sun, 18 Apr 2010 01:32:22 +0000</pubDate> <guid
isPermaLink="false">http://stephenwoods.net/2010/04/16/new-job/#comment-44</guid> <description>Oh, wait. Flickr. Nevermind. All is right with the world.</description> <content:encoded><![CDATA[<p>Oh, wait. Flickr. Nevermind. All is right with the world.</p> ]]></content:encoded> </item> <item><title>Comment on New Job by stacy</title><link>http://stephenwoods.net/2010/04/16/new-job/comment-page-1/#comment-43</link> <dc:creator>stacy</dc:creator> <pubDate>Sun, 18 Apr 2010 01:31:47 +0000</pubDate> <guid
isPermaLink="false">http://stephenwoods.net/2010/04/16/new-job/#comment-43</guid> <description>Ah, crap. Who&#039;s going to tell me what they&#039;re saying on devel-random?</description> <content:encoded><![CDATA[<p>Ah, crap. Who&#8217;s going to tell me what they&#8217;re saying on devel-random?</p> ]]></content:encoded> </item> <item><title>Comment on Learning Python by Stephen</title><link>http://stephenwoods.net/2010/02/21/learning-python/comment-page-1/#comment-37</link> <dc:creator>Stephen</dc:creator> <pubDate>Sun, 21 Feb 2010 08:40:31 +0000</pubDate> <guid
isPermaLink="false">http://stephenwoods.net/?p=133#comment-37</guid> <description>You and I think alike without sleep. ;P</description> <content:encoded><![CDATA[<p>You and I think alike without sleep. ;P</p> ]]></content:encoded> </item> <item><title>Comment on Learning Python by Luke Smith</title><link>http://stephenwoods.net/2010/02/21/learning-python/comment-page-1/#comment-36</link> <dc:creator>Luke Smith</dc:creator> <pubDate>Sun, 21 Feb 2010 07:48:10 +0000</pubDate> <guid
isPermaLink="false">http://stephenwoods.net/?p=133#comment-36</guid> <description>Well, technically, done once after the loop shouldn&#039;t change the results much.  For some reason (read: lack of sleep) I thought it was in the loop :)</description> <content:encoded><![CDATA[<p>Well, technically, done once after the loop shouldn&#8217;t change the results much.  For some reason (read: lack of sleep) I thought it was in the loop <img
src='http://stephenwoods.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>Comment on Learning Python by Luke Smith</title><link>http://stephenwoods.net/2010/02/21/learning-python/comment-page-1/#comment-35</link> <dc:creator>Luke Smith</dc:creator> <pubDate>Sun, 21 Feb 2010 07:45:32 +0000</pubDate> <guid
isPermaLink="false">http://stephenwoods.net/?p=133#comment-35</guid> <description>Did you try the js/node version without JSON.stringify?  It&#039;s a far more complicated operation than just printing output.</description> <content:encoded><![CDATA[<p>Did you try the js/node version without JSON.stringify?  It&#8217;s a far more complicated operation than just printing output.</p> ]]></content:encoded> </item> <item><title>Comment on Back to the Future, Explained by Isaac Z. Schlueter</title><link>http://stephenwoods.net/2009/08/06/back-to-the-future-explained/comment-page-1/#comment-23</link> <dc:creator>Isaac Z. Schlueter</dc:creator> <pubDate>Mon, 24 Aug 2009 19:04:21 +0000</pubDate> <guid
isPermaLink="false">http://stephenwoods.net/?p=99#comment-23</guid> <description>You can do it with less code:&lt;code&gt;var dadWriter = false;var marty = {
isDadWriter : (function () {
var dad = dadWriter;
return function () {
return dadWriter;
};
})()
};print(marty.isDadWriter()); //false
dadWriter = true;
print(marty.isDadWriter()); //false&lt;/code&gt;</description> <content:encoded><![CDATA[<p>You can do it with less code:</p><p><code>var dadWriter = false;</p><p>var marty = {<br
/> isDadWriter : (function () {<br
/> var dad = dadWriter;<br
/> return function () {<br
/> return dadWriter;<br
/> };<br
/> })()<br
/> };</p><p>print(marty.isDadWriter()); //false<br
/> dadWriter = true;<br
/> print(marty.isDadWriter()); //false</code></p> ]]></content:encoded> </item> <item><title>Comment on Prototyping&#8230; by Isaac Z. Schlueter</title><link>http://stephenwoods.net/2009/08/24/prototyping/comment-page-1/#comment-22</link> <dc:creator>Isaac Z. Schlueter</dc:creator> <pubDate>Mon, 24 Aug 2009 19:01:29 +0000</pubDate> <guid
isPermaLink="false">http://stephenwoods.net/2009/08/24/prototyping/#comment-22</guid> <description>You&#039;re not being a baby.  You&#039;re being rational.You should write your prototype using whichever framework you&#039;re most comfortable with, which may be no framework at all.  Make sure that the relevant bits are separated out as much as possible, so that it won&#039;t be too terrible to move to something more powerful later.A prototype needs to get done and thrown away as fast as possible.  If a framework doesn&#039;t serve that end, then don&#039;t use it.</description> <content:encoded><![CDATA[<p>You&#8217;re not being a baby.  You&#8217;re being rational.</p><p>You should write your prototype using whichever framework you&#8217;re most comfortable with, which may be no framework at all.  Make sure that the relevant bits are separated out as much as possible, so that it won&#8217;t be too terrible to move to something more powerful later.</p><p>A prototype needs to get done and thrown away as fast as possible.  If a framework doesn&#8217;t serve that end, then don&#8217;t use it.</p> ]]></content:encoded> </item> <item><title>Comment on Prototyping&#8230; by Laurie</title><link>http://stephenwoods.net/2009/08/24/prototyping/comment-page-1/#comment-21</link> <dc:creator>Laurie</dc:creator> <pubDate>Mon, 24 Aug 2009 17:56:40 +0000</pubDate> <guid
isPermaLink="false">http://stephenwoods.net/2009/08/24/prototyping/#comment-21</guid> <description>It depends how complex the prototype is. If it&#039;s proof of concept I just go without any framework. If it&#039;s a little bigger I go with Code Igniter or Zend.I would never prototype anything in symfony; it&#039;s very heavy and has big start-up costs, to say nothing of the learning curve if you&#039;ve never used it before.People sing the praises of prototyping in Rails but I&#039;ve never got around to learning it properly, so there would be another big startup cost there.</description> <content:encoded><![CDATA[<p>It depends how complex the prototype is. If it&#8217;s proof of concept I just go without any framework. If it&#8217;s a little bigger I go with Code Igniter or Zend.</p><p>I would never prototype anything in symfony; it&#8217;s very heavy and has big start-up costs, to say nothing of the learning curve if you&#8217;ve never used it before.</p><p>People sing the praises of prototyping in Rails but I&#8217;ve never got around to learning it properly, so there would be another big startup cost there.</p> ]]></content:encoded> </item> <item><title>Comment on Back to the Future, Explained by Zach Leatherman</title><link>http://stephenwoods.net/2009/08/06/back-to-the-future-explained/comment-page-1/#comment-17</link> <dc:creator>Zach Leatherman</dc:creator> <pubDate>Fri, 07 Aug 2009 12:58:24 +0000</pubDate> <guid
isPermaLink="false">http://stephenwoods.net/?p=99#comment-17</guid> <description>Yes, this is awesome!Can you supply a code sample to describe Einstein the dog?</description> <content:encoded><![CDATA[<p>Yes, this is awesome!</p><p>Can you supply a code sample to describe Einstein the dog?</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc (user agent is rejected)
Database Caching using apc

Served from: stephenwoods.net @ 2010-07-31 22:35:52 -->