<?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>Dominic O'Connor</title>
	<atom:link href="http://domoconnor.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://domoconnor.com</link>
	<description>Thoughts on ColdFusion, MySQL, etc.</description>
	<lastBuildDate>Thu, 30 Jul 2009 13:05:50 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='domoconnor.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/73e72d5dc984136dc11a1ceb54575348?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Dominic O'Connor</title>
		<link>http://domoconnor.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://domoconnor.com/osd.xml" title="Dominic O&#8217;Connor" />
	<atom:link rel='hub' href='http://domoconnor.com/?pushpress=hub'/>
		<item>
		<title>INTEGER datatype in MySQL</title>
		<link>http://domoconnor.com/2009/07/30/integer-datatype-in-mysql/</link>
		<comments>http://domoconnor.com/2009/07/30/integer-datatype-in-mysql/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 13:05:50 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[datatypes]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://domoconnor.com/?p=66</guid>
		<description><![CDATA[I&#8217;ve spent the week away from work, taking a MySQL DBA course here in DC and have learned a lot about things I&#8217;d never even seen and things that I had misconceptions about.  One of those misconceptions that I bet a lot of other developers share is regarding the INTEGER/INT datatype in MySQL.
When creating a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=66&subd=dominicoconnor&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent the week away from work, taking a MySQL DBA course here in DC and have learned a lot about things I&#8217;d never even seen and things that I had misconceptions about.  One of those misconceptions that I bet a lot of other developers share is regarding the INTEGER/INT datatype in MySQL.</p>
<p>When creating a new column, I have always put the max number of digits in parentheses after INTEGER.  For example, if I didn&#8217;t expect a particular field to ever be more than 9,999 (in value), I would create the column as INTEGER(4).  This is dead wrong, and according to my teacher quite a lot of people do this.  The number after INTEGER is actually the minimum number of characters that you want to show if you have  ZEROFILL turned on.</p>
<p>For example:</p>
<p><code>CREATE TABLE myintegers (theints INTEGER(4) ZEROFILL);</code></p>
<p><code>INSERT INTO myintegers VALUES (3),(333),(33333),(3333333);</code></p>
<p><code> </code></p>
<p><code>SELECT theints FROM myintegers;</code></p>
<p>will return</p>
<table border="1">
<tbody>
<tr>
<th>theints</th>
</tr>
<tr>
<td>0003</td>
</tr>
<tr>
<td>0333</td>
</tr>
<tr>
<td>33333</td>
</tr>
<tr>
<td>3333333</td>
</tr>
</tbody>
</table>
<p>In actuality, if you don&#8217;t ever plan on a column going above 4 digits long, you should use a small int datatype.  Not only is it more specific to what you want, but it results in only 2 bytes of storage space being allocated versus 8 for an INT.  On a high performance database, this can make a big difference.</p>
<p>Finally, while I&#8217;m on the subject, I thought I&#8217;d mention the UNSIGNED option.  Adding the UNSIGNED option tells the storage engine that there can be no negative numbers.  Because negative numbers are disallowed, your upper limit for the value of your column is twice the value minus 1 what it would be if you allowed negatives.  A lot of you my be saying &#8216;of course&#8217;, but that was one of those things I always wondered about and never bothered to look up.</p>
<p>The storage space and lower/upper limits for MySQL integer (lowercase) data <strong><a href="http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html">can be found here</a></strong>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dominicoconnor.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dominicoconnor.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dominicoconnor.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dominicoconnor.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dominicoconnor.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dominicoconnor.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dominicoconnor.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dominicoconnor.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dominicoconnor.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dominicoconnor.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=66&subd=dominicoconnor&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://domoconnor.com/2009/07/30/integer-datatype-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e22157c79716ca107ca2b212e09c052?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Dominic</media:title>
		</media:content>
	</item>
		<item>
		<title>ColdFusion Builder: Source Control</title>
		<link>http://domoconnor.com/2009/07/20/coldfusion-builder-source-control/</link>
		<comments>http://domoconnor.com/2009/07/20/coldfusion-builder-source-control/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 16:07:24 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[coldfusionbuilder]]></category>

		<guid isPermaLink="false">http://domoconnor.com/?p=56</guid>
		<description><![CDATA[If you decide to go the standalone route when installing ColdFusion Builder, be aware that Adobe pares down the included Eclipse build in order to make the file that you download as small as possible.  One of the things that didn&#8217;t make the cut was the Eclipse CVS plugin.  My colleague Sam Farmer blogged about [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=56&subd=dominicoconnor&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>If you decide to go the standalone route when installing ColdFusion Builder, be aware that Adobe pares down the included Eclipse build in order to make the file that you download as small as possible.  One of the things that didn&#8217;t make the cut was the Eclipse CVS plugin.  My colleague Sam Farmer <a href="http://samfarmer.instantspot.com/blog/2009/07/16/Adding-CVS-to-ColdFusion-Builder-Standalone">blogged about this</a> last week, but my experience was slightly different, so I thought I&#8217;d add to the discussion.</p>
<p>In order to add CVS into ColdFusion builder, go to Help &gt; Software Updates.  Sam had to add the Eclipse update site to his Software update sites, but the version that I installed (which I downloaded from the public beta site on 7/17/09) had the site already included.  In Sam&#8217;s experience, the CVS Client was under the Eclipse SDK category, while I had to go into the &#8220;Uncategorized&#8221; section.  Below is a screenshot of the trees that I opened.  I neglected to capture the actual CVS builds that I got&#8211;there were several to choose from&#8211;but I just chose the highest version number listed: 1.1.2.x</p>
<p><img class="alignnone size-full wp-image-58" title="eclipse cvs client" src="http://dominicoconnor.files.wordpress.com/2009/07/cvs1.jpg?w=500&#038;h=199" alt="eclipse cvs client" width="500" height="199" /></p>
<p>After selecting the updates, click Install, and agree to the terms of use.  CFB will ask to restart, and once it comes back up, if you previously used the same workspace for CVS in CFEclipse, CVS in CFBuilder will automatically attach itself to your projects.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dominicoconnor.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dominicoconnor.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dominicoconnor.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dominicoconnor.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dominicoconnor.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dominicoconnor.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dominicoconnor.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dominicoconnor.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dominicoconnor.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dominicoconnor.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=56&subd=dominicoconnor&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://domoconnor.com/2009/07/20/coldfusion-builder-source-control/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e22157c79716ca107ca2b212e09c052?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Dominic</media:title>
		</media:content>

		<media:content url="http://dominicoconnor.files.wordpress.com/2009/07/cvs1.jpg" medium="image">
			<media:title type="html">eclipse cvs client</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving from CFEclipse to CF Builder: First Experience</title>
		<link>http://domoconnor.com/2009/07/20/moving-from-cfeclipse-to-cf-builder-first-experience/</link>
		<comments>http://domoconnor.com/2009/07/20/moving-from-cfeclipse-to-cf-builder-first-experience/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 14:12:56 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[cfeclipse]]></category>
		<category><![CDATA[coldfusionbuilder]]></category>
		<category><![CDATA[coldfusionbuilder cfeclipse shortcuts]]></category>

		<guid isPermaLink="false">http://domoconnor.com/2009/07/20/moving-from-cfeclipse-to-cf-builder-first-experience/</guid>
		<description><![CDATA[This morning I held my breath and made the switch from CFEclipse to ColdFusion Builder.  To keep things clean, I decided to install the standalone version.  The install itself was painless, and so far CFB seems really snappy.
The first thing I did when it opened was point it at my old CFEclipse workspace [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=53&subd=dominicoconnor&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>This morning I held my breath and made the switch from CFEclipse to ColdFusion Builder.  To keep things clean, I decided to install the standalone version.  The install itself was painless, and so far CFB seems really snappy.</p>
<p>The first thing I did when it opened was point it at my old CFEclipse workspace so that I wouldn&#8217;t have to import my projects.  In order to do this CFEclipse must be closed.  Go to File &gt; Switch Workplace &gt; Other and browse to your old workplace folder.  CFB will have to restart itself, but it does so very quickly.  After starting back up, the first thing I noticed was that the snippets were missing.  Snippets and shortcuts are <a href="http://domoconnor.com/2009/03/31/cfeclipse-keyboard-shortcuts/">important to me</a>, and I really didn&#8217;t want to have to create them all over again, so I dug around in my workspace metadata and found them.</p>
<p>By default, cfeclipse seems to store them all in [workspaceroot]\.metadata\.plugins\org.cfeclipse.cfml\snippets.  If you changed this folder in CFEclipse, all you have to do is (in CF Builder) go to Window &gt; Preferences &gt; ColdFusion &gt; Snippets and update your snippet path.  Since I&#8217;m moving away from CFE, I figured it would make more sense to not rely on a CFE folder to store my snippets, so I copied all the xml files from the default path above into [workspaceroot]\.metadata\snippets, closed the Snippets view, and opened it up again, and they all popped up.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dominicoconnor.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dominicoconnor.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dominicoconnor.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dominicoconnor.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dominicoconnor.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dominicoconnor.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dominicoconnor.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dominicoconnor.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dominicoconnor.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dominicoconnor.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=53&subd=dominicoconnor&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://domoconnor.com/2009/07/20/moving-from-cfeclipse-to-cf-builder-first-experience/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e22157c79716ca107ca2b212e09c052?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Dominic</media:title>
		</media:content>
	</item>
		<item>
		<title>iPhone and Windows Vista</title>
		<link>http://domoconnor.com/2009/07/17/iphone-and-windows-vista/</link>
		<comments>http://domoconnor.com/2009/07/17/iphone-and-windows-vista/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 22:29:23 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://domoconnor.com/?p=46</guid>
		<description><![CDATA[I finally broke down and got an iPhone over the weekend.  Since I spend the most amount of time on my work computer, I decided I&#8217;d use that as the main machine to sync it with.  Monday morning I eagerly plugged the phone in, only to have Vista (Vista Ultimate, 64-bit) tell me it couldn&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=46&subd=dominicoconnor&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I finally broke down and got an iPhone over the weekend.  Since I spend the most amount of time on my work computer, I decided I&#8217;d use that as the main machine to sync it with.  Monday morning I eagerly plugged the phone in, only to have Vista (Vista Ultimate, 64-bit) tell me it couldn&#8217;t find the driver for my new &#8220;digital camera&#8221; and iTunes ignore the iPhone.  As someone who&#8217;s built a computer from scratch, I&#8217;ve found that drivers are always the first thing to check when your OS is behaving unexpectedly, and a quick Google search brought up <a href="http://www.ankurshah.net/blog/?p=20">this blog</a>.  My experiences were slightly different than his, so I thought I&#8217;d share them here.</p>
<p>1.  Go to Computer, right click and choose &#8220;Properties&#8221;</p>
<p>2.  Select the Device Manager</p>
<p><img class="alignnone size-full wp-image-48" title="devicemanager" src="http://dominicoconnor.files.wordpress.com/2009/07/devicemanager1.jpg?w=500&#038;h=303" alt="devicemanager" width="500" height="303" /></p>
<p>3.  Scroll down to Portable Devices, and find the device with the missing/bad drivers.  On the blog I found, the device was listed as an iPhone.  On my machine it was called a Digital Still Camera.  Right click on the device, and choose Update Driver Software.</p>
<p><img class="alignnone size-full wp-image-49" title="updatedriversoftware" src="http://dominicoconnor.files.wordpress.com/2009/07/updatedriversoftware.jpg?w=500&#038;h=364" alt="updatedriversoftware" width="500" height="364" /></p>
<p>4. On the next screen choose &#8220;Browse my computer for driver software&#8221;</p>
<p>5.  Browse to C:\Program Files\Common Files\Apple and select this folder.  After a minute or so of updating, all should be well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dominicoconnor.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dominicoconnor.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dominicoconnor.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dominicoconnor.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dominicoconnor.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dominicoconnor.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dominicoconnor.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dominicoconnor.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dominicoconnor.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dominicoconnor.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=46&subd=dominicoconnor&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://domoconnor.com/2009/07/17/iphone-and-windows-vista/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e22157c79716ca107ca2b212e09c052?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Dominic</media:title>
		</media:content>

		<media:content url="http://dominicoconnor.files.wordpress.com/2009/07/devicemanager1.jpg" medium="image">
			<media:title type="html">devicemanager</media:title>
		</media:content>

		<media:content url="http://dominicoconnor.files.wordpress.com/2009/07/updatedriversoftware.jpg" medium="image">
			<media:title type="html">updatedriversoftware</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting the current row number from MySQL</title>
		<link>http://domoconnor.com/2009/04/22/getting-the-current-row-number-from-mysql/</link>
		<comments>http://domoconnor.com/2009/04/22/getting-the-current-row-number-from-mysql/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 15:00:53 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://domoconnor.com/?p=42</guid>
		<description><![CDATA[This morning I found a pretty slick way to pull the row number of a query (like Coldfusion&#8217;s #currentrow#) directly from MySQL.
select lookupID, lookupValue, lookupType, @rownum:=@rownum+1 as rownumber
from lookup, (SELECT @rownum:=0) r
This will return the lookupID,  lookupValue,  lookupType, and a number for each row, beginning with 1.
All the credit goes to this blog post, but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=42&subd=dominicoconnor&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>This morning I found a pretty slick way to pull the row number of a query (like Coldfusion&#8217;s #currentrow#) directly from MySQL.</p>
<p><code>select lookupID, lookupValue, lookupType, @rownum:=@rownum+1 as rownumber<br />
from lookup, (SELECT @rownum:=0) r</code></p>
<p>This will return the lookupID,  lookupValue,  lookupType, and a number for each row, beginning with 1.</p>
<p>All the credit goes to <a href="http://jimlife.wordpress.com/2008/09/09/displaying-row-number-rownum-in-mysql/">this blog post</a>, but I feel it&#8217;s always good to propagate tips like this.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dominicoconnor.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dominicoconnor.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dominicoconnor.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dominicoconnor.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dominicoconnor.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dominicoconnor.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dominicoconnor.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dominicoconnor.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dominicoconnor.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dominicoconnor.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=42&subd=dominicoconnor&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://domoconnor.com/2009/04/22/getting-the-current-row-number-from-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e22157c79716ca107ca2b212e09c052?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Dominic</media:title>
		</media:content>
	</item>
		<item>
		<title>CFPDF and Acrobat concatenated PDFs</title>
		<link>http://domoconnor.com/2009/04/01/cfpdf-and-acrobat-concatenated-pdfs/</link>
		<comments>http://domoconnor.com/2009/04/01/cfpdf-and-acrobat-concatenated-pdfs/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 13:05:53 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[acrobat]]></category>
		<category><![CDATA[cfpdf]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://dominicoconnor.wordpress.com/?p=31</guid>
		<description><![CDATA[I ran across an odd problem with a multipage PDF last week.  I&#8217;ve been doing a lot of work with PDFs lately, so to make it easy on myself I created a few PDFs (generated with Acrobat Distiller) to work with in testing.
Each PDF was 1 page long, and I was using CFPDF to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=31&subd=dominicoconnor&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I ran across an odd problem with a multipage PDF last week.  I&#8217;ve been doing a lot of work with PDFs lately, so to make it easy on myself I created a few PDFs (generated with Acrobat Distiller) to work with in testing.<br />
Each PDF was 1 page long, and I was using CFPDF to thumbnail each page of multipage PDFs, so I needed a PDF with several pages.<br />
I used the Document-&gt;Insert-&gt;Pages From File function in Adobe Acrobat to create a 4 page document, and started running my  tests.  Over and over I only got the first page of the pdf, however.<br />
Eventually, I recreated the PDF (unfortunately, I don&#8217;t remember how, but it was through Acrobat), and the thumbnails worked.  I realize the subset of people working with Acrobat Standard and CFPDF is probably incredibly small, but hopefully I can save one person an hour of head scratching.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dominicoconnor.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dominicoconnor.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dominicoconnor.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dominicoconnor.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dominicoconnor.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dominicoconnor.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dominicoconnor.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dominicoconnor.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dominicoconnor.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dominicoconnor.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=31&subd=dominicoconnor&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://domoconnor.com/2009/04/01/cfpdf-and-acrobat-concatenated-pdfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e22157c79716ca107ca2b212e09c052?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Dominic</media:title>
		</media:content>
	</item>
		<item>
		<title>CFEclipse Keyboard Shortcuts</title>
		<link>http://domoconnor.com/2009/03/31/cfeclipse-keyboard-shortcuts/</link>
		<comments>http://domoconnor.com/2009/03/31/cfeclipse-keyboard-shortcuts/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 16:31:48 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[cfeclipse]]></category>
		<category><![CDATA[autohotkey]]></category>
		<category><![CDATA[shortcut]]></category>

		<guid isPermaLink="false">http://dominicoconnor.wordpress.com/?p=8</guid>
		<description><![CDATA[I learned to code ColdFusion with Macromedia Homesite.  While it does its job very well, there came a point where I needed an IDE with more functionality and I made the leap to CFEclipse.  The one growing pain I experienced, though, was losing my keyboard shortcuts.  While in Homesite you can map any combination of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=8&subd=dominicoconnor&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I learned to code ColdFusion with Macromedia Homesite.  While it does its job very well, there came a point where I needed an IDE with more functionality and I made the leap to <a title="cfeclipse" href="http://cfeclipse.org/" target="_blank">CFEclipse</a>.  The one growing pain I experienced, though, was <a title="http://corfield.org/blog/index.cfm/do/blog.entry/entry/CFEclipse__Keyboard_Shortcuts" href="http://corfield.org/blog/index.cfm/do/blog.entry/entry/CFEclipse__Keyboard_Shortcuts">losing my keyboard shortcuts</a>.  While in Homesite you can map any combination of keystrokes to any code snippet through the Options-&gt;Customize menu, the Eclipse framework limited me to snippets and keyboard shortcuts for built-in functions.  The story I heard was that it was the Eclipse framework that prevented full keyboard shortcut functionality, so using a combination of Trigger Text and AutoHotkey I fixed the problem.</p>
<p><strong>Trigger text:</strong> Eclipse allows you to assign text to a snippet and then launch the snippet by typing the trigger text and pressing Ctrl+J to insert it.</p>
<p><a href="http://www.autohotkey.com/" target="_blank"><strong>AutoHotkey </strong></a>(Windows only) is a small utility that runs in your system tray and lets you use any combination of keystrokes and mouse actions to script virtually any activity on your system.  You use a config file to set up your shortcuts, and each key has a corresponding AHK code (a on the keyboard=&#8221;a&#8221;, b=&#8221;b&#8221;,^=Ctrl, +=Shift, !=Alt, etc.)</p>
<p>AutoHotkey has gobs of features which I won&#8217;t get into, but the key here (no pun intended) is the &#8220;Send&#8221; command, which sends keystrokes to the active window.  By sending the trigger text, followed by Ctrl+J to Eclipse, AHK completely opens up your shortcut options.  This is what my config looks like:</p>
<p style="padding-left:30px;"><code><br />
^!o::Send object{CTRLDOWN}j{CTRLUP}<br />
^+a::Send cfargument{CTRLDOWN}j{CTRLUP}<br />
^q::Send qp{CTRLDOWN}j{CTRLUP}<br />
^!g::Send getset{CTRLDOWN}j{CTRLUP}<br />
^+g::Send getarg{CTRLDOWN}j{CTRLUP}<br />
^m::Send mailtome{CTRLDOWN}j{CTRLUP}<br />
^+q::Send query{CTRLDOWN}j{CTRLUP}<br />
^+v::Send var{CTRLDOWN}j{CTRLUP}<br />
^+r::Send reqarg{CTRLDOWN}j{CTRLUP}<br />
^!e::Send cfargevent{CTRLDOWN}j{CTRLUP}<br />
^!q::Send fq{CTRLDOWN}j{CTRLUP}<br />
^!s::Send ske{CTRLDOWN}j{CTRLUP}<br />
</code></p>
<p>Each line represents a keyboard shortcut and the corresponding keystrokes it sends to Eclipse.  The first line sends &#8220;object&#8221;Ctrl+J (without quotes) to Eclipse.  Then in Eclipse I have the following snippet</p>
<p><img class="alignnone size-full wp-image-17" title="Object Snippet" src="http://dominicoconnor.files.wordpress.com/2009/03/screenshot-3_13_2009-6_23_35-pm3.jpg?w=489&#038;h=665" alt="Object Snippet" width="489" height="665" /></p>
<p>Theoretically, you could use AutoHotkey for the entire snippet, but Eclipse&#8217;s snippets do add the value of the {squiggly brackets} which allow you to set up arguments for your snippet.  When I launch the snippet above, for example, Eclipse will ask me the path in a popup.  There&#8217;s much more complexity to this, which I won&#8217;t get into here.</p>
<p>I&#8217;ve barely scratched the surface of what AutoHotkey can do.  For more you can look at <a href="http://lifehacker.com/tag/autohotkey/" target="_blank">Lifehacker&#8217;s extensive posts</a> about it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dominicoconnor.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dominicoconnor.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dominicoconnor.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dominicoconnor.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dominicoconnor.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dominicoconnor.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dominicoconnor.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dominicoconnor.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dominicoconnor.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dominicoconnor.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=8&subd=dominicoconnor&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://domoconnor.com/2009/03/31/cfeclipse-keyboard-shortcuts/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e22157c79716ca107ca2b212e09c052?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Dominic</media:title>
		</media:content>

		<media:content url="http://dominicoconnor.files.wordpress.com/2009/03/screenshot-3_13_2009-6_23_35-pm3.jpg" medium="image">
			<media:title type="html">Object Snippet</media:title>
		</media:content>
	</item>
		<item>
		<title>Introducing This Blog</title>
		<link>http://domoconnor.com/2009/03/30/introducing-this-blog/</link>
		<comments>http://domoconnor.com/2009/03/30/introducing-this-blog/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 16:48:53 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[dominic]]></category>
		<category><![CDATA[navel-gazing]]></category>

		<guid isPermaLink="false">http://dominicoconnor.wordpress.com/?p=3</guid>
		<description><![CDATA[I&#8217;ve been a ColdFusion developer for almost 5 years, but have only recently started participating in the community by attending conferences, reading blogs, and twittering.  I see this blog as my next step in getting involved.
I graduated from Georgetown University in 2003, began doing QA for Interfolio.com and soon became the sole full-time developer.  Like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=3&subd=dominicoconnor&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a ColdFusion developer for almost 5 years, but have only recently started participating in the community by attending conferences, reading blogs, and twittering.  I see this blog as my next step in getting involved.</p>
<p>I graduated from Georgetown University in 2003, began doing QA for <a href="http://www.interfolio.com" target="_blank">Interfolio.com</a> and soon became the sole full-time developer.  Like many in our trade, I&#8217;m self-taught, rather than a CS major or the like, so while I learned the basics, those basics were all I knew for the first 3 years or so.  In 2007, the company grew enough to warrant a second developer, and we hired <a title="Sam Farmer" href="http://samfarmer.instantspot.com/blog/" target="_blank">Sam Farmer</a>.  Having an experienced developer to bounce ideas off  was a revolutionary change for me, and it helped me get to the next level as a CFer.  Additionally, Sam opened my eyes to the ColdFusion&#8217;s incredible community, which really put my growth in fast-forward.  Now 2 years later I feel ready to start making my own contributions, and I hope I can be half as helpful to a few people out there as the ColdFusion community has been for me.  I look forward to sharing my thoughts and ideas with everyone.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dominicoconnor.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dominicoconnor.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dominicoconnor.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dominicoconnor.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dominicoconnor.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dominicoconnor.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dominicoconnor.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dominicoconnor.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dominicoconnor.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dominicoconnor.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=domoconnor.com&blog=6850702&post=3&subd=dominicoconnor&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://domoconnor.com/2009/03/30/introducing-this-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e22157c79716ca107ca2b212e09c052?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Dominic</media:title>
		</media:content>
	</item>
	</channel>
</rss>