<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>cfsilence - ColdFusion</title>
			<link>http://cfsilence.com/blog/client/index.cfm</link>
			<description>The personal blog of Todd Sharp.</description>
			<language>en-us</language>
			<pubDate>Mon, 06 Sep 2010 21:40:22 -0400</pubDate>
			<lastBuildDate>Wed, 04 Aug 2010 15:47:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>cfsilence@gmail.com</managingEditor>
			<webMaster>cfsilence@gmail.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>cfsilence@gmail.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			<itunes:image href="" />
			<image>
				<url></url>
				<title>cfsilence</title>
				<link>http://cfsilence.com/blog/client/index.cfm</link>
			</image>
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>Var Scoping In a For Loop - Watch Your Var Names</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2010/8/4/Var-Scoping-In-a-For-Loop--Watch-Your-Var-Names</link>
				<description>
				
				&lt;p&gt;
I was doing some work with &lt;a href=&quot;http://danvega.org/blog&quot;&gt;Dan Vega&apos;s&lt;/a&gt; &lt;a href=&quot;http://hyrule.riaforge.org&quot;&gt;Hyrule&lt;/a&gt; project yesterday and noticed some odd behavior where the validation routine would basically stop if I used an &apos;isMatch&apos; validator.  I checked the normal logs, etc and made sure there wasn&apos;t an errant abort or try/catch in the code and then I finally spotted the issue.
&lt;/p&gt;

&lt;p&gt;
Basically it boils down to the fact that Dan had an outer and nested loop that were both var scoping the loop iterator of &apos;i&apos;.  This led to the unfortunate circumstance of prematurely ending the outer loop from completing.  Consider the following code:
&lt;/p&gt;

&lt;code&gt;
public void function foo(){
	for(var i=1; i&lt;=3; i++){
		writeOutput(&apos;outer loop - i=&apos; &amp; i &amp; &apos;&lt;br /&gt;&apos;);
		for(var i=1; i&lt;=2; i++){
			writeOutput(&apos;inner loop - i=&apos; &amp; i &amp; &apos;&lt;br /&gt;&apos;);
		}
	}
}
&lt;/code&gt;

&lt;p&gt;
You might expect the following output from that code:
&lt;/p&gt;

&lt;img src=&quot;http://cfsilence.com/blog/client/images/for-loop-good.PNG&quot; alt=&quot;for loop good&quot; /&gt;

&lt;p&gt;But you&apos;d actually get this:&lt;/p&gt;

&lt;img src=&quot;http://cfsilence.com/blog/client/images/for-loop-bad.PNG&quot; alt=&quot;for loop bad&quot; /&gt;

&lt;p&gt;That&apos;s because the inner loop overrides the assignment of &apos;i&apos;.  When the inner loop completes and the outer loop proceeds it realizes that &apos;i&apos; is no longer less then or equal to 3 and it stops processing.&lt;/p&gt;

&lt;p&gt;The lesson here is to be careful with your var scoping.  You&apos;ll no longer get the luxury of ColdFusion telling you that a local variable can not be declared more then once.  Also, remember the importance of variable naming.  You won&apos;t get an error but you could end up with some seriously unexpected results.&lt;/p&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 04 Aug 2010 15:47:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2010/8/4/Var-Scoping-In-a-For-Loop--Watch-Your-Var-Names</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Real Life RIA Powered By The Adobe Stack - CFUnited 2010</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2010/7/30/Real-Life-RIA-Powered-By-The-Adobe-Stack--CFUnited-2010</link>
				<description>
				
				&lt;p&gt;I created an online focused version of my slides from my Real Life RIA session at &lt;a href=&quot;http://cfunited.com/2010&quot;&gt;CFUnited&lt;/a&gt;.  To check it out head past the jump.&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>AIR</category>				
				
				<category>CFUnited</category>				
				
				<category>Flex</category>				
				
				<category>ColdFusion</category>				
				
				<category>CFUnited 2010</category>				
				
				<category>SlideSix</category>				
				
				<pubDate>Fri, 30 Jul 2010 16:23:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2010/7/30/Real-Life-RIA-Powered-By-The-Adobe-Stack--CFUnited-2010</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>CFUnited Is Almost Here!</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2010/7/21/CFUnited-Is-Almost-Here</link>
				<description>
				
				&lt;p&gt;Wow, it&apos;s been six months since I wrote a post on the old blog here (I know you&apos;ve all missed me)!  The awesome news is that &lt;a href=&quot;http://cfunited.com&quot;&gt;CFUnited&lt;/a&gt; is right around the corner - just a week away in fact!  So, on to the important news...&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>AIR</category>				
				
				<category>CFUnited</category>				
				
				<category>Flex</category>				
				
				<category>ColdFusion</category>				
				
				<category>CFUnited 2010</category>				
				
				<category>SlideSix</category>				
				
				<pubDate>Wed, 21 Jul 2010 09:49:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2010/7/21/CFUnited-Is-Almost-Here</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Facial Recognition in 14 Lines Of ColdFusion</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2010/1/21/Facial-Recognition-in-14-Lines-Of-ColdFusion</link>
				<description>
				
				&lt;p&gt;
