<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for DaveShuck.com</title>
	<atom:link href="http://daveshuck.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://daveshuck.com</link>
	<description>Programming, Outdoors, Technology, Running, and Life</description>
	<lastBuildDate>Wed, 14 Dec 2011 21:01:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on ColdFusion 9 catch() is not thread-safe! by Nathan D</title>
		<link>http://daveshuck.com/2011/11/02/coldfusion-9-catch-is-not-thread-safe/#comment-221</link>
		<dc:creator><![CDATA[Nathan D]]></dc:creator>
		<pubDate>Wed, 14 Dec 2011 21:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://daveshuck.com/?p=516#comment-221</guid>
		<description><![CDATA[Hmm, guess it stripped out instead of escaping the tags.  The code snippet should be: 

&lt;cfcomponent output=&quot;false&quot;&gt;
  &lt;cffunction name=&quot;makeVariable&quot;&gt;
    &lt;cfset variables.foo = &quot;I was made inside the makeVariable function on #now()#&quot; &gt;
  &lt;/cffunction&gt;
  
  &lt;cffunction name=&quot;getVariablesScope&quot;&gt;
    &lt;cfreturn variables&gt;
  &lt;/cffunction&gt;
  
  &lt;cffunction name=&quot;generateException&quot;&gt;
      &lt;cfscript&gt;
        try{
          1/0;
        }
        catch(any foo){
          variables.exceptionCalledFoo = foo;
        }
      &lt;/cfscript&gt;
  &lt;/cffunction&gt;  
&lt;/cfcomponent&gt;]]></description>
		<content:encoded><![CDATA[<p>Hmm, guess it stripped out instead of escaping the tags.  The code snippet should be: </p>
<p>&lt;cfcomponent output=&#8221;false&#8221;&gt;<br />
  &lt;cffunction name=&#8221;makeVariable&#8221;&gt;<br />
    &lt;cfset variables.foo = &#8220;I was made inside the makeVariable function on #now()#&#8221; &gt;<br />
  &lt;/cffunction&gt;</p>
<p>  &lt;cffunction name=&#8221;getVariablesScope&#8221;&gt;<br />
    &lt;cfreturn variables&gt;<br />
  &lt;/cffunction&gt;</p>
<p>  &lt;cffunction name=&#8221;generateException&#8221;&gt;<br />
      &lt;cfscript&gt;<br />
        try{<br />
          1/0;<br />
        }<br />
        catch(any foo){<br />
          variables.exceptionCalledFoo = foo;<br />
        }<br />
      &lt;/cfscript&gt;<br />
  &lt;/cffunction&gt;<br />
&lt;/cfcomponent&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion 9 catch() is not thread-safe! by Nathan D</title>
		<link>http://daveshuck.com/2011/11/02/coldfusion-9-catch-is-not-thread-safe/#comment-220</link>
		<dc:creator><![CDATA[Nathan D]]></dc:creator>
		<pubDate>Wed, 14 Dec 2011 20:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://daveshuck.com/?p=516#comment-220</guid>
		<description><![CDATA[In my quick test I was not able to have the &quot;foo&quot; variable generated by catch(any foo) actually overwrite an existing variables.foo in the same instance of the CFC - if your finding holds true, shouldn&#039;t it?  For instance, in this code if you run makeVariable, then dump, then run generateException on the same instance and then dump getVariablesScope again the original variables.foo is still there:


  
    
  
  
  
    
  
  
  
      
        try{
          1/0;
        }
        catch(any foo){
          variables.exceptionCalledFoo = foo;
        }
      
    
]]></description>
		<content:encoded><![CDATA[<p>In my quick test I was not able to have the &#8220;foo&#8221; variable generated by catch(any foo) actually overwrite an existing variables.foo in the same instance of the CFC &#8211; if your finding holds true, shouldn&#8217;t it?  For instance, in this code if you run makeVariable, then dump, then run generateException on the same instance and then dump getVariablesScope again the original variables.foo is still there:</p>
<p>        try{<br />
          1/0;<br />
        }<br />
        catch(any foo){<br />
          variables.exceptionCalledFoo = foo;<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Naked Domains in Google App Engine with GoDaddy by daain</title>
		<link>http://daveshuck.com/2009/12/16/naked-domains-in-google-app-engine-with-godaddy/#comment-181</link>
		<dc:creator><![CDATA[daain]]></dc:creator>
		<pubDate>Tue, 08 Nov 2011 16:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress/?p=399#comment-181</guid>
		<description><![CDATA[Thanks a lot, really nice writeup :)

The screenshots made it super easy too!]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot, really nice writeup <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The screenshots made it super easy too!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CFML wishlist: All collections should extend Iterator by Kurt Wiersma</title>
		<link>http://daveshuck.com/2011/11/04/cfml-wishlist-all-collections-should-extend-iterator/#comment-177</link>
		<dc:creator><![CDATA[Kurt Wiersma]]></dc:creator>
		<pubDate>Sat, 05 Nov 2011 23:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://daveshuck.com/?p=532#comment-177</guid>
		<description><![CDATA[I would love to see this as well especially with the Grails syntax!]]></description>
		<content:encoded><![CDATA[<p>I would love to see this as well especially with the Grails syntax!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CFML wishlist: All collections should extend Iterator by Steve Good</title>
		<link>http://daveshuck.com/2011/11/04/cfml-wishlist-all-collections-should-extend-iterator/#comment-176</link>
		<dc:creator><![CDATA[Steve Good]]></dc:creator>
		<pubDate>Fri, 04 Nov 2011 20:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://daveshuck.com/?p=532#comment-176</guid>
		<description><![CDATA[Argh, it killed my markup.  Here&#039;s a link to my gist: https://gist.github.com/1340409]]></description>
		<content:encoded><![CDATA[<p>Argh, it killed my markup.  Here&#8217;s a link to my gist: <a href="https://gist.github.com/1340409" rel="nofollow">https://gist.github.com/1340409</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CFML wishlist: All collections should extend Iterator by Steve Good</title>
		<link>http://daveshuck.com/2011/11/04/cfml-wishlist-all-collections-should-extend-iterator/#comment-175</link>
		<dc:creator><![CDATA[Steve Good]]></dc:creator>
		<pubDate>Fri, 04 Nov 2011 20:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://daveshuck.com/?p=532#comment-175</guid>
		<description><![CDATA[I&#039;d be even more excited to see something like the Grails GSP implementation of each.  Something like:

  ]]></description>
		<content:encoded><![CDATA[<p>I&#8217;d be even more excited to see something like the Grails GSP implementation of each.  Something like:</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion 9 catch() is not thread-safe! by Peter Boughton</title>
		<link>http://daveshuck.com/2011/11/02/coldfusion-9-catch-is-not-thread-safe/#comment-171</link>
		<dc:creator><![CDATA[Peter Boughton]]></dc:creator>
		<pubDate>Fri, 04 Nov 2011 15:11:37 +0000</pubDate>
		<guid isPermaLink="false">http://daveshuck.com/?p=516#comment-171</guid>
		<description><![CDATA[Dave, Railo also has the option to not require var scoping (named &quot;local scope mode&quot; in Admin&gt;Settings&gt;Scope page) - if you set this to &quot;always&quot; then it should behave the same as OpenBD (i.e. always place new variables in functions in the local scope instead of variables scope.)]]></description>
		<content:encoded><![CDATA[<p>Dave, Railo also has the option to not require var scoping (named &#8220;local scope mode&#8221; in Admin&gt;Settings&gt;Scope page) &#8211; if you set this to &#8220;always&#8221; then it should behave the same as OpenBD (i.e. always place new variables in functions in the local scope instead of variables scope.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion 9 catch() is not thread-safe! by Gert Franz</title>
		<link>http://daveshuck.com/2011/11/02/coldfusion-9-catch-is-not-thread-safe/#comment-170</link>
		<dc:creator><![CDATA[Gert Franz]]></dc:creator>
		<pubDate>Fri, 04 Nov 2011 15:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://daveshuck.com/?p=516#comment-170</guid>
		<description><![CDATA[There is a setting in the Railo admin which exists for a while already that you can have Railo put the variables into the local scope by default and not always. In this way you can make use of both behaviors, depending on which you need in which context. And using local.e is a perfectly valid syntax. You wouldn&#039;t have to write variables.e if you need it there in the other case...

Gert]]></description>
		<content:encoded><![CDATA[<p>There is a setting in the Railo admin which exists for a while already that you can have Railo put the variables into the local scope by default and not always. In this way you can make use of both behaviors, depending on which you need in which context. And using local.e is a perfectly valid syntax. You wouldn&#8217;t have to write variables.e if you need it there in the other case&#8230;</p>
<p>Gert</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion 9 catch() is not thread-safe! by Adam Presley (@adampresley)</title>
		<link>http://daveshuck.com/2011/11/02/coldfusion-9-catch-is-not-thread-safe/#comment-169</link>
		<dc:creator><![CDATA[Adam Presley (@adampresley)]]></dc:creator>
		<pubDate>Thu, 03 Nov 2011 14:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://daveshuck.com/?p=516#comment-169</guid>
		<description><![CDATA[That is crazy nuts.  First, why not allow you to define where that catch variable goes?  Secondly, just about every other language in the world defaults to a local variable scope for *ANY* variable defined in a method (notice I said *just about every*, and not *all*), so why can&#039;t CF?  And of course there is no semephore mechanism to control access to volatile variables...

Lesson here?  High traffic sites, shouldn&#039;t use best practices of exception handling for fear of race conditions.]]></description>
		<content:encoded><![CDATA[<p>That is crazy nuts.  First, why not allow you to define where that catch variable goes?  Secondly, just about every other language in the world defaults to a local variable scope for *ANY* variable defined in a method (notice I said *just about every*, and not *all*), so why can&#8217;t CF?  And of course there is no semephore mechanism to control access to volatile variables&#8230;</p>
<p>Lesson here?  High traffic sites, shouldn&#8217;t use best practices of exception handling for fear of race conditions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion 9 catch() is not thread-safe! by dshuck</title>
		<link>http://daveshuck.com/2011/11/02/coldfusion-9-catch-is-not-thread-safe/#comment-168</link>
		<dc:creator><![CDATA[dshuck]]></dc:creator>
		<pubDate>Thu, 03 Nov 2011 14:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://daveshuck.com/?p=516#comment-168</guid>
		<description><![CDATA[Alan, thank you very much for responding and pointing out the problem with my first test.  I have modded the first test so that it is consistent with the others.  What it shows is that OpenBD is the only engine that treats it as I would hope!  I have modded the last edit to say:  &quot;EDIT (again): I have tested this in both Railo and OpenBD.  OpenBD, due to the fact that it puts variables within methods in the var scope by default does not fail on the first test.  Railo, does fail.  However by using the variables scope like ColdFusion.  However, it allows you to do catch( any local.e ) and var scope e ahead.  So in a nutshell, ColdFusion is the only engine that does not give us any way to do thread-safe error handling.&quot;]]></description>
		<content:encoded><![CDATA[<p>Alan, thank you very much for responding and pointing out the problem with my first test.  I have modded the first test so that it is consistent with the others.  What it shows is that OpenBD is the only engine that treats it as I would hope!  I have modded the last edit to say:  &#8220;EDIT (again): I have tested this in both Railo and OpenBD.  OpenBD, due to the fact that it puts variables within methods in the var scope by default does not fail on the first test.  Railo, does fail.  However by using the variables scope like ColdFusion.  However, it allows you to do catch( any local.e ) and var scope e ahead.  So in a nutshell, ColdFusion is the only engine that does not give us any way to do thread-safe error handling.&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

