<?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>Ed The Dev .com &#187; Programming</title>
	<atom:link href="http://www.edthedev.com/topics/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edthedev.com</link>
	<description>Edward Delaporte&#039;s Technical Journal</description>
	<lastBuildDate>Sun, 05 Feb 2012 00:30:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>On becoming an expert</title>
		<link>http://www.edthedev.com/2011/on-becoming-an-expert/</link>
		<comments>http://www.edthedev.com/2011/on-becoming-an-expert/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 02:11:58 +0000</pubDate>
		<dc:creator>Edward Delaporte</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.edthedev.com/?p=11120</guid>
		<description><![CDATA[On becoming an expert (and creating stuff you want)]]></description>
			<content:encoded><![CDATA[<p><a href="http://prog21.dadgum.com/80.html">On becoming an expert (and creating stuff you want)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.edthedev.com/2011/on-becoming-an-expert/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming is a complicated yet noble profession</title>
		<link>http://www.edthedev.com/2011/programming-is-a-complicated-yet-noble-profession/</link>
		<comments>http://www.edthedev.com/2011/programming-is-a-complicated-yet-noble-profession/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 02:08:05 +0000</pubDate>
		<dc:creator>Edward Delaporte</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[quote]]></category>

		<guid isPermaLink="false">http://www.edthedev.com/?p=11156</guid>
		<description><![CDATA[&#8220;I have spent hundreds of thousands of dollars on software, tools, books, and equipment that tell me what I want to hear &#8212; that programming is a complicated yet noble profession which involves mastering lots of technical details and being plugged into the latest technology. But programming is helping people, not any of that stuff.&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;I have spent hundreds of thousands of dollars on software, tools, books, and equipment that tell me what I want to hear &#8212; that programming is a complicated yet noble profession which involves mastering lots of technical details and being plugged into the latest technology. But programming is helping people, not any of that stuff.&#8221; &#8211; <a href="http://www.whattofix.com/blog/archives/2011/02/programmer-as-m.php">Daniel B Markham</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.edthedev.com/2011/programming-is-a-complicated-yet-noble-profession/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Isolating python installations with virtualenv</title>
		<link>http://www.edthedev.com/2010/isolating-python-installations-with-virtualenv/</link>
		<comments>http://www.edthedev.com/2010/isolating-python-installations-with-virtualenv/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 14:47:51 +0000</pubDate>
		<dc:creator>Edward Delaporte</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Solutions]]></category>

		<guid isPermaLink="false">http://www.edthedev.com/?p=11130</guid>
		<description><![CDATA[I write code for linux servers with diverse packages. Python2.5 is no longer available in Ubuntu Lucid. Thankfully, Felix Krull is maintaining a repository:]]></description>
			<content:encoded><![CDATA[<p>I write code for linux servers with diverse packages. </p>

<p>Python2.5 is no longer available in Ubuntu Lucid.</p>

<p>Thankfully, Felix Krull is maintaining a repository:

<a href="https://launchpad.net/~fkrull/+archive/deadsnakes</p>&#8221; title=&#8221;https://launchpad.net/~fkrull/+archive/deadsnakes</p>&#8221; target=&#8221;_blank&#8221;>launchpad.net/~fkrull/+archive/deadsnakes</p></a>

<pre># Setuptools make installing VirtualEnv easier, so let's install it from the Debian package:
sudo apt-get install python-setuptools

#Next, grab VirtualEnv: <a href="http://pypi.python.org/pypi/virtualenv" title="http://pypi.python.org/pypi/virtualenv" target="_blank">pypi.python.org/pypi/virtualenv</a>
sudo easy_install virtualenv

#Now for some irony - we'll use setuptools to install 'pip', which is a nicer tool that does the same thing, but works better with virtualenv:
sudo easy_install pip

#Now we setup a project (named edthedev for example):
mkdir ~/projects
mkdir ~/virtualenv

# Create a Python2.5 virtual environment for the edthedev project
virtualenv --python=/usr/bin/python2.5 ~/virtualenv/edthedev

# Check out the project:
cd ~/projects
svn co <a href="http://svn.edthedev.com/projects/edthedev" title="http://svn.edthedev.com/projects/edthedev" target="_blank">svn.edthedev.com/projects/edthedev</a>

# Activate the virutalenv that we created for this project.
source ~/virtualenv/edthedev/bin/activate

# Try running the project
~/edthedev/bin/addJiraTicket --debug

# Look at that, we're missing some required packages... 
# so use pip to install it into our virtual environment.
pip install fpconst

# But one of our packages isn't available on pypi, 
# so we will install it directly from the online source tarball
pip install <a href="http://sourceforge.net/projects/pywebsvcs/files/SOAP.py/SOAPpy%200.11.0/SOAPpy-0.11.0.tar.gz/download" title="http://sourceforge.net/projects/pywebsvcs/files/SOAP.py/SOAPpy%200.11.0/SOAPpy-0.11.0.tar.gz/download" target="_blank">sourceforge.net/projects/pywebsvcs/files/SOAP.py/SOAPpy%200.11.0/SOAPpy-0.11.0.tar.gz/download</a>

# Repeat the previous few steps until your program runs properly inside the virtual environment.
~/edthedev/bin/addJiraTicket --debug

# We will save a REQUIREMENTS.txt file to include with our project to make things easier for the next user.
pip freeze > REQUIREMENTS.txt</pre>

<p>Check out the contents of REQUIREMENTS.txt, and notice that it includes every package we&#8217;ve installed to get our virtual environment working, inluding the exact package version. You may want to change the &#8216;==&#8217; signs to &#8216;>=&#8217; if you trust your dependencies to maintain backward compatibility.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edthedev.com/2010/isolating-python-installations-with-virtualenv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Readme driven development</title>
		<link>http://www.edthedev.com/2010/readme-driven-development/</link>
		<comments>http://www.edthedev.com/2010/readme-driven-development/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 20:49:30 +0000</pubDate>
		<dc:creator>Edward Delaporte</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.edthedev.com/?p=11108</guid>
		<description><![CDATA[Tom Preston-Werner advocates for Readme Driven Development. Points worth highlighting: &#8220;If you&#8217;re working with a team of developers you get even more mileage out of your Readme. If everyone else on the team has access to this information before you&#8217;ve completed the project, then they can confidently start work on other projects that will interface [...]]]></description>
			<content:encoded><![CDATA[<p>Tom Preston-Werner advocates for <a href="http://tom.preston-werner.com/2010/08/23/readme-driven-development.html">Readme Driven Development</a>.</p>

<p>Points worth highlighting: </p>

<p>&#8220;If you&#8217;re working with a team of developers you get even more mileage out of your Readme. If everyone else on the team has access to this information before you&#8217;ve completed the project, then they can confidently start work on other projects that will interface with your code. Without any sort of defined interface, you have to code in serial or face reimplementing large portions of code.&#8221;</p>

<p>And most importantly, &#8220;It&#8217;s a lot simpler to have a discussion based on something written down. It&#8217;s easy to talk endlessly and in circles about a problem if nothing is ever put to text. The simple act of writing down a proposed solution means everyone has a concrete idea that can be argued about and iterated upon.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edthedev.com/2010/readme-driven-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deployment first development</title>
		<link>http://www.edthedev.com/2010/deployment-first-development/</link>
		<comments>http://www.edthedev.com/2010/deployment-first-development/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 16:52:13 +0000</pubDate>
		<dc:creator>Edward Delaporte</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Solutions]]></category>

		<guid isPermaLink="false">http://www.edthedev.com/?p=11100</guid>
		<description><![CDATA[This is a very cool article that encourages us to face our worst fears: packaging and deploying]]></description>
			<content:encoded><![CDATA[<p>This is <a href="http://jaybill.com/2010/08/17/deployment-first-development/">a very cool article that encourages us to face our worst fears</a>: packaging and deploying</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edthedev.com/2010/deployment-first-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Live long and code well</title>
		<link>http://www.edthedev.com/2010/live-long-and-code-well/</link>
		<comments>http://www.edthedev.com/2010/live-long-and-code-well/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 14:53:03 +0000</pubDate>
		<dc:creator>Edward Delaporte</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Solutions]]></category>

		<guid isPermaLink="false">http://www.edthedev.com/?p=11098</guid>
		<description><![CDATA[Zed Shaw gives advice on staying healthy as a programmer.]]></description>
			<content:encoded><![CDATA[<p>Zed Shaw gives advice on <a href="http://sheddingbikes.com/posts/1281257293.html">staying healthy as a programmer</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edthedev.com/2010/live-long-and-code-well/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool People: Geoffrey K. Pullum</title>
		<link>http://www.edthedev.com/2010/how-dr-seuss-would-teach-the-halting-problem/</link>
		<comments>http://www.edthedev.com/2010/how-dr-seuss-would-teach-the-halting-problem/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 00:05:08 +0000</pubDate>
		<dc:creator>Edward Delaporte</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.edthedev.com/?p=10948</guid>
		<description><![CDATA[In a feat of awesome nerd-ness, Geoffrey K. Pullum wrote the Computability Theory Halting Problem described in Dr. Seuss style.]]></description>
			<content:encoded><![CDATA[<p>In a feat of awesome nerd-ness, <a href="http://ling.ed.ac.uk/~gpullum/index.html">Geoffrey K. Pullum</a>
wrote the <a href="http://en.wikipedia.org/wiki/Halting_problem">Computability Theory Halting Problem</a> <a href="http://ebiquity.umbc.edu/blogger/2008/01/19/how-dr-suess-would-prove-the-halting-problem-undecidable/">described in Dr. Seuss style</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edthedev.com/2010/how-dr-seuss-would-teach-the-halting-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Favorite Vim commands</title>
		<link>http://www.edthedev.com/2010/favorite-vim-commands/</link>
		<comments>http://www.edthedev.com/2010/favorite-vim-commands/#comments</comments>
		<pubDate>Sat, 29 May 2010 20:44:39 +0000</pubDate>
		<dc:creator>Edward Delaporte</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.edthedev.com/?p=11020</guid>
		<description><![CDATA[:!python % Run the current file in Python :% s/regex/replacement/g Replace every instance of the regex with the given expression. :! svn ci % Check the current file into SVN version control. ESC 77 G i Jump to line 77 in the file, then return to edit mode. ESC $ i Jump to end of [...]]]></description>
			<content:encoded><![CDATA[<dl>
<dt> :!python % </dt>
<dd> Run the current file in Python </dd>
<dt> :% s/regex/replacement/g </dt>
<dd> Replace every instance of the regex with the given expression. </dd>
<dt> :! svn ci %</dt>
<dd> Check the current file into SVN version control.</dd>
<dt> ESC 77 G i</dt>
<dd> Jump to line 77 in the file, then return to edit mode. <dd>
<dt> ESC $ i</dt>
<dd> Jump to end of line, then return to edit mode.</dd>
<dt> ESC A</dt>
<dd>Start editing at the end of the current line.</dd>
</dl>

<p><a href="http://www.worldtimzone.com/res/vi.html">More great vim commands.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.edthedev.com/2010/favorite-vim-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Programming Jargon</title>
		<link>http://www.edthedev.com/2010/new-programming-jargon/</link>
		<comments>http://www.edthedev.com/2010/new-programming-jargon/#comments</comments>
		<pubDate>Sat, 15 May 2010 07:03:57 +0000</pubDate>
		<dc:creator>Edward Delaporte</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.edthedev.com/?p=10950</guid>
		<description><![CDATA[GlobalNerdy.com has declared a new list of programming jargon. Color me amused.]]></description>
			<content:encoded><![CDATA[<p>GlobalNerdy.com has declared a new list of <a href="http://www.globalnerdy.com/2010/05/09/new-programming-jargon/">programming jargon</a>. Color me amused.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edthedev.com/2010/new-programming-jargon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Background noise for programming</title>
		<link>http://www.edthedev.com/2010/background-noise-for-programming/</link>
		<comments>http://www.edthedev.com/2010/background-noise-for-programming/#comments</comments>
		<pubDate>Sat, 15 May 2010 07:01:33 +0000</pubDate>
		<dc:creator>Edward Delaporte</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Solutions]]></category>

		<guid isPermaLink="false">http://www.edthedev.com/?p=10964</guid>
		<description><![CDATA[It&#8217;s a lot easier to write software in a noise-free environment, or predictable consistent background noise. A good set of headphones is a must, and an iPod application or two can be really handy. White Noise by TMSoft is currently my favorite. Their boat rocking, railroad tracks bumps and various types of rain are great [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a lot easier to write software in a noise-free environment, or predictable consistent background noise. A good set of headphones is a must, and an iPod application or two can be really handy.</p>

<p><a href="http://www.tmsoft.com/iphone-whitenoise.html">White Noise</a> by TMSoft is currently my favorite. Their boat rocking, railroad tracks bumps and various types of rain are great for relaxing just the right amount.</p>

<p>I also highly recommend the &#8216;Pirates of the Caribbean&#8217; movie sound track, and just about anything composed by John Williams.</p>

<p>Update: My friend Rob pointed me to the incredibly awesome <a href="http://www.trancearoundtheworld.com/">Trance Around the World Podcast</a>. Highly recommended.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edthedev.com/2010/background-noise-for-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