I was doing a bit of research on a potential project when I stumbled across &lt;a href=&quot;http://faint.sourceforge.net/&quot;&gt;faint&lt;/a&gt;, a Java facial recognition library and decided to give it a quick try.  
&lt;/p&gt;
&lt;p&gt;The bad news is that the documentation is literally non-existent.  So I did a bit of poking around the Jar and quickly found an &apos;OpenCVDetection&apos; class.  I dropped the faint Jar in my class path, restarted CF and about 5 minutes and 14 lines of code later I got the following result:&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>Java</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 21 Jan 2010 14:05:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2010/1/21/Facial-Recognition-in-14-Lines-Of-ColdFusion</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Now Running ColdFusion 9</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/11/12/Now-Running-ColdFusion-9</link>
				<description>
				
				&lt;p&gt;
If you follow me on Twitter you probably already know, but I wanted to put the word out that I&apos;m now running &lt;a href=&quot;http://adobe.com/go/coldfusion&quot;&gt;ColdFusion 9&lt;/a&gt; Enterprise.  From a performance standpoint, the difference on &lt;a href=&quot;http://slidesix.com&quot;&gt;SlideSix&lt;/a&gt; is pretty noticeable.  I&apos;m also loving how quick the Flex Management Console is now thanks to the complete Flash Remoting overhaul that came with CF9.
&lt;/p&gt;

&lt;p&gt;
Want to know the coolest thing of all about this upgrade?  It didn&apos;t cost me a dime.  That&apos;s right, I was lucky enough to get a completely free license to CF9 Enterprise from ColdFusion Product Manager &lt;a href=&quot;http://adrocknaphobia.com&quot;&gt;Adam Lehman&lt;/a&gt;.  Do you have a brilliant idea for a startup that takes advantages of the power of ColdFusion?  Pitch your idea to Adrock and you may just get your hands on a free license too!
&lt;/p&gt;

&lt;p&gt;
I can&apos;t wait to take advantage of some of the UI enhancments and I know that the PDF upgrades will lead to an immediate improvement in the conversion quality of some presentations.  There&apos;s also a handful of other ideas I have in mind to play with.  More on those later.&lt;/p&gt;

&lt;p&gt;
As a footnote, I should mention that for the most part the upgrade went fine but there was one minor annoyance.  The process to get CF working on IIS7+ is widely &lt;a href=&quot;http://blog.kukiel.net/2009/10/coldfusion-9-on-windows-server-2008.html&quot;&gt;documented&lt;/a&gt;, but I ran into a different issue.  After CF installed I kept getting Handler Mapping errors thrown by IIS.  &lt;strike&gt;I&apos;m not exactly sure this is the &lt;em&gt;right&lt;/em&gt; thing to do, but the fix was to check &apos;Configure 32 bit webserver&apos; in the web server connector tool.&lt;/strike&gt;  See screenshot:
&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;http://cfsilence.com/blog/client/images/cf9_web_connector.png&quot; /&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Update&lt;/strong&gt;:  I ran into this issue because the App Pool was configured to run 32 bit.  When upgrading from 32 bit CF to 64 bit make sure to set &apos;Enable 32 bit applications&apos; to false in the App Pool&apos;s advanced settings.
&lt;/p&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<category>SlideSix</category>				
				
				<pubDate>Thu, 12 Nov 2009 08:51:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/11/12/Now-Running-ColdFusion-9</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Quick Puzzler - Get Last Friday</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/10/27/Quick-Puzzler--Get-Last-Friday</link>
				<description>
				
				&lt;p&gt;
