<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	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>Adventures in Public Transit</title>
	<atom:link href="http://adventuresinpublictransit.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://adventuresinpublictransit.wordpress.com</link>
	<description>Music, travel and public transit...</description>
	<lastBuildDate>Mon, 12 Sep 2011 00:27:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='adventuresinpublictransit.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Adventures in Public Transit</title>
		<link>http://adventuresinpublictransit.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://adventuresinpublictransit.wordpress.com/osd.xml" title="Adventures in Public Transit" />
	<atom:link rel='hub' href='http://adventuresinpublictransit.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Another Depressing 9-11 Story</title>
		<link>http://adventuresinpublictransit.wordpress.com/2011/09/11/another-depressing-9-11-story/</link>
		<comments>http://adventuresinpublictransit.wordpress.com/2011/09/11/another-depressing-9-11-story/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 00:27:22 +0000</pubDate>
		<dc:creator>adventuresinpublictransit</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[9-11]]></category>

		<guid isPermaLink="false">http://adventuresinpublictransit.wordpress.com/?p=287</guid>
		<description><![CDATA[This is my 9-11 story. In September 2001, I had just gotten a job working at the University of Houston doing web development. As a temporary thing, they put me at a desk in a computer lab, which was annoying because I was constantly asked questions and expected to fill the printer with paper, even [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=287&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is my 9-11 story.</p>
<p>In September 2001, I had just gotten a job working at the University of Houston doing web development. As a temporary thing, they put me at a desk in a computer lab, which was annoying because I was constantly asked questions and expected to fill the printer with paper, even though that wasn&#8217;t my job. That morning, the lab monitor was coming over every minute or so and asking me how to spell things. A little before 9, a guy came in and asked, &#8220;Do you guys have a TV or something? A plane just hit the World Trade Center.&#8221; I didn&#8217;t really believe him, so I tried to check it out online. All of the news sites were down, so I immediately figured out that something going on. After a long time of trying, I finally got CNN&#8217;s site to load. It was a blank page with a small, single image of the second plane hitting the towers. The whole time the lab monitor was asking me how to spell this and that. I stopped answering her. A little bit after that, I finally got a streaming news report to load and heard the full story. Just outside the building there was a breezeway where a cart was set up to sell food and drinks. They had a radio on. A large group of people was just standing there, staring at nothing and not say anything, listening to the radio reports. We were all just listening, not really knowing what to say or what to do.</p>
<p>The instructors had been told not to say anything about what had happened, and most didn&#8217;t, although some acted kind of crazy, while others attempted to talk about it. The next day I went into a class, and the instructor, right at the start, said &#8220;Could we have a moment of silence for those killed yesterday?&#8221; Aside from the sniffs and crying, it was silent for over a full minute. Then he proceeded to go on with class as normal. That was a really powerful moment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adventuresinpublictransit.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adventuresinpublictransit.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adventuresinpublictransit.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adventuresinpublictransit.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adventuresinpublictransit.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adventuresinpublictransit.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adventuresinpublictransit.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adventuresinpublictransit.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adventuresinpublictransit.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adventuresinpublictransit.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adventuresinpublictransit.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adventuresinpublictransit.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adventuresinpublictransit.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adventuresinpublictransit.wordpress.com/287/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=287&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adventuresinpublictransit.wordpress.com/2011/09/11/another-depressing-9-11-story/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2efe16340e13e86e9212e46608ce2082?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adventuresinpublictransit</media:title>
		</media:content>
	</item>
		<item>
		<title>RE: United States of GOOD Beer</title>
		<link>http://adventuresinpublictransit.wordpress.com/2011/08/18/re-united-states-of-good-beer/</link>
		<comments>http://adventuresinpublictransit.wordpress.com/2011/08/18/re-united-states-of-good-beer/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 02:23:42 +0000</pubDate>
		<dc:creator>adventuresinpublictransit</dc:creator>
				<category><![CDATA[Beer]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://adventuresinpublictransit.wordpress.com/?p=278</guid>
		<description><![CDATA[I recently was quizzed over the &#8220;United States of GOOD Beer&#8221; post on good.is and, of course, disagreed with a lot of it. I spent a lot time trying to figure out what people would probably say, and was often wrong, and in that process, learned of some places I had never heard of. Nevertheless, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=278&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently was quizzed over the &#8220;<a href="http://awesome.good.is/transparency/web/1102/beer-map/flat.html" target="_blank">United States of GOOD Beer</a>&#8221; post on good.is and, of course, disagreed with a lot of it. I spent a lot time trying to figure out what people would probably say, and was often wrong, and in that process, learned of some places I had never heard of. Nevertheless, I have my own list.<br />
I chose these places much of the time based on having been to the brewpub and having tried their specialty beers. Some are just brewpubs and have no distribution. Some are more well-known breweries. And, with some states, I have an &#8220;N/A&#8221; because I either have never had beer from the state or have never had anything from the state that I particularly like. Items that agree with the &#8220;United States of GOOD Beer&#8221; are <span style="color:#000080;"><strong>highlighted</strong></span>.<br />
I also included the  Canadian provinces I&#8217;ve visited, because Canadian microbrew gets ignored too often.</p>
<ul>
<li>Alabama: N/A</li>
<li>Alaska: <strong><span style="color:#000080;">Alaskan, Anchorage </span></strong> (cheap shot, is there another brewery there?)</li>
<li>Arizona: Sun Up, Phoenix</li>
<li>Arkansas: <span style="color:#000080;"><strong>Diamond Bear, Little Rock</strong></span></li>
<li>California: Ale Smith, San Diego</li>
<li>Colorado: Avery, Boulder</li>
<li>Connecticut: N/A</li>
<li>Delaware: <span style="color:#000080;"><strong>Dogfish Head, Milton</strong></span></li>
<li>Florida: Cigar City, Tampa</li>
<li>Georgia: Terrapin, Athens</li>
<li>Hawaii: <span style="color:#000080;"><strong>Kona, Maui</strong></span></li>
<li>Idaho: Sockeye, Boise</li>
<li>Illinois: <span style="color:#000080;"><strong>Two Brothers, Warrenville</strong></span></li>
<li>Indiana: Bier, Indianapolis</li>
<li>Iowa: N/A</li>
<li>Kansas: Tallgrass, Manhattan</li>
<li>Kentucky: N/A (Bluegrass kinda sucks, sorry)</li>
<li>Louisiana: <span style="color:#000080;"><strong>Abita, Abita Springs</strong></span></li>
<li>Maine: <span style="color:#000080;"><strong>Allagash, Portland</strong></span></li>
<li>Maryland: <span style="color:#000080;"><strong>Flying Dog, Frederick</strong></span></li>
<li>Massachusetts: Cambridge Brewing, Cambridge</li>
<li>Michigan: Jolly Pumpkin, Dexter (big runners up: Dark Horse &amp; Founder&#8217;s)</li>
<li>Minnesota: <span style="color:#000080;"><strong>Summit, St. Paul</strong></span></li>
<li>Mississippi: <span style="color:#000080;"><strong>Lazy Magnolia, Kiln</strong></span> (only one in the state, but it&#8217;s actually very good)</li>
<li>Missouri: Six Row, St. Louis</li>
<li>Montana: Bitter Root, Hamilton</li>
<li>Nebraska: Upstream, Omaha</li>
<li>Nevada: Chicago Brewing, Las Vegas</li>
<li>New Hampshire: <span style="color:#000080;"><strong>Smuttynoise, Portsmouth</strong></span></li>
<li>New Jersey: N/A</li>
<li>New Mexico: <span style="color:#000080;"><strong>Marble, Albuquerque</strong></span> (High Desert is a close 2nd)</li>
<li>New York: Ommegang, Cooperstown</li>
<li>North Carolina: Wedge, Asheville</li>
<li>North Dakota: N/A</li>
<li>Ohio: Buckeye, Lakewood</li>
<li>Oklahoma: Coop, Oklahoma City</li>
<li>Oregon: Rogue, Newport</li>
<li>Pennsylvania: <span style="color:#000080;"><strong>Victory, Downingtown</strong></span></li>
<li>Rhode Island: N/A</li>
<li>South Carolina: Thomas Creek, Greenville</li>
<li>South Dakota: N/A</li>
<li>Tennessee: Smoky Mountain, Gatlinburg</li>
<li>Texas: Live Oak, Austin</li>
<li>Utah: Epic, Salt Lake City</li>
<li>Vermont: N/A</li>
<li>Washington: Marine Pacific, Seattle</li>
<li>Virginia: Legend, Richmond</li>
<li>Washington, DC: <span style="color:#000080;"><strong>Capitol City, DC</strong></span></li>
<li>West Virginia: N/A (only been to one place and it was awful)</li>
<li>Wisconsin: N/A (only been to a couple, so I need to come back)</li>
<li>Wyoming: Bitter Creek, Rock Springs</li>
<li>British Columbia: Steamworks, Vancouver (need to come back and try more)</li>
<li>Newfoundland: Quidi Vidi, St. John&#8217;s</li>
<li>Ontario: Mill Street, Toronto</li>
<li>Quebec: La Barberie, Quebec</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adventuresinpublictransit.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adventuresinpublictransit.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adventuresinpublictransit.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adventuresinpublictransit.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adventuresinpublictransit.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adventuresinpublictransit.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adventuresinpublictransit.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adventuresinpublictransit.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adventuresinpublictransit.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adventuresinpublictransit.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adventuresinpublictransit.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adventuresinpublictransit.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adventuresinpublictransit.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adventuresinpublictransit.wordpress.com/278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=278&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adventuresinpublictransit.wordpress.com/2011/08/18/re-united-states-of-good-beer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2efe16340e13e86e9212e46608ce2082?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adventuresinpublictransit</media:title>
		</media:content>
	</item>
		<item>
		<title>Best Albums of 2010</title>
		<link>http://adventuresinpublictransit.wordpress.com/2011/05/23/273/</link>
		<comments>http://adventuresinpublictransit.wordpress.com/2011/05/23/273/#comments</comments>
		<pubDate>Mon, 23 May 2011 22:26:39 +0000</pubDate>
		<dc:creator>adventuresinpublictransit</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[albums]]></category>
		<category><![CDATA[new albums]]></category>
		<category><![CDATA[new music]]></category>

		<guid isPermaLink="false">http://adventuresinpublictransit.wordpress.com/?p=273</guid>
		<description><![CDATA[I published this a while ago, but here is the WordPress version. Full version is here with videos and streaming audio. Holy Fuck &#8211; Latin Bonobo &#8211; Black Sands Broken Social Scene &#8211; Forgiveness Rock Record LCD Soundsystem &#8211; This is Happening Arcade Fire &#8211; The Suburbs The Octopus Project &#8211; Hexadecagon Maps &#38; Atlases [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=273&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I published this a while ago, but here is the WordPress version. Full version is <a title="Colin's Top Albums of 2010" href="http://shuaige.lonelycrowdedwest.net/10cds.xml" target="_blank">here</a> with videos and streaming audio.</p>
<ol>
<li>Holy Fuck &#8211; Latin</li>
<li>Bonobo &#8211; Black Sands</li>
<li>Broken Social Scene &#8211; Forgiveness Rock Record</li>
<li>LCD Soundsystem &#8211; This is Happening</li>
<li>Arcade Fire &#8211; The Suburbs</li>
<li>The Octopus Project &#8211; Hexadecagon</li>
<li>Maps &amp; Atlases &#8211; Perch Patchwork</li>
<li>Foals &#8211; Total Life Forever</li>
<li>Sia &#8211; We Are Born</li>
<li>Damien Jurado &#8211; Saint Bartlett</li>
<li>Local Natives &#8211; Gorilla Manor</li>
<li>Vampire Weekend &#8211; Contra</li>
<li>Fang Island &#8211; Fang Island</li>
<li>El Guincho &#8211; Pop Negro</li>
<li>My Education &#8211; Sunrise</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adventuresinpublictransit.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adventuresinpublictransit.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adventuresinpublictransit.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adventuresinpublictransit.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adventuresinpublictransit.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adventuresinpublictransit.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adventuresinpublictransit.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adventuresinpublictransit.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adventuresinpublictransit.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adventuresinpublictransit.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adventuresinpublictransit.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adventuresinpublictransit.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adventuresinpublictransit.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adventuresinpublictransit.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=273&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adventuresinpublictransit.wordpress.com/2011/05/23/273/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2efe16340e13e86e9212e46608ce2082?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adventuresinpublictransit</media:title>
		</media:content>
	</item>
		<item>
		<title>Case Study: Querying a Blank Recordset in SQL Server</title>
		<link>http://adventuresinpublictransit.wordpress.com/2011/01/24/case-study-querying-a-blank-recordset-in-sql-server/</link>
		<comments>http://adventuresinpublictransit.wordpress.com/2011/01/24/case-study-querying-a-blank-recordset-in-sql-server/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 17:54:21 +0000</pubDate>
		<dc:creator>adventuresinpublictransit</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://adventuresinpublictransit.wordpress.com/?p=270</guid>
		<description><![CDATA[Problem: I was doing an INSERT/SELECT via an export of several thousand rows, and needed to pull data from a table for two columns, but use a direct character string (zip code, in this case) for the third. Sounds straight-forward, except that a corresponding record/zip code did not necessarily exist in the table I was selecting rows from. So, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=270&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem: I was doing an INSERT/SELECT via an export of several thousand rows, and needed to pull data from a table for two columns, but use a direct character string (zip code, in this case) for the third. Sounds straight-forward, except that a corresponding record/zip code did not necessarily exist in the table I was selecting rows from. So, if there was no record, it would return an empty recordset and wouldn&#8217;t insert. So, essentially, I needed a fake recordset.</p>
<p>In Oracle, as many other things, this is actually pretty easy. Oracle has its &#8220;DUAL&#8221; command, which essentially creates this empty recordset. In SQL Server, you don&#8217;t use a FROM and can return a recordset, but I wanted the columns from the table to be optional but could not use a left join as you can&#8217;t join a table on to nothing.</p>
<p>The first thought was to simply bring in another table that I knew had a record, then join on that. However, this table included almost every US zip code (including PO Box-only zips, military zips, overseas zips, etc.), so it was an enormous recordset and, not being the manager of the data, I hadn&#8217;t added an index, so its performance was horrendous. When I added this to the ColdFusion script, what was taking roughly 35 seconds now timed out after 120 seconds. I could increase the timeout, but over two minutes is somewhat unreasonable.</p>
<p>What I ended up doing was to just do a direct insert, then do an UPDATE/SELECT after all of the inserts were done. Not ideal, but it actually ended up being pretty fast. But that got my curious: what are other ways to do this in SQL Server, and how would they work out from a performance persepctive?</p>
<p>So, enter SQL&#8217;s nice Client Statistics window to tell me all about it. I did three different cases of running the base select query (the insert would be more, of course, but I didn&#8217;t want to do it) and checked the execution time of each.</p>
<ul>
<li>The join: As I said, the table I have to actually select from has a row count of about 41,000 rows. Not huge, but not quick either, particularly with no index. This query ended up taking 266 milliseconds.</li>
</ul>
<pre>SELECT a.zip,b.state,b.county
FROM bigZipCodeTable a
LEFT JOIN slightlySmallerZipCodeTable b ON b.zip=a.zip
WHERE zip='85701'</pre>
<ul>
<li>The table variable: This was not technically an option in ColdFusion scripting, since it doesn&#8217;t support this, but I had the idea to create a pseudo-temporary table using SQL&#8217;s table variable and a quick T-SQL script. I created the table definition in the declaration with one column for the zip code, then inserted a single record with the zip code I wanted to pull data for. I then selected from that and joined the table that I wanted to pull data from. Surprisingly (to me, at least), it actually ended up taking almost twice as long: 469 ms. So that&#8217;s out.</li>
</ul>
<pre>DECLARE @tbl TABLE(zip VARCHAR(5));
INSERT INTO @tbl VALUES('85701');
SELECT a.zip,b.state,b.county
FROM @tbl a
LEFT JOIN slightlySmallerZipCodeTable b ON b.zip=a.zip</pre>
<ul>
<li>My third idea was to create a false recordset using a sub-query in the FROM clause. In my experience with sub-queries, I know their inefficiency in the WHERE clause and thought that, surely, this would not do well. But, you know what, it did okay. 156 ms, which beats out the join, but not by enough to actually let me use it in the script. It would add up, but not enough to save me from the script taking much longer than it should.</li>
</ul>
<pre>SELECT a.zip,b.state,b.county
FROM (SELECT '85701' AS zip) a
LEFT JOIN slightlySmallerZipCodeTable b ON b.zip=a.zip</pre>
<p>So there ya go. I hope that helps someone out.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adventuresinpublictransit.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adventuresinpublictransit.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adventuresinpublictransit.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adventuresinpublictransit.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adventuresinpublictransit.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adventuresinpublictransit.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adventuresinpublictransit.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adventuresinpublictransit.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adventuresinpublictransit.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adventuresinpublictransit.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adventuresinpublictransit.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adventuresinpublictransit.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adventuresinpublictransit.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adventuresinpublictransit.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=270&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adventuresinpublictransit.wordpress.com/2011/01/24/case-study-querying-a-blank-recordset-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2efe16340e13e86e9212e46608ce2082?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adventuresinpublictransit</media:title>
		</media:content>
	</item>
		<item>
		<title>Houston Venues of the Early 2000&#8242;s</title>
		<link>http://adventuresinpublictransit.wordpress.com/2010/12/30/houston-venues-of-the-early-2000s/</link>
		<comments>http://adventuresinpublictransit.wordpress.com/2010/12/30/houston-venues-of-the-early-2000s/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 17:56:19 +0000</pubDate>
		<dc:creator>adventuresinpublictransit</dc:creator>
				<category><![CDATA[Concerts]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://adventuresinpublictransit.wordpress.com/?p=267</guid>
		<description><![CDATA[I&#8217;ve been thinking about this a lot and, although it&#8217;s pretty random, maybe it will inspire the nostalgia of someone else who recalls the days of Hands-Up Houston and when great emo and indie rock was coming through town on an almost weekly basis. I moved back for college in July of 1999 and left [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=267&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been thinking about this a lot and, although it&#8217;s pretty random, maybe it will inspire the nostalgia of someone else who recalls the days of Hands-Up Houston and when great emo and indie rock was coming through town on an almost weekly basis.<br />
I moved back for college in July of 1999 and left in July of 2003, so these venues reflect that time period.</p>
<ul>
<li><strong>Brick Oven Pizza:</strong> Unfortunately, I can&#8217;t recall the specific name of this place (anyone?). It was a pizza restaurant on Westheimer at Taft that just happened to have live music some nights. It was open for less than a year while I was there, then abruptly shut down. I saw Pop Unknown here once and remember thinking that I would love to come back. Too bad.</li>
<li><strong>The Metropole:</strong> This was in the basement of the Metropole Hotel Downtown, which was kind of a flophouse and doesn&#8217;t even exist anymore. I believe it was on Travis though, but I could certainly be wrong. It operated for two years, at the most, ditching the live music for the later part of its existence. Very briefly though, this was the hip club in Houston. I spent several evenings here and caught a Gloria Record show.</li>
<li><strong>The Proletariat:</strong> This existed up until about 2007 and, throughout the middle part of the decade, was very much <em>the</em> hip club. They had the best jukebox in town. I once played Black Sabbath&#8217;s &#8220;Warning&#8221; and Mogwai&#8217;s &#8220;Christmas Steps&#8221; with $1 to maximize my money. I can recall seeing The Octopus Project here, years ago but don&#8217;t specifically recall other shows.</li>
<li><strong>NotsuoH:</strong> &#8220;Houston&#8221; backwards, this faced Main Street in Downtown and was a coffee shop by day and a venue by night, with shows upstairs. The building used to be a shoe store, so there were boxes of ancient shoes everywhere. The second floor could only be reached by a rickety, narrow staircase and the floor shook to the point that you were sure it was about to cave in. The power would often go out during shows because the place had few outlets and had ancient wiring. They were also famous for their &#8220;special coffee&#8221; and being the only place where you could get liquor after 2am, as they were 24 hours but were not licensed to sell it anyway. They were shut down sometime around 2002 but have since reopened at the same location but in a very different form.<br />
I saw I Am Spoonbender here, in what I believe was their only Texas show ever. I still remember it well. I also saw Cursive with the Paper Chase as an opener soon after. Strangely, while I Am Spoonbender set up at the back by the window, Cursive set up right by the stairs. Maybe for the sake of electricity access.</li>
<li><strong>Mary Jane&#8217;s:</strong> This also existed for several years in the late 90&#8242;s and up until about 2002, when it suddenly became &#8220;Mary Jane&#8217;s Fat Cat&#8221; and, soon after &#8220;Fat Cat&#8217;s,&#8221; and it change drastically. I played here once in either 1999 or 2000, opening for Antarctica and The Gloria Record. I saw The Gloria Record (again) and Karate here, as well as a number of other shows. This was the best venue in town for a while.</li>
</ul>
<p>More to come.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adventuresinpublictransit.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adventuresinpublictransit.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adventuresinpublictransit.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adventuresinpublictransit.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adventuresinpublictransit.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adventuresinpublictransit.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adventuresinpublictransit.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adventuresinpublictransit.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adventuresinpublictransit.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adventuresinpublictransit.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adventuresinpublictransit.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adventuresinpublictransit.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adventuresinpublictransit.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adventuresinpublictransit.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=267&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adventuresinpublictransit.wordpress.com/2010/12/30/houston-venues-of-the-early-2000s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2efe16340e13e86e9212e46608ce2082?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adventuresinpublictransit</media:title>
		</media:content>
	</item>
		<item>
		<title>UDF in a CFC: Version 8 versus 9</title>
		<link>http://adventuresinpublictransit.wordpress.com/2010/12/29/udf-in-a-cfc-version-8-versus-9/</link>
		<comments>http://adventuresinpublictransit.wordpress.com/2010/12/29/udf-in-a-cfc-version-8-versus-9/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 14:19:10 +0000</pubDate>
		<dc:creator>adventuresinpublictransit</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://adventuresinpublictransit.wordpress.com/?p=265</guid>
		<description><![CDATA[Another weird little difference I discovered yesterday between version 8 and version 9 of ColdFusion. Scenario, you have a component and declare a valid function in that CFC that steps on the name of a built-in ColdFusion function. In my case, it was &#8220;log,&#8221; which CF uses as a logarithm function. Code: &#60;cfcomponent&#62; &#60;cffunction name="log"&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=265&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Another weird little difference I discovered yesterday between version 8 and version 9 of ColdFusion.</p>
<p>Scenario, you have a component and declare a valid function in that CFC that steps on the name of a built-in ColdFusion function. In my case, it was &#8220;log,&#8221; which CF uses as a logarithm function. Code:</p>
<pre>&lt;cfcomponent&gt;
&lt;cffunction name="log"&gt;
&lt;cfargument name="anything"&gt;
&lt;/cffunction&gt;
&lt;/cfcomponent&gt;</pre>
<p>In version 8, this will throw an exception error. In version 9, it works fine.<br />
This seems like a bug as you should, in theory, be able to name your component functions whatever you&#8217;d like as they&#8217;re always going to be referenced with the object and never directly like the built-in function will be. Obviously Adobe also thought it was a bug and has fixed this issue with version 9.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adventuresinpublictransit.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adventuresinpublictransit.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adventuresinpublictransit.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adventuresinpublictransit.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adventuresinpublictransit.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adventuresinpublictransit.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adventuresinpublictransit.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adventuresinpublictransit.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adventuresinpublictransit.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adventuresinpublictransit.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adventuresinpublictransit.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adventuresinpublictransit.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adventuresinpublictransit.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adventuresinpublictransit.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=265&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adventuresinpublictransit.wordpress.com/2010/12/29/udf-in-a-cfc-version-8-versus-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2efe16340e13e86e9212e46608ce2082?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adventuresinpublictransit</media:title>
		</media:content>
	</item>
		<item>
		<title>ColdFusion + MySQL: GROUP_CONCAT bug</title>
		<link>http://adventuresinpublictransit.wordpress.com/2010/12/12/coldfusion-mysql-group_concat-bug/</link>
		<comments>http://adventuresinpublictransit.wordpress.com/2010/12/12/coldfusion-mysql-group_concat-bug/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 17:13:57 +0000</pubDate>
		<dc:creator>adventuresinpublictransit</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://adventuresinpublictransit.wordpress.com/?p=260</guid>
		<description><![CDATA[If this isn&#8217;t bug, I don&#8217;t really understand the logic of what&#8217;s going on here. Scenario: you have MySQL in any version that supports the handy and fantastic GROUP_CONCAT function. If you&#8217;re familiar with it, GROUP_CONCAT takes what would multiple rows from a join and, instead, using the GROUP BY clause in the query, groups [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=260&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If this isn&#8217;t bug, I don&#8217;t really understand the logic of what&#8217;s going on here.</p>
<p>Scenario: you have MySQL in any version that supports the handy and fantastic GROUP_CONCAT function. If you&#8217;re familiar with it, GROUP_CONCAT takes what would multiple rows from a join and, instead, using the GROUP BY clause in the query, groups those extra rows into a delimited string. It helps a lot in application development because you can then get your one-to-many column values while still returning the actual number of rows for the purpose of paging and such.</p>
<p>ColdFusion 8 is what I&#8217;ve tested this on, but I&#8217;m sure it&#8217;s on other versions as well.</p>
<p>If you have a GROUP_CONCAT on a field with integers, ColdFusion will implicitly convert this value to an array when you try evaluate it. In my example, I had a GROUP_CONCAT on two fields, one an integer and the other a VARCHAR. When I tried to output the integer field, ColdFusion told me that it was actually an array with one index, 51. Problem is that the value returned (only one value in this case) everywhere else was 3. The weird thing was that the VARCHAR field came through fine, as a string.</p>
<p>I poked around online and found the answer: you have to run ToString() on the value, and it comes out correctly. I&#8217;m not going to say that I understand the error, but I would chalk it up to some sort of Java conversion, probably in ColdFusion&#8217;s MySQL driver. Therefore, if you used other flavors of drivers for a MySQL connection, you may not see this issue at all. But running a ToString() on your field is not going to hurt you if done correctly in the first place, so it&#8217;s probably a good idea to do that anyway because, if your code gets on a server that has this bug, it will <em>stump</em> whoever&#8217;s working on it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adventuresinpublictransit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adventuresinpublictransit.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adventuresinpublictransit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adventuresinpublictransit.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adventuresinpublictransit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adventuresinpublictransit.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adventuresinpublictransit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adventuresinpublictransit.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adventuresinpublictransit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adventuresinpublictransit.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adventuresinpublictransit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adventuresinpublictransit.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adventuresinpublictransit.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adventuresinpublictransit.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=260&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adventuresinpublictransit.wordpress.com/2010/12/12/coldfusion-mysql-group_concat-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2efe16340e13e86e9212e46608ce2082?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adventuresinpublictransit</media:title>
		</media:content>
	</item>
		<item>
		<title>Florida Time Zones</title>
		<link>http://adventuresinpublictransit.wordpress.com/2010/11/19/florida-time-zones/</link>
		<comments>http://adventuresinpublictransit.wordpress.com/2010/11/19/florida-time-zones/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 18:19:27 +0000</pubDate>
		<dc:creator>adventuresinpublictransit</dc:creator>
				<category><![CDATA[Travel]]></category>
		<category><![CDATA[florida]]></category>
		<category><![CDATA[time zone]]></category>

		<guid isPermaLink="false">http://adventuresinpublictransit.wordpress.com/?p=255</guid>
		<description><![CDATA[This summer, on way to St Joe Peninsula State Park (probably the hottest camping night of my life), I crossed the East Bay on US 98 and entered the little, quiet town of Appalachicola. Appalachicola is one of those old Seminole names that people always make fun of, just like the nearby Chattahoochee River. I saw the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=255&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This summer, on way to St Joe Peninsula State Park (probably the hottest camping night of my life), I crossed the East Bay on US 98 and entered the little, quiet town of Appalachicola. Appalachicola is one of those old Seminole names that people always make fun of, just like the nearby Chattahoochee River. I saw the low buildings of the town from the bridge just before crossing but, as I reached town, I was more concerned with what I did not see while on the bridge.<br />
I had my camera perched and ready to snap a picture of the turn from Eastern time to Central time. It had always been my understanding that the Chattahoochee River, which feeds East Bay, was the boundary for the time zone. In fact, when I first visited the region back in 2001, I deliberately drove across this same bridge so that I could briefly enter into Eastern time. Turns out that this time zone situation in the Florida Panhandle is actually complicated and somewhat controversial.</p>
<p>Just to the west of Appalachicola sits the town of Port St. Joe. You can see the namesake peninsula with its state park through much of the town, although the town itself is not actually on the Gulf which, 100 years ago, made it an ideal port. When the railroad came through back then, things ran on Eastern time so, when the country standardized into time zones, the town&#8217;s tendency stuck. Now Gulf County, of which Port St. Joe is the seat, is the only county in Florida to be within two time zones. Just down the coast, the little town of Mexico Beach sits in Bay County, and in Central time. Here, I finally got my picture.</p>
<p>Interesting article from the St. Pete Times on this subject.</p>
<p>The most interesting part about this is the confusion this causes. Do a Google search for &#8220;port st joe florida time zone&#8221; and, just on the search results page, you will see at least one reference to Port St. Joe being in Central time. Personally, I could have sworn that it was at one point but, in researching this today (I&#8217;ll be in the region again and wanted to make sure I would gain the hour before reaching my hotel), I guess it&#8217;s always been like this.</p>
<p><a href="http://www.sptimes.com/2004/04/04/Floridian/Real_Florida__Time_an.shtml" target="_blank">Interesting article about this subject from the St. Pete Times</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adventuresinpublictransit.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adventuresinpublictransit.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adventuresinpublictransit.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adventuresinpublictransit.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adventuresinpublictransit.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adventuresinpublictransit.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adventuresinpublictransit.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adventuresinpublictransit.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adventuresinpublictransit.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adventuresinpublictransit.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adventuresinpublictransit.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adventuresinpublictransit.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adventuresinpublictransit.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adventuresinpublictransit.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=255&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adventuresinpublictransit.wordpress.com/2010/11/19/florida-time-zones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2efe16340e13e86e9212e46608ce2082?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adventuresinpublictransit</media:title>
		</media:content>
	</item>
		<item>
		<title>ColdFusion Bug with cfajaxproxy&#8230; or not</title>
		<link>http://adventuresinpublictransit.wordpress.com/2010/11/18/coldfusion-bug-with-cfajaxproxy-or-not/</link>
		<comments>http://adventuresinpublictransit.wordpress.com/2010/11/18/coldfusion-bug-with-cfajaxproxy-or-not/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 17:55:26 +0000</pubDate>
		<dc:creator>adventuresinpublictransit</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[cf]]></category>
		<category><![CDATA[cfajaxproxy]]></category>
		<category><![CDATA[cfc]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://adventuresinpublictransit.wordpress.com/?p=253</guid>
		<description><![CDATA[Yesterday, while attempting to add a &#60;cfajaxproxy&#62; instance on an existing app, I kept running into a JavaScript error popping up in the cfajax.js (core ColdFusion JavaScript). I&#8217;ve hit these before and they can be a number of things, such as not instantiating the JavaScript class properly, not returning the correct format or data type from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=253&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday, while attempting to add a &lt;cfajaxproxy&gt; instance on an existing app, I kept running into a JavaScript error popping up in the cfajax.js (core ColdFusion JavaScript). I&#8217;ve hit these before and they can be a number of things, such as not instantiating the JavaScript class properly, not returning the correct format or data type from your CFC function, but nothing was working. I even renamed the class, both on the CF and JavaScript sides, but it wouldn&#8217;t budge on that error.</p>
<p>I Googled and found an interesting &#8220;bug&#8221; in ColdFusion. If you have content in your application.cfm/cfc, then &lt;cfajaxproxy&gt; will just not work for you.<br />
I write &#8220;bug&#8221; because it has more to do with following proper ColdFusion coding convention: you should always avoid outputting content from your application file. I&#8217;ve broken this role and some of the more recent apps I&#8217;ve done in the area of &lt;cflogin&gt;, where the login and password change forms are actually outputted from the application file. However, I&#8217;m comfortable with this, only because, if they are reaching the script where your &lt;cfajaxproxy&gt; sits, they would presumably always be logged in as that same application file would be called for that script also.</p>
<p>The work-around here was to build another application file into the CFCs directory. However, I wanted to keep it with the other CFCs and, unfortunately, there were other CFCs in there already, so I wasn&#8217;t sure what sort of issues this change would cause (although I&#8217;m certain it would cause issues). So I&#8217;ll just have to find a way around it.</p>
<p>So, yeah, I don&#8217;t know if I&#8217;d call that a bug or not. I have the feeling that, if brought to the attention of Adobe, it probably would not be a high-priority fix. And a lot of that may have to do with &lt;cfajaxproxy&gt;&#8217;s relative obscurity (which is a damn shame, because it&#8217;s such a cool tag).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adventuresinpublictransit.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adventuresinpublictransit.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adventuresinpublictransit.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adventuresinpublictransit.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adventuresinpublictransit.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adventuresinpublictransit.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adventuresinpublictransit.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adventuresinpublictransit.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adventuresinpublictransit.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adventuresinpublictransit.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adventuresinpublictransit.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adventuresinpublictransit.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adventuresinpublictransit.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adventuresinpublictransit.wordpress.com/253/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=253&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adventuresinpublictransit.wordpress.com/2010/11/18/coldfusion-bug-with-cfajaxproxy-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2efe16340e13e86e9212e46608ce2082?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adventuresinpublictransit</media:title>
		</media:content>
	</item>
		<item>
		<title>ColdFusion: Version 8 to 9 change</title>
		<link>http://adventuresinpublictransit.wordpress.com/2010/11/16/coldfusion-version-8-to-9-change/</link>
		<comments>http://adventuresinpublictransit.wordpress.com/2010/11/16/coldfusion-version-8-to-9-change/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 21:13:29 +0000</pubDate>
		<dc:creator>adventuresinpublictransit</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://adventuresinpublictransit.wordpress.com/?p=250</guid>
		<description><![CDATA[I&#8217;m working on a ColdFusion application where my development environment is version 9, yet my production development is version 8. Not exactly ideal, but that&#8217;s what I have to work with, and the &#8220;production&#8221; is actually a development server. I have no control over the real production server. In moving over the most recent changes to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=250&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a ColdFusion application where my development environment is version 9, yet my production development is version 8. Not exactly ideal, but that&#8217;s what I have to work with, and the &#8220;production&#8221; is actually a development server. I have no control over the real production server.</p>
<p>In moving over the most recent changes to the code, I found an interesting difference between version 8 and 9: in version 9, they&#8217;ve changed it so that you can have structure keys in the short-hand version of structure creation encapsulated in quotation marks, but also allows for structure keys to have dashes and underscores. I had a CFC where I was creating a structure in the short-hand form. It worked fine on version 9 but broke when I pushed it onto the version 8 server.</p>
<p>Example of what works in version 9:</p>
<p>&lt;cfset myStruct = {<br />
&#8216;test&#8217;='This is a test key.&#8217;,<br />
&#8216;test-fail&#8217;='This is a failed test key.&#8217;,<br />
&#8216;test-anotherFail&#8217;='This is another failed test key.&#8217;<br />
}&gt;</p>
<p>This is more in-line with conventions in Java and JavaScript, which the Adobe crew seems to be working for.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adventuresinpublictransit.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adventuresinpublictransit.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adventuresinpublictransit.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adventuresinpublictransit.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adventuresinpublictransit.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adventuresinpublictransit.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adventuresinpublictransit.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adventuresinpublictransit.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adventuresinpublictransit.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adventuresinpublictransit.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adventuresinpublictransit.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adventuresinpublictransit.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adventuresinpublictransit.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adventuresinpublictransit.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adventuresinpublictransit.wordpress.com&amp;blog=4342305&amp;post=250&amp;subd=adventuresinpublictransit&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adventuresinpublictransit.wordpress.com/2010/11/16/coldfusion-version-8-to-9-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2efe16340e13e86e9212e46608ce2082?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adventuresinpublictransit</media:title>
		</media:content>
	</item>
	</channel>
</rss>
