<?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>cdevroe.com &#187; code</title>
	<atom:link href="http://cdevroe.com/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://cdevroe.com</link>
	<description>by Colin Devroe</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:49:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>	<atom:link rel='hub' href='http://cdevroe.com/?pushpress=hub'/>
<cloud domain='cdevroe.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>My words in Hacker Monthly</title>
		<link>http://cdevroe.com/links/may-hacker-monthly/</link>
		<comments>http://cdevroe.com/links/may-hacker-monthly/#comments</comments>
		<pubDate>Mon, 16 May 2011 15:39:53 +0000</pubDate>
		<dc:creator>Colin Devroe</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[hacker monthly]]></category>
		<category><![CDATA[may]]></category>
		<category><![CDATA[permission]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[published]]></category>

		<guid isPermaLink="false">http://cdevroe.com/?p=4797</guid>
		<description><![CDATA[My words have been in print before (and several other times that I&#8217;ve never taken the time to jot down on my blog, sorry). Well, it has happened again. In the May issue of Hacker Monthly my piece Why you should never ask permission to clean up code (which has received over a quarter-of-a-million views to-date) [...]]]></description>
			<content:encoded><![CDATA[<p>My words have been <a href="http://cdevroe.com/notes/published/">in print before</a> (and several other times that I&#8217;ve never taken the time to jot down on my blog, sorry). Well, it has happened again.</p>
<p><a href="http://hackermonthly.com/issue-12.html"><img class="alignnone size-full wp-image-4798" title="Hacker Monthly - May Issue - Page 40" src="http://cdevroe.com/wp-content/mobile/photos/2011/05/hackermonthly-issue12.pdf-page-40-of-42.jpg" alt="" width="640" /></a></p>
<p>In <a href="http://hackermonthly.com/issue-12.html">the May issue</a> of <a href="http://hackermonthly.com/">Hacker Monthly</a> my piece <em><a href="http://cdevroe.com/notes/code-maintenance-dont-ask/">Why you should never ask permission to clean up code</a></em> (which has received over a quarter-of-a-million views to-date) was published and I&#8217;m extremely grateful to the Hacker Monthly team for their consideration.</p>
<p>I highly recommend picking up a subscription to Hacker Monthly (if you don&#8217;t already have one shame on you).</p>
]]></content:encoded>
			<wfw:commentRss>http://cdevroe.com/links/may-hacker-monthly/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why you should never ask permission to clean up code</title>
		<link>http://cdevroe.com/notes/code-maintenance-dont-ask/</link>
		<comments>http://cdevroe.com/notes/code-maintenance-dont-ask/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 12:35:48 +0000</pubDate>
		<dc:creator>Colin Devroe</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[questions]]></category>

		<guid isPermaLink="false">http://cdevroe.com/?p=4672</guid>
		<description><![CDATA[&#8220;Can I take some time to clean up this code? It is horrendous.&#8221; The answer should always be yes to this question. However, often times we find ourselves up against walls in the form of budgets, time, due dates and expectation and so the typical &#8220;powers that be&#8221; at companies often veto the request. My [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p><img class="alignnone size-full wp-image-4675" title="Table at Panera" src="http://cdevroe.com/wp-content/mobile/photos/2011/03/2202482306_14aff0ea6a_z.jpg" alt="" width="640" height="480" /></p>
<p>&#8220;Can I take some time to clean up this code? It is horrendous.&#8221; The answer should always be yes to this question. However, often times we find ourselves up against walls in the form of budgets, time, due dates and expectation and so the typical &#8220;powers that be&#8221; at companies often veto the request. My advice to you, dear developer, is to never ask for permission for things you know are vital to your work.</p>
<p>You know your work environment better than I do so perhaps you can ask this question and immediately have the full support of your team. Sad to say that many aren&#8217;t so fortunate. They&#8217;ll ask their boss if they can take some time to clean up their code, make it efficient and extensible and, while the boss may recognize the need for such tasks, ultimately the boss will simply say &#8220;maybe we can do that later&#8221;.</p>
<p>Why is this the typical reaction? Because bosses don&#8217;t have to read, edit and support the code.</p>
<p>This is folly and every developer knows it. Bosses, (if you&#8217;re reading this) putting off a few hours worth of code clean-up now will only turn into many hours or days in the future. So by allowing your developers time to do this much needed code maintenance you&#8217;re actually saving your company money. But don&#8217;t worry &#8211; they&#8217;re not going to ask you for permission anymore. They&#8217;re just going to do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://cdevroe.com/notes/code-maintenance-dont-ask/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ColorADD &#8211; The color identification system for the color blind</title>
		<link>http://cdevroe.com/links/coloradd/</link>
		<comments>http://cdevroe.com/links/coloradd/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 14:33:47 +0000</pubDate>
		<dc:creator>Colin Devroe</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[color blind]]></category>
		<category><![CDATA[coloradd]]></category>
		<category><![CDATA[languages]]></category>

		<guid isPermaLink="false">http://cdevroe.com/?p=3608</guid>
		<description><![CDATA[This is pretty great and something I&#8217;ve never seen before. The ColorADD System is a system of &#8216;codes&#8217; that can be used to identify colors for people that are color blind. By knowing each color&#8217;s specific code, as well as a particular syntax, the person can discern just about any color in the spectrum. /via [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://cdevroe.com/wp-content/mobile/photos/2010/01/CODIGO.jpeg"><img class="alignnone size-full wp-image-3609" title="ColorADD System" src="http://cdevroe.com/wp-content/mobile/photos/2010/01/CODIGO.jpeg" alt="" width="472" height="129" /></a></p>
<p>This is pretty great and something I&#8217;ve never seen before. <a href="http://coloradd.net/codigo%20EN.htm">The ColorADD System</a> is a system of &#8216;codes&#8217; that can be used to identify colors for people that are color blind. By knowing each color&#8217;s specific code, as well as a particular syntax, the person can discern just about any color in the spectrum.</p>
<p>/via <a href="http://www.colourlovers.com/blog/2010/01/18/color-identifying-system-for-the-color-blind/">Colour Lovers</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cdevroe.com/links/coloradd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powncing your Flickr photos automagically</title>
		<link>http://cdevroe.com/notes/pownce-flickr/</link>
		<comments>http://cdevroe.com/notes/pownce-flickr/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 04:00:59 +0000</pubDate>
		<dc:creator>Colin Devroe</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[pownce]]></category>

		<guid isPermaLink="false">http://cdevroe.com/notes/pownce-flickr/</guid>
		<description><![CDATA[Introducing a free PHP script that will automatically post your Flickr photos to Pownce.  I'm calling this little baby Powncer.]]></description>
			<content:encoded><![CDATA[<p><span class="firstletter">T</span>he moment I saw how <a href="http://pownce.com/">Pownce</a> handled links to <a href="http://flickr.com/">Flickr</a> photos (here is <a href="http://pownce.com/cdevroe/notes/1434015/">my first Flickr photo that I Pownced</a>) I knew I had to modify <a href="http://blog.mozmonkey.com/2008/flickr-twitter-mashup-twickr/">a script that I found</a> and had modified for <a href="http://twitter.com/">Twitter</a>. The script would automatically &#8220;tweet&#8221; when I posted a photo to Flickr <a href="http://cdevroe.com/notes/mobile-photos/">using my iPhone</a>.</p>
<p>The script isn&#8217;t anything special mind you, all it does it &#8220;watch&#8221; any Flickr feed for new entries.  To be more precise, my server runs this script every 15 minutes and checks for new photos, when there is one, it creates a <a href="http://tinyurl.com/">TinyURL</a> and posts it to Twitter (<a href="http://twitter.com/cdevroe/statuses/767301066">like this</a>).</p>
<p>But I wanted this to work for Pownce.</p>
<p>I immediately dove head first into <a href="http://pownce.com/api/">Pownce&#8217;s API</a> only to find out that the API didn&#8217;t allow posting anything.  I thought my Powncing days were over until, out of some crazy stroke of coincidence, I read an article on <a href="http://techcrunch.com/">TechCrunch</a> that said <a href="http://www.techcrunch.com/2008/02/27/pownce-to-release-more-complete-api-this-friday/">Pownce was due to release a new version of their API</a> <em>the very next day</em>.  Turns out, I didn&#8217;t even have to wait that long and the Pownce wiki was updated to include <a href="http://pownce.pbwiki.com/API%20Documentation2-0">documentation for version 2 of their API</a>.</p>
<p>Without blinking an eye I finished my script, grabbed myself an app_key, and <a href="http://pownce.com/cdevroe/notes/1436699/">Pownced the script</a> (you&#8217;ll need to be logged in, and <a href="http://pownce.com/cdevroe/">be my Pownce friend</a> to see this Pownce message).  Once I figured out that I couldn&#8217;t Pownce a file to the general public, I knew I had to find some time to write this post.</p>
<p>Since then I read that <a href="http://scripting.com/">Dave Winer</a> also enjoys the way <a href="http://www.scripting.com/stories/2008/03/01/theVerdictIsInThePownceApi.html">Pownce shows links to Flickr photos</a> and that he is running a similar script.  So I thought I&#8217;d put this out for everyone to use.</p>
<h3>Powncer!</h3>
<p>Enough beating around the bush, you can <a href="http://chancecube.com/files/powncer.zip">download the script here</a> which includes an XML parser for ripping through Flickr&#8217;s RSS feed.  You&#8217;ll need to edit the first few lines of powncer.php for it to work, so this isn&#8217;t your run-of-the-mill plug-and-play type script, unfortunately, but for the PHP savvy of you, you should be able to get it up and running pretty easily.  If you need help getting it setup, just ask in the comments.</p>
<p>I run this script here on cdevroe.com every 15 minutes using cron.  You may run it however you&#8217;d like.</p>
]]></content:encoded>
			<wfw:commentRss>http://cdevroe.com/notes/pownce-flickr/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