Here&apos;s a quick puzzler to get your brain working.  I just helped out a friend with the following issue but I&apos;m interested in seeing how others go about solving it.  I&apos;ll borrow Ray&apos;s Friday Puzzler rules - don&apos;t spend more then 5 minutes on it and the best solution is granted 1,794 bonus points.
&lt;/p&gt;
&lt;p&gt;
Write a UDF that solves the following puzzle:  If it is &lt;em&gt;any day or time&lt;/em&gt; after noon on Friday (server time) then set &apos;reportDate&apos; equal to the current date.  If it&apos;s &lt;em&gt;any day or time&lt;/em&gt; before noon on Friday then set &apos;reportDate&apos; to last Friday.  Sounds easy, but it can get a little tricky. 
&lt;/p&gt;
&lt;p&gt;
Post your entry in the comments below.  
&lt;/p&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 27 Oct 2009 13:49:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/10/27/Quick-Puzzler--Get-Last-Friday</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Building A Better Search For SlideSix - Part 1</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/10/22/Building-A-Better-Search-For-SlideSix--Part-1</link>
				<description>
				
				&lt;p&gt;After finishing up a few outstanding fixes and enhancements for &lt;a href=&quot;http://slidesix.com&quot;&gt;SlideSix&lt;/a&gt; the other day I decided to give search a bit of love.  Well, I didn&apos;t quite decide it; it was more of the gentle reminder from &lt;a href=&quot;http://corfield.org&quot;&gt;Sean Corfield&lt;/a&gt; about the existing search not really working all that well that prompted me to action.  Regardless, I learned a few things about search that I&apos;m going to share over a few blog posts that will use this &lt;a href=&quot;http://en.wikipedia.org/wiki/Alliteration&quot;&gt;alliteration&lt;/a&gt; littered title.
&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>Java</category>				
				
				<category>ColdFusion</category>				
				
				<category>SlideSix</category>				
				
				<pubDate>Thu, 22 Oct 2009 08:47:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/10/22/Building-A-Better-Search-For-SlideSix--Part-1</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdFusion 9 Released!!</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/10/5/ColdFusion-9-Released</link>
				<description>
				
				&lt;p&gt;I hate to write simple posts like this without bringing my own unique take on an announcement, but this one is too good to pass up.  I&apos;m extremely excited that &lt;a href=&quot;http://www.adobe.com/products/coldfusion/&quot;&gt;ColdFusion 9&lt;/a&gt; is finally publicly available.  Congrats to all my friends at Adobe who&apos;ve worked so hard on this release.  It really is a game changing release for the CF world.  I wish I was in LA to raise a glass with you right now.  Thanks again and congrats.&lt;/p&gt;

&lt;p&gt;I&apos;ll be blogging much more in the coming few weeks on some of the new features of CF 9.  Stay tuned.&lt;/p&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 05 Oct 2009 00:11:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/10/5/ColdFusion-9-Released</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Flash Remoting Broken On CF9?  Here&apos;s The Fix</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/9/23/Flash-Remoting-Broken-On-CF9--Heres-The-Fix</link>
				<description>
				
				&lt;p&gt;
I&apos;m finally getting around to really digging into &lt;a href=&quot;http://labs.adobe.com/technologies/coldfusion9/&quot;&gt;ColdFusion 9&lt;/a&gt; and stumbled on a very strange error with Flash Remoting (specifically the Flex Messaging Gateway) in one of my applications.  The app worked just fine on CF 8 but I started getting a &apos;foo is undefined in event.data.body&apos; when I tried it in 9.  So I started doing my standard troubleshooting.  Step one was to dump out the struct in question.  Oddly enough, my key was there and it had a value.  Next I tried structKeyExists() and sure enough CF told me that the key did in fact exist.  However, when I tried to access the value I&apos;d get the exception.  I even tried associative array notation and accessing the keys as uppercase in case there was some weirdness going on.  That didn&apos;t work either.
&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>Flex</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 23 Sep 2009 08:39:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/9/23/Flash-Remoting-Broken-On-CF9--Heres-The-Fix</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Want To Win A Customized CF Dude Flip Camera?</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/9/8/Want-To-Win-A-Customized-CF-Dude-Flip-Camera</link>
				<description>
				
				&lt;p&gt;
&lt;a href=&quot;http://www.winacfdudecamera.com/&quot;&gt;This&lt;/a&gt; is super cool.  &lt;a href=&quot;http://www.simonfree.com/&quot;&gt;Simon Free&lt;/a&gt; has put together a contest to help bring awareness to the &lt;a href=&quot;http://www.cfinnc.com/&quot;&gt;three&lt;/a&gt; &lt;a href=&quot;http://www.bflex.info/&quot;&gt;newest&lt;/a&gt; &lt;a href=&quot;http://www.riaunleashed.com/&quot;&gt;ColdFusion conferences&lt;/a&gt; and will be giving away 3 customized &apos;CF Dude&apos; Flip cameras - one at each event.  So what do you have to do to win?  It couldn&apos;t be easier.  Just register for one of the events and then &lt;a href=&quot;http://www.winacfdudecamera.com/enter/&quot;&gt;tell him&lt;/a&gt;, in 100 words or less, why you love ColdFusion or are excited to learn ColdFusion.  That&apos;s it.  He&apos;ll pick a winner at each event and will award the Flip camera.  See &lt;a href=&quot;http://www.winacfdudecamera.com/&quot;&gt;the site&lt;/a&gt; for the rest of the details.
&lt;/p&gt;

