<?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/"
	>

<channel>
	<title>Drewcorp Coding and Technology</title>
	<atom:link href="http://coding.drewcorp.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://coding.drewcorp.ca</link>
	<description></description>
	<lastBuildDate>Wed, 08 Sep 2010 09:48:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>iPhone 4 Visual Voicemail Loses Password and Greeting</title>
		<link>http://coding.drewcorp.ca/news/iphone-4-visual-voicemail-loses-password-and-greeting/</link>
		<comments>http://coding.drewcorp.ca/news/iphone-4-visual-voicemail-loses-password-and-greeting/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 09:48:28 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/iphone-4-visual-voicemail-loses-password-and-greeting/</guid>
		<description><![CDATA[I recently upgraded my ancient Blackberry Curve 8310 with a shiny new iPhone 4. I never believed the hype about the grip of death or whatever they called it, and I’ve never had that problem so my disbelief was justified, I think. However, when I first got the phone, I activated the visual voicemail option, [...]]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded my ancient Blackberry Curve 8310 with a shiny new iPhone 4. I never believed the hype about the grip of death or whatever they called it, and I’ve never had that problem so my disbelief was justified, I think.</p>
<p>However, when I first got the phone, I activated the visual voicemail option, configured it, and enjoyed it’s functions for some time.</p>
<p>Until I reset the phone.</p>
<p>The phone then lost my visual voicemail settings. No customized greeting, no password. This continued happening every time I rebooted the phone, which you can imagine would be quite annoying to keep having to re-record my message.</p>
<p>I made a call to my provider who claimed it was a known problem that Apple was working on an update for. And stupidly I believed him, not that I had any other choice at that point. Google had revealed no real gems initially, since the phone was relatively new.</p>
<p>Eventually I stumbled across a solution. I wish I knew where it was I read it so I could refer to it, but basically it was this: recover your iPhone to factory defaults, then synch it to iTunes as a new device.</p>
<p>It was a drastic move, but fortunately everything I needed was already synched. Music, contacts, images. So all I really had to do is set it up as a new device and wait until it was done synching.</p>
<p>Since performing this fix, Visual Voicemail functions perfectly and has lost no settings.</p>
<p>It was a weird issue but I hope this helps someone somewhere.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/coding/coldfusion/bad-behaving-flash-form-when-using-mask-attribute-in-cfml/" rel="bookmark" class="crp_title">Bad Behaving Flash Form When Using Mask Attribute in CFML</a></li><li><a href="http://coding.drewcorp.ca/news/password-protected-file-sharing-issues/" rel="bookmark" class="crp_title">Password Protected File Sharing Issues</a></li><li><a href="http://coding.drewcorp.ca/news/weekend-xbox-debacle/" rel="bookmark" class="crp_title">Weekend Xbox Debacle</a></li><li><a href="http://coding.drewcorp.ca/other/spoons-are-weird/" rel="bookmark" class="crp_title">Spoons Are Weird</a></li><li><a href="http://coding.drewcorp.ca/software/xbmc-library-advancedsettingsxml/" rel="bookmark" class="crp_title">XBMC Library With advancedsettings.xml</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/iphone-4-visual-voicemail-loses-password-and-greeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>September Update</title>
		<link>http://coding.drewcorp.ca/news/september-update/</link>
		<comments>http://coding.drewcorp.ca/news/september-update/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 09:38:52 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/september-update/</guid>
		<description><![CDATA[I must apologize profusely for leaving my tech blog unattended. 3 months with no updates is appalling to me. For the past several months, my energies have been focused on starting up my own IT Consulting business. Ironically, the more focused I’ve been creating this business, the less opportunity I’ve had to get into the [...]]]></description>
			<content:encoded><![CDATA[<p>I must apologize profusely for leaving my tech blog unattended. 3 months with no updates is appalling to me. For the past several months, my energies have been focused on starting up my own IT Consulting business. Ironically, the more focused I’ve been creating this business, the less opportunity I’ve had to get into the technical side of things since the business side is so consuming.</p>
<p>However, recently my labours are starting to see fruitage. I have a number of high-quality clients that I maintain and I’m sure lots of opportunity will arise to explore issues and present fixes, hacks and other solutions. I loathe getting sucked into the business side of things, but it’s got to get done somehow.</p>
<p>Anyway thank you for visiting.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/out-on-my-own/" rel="bookmark" class="crp_title">Out On My Own</a></li><li><a href="http://coding.drewcorp.ca/news/back-in-business/" rel="bookmark" class="crp_title">Back In Business</a></li><li><a href="http://coding.drewcorp.ca/news/business-trip/" rel="bookmark" class="crp_title">Business Trip</a></li><li><a href="http://coding.drewcorp.ca/news/off-track/" rel="bookmark" class="crp_title">Off Track</a></li><li><a href="http://coding.drewcorp.ca/hardware/dell-xps-1530/" rel="bookmark" class="crp_title">Dell XPS 1530</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/september-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Hardware</title>
		<link>http://coding.drewcorp.ca/news/new-hardware/</link>
		<comments>http://coding.drewcorp.ca/news/new-hardware/#comments</comments>
		<pubDate>Sun, 30 May 2010 22:52:25 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/new-hardware/</guid>
		<description><![CDATA[I’ve been meaning to pick up a rack for my server for a while, but could never find an affordable option. I didn’t feel like spending $500 on a 4-8 unit box when I only had the one server so far. So when I came upon an ad on UsedVictoria for a 42U Server Rack [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been meaning to pick up a rack for my server for a while, but could never find an affordable option. I didn’t feel like spending $500 on a 4-8 unit box when I only had the one server so far. So when I came upon an ad on UsedVictoria for a 42U Server Rack for far below the asking price of a unit 1/10 the size, I could hardly pass it up. Granted instead of overshooting my current load by four times, this overshoots it by about twenty times, but you can’t beat the price. The enclosure would have been approximately $1500 new.</p>
<p>You can view the specifications at the link below but the gist of it is that it weighs in at around 350 lbs, and stands 6’10” tall.</p>
<p><a title="http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=AR1000A" href="http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=AR1000A">http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=AR1000A</a></p>
<p><a href="http://coding.drewcorp.ca/wp-content/uploads/2010/05/DSC_95501.jpg" rel="lightbox[379]"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 15px 0px 0px; display: inline; border-top: 0px; border-right: 0px" title="DSC_9550" border="0" alt="DSC_9550" align="left" src="http://coding.drewcorp.ca/wp-content/uploads/2010/05/DSC_9550_thumb1.jpg" width="160" height="240" /></a>In the long run I’m hoping to fill it with servers for various purposes: storage, hosting, backups, media streaming. In the short term I’ve loaded in my hardware and it doubles as an excellent sound dampener.</p>
<p>On another front, a good friend provided me with a brand-new 46” Sony Bravia that I had placed on my office filing cabinet for a time, but now that I need more space, I wanted to put up a wall mount. I managed to do so and I’ve been enjoying it as a secondary PC display for my office system.</p>
<p>Finally my office is coming together. It’s got a long way to go but I’m starting to see it develop.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/software/windows/nagging-get-started-with-office-live-wont-go-away-in-office-2007/" rel="bookmark" class="crp_title">Nagging &ldquo;Get Started With Office Live&rdquo; Won&rsquo;t Go Away In Office 2007</a></li><li><a href="http://coding.drewcorp.ca/software/the-best-usb-applications-are-at-portableappscom/" rel="bookmark" class="crp_title">The Best USB Applications Are At PortableApps.com</a></li><li><a href="http://coding.drewcorp.ca/software/windows/putting-windows-live-messenger-back-in-the-system-tray-in-windows-7/" rel="bookmark" class="crp_title">Putting Windows Live Messenger Back In The System Tray In Windows 7</a></li><li><a href="http://coding.drewcorp.ca/games/the-long-awaited-return-of-adventure-games/" rel="bookmark" class="crp_title">The Long-Awaited Return of Adventure Games</a></li><li><a href="http://coding.drewcorp.ca/it/microwave-vs-wireless-network/" rel="bookmark" class="crp_title">Microwave VS Wireless Network</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/new-hardware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Out On My Own</title>
		<link>http://coding.drewcorp.ca/news/out-on-my-own/</link>
		<comments>http://coding.drewcorp.ca/news/out-on-my-own/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 21:09:00 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/?p=371</guid>
		<description><![CDATA[I was just browsing through my last few months of posts and realized two things: 1) That I haven&#8217;t written nearly as much as I should&#8230; as usual&#8230; and 2) That I haven&#8217;t said anything about my work situation since I had a &#8220;positive&#8221; interview back in mid December. Well, let me tell you. I [...]]]></description>
			<content:encoded><![CDATA[<p>I was just browsing through my last few months of posts and realized two things: </p>
<p>1) That I haven&#8217;t written nearly as much as I should&#8230; as usual&#8230;<br />
and<br />
2) That I haven&#8217;t said anything about my work situation since I had a &#8220;positive&#8221; interview back in mid December.</p>
<p>Well, let me tell you.</p>
<p>I had three more interviews at the same venue over the course of a little over two months. Then they decided to go in another direction. At first I shrugged it off and said to myself &#8220;better luck next time&#8221;, but honestly &#8211; that was just rude. Don&#8217;t waste two months of my life if you&#8217;re not fully intending to follow through.</p>
<p>Disillusioned, I decided the only person I could rely on professionally was myself, so I decided to strike out on my own. Right now the focus of my business is mobile tech work, which I will write about (and have written about already) as it comes along. Programming will likely be less frequent but it&#8217;ll still happen.</p>
<p>In the meantime I&#8217;m keeping very busy promoting my business by day and delivering pizza by night to fill the gaps.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/september-update/" rel="bookmark" class="crp_title">September Update</a></li><li><a href="http://coding.drewcorp.ca/news/back-in-business/" rel="bookmark" class="crp_title">Back In Business</a></li><li><a href="http://coding.drewcorp.ca/news/off-track/" rel="bookmark" class="crp_title">Off Track</a></li><li><a href="http://coding.drewcorp.ca/news/the-search-for-work-continues/" rel="bookmark" class="crp_title">The Search For Work Continues</a></li><li><a href="http://coding.drewcorp.ca/news/coldfusion-it-analyst/" rel="bookmark" class="crp_title">Coldfusion-&gt;IT Analyst</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/out-on-my-own/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Protected File Sharing Issues</title>
		<link>http://coding.drewcorp.ca/news/password-protected-file-sharing-issues/</link>
		<comments>http://coding.drewcorp.ca/news/password-protected-file-sharing-issues/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 07:27:00 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/password-protected-file-sharing-issues/</guid>
		<description><![CDATA[I recently had the pleasure of working on a particularly stubborn issue between a Windows Vista and a Windows 7 PC. I used Microsoft’s “Easy Transfer” program to capture the profiles from an older XP system, then applied it to their brand-new Windows 7 system. Easy as pie. The problem presented when I tried to [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had the pleasure of working on a particularly stubborn issue between a Windows Vista and a Windows 7 PC.</p>
<p>I used Microsoft’s “Easy Transfer” program to capture the profiles from an older XP system, then applied it to their brand-new Windows 7 system. Easy as pie.</p>
<p>The problem presented when I tried to reconfigure the printer and file sharing that had existed on the XP machine previously. I tried to connect via the network browser on a Vista laptop to the Windows 7 box, but was presented with a password dialogue box. I couldn’t very well leave it in a state where the printer doesn’t work over the network until you login first, so of course I immediately went to the “password protected file sharing” option in the “Network and Sharing Center”, and disabled it. </p>
<p>The problem persisted.</p>
<p>After a while I was getting annoyed. They were both in the same workgroup, no firewall issues, nothing came to mind. After a bit of reading on Google it appeared as if the Guest account may have somehow picked up a password (which was a possibility since the XP&#160; machine was a bit of a mess). So I went in and reset the password to blank.</p>
<p>Still, the problem persisted.</p>
<p>I knew it had to have something to do with the profiles I migrated over. I could feel it instinctively.</p>
<p>What I eventually realized was that the laptop I was currently on had the same username as one of the accounts on the PC did, however they both had different passwords. So when I tried to connect, the remote system recognized the user but not the password, and so prompted me to fill out my username and password.</p>
<p>There wasn’t much on Google that addressed my situation but I now suspect that it must be fairly common, so I felt obliged to document my experience.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/iphone-4-visual-voicemail-loses-password-and-greeting/" rel="bookmark" class="crp_title">iPhone 4 Visual Voicemail Loses Password and Greeting</a></li><li><a href="http://coding.drewcorp.ca/software/windows/putting-windows-live-messenger-back-in-the-system-tray-in-windows-7/" rel="bookmark" class="crp_title">Putting Windows Live Messenger Back In The System Tray In Windows 7</a></li><li><a href="http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics/" rel="bookmark" class="crp_title">How To Remove &ldquo;Encrypted Archive&rdquo; Context Menu For UPEK Biometrics</a></li><li><a href="http://coding.drewcorp.ca/news/weekend-xbox-debacle/" rel="bookmark" class="crp_title">Weekend Xbox Debacle</a></li><li><a href="http://coding.drewcorp.ca/it/domain-server-naming-conventions/" rel="bookmark" class="crp_title">Domain Server Naming Conventions</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/password-protected-file-sharing-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Form Submit Var Doesn&#8217;t Exist When You Use Enter Key To Submit Form</title>
		<link>http://coding.drewcorp.ca/coding/coldfusion/form-submit-var-doesnt-exist-when-you-use-enter-key-to-submit-form/</link>
		<comments>http://coding.drewcorp.ca/coding/coldfusion/form-submit-var-doesnt-exist-when-you-use-enter-key-to-submit-form/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 09:55:11 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/coding/coldfusion/form-submit-var-doesnt-exist-when-you-use-enter-key-to-submit-form/</guid>
		<description><![CDATA[I hope the title is clear enough to help people search for this. I’ve spent the last few days creating an application for myself to keep track of services performed and clients. I was making a simple “client search” form when I found I was getting inconsistent DB results. Sometimes the results would show up, [...]]]></description>
			<content:encoded><![CDATA[<p>I hope the title is clear enough to help people search for this.</p>
<p>I’ve spent the last few days creating an application for myself to keep track of services performed and clients. I was making a simple “client search” form when I found I was getting inconsistent DB results. Sometimes the results would show up, sometimes not. I won’t go into the full story and how ridiculously long it took me to notice that I wasn’t submitting the form the same way every time. Sometimes I clicked the submit button, sometimes I just hit Enter.</p>
<p>I was invoking the search function based on a cfif tag.</p>
<p>Originally I’d coded this:</p>
<pre class="brush: coldfusion;">
&lt;cfif isDefined(&quot;FORM.Submit&quot;)&gt;
     &lt;cfinvoke component=&quot;client_tracking.functions.dbactions&quot; method=&quot;searchclients&quot; search=#FORM.search#&gt;
&lt;/cfif&gt; </pre>
<p>I did a relatively extended Google search since I wasn&#8217;t entirely sure how to word the question properly, but eventually I discovered a better way of checking if the form had been submitted.</p>
<p>Namely:</p>
<pre class="brush: coldfusion;">
&lt;cfif structKeyExists(form, &quot;search&quot;)&gt;
     &lt;cfinvoke component=&quot;client_tracking.functions.dbactions&quot; method=&quot;searchclients&quot; search=#FORM.search#&gt;
&lt;/cfif&gt; </pre>
<p>This new code checks the form structure and the search key to check if it has value. It works both clicking the submit button and hitting the enter key.</p>
<p>Thanks for Ray Camden for having this figured out ages ago.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/coding/coldfusion/cftrycfcatch-with-database-response/" rel="bookmark" class="crp_title">cftry/cfcatch With Database Response</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/bad-behaving-flash-form-when-using-mask-attribute-in-cfml/" rel="bookmark" class="crp_title">Bad Behaving Flash Form When Using Mask Attribute in CFML</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/flash-forms-in-coldfusion-8/" rel="bookmark" class="crp_title">Flash Forms in ColdFusion 8</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/why-coldfusion-is-so-great-with-databases/" rel="bookmark" class="crp_title">Why ColdFusion Is So Great With Databases</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/reading-info-from-mp3s/" rel="bookmark" class="crp_title">Reading ID3 and MetaData From MP3s Using ColdFusion 8/9</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/coding/coldfusion/form-submit-var-doesnt-exist-when-you-use-enter-key-to-submit-form/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microwave VS Wireless Network</title>
		<link>http://coding.drewcorp.ca/it/microwave-vs-wireless-network/</link>
		<comments>http://coding.drewcorp.ca/it/microwave-vs-wireless-network/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 05:32:16 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[IT]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/microwave-vs-wireless-network/</guid>
		<description><![CDATA[One of my favorite perks of my job is that I am constantly learning something new. Even the most seasoned computer expert will never be short of new material. Today, my lesson was that yes, a microwave can bring a wireless network to its knees. It was hard to believe at first, but after a [...]]]></description>
			<content:encoded><![CDATA[<p><img style="border-bottom: 0px; border-left: 0px; margin: 0px 15px 0px 0px; display: inline; border-top: 0px; border-right: 0px" title="wireless" border="0" alt="wireless" align="left" src="http://coding.drewcorp.ca/wp-content/uploads/2010/02/wireless2.jpg" width="240" height="239" /> One of my favorite perks of my job is that I am constantly learning something new. Even the most seasoned computer expert will never be short of new material.</p>
<p>Today, my lesson was that yes, a microwave can bring a wireless network to its knees.</p>
<p>It was hard to believe at first, but after a few tests it was most certainly the microwave to blame. It seemed to me that this should be a cause for concern and that this sort of radiation could be a sign of something perhaps dangerous. Later, I began some research. According to <a title="Dueling with Microwave Ovens" href="http://www.wi-fiplanet.com/tutorials/article.php/3116531" target="_blank">this article</a>, tests indicate a Microwave oven can degrade network performance by up to 85%. In the case I experienced today, it killed it entirely. However, the article also notes that Microwaves operate at a fairly narrow frequency range, which allows us to alter the WIFI frequency channel to compensate. Often, routers do a scan themselves to see which channel is the clearest, but unless the microwave is running while it does this scan, this will not help.</p>
<p>Some cordless phones are known to interfere with the spectrum as well. Wireless b products operate on the same frequency as older cordless phones (2.4 GHz – close to the same frequency as Microwave ovens) and thus can cause heavy interference. Newer “digital band” cordless phones are available in the 6 GHz range to combat this phenomenon.</p>
<p>Wireless N routers – the newest wireless format available and undoubtedly the best – can eliminate this issue by operating in the 5 GHz range instead of the 2.4 GHz, but all devices in the home would have to be Wireless j technology. Unfortunately, the technology is so new (the technology standard was only officially ratified in October of 2009) that most consumer devices are still b or g technology unless manufactured late 2009.</p>
<p>Most modern wireless routers should have an option to change the frequency channel. For information on how to do this, consult your device documentation or a local computer technician.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/hardware/shoddy-consumer-grade-network-hardware/" rel="bookmark" class="crp_title">Shoddy Consumer-Grade Network Hardware</a></li><li><a href="http://coding.drewcorp.ca/hardware/dell-xps-1530/" rel="bookmark" class="crp_title">Dell XPS 1530</a></li><li><a href="http://coding.drewcorp.ca/software/the-best-usb-applications-are-at-portableappscom/" rel="bookmark" class="crp_title">The Best USB Applications Are At PortableApps.com</a></li><li><a href="http://coding.drewcorp.ca/news/comments-the-universal-blog-currency/" rel="bookmark" class="crp_title">Comments &ndash; The Universal Blog Currency</a></li><li><a href="http://coding.drewcorp.ca/software/geotagging-photos/" rel="bookmark" class="crp_title">GeoTagging Photos</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/it/microwave-vs-wireless-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Remove &#8220;Encrypted Archive&#8221; Context Menu For UPEK Biometrics From &#8220;My Computer&#8221;</title>
		<link>http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics-from-my-computer/</link>
		<comments>http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics-from-my-computer/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 20:19:27 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics-from-my-computer/</guid>
		<description><![CDATA[I wrote recently about some correspondence I had with UPEK support to remove the “Encrypted Archive” menu items from the context menu of the whole file system. I thought it was a bit of a nuisance and wanted it removed, so UPEK immediately provided me with a registry key to delete that would solve my [...]]]></description>
			<content:encoded><![CDATA[<p><a title="My previous post regarding UPEK&#39;s context menu" href="http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics/" target="_blank">I wrote recently</a> about some correspondence I had with UPEK support to remove the “Encrypted Archive” menu items from the context menu of the whole file system. I thought it was a bit of a nuisance and wanted it removed, so UPEK immediately provided me with a registry key to delete that would solve my problem.</p>
<p>A couple days ago I noticed that although the registry fix effectively removed it from the menu when I right-clicked files, that fix apparently did not include the root drive context menu. If I were to right-click any of my drives in “Computer” (or “My Computer”), the menu returned.</p>
<p>So I eventually got around to contacting UPEK again, and once more they responded immediately. I must say I’m not used to this level of support. And I also appreciate not being coddled. I always hate dealing with support when they assume you know nothing about computers. I always have to assure them I’ve gone through all these troubleshooting steps. In this case I suppose there’s no troubleshooting to be done, but still the fact that they gave me a very straightforward registry edit made me very happy.</p>
<p>So here it is:</p>
<p>Delete the &quot;<strong>HKEY_CLASSES_ROOT\Drive\ShellEx\ContextMenuHandlers\SafearchiveContextMenu</strong>&quot; registry key.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics/" rel="bookmark" class="crp_title">How To Remove &ldquo;Encrypted Archive&rdquo; Context Menu For UPEK Biometrics</a></li><li><a href="http://coding.drewcorp.ca/software/windows/nagging-get-started-with-office-live-wont-go-away-in-office-2007/" rel="bookmark" class="crp_title">Nagging &ldquo;Get Started With Office Live&rdquo; Won&rsquo;t Go Away In Office 2007</a></li><li><a href="http://coding.drewcorp.ca/software/windows/putting-windows-live-messenger-back-in-the-system-tray-in-windows-7/" rel="bookmark" class="crp_title">Putting Windows Live Messenger Back In The System Tray In Windows 7</a></li><li><a href="http://coding.drewcorp.ca/hardware/dell-xps-1530/" rel="bookmark" class="crp_title">Dell XPS 1530</a></li><li><a href="http://coding.drewcorp.ca/software/windows/blogging-with-windows-live-writer/" rel="bookmark" class="crp_title">Blogging With Windows Live Writer</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics-from-my-computer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Putting Windows Live Messenger Back In The System Tray In Windows 7</title>
		<link>http://coding.drewcorp.ca/software/windows/putting-windows-live-messenger-back-in-the-system-tray-in-windows-7/</link>
		<comments>http://coding.drewcorp.ca/software/windows/putting-windows-live-messenger-back-in-the-system-tray-in-windows-7/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 08:27:35 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/putting-windows-live-messenger-back-in-the-system-tray-in-windows-7/</guid>
		<description><![CDATA[It didn’t bug me until today but alas, it eventually got to me. Windows Live Messenger on Windows 7 has a new home in the quicklaunch area and I’m not the only one who has found it annoying. Want to put it back in the system tray (at the bottom right where other notifications show [...]]]></description>
			<content:encoded><![CDATA[<p>It didn’t bug me until today but alas, it eventually got to me.</p>
<p>Windows Live Messenger on Windows 7 has a new home in the quicklaunch area and I’m not the only one who has found it annoying.</p>
<p>Want to put it back in the system tray (at the bottom right where other notifications show up)? All you have to do is go to the <strong>msnmsgr.exe</strong> in <strong>C:\Program Files\Windows Live\Messenger</strong> and right-click it, then go down to properties, then click the compatibility tab.</p>
<p><a href="http://coding.drewcorp.ca/wp-content/uploads/2010/01/msnmsgrcompatibility.jpg" rel="lightbox[352]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Put Windows Live Messenger in Compatibility Mode for Vista" border="0" alt="msnmsgr compatibility" src="http://coding.drewcorp.ca/wp-content/uploads/2010/01/msnmsgrcompatibility_thumb.jpg" width="193" height="244" /></a> </p>
<p>Fill it out as above (<strong>Run this program in compatibility mode for: Windows Vista</strong>), hit OK, and you’re done. The next time you start the program, it will return to the system tray where it used to be.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics/" rel="bookmark" class="crp_title">How To Remove &ldquo;Encrypted Archive&rdquo; Context Menu For UPEK Biometrics</a></li><li><a href="http://coding.drewcorp.ca/games/1-vs-100-beta-on-xbox-live/" rel="bookmark" class="crp_title">1 vs 100 Beta on Xbox Live</a></li><li><a href="http://coding.drewcorp.ca/software/windows/blogging-with-windows-live-writer/" rel="bookmark" class="crp_title">Blogging With Windows Live Writer</a></li><li><a href="http://coding.drewcorp.ca/software/windows/nagging-get-started-with-office-live-wont-go-away-in-office-2007/" rel="bookmark" class="crp_title">Nagging &ldquo;Get Started With Office Live&rdquo; Won&rsquo;t Go Away In Office 2007</a></li><li><a href="http://coding.drewcorp.ca/news/password-protected-file-sharing-issues/" rel="bookmark" class="crp_title">Password Protected File Sharing Issues</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/software/windows/putting-windows-live-messenger-back-in-the-system-tray-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Remove &#8220;Encrypted Archive&#8221; Context Menu For UPEK Biometrics</title>
		<link>http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics/</link>
		<comments>http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 14:47:26 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics/</guid>
		<description><![CDATA[A fairly specific title, to be sure. I recently wiped my laptop and used this opportunity to streamline much of my system as well as to officially upgrade to Windows 7. One of my favorite features of my laptop – the Dell XPS 1530 – is the built-in UPEK biometrics fingerprint scanner. Unfortunately, the dell-supplied [...]]]></description>
			<content:encoded><![CDATA[<p><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="upek" border="0" alt="upek" src="http://coding.drewcorp.ca/wp-content/uploads/2010/01/upek.gif" width="150" height="75" /> </p>
<p>A fairly specific title, to be sure.</p>
<p>I recently wiped my laptop and used this opportunity to streamline much of my system as well as to officially upgrade to Windows 7.</p>
<p>One of my favorite features of my laptop – the Dell XPS 1530 – is the built-in UPEK biometrics fingerprint scanner. Unfortunately, the dell-supplied drivers are incompatible with Windows 7, so I was forced to download the latest version directly from the site – which makes it sound like a bad thing but I actually prefer the “retail” version rather than the OEM stuff vendors get, so I was happy.</p>
<p>However, I eventually noticed something that always rather bugged me behind the scenes back on Vista as well with the OEM drivers/software. In the context menu (right-click) of any file, I was presented with two additional buttons: “add to new encrypted archive” and “add to existing encrypted archive”, neither of which I have used or will ever used. And if you’re like me, you prefer no clutter.</p>
<p>There’s an option inside the UPEK program to eliminate the “file safe” from the desktop and “My Computer” windows, but there is no option to remove the context menu. So I did what any responsible person with a complaint about a software product would do – I sent feedback to the developer. And I am quite glad I did, because their support staff gave me a response within just a few hours with the key to removing it. In this case, quite literally a key for the registry (I have no fear of the registry and had removed a number of UPEK-related keys previously, none of which worked – but I put them back).</p>
<p><strong>To remove the FileSafe context menus just delete the following registry key:     <br />HKEY_CLASSES_ROOT\AllFileSystemObjects\ShellEx\ContextMenuHandlers\SafearchiveContextMenu</strong></p>
<p>Super easy, once you know where to look.</p>
<p>Thanks, UPEK. I’m very impressed with both your concise response and response time.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics-from-my-computer/" rel="bookmark" class="crp_title">How To Remove &ldquo;Encrypted Archive&rdquo; Context Menu For UPEK Biometrics From &ldquo;My Computer&rdquo;</a></li><li><a href="http://coding.drewcorp.ca/software/windows/putting-windows-live-messenger-back-in-the-system-tray-in-windows-7/" rel="bookmark" class="crp_title">Putting Windows Live Messenger Back In The System Tray In Windows 7</a></li><li><a href="http://coding.drewcorp.ca/hardware/dell-xps-1530/" rel="bookmark" class="crp_title">Dell XPS 1530</a></li><li><a href="http://coding.drewcorp.ca/software/windows/blogging-with-windows-live-writer/" rel="bookmark" class="crp_title">Blogging With Windows Live Writer</a></li><li><a href="http://coding.drewcorp.ca/software/windows/nagging-get-started-with-office-live-wont-go-away-in-office-2007/" rel="bookmark" class="crp_title">Nagging &ldquo;Get Started With Office Live&rdquo; Won&rsquo;t Go Away In Office 2007</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ribbon Interface</title>
		<link>http://coding.drewcorp.ca/software/ribbon-interface/</link>
		<comments>http://coding.drewcorp.ca/software/ribbon-interface/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 04:29:37 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/ribbon-interface/</guid>
		<description><![CDATA[I’m a bit late to the game here, but after reformatting my computer to officially upgrade to Windows 7, and installing OpenOffice because I don’t want to deal with Office 2007 licensing, I realized how much I prefer the ribbon interface. I looked around briefly to see if there was a “skin” or something similar [...]]]></description>
			<content:encoded><![CDATA[<p>I’m a bit late to the game here, but after reformatting my computer to officially upgrade to Windows 7, and installing OpenOffice because I don’t want to deal with Office 2007 licensing, I realized how much I prefer the ribbon interface.</p>
<p>I looked around briefly to see if there was a “skin” or something similar for OO since it’s open source nature lends itself to that sort of thing. Alas, nothing to be found but rumors of Sun Microsystems working on a ribbon interface of their own.</p>
<p>Which was an enlightening discovery since reading the comments and reviews revealed almost universal rancor towards the ribbon interface – an attitude I fail to understand or agree with.</p>
<p>To me, the ribbon interface represents a logical solution to a big problem (especially with word-processors), namely feature-creep. There does not need to be a button for every function since there are so many. I don’t need four different visible buttons for left, center, right and justify. Of course I don’t believe the ribbon interface is necessarily appropriate for every suite and program available to the PC, but there is something to be said for a design standard.</p>
<p>So I guess for anyone reading this I’d like to hear your thoughts.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/software/the-best-usb-applications-are-at-portableappscom/" rel="bookmark" class="crp_title">The Best USB Applications Are At PortableApps.com</a></li><li><a href="http://coding.drewcorp.ca/software/easy-open-source-transcoding/" rel="bookmark" class="crp_title">Easy Open-Source Transcoding</a></li><li><a href="http://coding.drewcorp.ca/software/windows/nagging-get-started-with-office-live-wont-go-away-in-office-2007/" rel="bookmark" class="crp_title">Nagging &ldquo;Get Started With Office Live&rdquo; Won&rsquo;t Go Away In Office 2007</a></li><li><a href="http://coding.drewcorp.ca/hardware/shoddy-consumer-grade-network-hardware/" rel="bookmark" class="crp_title">Shoddy Consumer-Grade Network Hardware</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/open-source-cfml-with-railo/" rel="bookmark" class="crp_title">Open-Source CFML With &ldquo;Railo&rdquo;</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/software/ribbon-interface/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Spoons Are Weird</title>
		<link>http://coding.drewcorp.ca/other/spoons-are-weird/</link>
		<comments>http://coding.drewcorp.ca/other/spoons-are-weird/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 07:33:43 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/spoons-are-weird/</guid>
		<description><![CDATA[Today I remembered an old conversation I had years ago which involved looking for common but weird words. Some of these words weren’t weird until you thought about it. Like ‘spoon’. Then while remembering this, my brain turned it into a bizarre English lesson. Keep in mind all of this came to mind while driving [...]]]></description>
			<content:encoded><![CDATA[<p>Today I remembered an old conversation I had years ago which involved looking for common but weird words. Some of these words weren’t weird until you thought about it. Like ‘spoon’. Then while remembering this, my brain turned it into a bizarre English lesson. Keep in mind all of this came to mind while driving home from work, and for some reason I was overwhelmed by the compulsion to document it for posterity.</p>
<p>Observe and despair at my brain in action.</p>
<p>Spoons is a weird word. This sentence is wrong because you can’t refer to a plural noun in the singular, and so it could technically read “Spoons are a weird word” but of course that doesn’t make sense either because we are not talking about a plural noun, but rather the word referencing the object &#8211; ‘spoon’. The exception to this rule is when abstracting a plural into a singular collective noun, such as “group” or “bunch”. However in this case you could not say “Spoons are a weird bunch” and get the same meaning as was intended in the sentence starting the paragraph. </p>
<p>Of course you might also say “Spoon is a weird word”, which removes the confusion resulting from the plural noun, but even this is incorrect because neglecting to quote a word makes it the refer to the object instead of the word itself. I found the plural form of the word ‘spoon’ especially highlighted the issue when read or spoken aloud. So to say “Spoon is a weird word” would also be incorrect because it would be stating that a spoon is a word, which it is not – it is rather a utensil used to assist in the act of eating.</p>
<p>The only valid form I can imagine is “’Spoons’ is a weird word”. Notice the single quotes around ‘spoons’ which excludes it from the rules associated with proper noun use, and abstracts the “spoons” into a singular quoted subject. </p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/most-visitors-in-a-single-da/" rel="bookmark" class="crp_title">Most Visitors In a Single Day</a></li><li><a href="http://coding.drewcorp.ca/news/iphone-4-visual-voicemail-loses-password-and-greeting/" rel="bookmark" class="crp_title">iPhone 4 Visual Voicemail Loses Password and Greeting</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/learning-object-oriented-coldfusion/" rel="bookmark" class="crp_title">Learning Object Oriented ColdFusion</a></li><li><a href="http://coding.drewcorp.ca/it/computer-repair-school/" rel="bookmark" class="crp_title">Computer Repair School</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/form-submit-var-doesnt-exist-when-you-use-enter-key-to-submit-form/" rel="bookmark" class="crp_title">Form Submit Var Doesn&rsquo;t Exist When You Use Enter Key To Submit Form</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/other/spoons-are-weird/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CFMAP Issue Solved By The ColdFusion Jedi</title>
		<link>http://coding.drewcorp.ca/coding/coldfusion/cfmap-issue-solved-by-the-coldfusion-jedi/</link>
		<comments>http://coding.drewcorp.ca/coding/coldfusion/cfmap-issue-solved-by-the-coldfusion-jedi/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 08:41:42 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/cfmap-issue-solved-by-the-coldfusion-jedi/</guid>
		<description><![CDATA[I started creating a program for a good friend of mine about a month ago in my spare time. Essentially it’s a territory assignment program that assigns specific addresses in a territory to be called on by a field service agent. This territory would be then un-assigned when completed and the agent would move on [...]]]></description>
			<content:encoded><![CDATA[<p>I started creating a program for a good friend of mine about a month ago in my spare time. Essentially it’s a territory assignment program that assigns specific addresses in a territory to be called on by a field service agent. This territory would be then un-assigned when completed and the agent would move on to the next territory. As an added bonus and an experiment, I thought it would be nifty to actually SEE where the addresses were, instead of simply cranking out the addresses in an ugly list. The results were… inconsistent. Any more than a few addresses and I’d get a popup saying the address couldn’t be found. Normally I wouldn’t think anything of it, but the addresses were different every time the page generated. And ultimately I discovered that all of the addresses could be found.</p>
<p>After a bit of struggling, the first person I thought of who not only had the know-how to solve the problem, but also the inclination to do so, was Ray Camden whose articles I read often and I knew took on questions from readers.</p>
<p>I hadn’t realized that the first step in geocoding was translating addresses to latitudinal and longitudinal coordinates. Apparently if you send too many addresses to geolocate too close together, you get a 620 error from google maps and throws an error (or many errors).</p>
<p>Thanks again to Raymond Camden for his help, and here’s the article he wrote about it: <a href="http://www.coldfusionjedi.com/index.cfm/2009/12/15/Having-trouble-with-too-many-map-markers-and-CFMAP">http://www.coldfusionjedi.com/index.cfm/2009/12/15/Having-trouble-with-too-many-map-markers-and-CFMAP</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/it/computer-repair-school/" rel="bookmark" class="crp_title">Computer Repair School</a></li><li><a href="http://coding.drewcorp.ca/news/the-search-for-work-continues/" rel="bookmark" class="crp_title">The Search For Work Continues</a></li><li><a href="http://coding.drewcorp.ca/news/comments-the-universal-blog-currency/" rel="bookmark" class="crp_title">Comments &ndash; The Universal Blog Currency</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/cfchart-experiment/" rel="bookmark" class="crp_title">CFCHART Experiment</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/form-submit-var-doesnt-exist-when-you-use-enter-key-to-submit-form/" rel="bookmark" class="crp_title">Form Submit Var Doesn&rsquo;t Exist When You Use Enter Key To Submit Form</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/coding/coldfusion/cfmap-issue-solved-by-the-coldfusion-jedi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coldfusion-&gt;IT Analyst</title>
		<link>http://coding.drewcorp.ca/news/coldfusion-it-analyst/</link>
		<comments>http://coding.drewcorp.ca/news/coldfusion-it-analyst/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 07:22:35 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/coldfusion-it-analyst/</guid>
		<description><![CDATA[I recently came across a job posting that immediately caught my attention. Not because it was a ColdFusion posting – quite the opposite in fact – but because it appeared at first to be my resume read back to me. The job was so finely tuned to my experience, I looked closer just to verify [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across a job posting that immediately caught my attention. Not because it was a ColdFusion posting – quite the opposite in fact – but because it appeared at first to be my resume read back to me. The job was so finely tuned to my experience, I looked closer just to verify it wasn’t any of my previous employers filling a hole I had previously left void.</p>
<p>It is here in my hometown which is already a big plus, the position deals mostly with big-picture stuff (without the distraction of handling every little workstation hiccup) and features a team that seems to hold the same values as myself. There’s even a foosball table and a theatre room.</p>
<p>The first interview went long, which was great. It flowed more like a conversation than an interview. In fact it was the first non-tribunal interview I’ve had in ages. I’d almost forgotten how much I preferred one-on-one. Three days later and I’ve already been called for the second interview. I’m very optimistic about my chances.</p>
<p>Of course I will not neglect any chance I get to do programming or learning on my own time, but the focus may veer slightly to more server technology related issues and solutions.</p>
<p>…Assuming I get the job. I suppose I tend to get ahead of myself.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/out-on-my-own/" rel="bookmark" class="crp_title">Out On My Own</a></li><li><a href="http://coding.drewcorp.ca/news/password-protected-file-sharing-issues/" rel="bookmark" class="crp_title">Password Protected File Sharing Issues</a></li><li><a href="http://coding.drewcorp.ca/news/back-in-business/" rel="bookmark" class="crp_title">Back In Business</a></li><li><a href="http://coding.drewcorp.ca/software/windows/how-to-remove-encrypted-archive-context-menu-for-upek-biometrics-from-my-computer/" rel="bookmark" class="crp_title">How To Remove &ldquo;Encrypted Archive&rdquo; Context Menu For UPEK Biometrics From &ldquo;My Computer&rdquo;</a></li><li><a href="http://coding.drewcorp.ca/news/hosting-issues/" rel="bookmark" class="crp_title">Hosting Issues</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/coldfusion-it-analyst/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Search For Work Continues</title>
		<link>http://coding.drewcorp.ca/news/the-search-for-work-continues/</link>
		<comments>http://coding.drewcorp.ca/news/the-search-for-work-continues/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 22:35:01 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/the-search-for-work-continues/</guid>
		<description><![CDATA[I’m still looking for any ColdFusion work at all. I had some back-and-forth with a company in the Netherlands but that fell through. And that pretty much sums up my entire list of opportunities since September. Right now I’m beginning a career in pizza delivery – a job that pays the bills for now but [...]]]></description>
			<content:encoded><![CDATA[<p>I’m still looking for <em>any</em> ColdFusion work at all. I had some back-and-forth with a company in the Netherlands but that fell through. And that pretty much sums up my entire list of opportunities since September. Right now I’m beginning a career in pizza delivery – a job that pays the bills for now but is ultimately unsatisfying.</p>
<p>This is new territory for me since I’ve never experienced an almost universally complete lack of response from any employers. Things must be really bad. Like… really really bad.</p>
<p>My writing on ColdFusion will probably slow now until I have professional cause to work with it again. Perhaps I should start another site where I discuss pizza at length. Perhaps not.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/out-on-my-own/" rel="bookmark" class="crp_title">Out On My Own</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/coldfusion-jobs/" rel="bookmark" class="crp_title">ColdFusion Jobs?</a></li><li><a href="http://coding.drewcorp.ca/news/off-track/" rel="bookmark" class="crp_title">Off Track</a></li><li><a href="http://coding.drewcorp.ca/news/back-in-business/" rel="bookmark" class="crp_title">Back In Business</a></li><li><a href="http://coding.drewcorp.ca/news/job-searching/" rel="bookmark" class="crp_title">Job Searching</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/the-search-for-work-continues/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Job Searching</title>
		<link>http://coding.drewcorp.ca/news/job-searching/</link>
		<comments>http://coding.drewcorp.ca/news/job-searching/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 22:47:12 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/job-searching/</guid>
		<description><![CDATA[I hate looking for work. I know everyone does, even at the best of times. But times like these, when local jobs have polarized into high paying jobs or low paying jobs and nothing in between, and the local government (who counts for a large percentage of local jobs) has cut down its budget for [...]]]></description>
			<content:encoded><![CDATA[<p>I hate looking for work. I know everyone does, even at the best of times.</p>
<p>But times like these, when local jobs have polarized into high paying jobs or low paying jobs and nothing in between, and the local government (who counts for a large percentage of local jobs) has cut down its budget for external contracts to almost nothing, looking for work now feels less like looking for a good fit and more like I’m the victim of a mean-spirited game of “Pig In The Middle”. I’m sure I’m not the only one, either.</p>
<p>I’m starting to feel like I specialized in all the wrong things. Windows instead of linux or Mac.&#160; ColdFusion instead of PHP or Java. Network administration instead of database administration. Technical college instead of a computer sciences degree. Programming instead of design. That, and I was born in the wrong country.</p>
<p>Frustration abounds, and I’ve been essentially out of paid work since July, which kills any relocation budget I might have had.</p>
<p>If anyone reading this has any overflow work or say a lead on a ColdFusion telecommute job or contract position, I’m all over it. Otherwise, thanks for reading anyway and I’ll post my progress.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/coding/coldfusion/coldfusion-jobs/" rel="bookmark" class="crp_title">ColdFusion Jobs?</a></li><li><a href="http://coding.drewcorp.ca/news/god-isnt-an-application-developer/" rel="bookmark" class="crp_title">God Isn&rsquo;t An Application Developer</a></li><li><a href="http://coding.drewcorp.ca/news/off-track/" rel="bookmark" class="crp_title">Off Track</a></li><li><a href="http://coding.drewcorp.ca/news/back-in-business/" rel="bookmark" class="crp_title">Back In Business</a></li><li><a href="http://coding.drewcorp.ca/it/computer-repair-school/" rel="bookmark" class="crp_title">Computer Repair School</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/job-searching/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Host!</title>
		<link>http://coding.drewcorp.ca/news/new-host/</link>
		<comments>http://coding.drewcorp.ca/news/new-host/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 06:32:48 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/?p=331</guid>
		<description><![CDATA[I recently switched hosts to Media Temple, partly because of some service interruptions on our last host and also as a strategic manoeuvre. I can say without hesitation that this site is much zippier than before &#8211; I hope you notice as well. I mean obviously the site doesn&#8217;t do anything, but even so I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://coding.drewcorp.ca/wp-content/uploads/2009/11/mediatemple250x140.png" rel="lightbox[331]"><img class="aligncenter size-full wp-image-332" title="Media Temple" src="http://coding.drewcorp.ca/wp-content/uploads/2009/11/mediatemple250x140.png" alt="Media Temple" width="250" height="140" /></a></p>
<p>I recently switched hosts to Media Temple, partly because of some service interruptions on our last host and also as a strategic manoeuvre. I can say without hesitation that this site is much zippier than before &#8211; I hope you notice as well. I mean obviously the site doesn&#8217;t <em>do</em> anything, but even so I think it&#8217;s noticeable. The added benefit to this new host is we now have ultimate power over it, even to the extend of being able to install our ColdFusion license on it.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/software/windows/blogging-with-windows-live-writer/" rel="bookmark" class="crp_title">Blogging With Windows Live Writer</a></li><li><a href="http://coding.drewcorp.ca/software/xbmc-advancedsettings-xml-continued/" rel="bookmark" class="crp_title">XBMC advancedsettings.xml Continued</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/finding-coldfusionapache-hosting/" rel="bookmark" class="crp_title">Finding ColdFusion/Apache Hosting</a></li><li><a href="http://coding.drewcorp.ca/software/play-any-video-or-audio-with-vista-codec-package/" rel="bookmark" class="crp_title">Play Any Video or Audio With Vista Codec Package</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/cfchart-experiment/" rel="bookmark" class="crp_title">CFCHART Experiment</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/new-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL UNION</title>
		<link>http://coding.drewcorp.ca/coding/mysql/sql-union/</link>
		<comments>http://coding.drewcorp.ca/coding/mysql/sql-union/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 22:38:20 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/?p=327</guid>
		<description><![CDATA[I was recently working on a social network back-end when I came across a problem. There was a users table, and these users had to have the option of &#8220;friending&#8221; each other. And so I created a &#8220;connections&#8221; table, which associated user to user. There were a few extra pieces but essentially what I ended [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently working on a social network back-end when I came across a problem. There was a users table, and these users had to have the option of &#8220;friending&#8221; each other. And so I created a &#8220;connections&#8221; table, which associated user to user. There were a few extra pieces but essentially what I ended up with was a table that stated the ID, friendA and friendB. I did not want multiple records for each connection so for each &#8220;friend&#8221; link there would be only one connection record.</p>
<p>The problem here is when it came time to use code to display the list of a given user&#8217;s friends, I hit a bit of a wall. I didn&#8217;t think I could arrange the users in any sort of order because I would need to use two queries like this (assuming 1 is your ID as the user trying to query the database for a list of your friends):</p>
<pre class="brush: sql;">
		SELECT
		user_to_user.id,
		user_to_user.userA
		FROM
		user_to_user
		WHERE
		user_to_user.userB = '1'

		SELECT
		user_to_user.id,
		user_to_user.userB
		FROM
		user_to_user
		WHERE
		user_to_user.userA = '1'
</pre>
<p>The first query checks all results where you are the user initiating the &#8220;friend&#8221; connection, and the second checks results where others initiated the connection with you. I thought I would have to loop through the results with userA and then userB separately.</p>
<p>As it turns out, I was wrong. The UNION operator is used to combine the result-set of two or more SELECT statements. So all I had to do is put UNION between the two queries and finish up with an ORDER BY clause and I was in business. Incidentally, I&#8217;ll note that the results of this would have columns id and userA &#8211; but what about userB? <a href="http://www.w3schools.com/sql/sql_union.asp">W3Schools</a> says it best: The column names in the result-set of a UNION are always equal to the column names in the first SELECT statement in the UNION. So all of the results &#8211; both userA and userB &#8211; will return under the userA column. If I were to swap the queries so I ask for the userB results first, then all results would be as userB.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/coding/coldfusion/why-coldfusion-is-so-great-with-databases/" rel="bookmark" class="crp_title">Why ColdFusion Is So Great With Databases</a></li><li><a href="http://coding.drewcorp.ca/news/back-in-business/" rel="bookmark" class="crp_title">Back In Business</a></li><li><a href="http://coding.drewcorp.ca/news/google-results/" rel="bookmark" class="crp_title">Google Results</a></li><li><a href="http://coding.drewcorp.ca/games/pc-vs-console-gaming/" rel="bookmark" class="crp_title">PC vs Console Gaming</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/form-submit-var-doesnt-exist-when-you-use-enter-key-to-submit-form/" rel="bookmark" class="crp_title">Form Submit Var Doesn&rsquo;t Exist When You Use Enter Key To Submit Form</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/coding/mysql/sql-union/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Reading ID3 and MetaData From MP3s Using ColdFusion 8/9</title>
		<link>http://coding.drewcorp.ca/coding/coldfusion/reading-info-from-mp3s/</link>
		<comments>http://coding.drewcorp.ca/coding/coldfusion/reading-info-from-mp3s/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 20:15:00 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/coding/coldfusion/reading-info-from-mp3s/</guid>
		<description><![CDATA[Ok this has been done before, but everything I’ve read up until now seemed incomplete to me, although what is available was very instructive. For example, Ben Forta’s blog covers Reading MP3 ID3 tags with ColdFusion, while Rupesh Kumar covered Reading MP3 Meta-data from ColdFusion. At first glance the titles almost look like they’re talking [...]]]></description>
			<content:encoded><![CDATA[<p>Ok this has been done before, but everything I’ve read up until now seemed incomplete to me, although what is available was very instructive. For example, Ben Forta’s blog covers <a href="http://www.coldfusionjedi.com/index.cfm/2006/6/13/Reading-MP3-ID3-tags-with-ColdFusion" target="_blank">Reading MP3 ID3 tags with ColdFusion</a>, while Rupesh Kumar covered <a href="http://coldfused.blogspot.com/2008/02/reading-mp3-meta-data-from-coldfusion.html" target="_blank">Reading MP3 Meta-data from ColdFusion</a>. At first glance the titles almost look like they’re talking about the same thing, but they’re not.  The java library “jid3lib” that Ben spoke of could not easily be harnessed to give information such as track length, frequency or bitrate while Rupesh’s code didn’t handle any of the ID3 tag info.</p>
<p>So I decided to combine them.</p>
<p>Firstly you must download the <a href="http://javamusictag.sourceforge.net/" target="_blank">jid3lib</a> and place it in %CFHOME%\runtime\servers\lib and restart the application server.</p>
<p>Secondly, the file I used thanks to Ben Forta.<br />
mp3.cfc:</p>
<pre class="brush: coldfusion;">
&lt;cfcomponent&gt;
&lt;!---&lt;cfset mp3File = createObject(&quot;java&quot;, &quot;coldfusion.util.MP3File&quot;).init(&quot;.\MP3&quot;)&gt;
&lt;cfoutput&gt;mp3File.getBitRate() : #mp3File.getBitRate()# kbps&lt;/cfoutput&gt;&lt;br&gt;
&lt;cfoutput&gt;mp3File.getFrequency() : #mp3File.getFrequency()# Hz&lt;/cfoutput&gt;&lt;br&gt;
&lt;cfoutput&gt;mp3File.getVersion() : #mp3File.getVersion()#&lt;/cfoutput&gt;&lt;br&gt;
&lt;cfoutput&gt;mp3File.getDuration() : #mp3File.getDuration()# Sec&lt;/cfoutput&gt;&lt;br&gt;
&lt;cfoutput&gt;mp3File.isCopyRighted() : #mp3File.isCopyRighted()#&lt;/cfoutput&gt;&lt;br&gt;
&lt;cfoutput&gt;mp3File.getChannelMode() : #mp3File.getChannelMode()#&lt;/cfoutput&gt;&lt;br&gt;---&gt;
    &lt;cfset variables.filename = &quot;&quot;&gt;
    &lt;cfset variables.loaded = false&gt;
    &lt;cfset variables.id3tag = &quot;&quot;&gt;

    &lt;cffunction name=&quot;init&quot; access=&quot;public&quot; returnType=&quot;mp3&quot; output=&quot;false&quot;&gt;
        &lt;cfargument name=&quot;filename&quot; type=&quot;string&quot; required=&quot;false&quot;&gt;

        &lt;!--- create an instance of the java code ---&gt;
        &lt;cfset variables.mp3 = createObject(&quot;java&quot;, &quot;org.farng.mp3.MP3File&quot;)&gt;

        &lt;cfif structKeyExists(arguments, &quot;filename&quot;)&gt;
            &lt;!--- read it in ---&gt;
            &lt;cfset variables.filename = arguments.filename&gt;
            &lt;cfset read(variables.filename)&gt;
        &lt;/cfif&gt;

        &lt;cfreturn this&gt;
    &lt;/cffunction&gt;

    &lt;cffunction name=&quot;checkLoaded&quot; access=&quot;private&quot; returnType=&quot;void&quot; output=&quot;false&quot;
                hint=&quot;Helper function to throw error if no mp3 loaded.&quot;&gt;
        &lt;cfif not variables.loaded&gt;
            &lt;cfthrow message=&quot;You must first read in an MP3!&quot;&gt;
        &lt;/cfif&gt;
    &lt;/cffunction&gt;

	&lt;cffunction name=&quot;getArtist&quot; access=&quot;public&quot; returntype=&quot;string&quot; output=&quot;false&quot; hint=&quot;Returns the Artist.&quot;&gt;
		&lt;cfreturn variables.id3tag.getLeadArtist()&gt;
	&lt;/cffunction&gt;

    &lt;cffunction name=&quot;getAlbumTitle&quot; access=&quot;public&quot; returnType=&quot;string&quot; output=&quot;false&quot;
                hint=&quot;Returns the album title.&quot;&gt;
        &lt;cfreturn variables.id3tag.getAlbumTitle()&gt;
    &lt;/cffunction&gt;

    &lt;cffunction name=&quot;getSongGenre&quot; access=&quot;public&quot; returnType=&quot;string&quot; output=&quot;false&quot;
                hint=&quot;Returns the song genre.&quot;&gt;
        &lt;cfreturn variables.id3tag.getSongGenre()&gt;
    &lt;/cffunction&gt;

    &lt;cffunction name=&quot;getSongTitle&quot; access=&quot;public&quot; returnType=&quot;string&quot; output=&quot;false&quot;
                hint=&quot;Returns the song title.&quot;&gt;
        &lt;cfreturn variables.id3tag.getSongTitle()&gt;
    &lt;/cffunction&gt;

    &lt;cffunction name=&quot;getTrackNumber&quot; access=&quot;public&quot; returnType=&quot;string&quot; output=&quot;false&quot;
                hint=&quot;Returns the song title.&quot;&gt;
        &lt;cfreturn variables.id3tag.getTrackNumberOnAlbum()&gt;
    &lt;/cffunction&gt;

    &lt;cffunction name=&quot;getYearReleased&quot; access=&quot;public&quot; returnType=&quot;string&quot; output=&quot;false&quot;
                hint=&quot;Returns the song's release date.&quot;&gt;
        &lt;cfreturn variables.id3tag.getYearReleased()&gt;
    &lt;/cffunction&gt;

    &lt;cffunction name=&quot;hasID3V1&quot; access=&quot;public&quot; returnType=&quot;boolean&quot; output=&quot;true&quot;
                hint=&quot;Returns true if the mp3 has id3v1 information.&quot;&gt;
        &lt;cfset checkLoaded()&gt;

        &lt;cfreturn variables.mp3.hasID3v1Tag()&gt;
    &lt;/cffunction&gt;

    &lt;cffunction name=&quot;hasID3V2&quot; access=&quot;public&quot; returnType=&quot;boolean&quot; output=&quot;false&quot;
                hint=&quot;Returns true if the mp3 has id3v2 information.&quot;&gt;
        &lt;cfset checkLoaded()&gt;

        &lt;cfreturn variables.mp3.hasID3v2Tag()&gt;
    &lt;/cffunction&gt;

    &lt;cffunction name=&quot;read&quot; access=&quot;public&quot; returnType=&quot;void&quot; output=&quot;false&quot;&gt;
        &lt;cfargument name=&quot;filename&quot; type=&quot;string&quot; required=&quot;true&quot;&gt;

        &lt;!--- does the file exist? ---&gt;
        &lt;cfif not fileExists(arguments.fileName)&gt;
            &lt;cfthrow message=&quot;#arguments.fileName# does not exist.&quot;&gt;
        &lt;/cfif&gt;

        &lt;!--- copy to global scope ---&gt;
        &lt;cfset variables.filename = arguments.filename&gt;

        &lt;cftry&gt;
            &lt;cfset variables.mp3.init(variables.filename)&gt;
            &lt;cfset variables.loaded = true&gt;

            &lt;cfif hasID3V1()&gt;
                &lt;cfset variables.id3tag = variables.mp3.getID3v1Tag()&gt;
            &lt;/cfif&gt;
            &lt;cfif hasID3V2()&gt;
                &lt;cfset variables.id3tag = variables.mp3.getID3v2Tag()&gt;
            &lt;/cfif&gt;

            &lt;cfcatch&gt;
                &lt;cfthrow message=&quot;Invalid MP3 file: #arguments.filename# #cfcatch.message#&quot;&gt;
            &lt;/cfcatch&gt;
        &lt;/cftry&gt;
    &lt;/cffunction&gt;

&lt;/cfcomponent&gt;
</pre>
<p>Next, I modified Rupesh’s code to include the coldfusion.util.mp3file class – which you’ll notice I put inside the file loop because the class will not read a directory but will only read an individual file. I just made this the index.cfm file but it can be anything.</p>
<pre class="brush: coldfusion;">
&lt;cfset mp3 = createObject(&quot;component&quot;, &quot;mp3&quot;).init()&gt;
&lt;cfset dir = &quot;C:\ColdFusion9\wwwroot\Media Library\MP3\&quot;&gt;

&lt;cfdirectory action=&quot;list&quot; directory=&quot;#dir#&quot; filter=&quot;*.mp3&quot; name=&quot;music&quot;&gt;

&lt;cfloop query=&quot;music&quot;&gt;
	&lt;cfoutput&gt;filename = #name#&lt;br&gt;&lt;/cfoutput&gt;
	&lt;cftry&gt;
		&lt;cfset mp3.read(dir &amp;amp; name)&gt;
		&lt;cfset mp3File = createObject(&quot;java&quot;, &quot;coldfusion.util.MP3File&quot;).init(dir &amp; name)&gt;
		&lt;cfset minutes = #mp3file.getDuration()#&gt;
		&lt;cfset minutes = #numberformat(int(minutes/60),&quot;00&quot;)#&gt;
		&lt;cfset seconds = #mp3File.getDuration()# mod 60&gt;
		&lt;cfoutput&gt;
			artist: #mp3.getArtist()#&lt;br&gt;
			title: #mp3.getSongTitle()#&lt;br&gt;
			album: #mp3.getAlbumTitle()#&lt;br&gt;
			runtime : #minutes#':#numberformat(seconds,'00')#&quot;&lt;br&gt;
			bitrate: #mp3File.getBitRate()# kbps&lt;br&gt;
			genre: #mp3.getSongGenre()#&lt;br&gt;
			track: #mp3.getTrackNumber()#&lt;br&gt;
			year: #mp3.getYearReleased()#&lt;br&gt;
			frequency: #mp3File.getFrequency()# Hz
		&lt;/cfoutput&gt;
	&lt;cfcatch&gt;
		bad file &lt;cfoutput&gt;#cfcatch.message#&lt;/cfoutput&gt;
	&lt;/cfcatch&gt;
	&lt;/cftry&gt;
	&lt;hr&gt;
&lt;/cfloop&gt;
</pre>
<p>At this point it only reads files in a single directory and will not recursively check any subfolders. The output is pictured below:</p>
<div id="attachment_296" class="wp-caption aligncenter" style="width: 147px"><a href="http://coding.drewcorp.ca/wp-content/uploads/2009/10/mp3meta.jpg" rel="lightbox[290]"><img class="size-medium wp-image-296   " title="Output" src="http://coding.drewcorp.ca/wp-content/uploads/2009/10/mp3meta-137x300.jpg" alt="Pretty basic formatting so you get the idea" width="137" height="300" /></a><p class="wp-caption-text">Pretty basic formatting so you get the idea</p></div>
<p>I&#8217;m open to any suggestions on how to extend the class or code to include subfolders &#8211; obviously I derived most of the code based on the genius of others so I&#8217;m a bit hazy on how to take the ball and run with it. Another problem is the fact that the genre cranks out a genre code unless it&#8217;s a custom genre.  You&#8217;ll notice Styx and Toto both have a genre code of 17 in the image above. This corresponds to &#8220;Rock&#8221;, but for some reason It won&#8217;t show a string.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/coding/coldfusion/cftrycfcatch-with-database-response/" rel="bookmark" class="crp_title">cftry/cfcatch With Database Response</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/cfchart-experiment/" rel="bookmark" class="crp_title">CFCHART Experiment</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/applicationcfc-coldfusion-feature/" rel="bookmark" class="crp_title">Application.cfc ColdFusion Feature</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/form-submit-var-doesnt-exist-when-you-use-enter-key-to-submit-form/" rel="bookmark" class="crp_title">Form Submit Var Doesn&rsquo;t Exist When You Use Enter Key To Submit Form</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/bad-behaving-flash-form-when-using-mask-attribute-in-cfml/" rel="bookmark" class="crp_title">Bad Behaving Flash Form When Using Mask Attribute in CFML</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/coding/coldfusion/reading-info-from-mp3s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In San Diego</title>
		<link>http://coding.drewcorp.ca/news/in-san-diego/</link>
		<comments>http://coding.drewcorp.ca/news/in-san-diego/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 06:42:00 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/in-san-diego/</guid>
		<description><![CDATA[I arrived in San Diego safely this afternoon after a layover in Seattle. It’s been a long day since my son decided he needed to wake up at 5:30 this morning and potty and wouldn’t return to sleep. I’m staying in a Hilton and let me tell you, the thread-count on this bed is unbelievable.&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>I arrived in San Diego safely this afternoon after a layover in Seattle.</p>
<p>It’s been a long day since my son decided he needed to wake up at 5:30 this morning and potty and wouldn’t return to sleep.</p>
<p>I’m staying in a Hilton and let me tell you, the thread-count on this bed is unbelievable.&#160; So soft I can barely handle it. This room in general is pretty off-the-hook. I would post some pictures but I forgot my transfer cable back at home and the card is not compatible with my laptop.</p>
<p>I’ve forgotten about the size of American food portions. The layover in Seattle left us hungry so we made a quick stop at Burger King in the airport. The man asked me if I’d like a large drink, and my business partner quickly said to me “remember you’re in the states now”, which prompted me to ask for a medium. The man then presented a cup equivalent to the Super Big Gulp available at 7-11 (about a gallon). I then said I’d take a regular which is about the size of a Canadian large.</p>
<p>Not that I’m complaining. At least you get your money’s worth.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/business-trip/" rel="bookmark" class="crp_title">Business Trip</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/hello-world-page/" rel="bookmark" class="crp_title">Hello World Page</a></li><li><a href="http://coding.drewcorp.ca/games/wii/wii-punch-out/" rel="bookmark" class="crp_title">Wii Punch-Out!!</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/finding-coldfusionapache-hosting/" rel="bookmark" class="crp_title">Finding ColdFusion/Apache Hosting</a></li><li><a href="http://coding.drewcorp.ca/news/coldfusion-it-analyst/" rel="bookmark" class="crp_title">Coldfusion-&gt;IT Analyst</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/in-san-diego/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello World Page</title>
		<link>http://coding.drewcorp.ca/coding/coldfusion/hello-world-page/</link>
		<comments>http://coding.drewcorp.ca/coding/coldfusion/hello-world-page/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 06:31:00 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/hello-world-2/</guid>
		<description><![CDATA[I just created my first Hello World page in ColdFusion. This seems like a strange step backwards to me but firstly I had never made one before (again, because it was too simple to even bother), and I was trying to verify that my local ColdFusion environment was functioning properly. Just wiped my laptop again [...]]]></description>
			<content:encoded><![CDATA[<p>I just created my first Hello World page in ColdFusion. This seems like a strange step backwards to me but firstly I had never made one before (again, because it was too simple to even bother), and I was trying to verify that my local ColdFusion environment was functioning properly.</p>
<p>Just wiped my laptop again to prepare for my trip in the morning to San Diego.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/business-trip/" rel="bookmark" class="crp_title">Business Trip</a></li><li><a href="http://coding.drewcorp.ca/news/in-san-diego/" rel="bookmark" class="crp_title">In San Diego</a></li><li><a href="http://coding.drewcorp.ca/news/hello-world/" rel="bookmark" class="crp_title">Hello world!</a></li><li><a href="http://coding.drewcorp.ca/software/the-best-usb-applications-are-at-portableappscom/" rel="bookmark" class="crp_title">The Best USB Applications Are At PortableApps.com</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/applicationcfc-coldfusion-feature/" rel="bookmark" class="crp_title">Application.cfc ColdFusion Feature</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/coding/coldfusion/hello-world-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Develop In ColdFusion?</title>
		<link>http://coding.drewcorp.ca/coding/coldfusion/why-develop-in-coldfusion/</link>
		<comments>http://coding.drewcorp.ca/coding/coldfusion/why-develop-in-coldfusion/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 23:30:48 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/why-develop-in-coldfusion/</guid>
		<description><![CDATA[This is as much for my own posterity as for any readers who haven’t read it, John Whish’s “Why Use ColdFusion?” post. I’d like to keep this on record for any clients asking me the same question. Related Posts:Encouraging Comments Are Welcome!ColdFusion Jobs?&#8220;Teleporting&#8221; Between MacsComments &#8211; The Universal Blog CurrencyGenerating An iCalendar .ics File With [...]]]></description>
			<content:encoded><![CDATA[<p>This is as much for my own posterity as for any readers who haven’t read it, John Whish’s “<a href="http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/why-use-coldfusion--230" target="_blank">Why Use ColdFusion?</a>” post. I’d like to keep this on record for any clients asking me the same question.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/encouraging-comments-are-welcome/" rel="bookmark" class="crp_title">Encouraging Comments Are Welcome!</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/coldfusion-jobs/" rel="bookmark" class="crp_title">ColdFusion Jobs?</a></li><li><a href="http://coding.drewcorp.ca/software/teleporting-between-macs/" rel="bookmark" class="crp_title">&ldquo;Teleporting&rdquo; Between Macs</a></li><li><a href="http://coding.drewcorp.ca/news/comments-the-universal-blog-currency/" rel="bookmark" class="crp_title">Comments &ndash; The Universal Blog Currency</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/generating-an-icalendar-ics-file-with-coldfusion/" rel="bookmark" class="crp_title">Generating An iCalendar .ics File With ColdFusion</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/coding/coldfusion/why-develop-in-coldfusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Business Trip</title>
		<link>http://coding.drewcorp.ca/news/business-trip/</link>
		<comments>http://coding.drewcorp.ca/news/business-trip/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 18:41:09 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/business-trip/</guid>
		<description><![CDATA[It’s that time of year again, of particular importance this year due to the fact that business has been agonizingly slow for the last year, but has now picked up to the point that it has become necessary to travel south of the border. South of the Canadian border, that is. I’ll be spending a [...]]]></description>
			<content:encoded><![CDATA[<p>It’s that time of year again, of particular importance this year due to the fact that business has been agonizingly slow for the last year, but has now picked up to the point that it has become necessary to travel south of the border. South of the Canadian border, that is. I’ll be spending a week or so in a hotel in San Diego locked in a room with my two business partners while we hammer out some ideas on a gargantuan whiteboard.</p>
<p>I’ve had further opportunity to play with ColdFusion 8/9, but I haven’t discovered anything particularly noteworthy aside from finding that I suck at cfscript. I vastly prefer tag syntax, but I’ve done a bit of reading on it and it seems like something I’ll need to know, even though it is similar to JavaScript with I have a hate/hate relationship with.</p>
<p>I have enjoyed using ColdFusion Builder Beta. I don’t generally need “Live View” from Dreamweaver anymore – I am quite comfortable using a simple text editor so Dreamweaver comes across as a bit bloated at this point for my purposes. ColdFusion Builder has just what I need and it seems to do it well.</p>
<p>This last week has been prep work for a project that has been looming without funding for quite a long time (and has recently been funded). I fly to San Diego tomorrow morning and after that I suspect there will be plenty to write about; I only hope I have time to do so.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/holding-pattern/" rel="bookmark" class="crp_title">Holding Pattern</a></li><li><a href="http://coding.drewcorp.ca/news/in-san-diego/" rel="bookmark" class="crp_title">In San Diego</a></li><li><a href="http://coding.drewcorp.ca/news/back-in-business/" rel="bookmark" class="crp_title">Back In Business</a></li><li><a href="http://coding.drewcorp.ca/news/taking-a-break/" rel="bookmark" class="crp_title">Taking A Break</a></li><li><a href="http://coding.drewcorp.ca/news/september-update/" rel="bookmark" class="crp_title">September Update</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/business-trip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Results</title>
		<link>http://coding.drewcorp.ca/news/google-results/</link>
		<comments>http://coding.drewcorp.ca/news/google-results/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 18:17:51 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/google-results/</guid>
		<description><![CDATA[I just discovered I’m not even in the top 10 pages of Google results when searching my name.&#160; How disappointing. Will have to remedy this soon and crush all other Andrew McLeans in the way. Related Posts:Google MeWould you like to install Google Toolbar? Hell No!Form Submit Var Doesn&#8217;t Exist When You Use Enter Key [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered I’m not even in the top 10 pages of Google results when searching my name.&#160; How disappointing. Will have to remedy this soon and crush all other Andrew McLeans in the way.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/news/google-me/" rel="bookmark" class="crp_title">Google Me</a></li><li><a href="http://coding.drewcorp.ca/software/would-you-like-to-install-google-toolbar-hell-no/" rel="bookmark" class="crp_title">Would you like to install Google Toolbar? Hell No!</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/form-submit-var-doesnt-exist-when-you-use-enter-key-to-submit-form/" rel="bookmark" class="crp_title">Form Submit Var Doesn&rsquo;t Exist When You Use Enter Key To Submit Form</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/cfmap-issue-solved-by-the-coldfusion-jedi/" rel="bookmark" class="crp_title">CFMAP Issue Solved By The ColdFusion Jedi</a></li><li><a href="http://coding.drewcorp.ca/coding/mysql/sql-union/" rel="bookmark" class="crp_title">SQL UNION</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/news/google-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CFCHART Experiment</title>
		<link>http://coding.drewcorp.ca/coding/coldfusion/cfchart-experiment/</link>
		<comments>http://coding.drewcorp.ca/coding/coldfusion/cfchart-experiment/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 01:08:19 +0000</pubDate>
		<dc:creator>amclean</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://coding.drewcorp.ca/news/cfchart-experiment/</guid>
		<description><![CDATA[One of the projects I’m working on has a number of disk space requirements and I decided to play around with CFCHART to give me an “at-a-glance” idea how much space is left on the drive without having to go into the server backend. I mostly used tips from Ray Camden’s site here. Not much [...]]]></description>
			<content:encoded><![CDATA[<p>One of the projects I’m working on has a number of disk space requirements and I decided to play around with CFCHART to give me an “at-a-glance” idea how much space is left on the drive without having to go into the server backend. I mostly used tips from Ray Camden’s site <a href="http://www.coldfusionjedi.com/index.cfm/2007/8/21/Getting-the-space-available-on-a-hard-drive-partition" target="_blank">here</a>.</p>
<p>Not much to it – like I said, it’s just an experiment so I didn’t jazz it up at all, but it works.</p>
<pre class="brush: coldfusion;">
&lt;cfset fileOb = createObject(&quot;java&quot;, &quot;java.io.File&quot;).init(&quot;/&quot;)&gt;

&lt;cfset usable = #fileOb.getUsableSpace()#/1024/1024/1024&gt;
&lt;cfset total = #fileOb.getTotalSpace()#/1024/1024/1024&gt;

&lt;cfset used = total-usable&gt;

&lt;cfchart format=&quot;flash&quot; chartHeight = &quot;300&quot; chartWidth = &quot;600&quot; foregroundcolor=&quot;Blue&quot;&gt;
&lt;cfchartseries type=&quot;pie&quot; colorlist=&quot;blue,red&quot;&gt;
&lt;cfchartdata item = &quot;Available&quot; value = &quot;#round(usable)#&quot;&gt;
&lt;cfchartdata item = &quot;Used&quot; value = &quot;#round(used)#&quot;&gt;
&lt;/cfchartseries&gt;
&lt;/cfchart&gt;
</pre>
<p>I&#8217;m working off my laptop with a 220 GB partition, 60 of which is taken. It says 161 free because it&#8217;s rounding, but the numbers are essentially right. The repeated use of 1024 simply bumps the value up from bytes to kilobytes to megabytes to gigabytes. Everything else is pretty self-explanitory. Good thing Ray Camden is around because I never would have figured out that frst line for myself.</p>
<p><strong>Edit:</strong> In case anyone wonders, the first line in which I put &#8220;/&#8221; can be replaced with a specific drive such as &#8220;C:/&#8221; or &#8220;D:/&#8221; but I chose to use the webroot. Any linux path will also work.</p>
<div id="attachment_270" class="wp-caption aligncenter" style="width: 540px"><img class="size-full wp-image-270" title="Storage graph" src="http://coding.drewcorp.ca/wp-content/uploads/2009/08/Capture.JPG" alt="Storage graph" width="530" height="297" /><p class="wp-caption-text">Storage graph</p></div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://coding.drewcorp.ca/coding/coldfusion/reading-info-from-mp3s/" rel="bookmark" class="crp_title">Reading ID3 and MetaData From MP3s Using ColdFusion 8/9</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/cftrycfcatch-with-database-response/" rel="bookmark" class="crp_title">cftry/cfcatch With Database Response</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/form-submit-var-doesnt-exist-when-you-use-enter-key-to-submit-form/" rel="bookmark" class="crp_title">Form Submit Var Doesn&rsquo;t Exist When You Use Enter Key To Submit Form</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/bad-behaving-flash-form-when-using-mask-attribute-in-cfml/" rel="bookmark" class="crp_title">Bad Behaving Flash Form When Using Mask Attribute in CFML</a></li><li><a href="http://coding.drewcorp.ca/coding/coldfusion/applicationcfc-coldfusion-feature/" rel="bookmark" class="crp_title">Application.cfc ColdFusion Feature</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://coding.drewcorp.ca/coding/coldfusion/cfchart-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