&lt;p&gt;Awesome idea Simon, and nice work on the site design by &lt;a href=&quot;http://www.andymatthews.net/&quot;&gt;Andy Matthews&lt;/a&gt;.&lt;/p&gt;
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 08 Sep 2009 09:02:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/9/8/Want-To-Win-A-Customized-CF-Dude-Flip-Camera</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Cache Rules Everything Around Me</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/7/29/Cache-Rules-Everything-Around-Me</link>
				<description>
				
				&lt;p&gt;
&lt;a href=&quot;http://www.brooks-bilson.com/blogs/rob/&quot;&gt;Rob Brooks-Bilson&lt;/a&gt; has started a series of posts where he lays out some basic caching concepts and goes into some of the caching enhancements in &lt;a href=&quot;http://labs.adobe.com/technologies/coldfusion9/&quot;&gt;ColdFusion 9&lt;/a&gt;.  
&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 29 Jul 2009 15:02:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/7/29/Cache-Rules-Everything-Around-Me</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Two More Opportunites To Network, Learn And Drink Beer</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/7/22/Two-More-Opportunites-To-Network-Learn-And-Drink-Beer</link>
				<description>
				
				I wanted to help spread the word about two new conference options for developers.  The first is the &lt;a href=&quot;http://riadventure.com&quot;&gt;RIAdventure 360 Cruise&lt;/a&gt; that will be held December 6-13 on the high seas of the Western Caribbean.  This is the second iteration of this event which is organized by my buddy &lt;a href=&quot;http://usefulconcept.com&quot;&gt;Josh Cyr&lt;/a&gt;.  Josh says:
				 [More]
				</description>
						
				
				<category>AIR</category>				
				
				<category>Flex</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 22 Jul 2009 11:33:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/7/22/Two-More-Opportunites-To-Network-Learn-And-Drink-Beer</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Introducing CFPanel - New Live Podcast</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/7/22/Introduction-CFPanel--New-Live-Podcast</link>
				<description>
				
				&lt;p&gt;
I&apos;m thrilled to announce the launch of a new community effort, cfpanel.  This is an effort put together by myself and &lt;a href=&quot;http://danvega.org/blog&quot;&gt;Dan Vega&lt;/a&gt; to bring a new live podcast hosted by a rotating panel of community members to discuss relevant topics.  
&lt;/p&gt;
&lt;p&gt;
Read more &lt;a href=&quot;http://cfpanel.com/index.cfm/2009/7/22/Welcome-to-cfpanel&quot;&gt;here&lt;/a&gt;.
&lt;/p&gt;
				
				</description>
						
				
				<category>AIR</category>				
				
				<category>Flex</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 22 Jul 2009 10:33:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/7/22/Introduction-CFPanel--New-Live-Podcast</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>CFGoogle - A ColdFusion Package For Interacting With Several Google APIs</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/7/15/CFGoogle--A-ColdFusion-Package-For-Interacting-With-Several-Google-APIs</link>
				<description>
				
				I&apos;m happy to announce that I&apos;ve launched &lt;a href=&quot;http://cfgoogle.riaforge.org&quot;&gt;CFGoogle&lt;/a&gt; on RIAForge.  This project is a set of ColdFusion Components built to interact with a number of Google APIs. The package contains a base CFC which provides basic authentication and session token retrieval. Other components in the package extend the base CFC to interact with individual Google services such as Docs and Analytics.
				 [More]
				</description>
						
				
				<category>Google</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 15 Jul 2009 09:16:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/7/15/CFGoogle--A-ColdFusion-Package-For-Interacting-With-Several-Google-APIs</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdFusion 9 And ColdFusion Builder Public Beta Now Available</title>
				<link>http://cfsilence.com/blog/client/index.cfm/2009/7/13/ColdFusion-9-And-ColdFusion-Builder-Public-Beta-Now-Available</link>
				<description>
				
				The long awaited public betas of ColdFusion 9 and ColdFusion Builder are now available.  The following presentation is full of information about the new products:
				 [More]
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 13 Jul 2009 00:10:00 -0400</pubDate>
				<guid>http://cfsilence.com/blog/client/index.cfm/2009/7/13/ColdFusion-9-And-ColdFusion-Builder-Public-Beta-Now-Available</guid>
				
				
			</item>
			
		 	
			</channel></rss>