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

<channel>
	<title>thirstymind.org</title>
	<atom:link href="http://www.thirstymind.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thirstymind.org</link>
	<description>andrew watts' weblog</description>
	<pubDate>Tue, 12 Aug 2008 18:38:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Installing IPython on OS X</title>
		<link>http://www.thirstymind.org/2008/08/12/installing-ipython-on-os-x/</link>
		<comments>http://www.thirstymind.org/2008/08/12/installing-ipython-on-os-x/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 18:38:50 +0000</pubDate>
		<dc:creator>Andrew Watts</dc:creator>
		
		<category><![CDATA[programming]]></category>

		<category><![CDATA[IPython]]></category>

		<category><![CDATA[Leopard]]></category>

		<category><![CDATA[OS X]]></category>

		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.thirstymind.org/?p=384</guid>
		<description><![CDATA[With my recent python education, I have reached a point where the python interpreter in interactive mode isn&#8217;t meeting my needs anymore.
After looking around for alternatives, it looks like IPython will be a good upgrade.  But one problem, the installation documentation was way too verbose and complex, so I&#8217;ve tried to simplify it here:
1. [...]]]></description>
			<content:encoded><![CDATA[<p>With my recent python education, I have reached a point where the python interpreter in interactive mode isn&#8217;t meeting my needs anymore.</p>
<p>After looking around for alternatives, it looks like <a href="http://ipython.scipy.org/moin/">IPython</a> will be a good upgrade.  But one problem, the installation documentation was way too verbose and complex, so I&#8217;ve tried to simplify it here:</p>
<p>1.  Install readline &#8212; you need readline to use all the fancy command line edit features, like advanced history and auto completion.  You need to install a new version because apparently the version shipped with OS X will not work properly with IPython.  Luckily for you there is already a pre-built version for download and you just need to put in /Library/Python/2.5/site-packages.</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">$ <span class="kw3">cd</span> <span class="sy0">/</span>Library<span class="sy0">/</span>Python<span class="sy0">/</span><span class="nu0">2.5</span><span class="sy0">/</span>site-packages</div>
</li>
<li class="li1">
<div class="de1">$ curl -O http:<span class="sy0">//</span>ipython.scipy.org<span class="sy0">/</span>dist<span class="sy0">/</span>readline<span class="nu0">-2.5</span><span class="nu0">.1</span>-py2<span class="nu0">.5</span>-macosx<span class="nu0">-10.5</span>-i386.egg</div>
</li>
</ol>
</div>
<p>2. Install IPython &#8212; Obviously, you&#8217;ll need to build and install this, luckily it is not hard.</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">$ curl -O http:<span class="sy0">//</span>ipython.scipy.org<span class="sy0">/</span>dist<span class="sy0">/</span>ipython<span class="nu0">-0.8</span><span class="nu0">.4</span>.<span class="kw2">tar</span>.gz</div>
</li>
<li class="li1">
<div class="de1">$ <span class="kw2">tar</span> -xvzf ipython<span class="nu0">-0.8</span><span class="nu0">.4</span>.<span class="kw2">tar</span>.gz</div>
</li>
<li class="li1">
<div class="de1">$ <span class="kw3">cd</span> ipython<span class="nu0">-0.8</span><span class="nu0">.4</span></div>
</li>
<li class="li1">
<div class="de1">$ python setup.py build</div>
</li>
<li class="li1">
<div class="de1">$ <span class="kw2">sudo</span> python setup.py <span class="kw2">install</span></div>
</li>
<li class="li1">
<div class="de1">password:</div>
</li>
</ol>
</div>
<p>Now if you are like me, you may wonder what just happened, run the following commands to check out the installation:</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">$ <span class="kw2">ls</span> -l <span class="sy0">/</span>Library<span class="sy0">/</span>Python2<span class="nu0">.5</span><span class="sy0">/</span>site-packages <span class="sy0">|</span> <span class="kw2">grep</span> -i ipython</div>
</li>
<li class="li1">
<div class="de1">$ <span class="kw2">ls</span> -l <span class="sy0">/</span>usr<span class="sy0">/</span><span class="kw3">local</span><span class="sy0">/</span>bin<span class="sy0">/</span>ipython</div>
</li>
<li class="li1">
<div class="de1">$ <span class="kw2">ls</span> -l <span class="sy0">/</span>usr<span class="sy0">/</span><span class="kw3">local</span><span class="sy0">/</span>bin<span class="sy0">/</span>irunner</div>
</li>
<li class="li1">
<div class="de1">$ <span class="kw2">ls</span> -l <span class="sy0">/</span>usr<span class="sy0">/</span><span class="kw3">local</span><span class="sy0">/</span>bin<span class="sy0">/</span>pycolor</div>
</li>
<li class="li1">
<div class="de1">$ <span class="kw2">ls</span> -l <span class="sy0">/</span>System<span class="sy0">/</span>Library<span class="sy0">/</span>Frameworks<span class="sy0">/</span>Python.framework<span class="sy0">/</span>Versions<span class="sy0">/</span><span class="nu0">2.5</span><span class="sy0">/</span>share<span class="sy0">/</span>doc<span class="sy0">/</span>ipython</div>
</li>
<li class="li1">
<div class="de1">$ <span class="kw2">ls</span> -lrt <span class="sy0">/</span>System<span class="sy0">/</span>Library<span class="sy0">/</span>Frameworks<span class="sy0">/</span>Python.framework<span class="sy0">/</span>Versions<span class="sy0">/</span><span class="nu0">2.5</span><span class="sy0">/</span>share<span class="sy0">/</span><span class="kw2">man</span><span class="sy0">/</span>man1</div>
</li>
</ol>
</div>
<p>Finally go test it out and have fun:</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">$ ipython</div>
</li>
</ol>
</div>
<p>For more information view the <a href="http://ipython.scipy.org/doc/manual/ipython.html">Official IPython Documentation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thirstymind.org/2008/08/12/installing-ipython-on-os-x/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fixing twitterrific&#8217;s iphone lat lon cryptography the hard way</title>
		<link>http://www.thirstymind.org/2008/08/03/fixing-twitterrifics-iphone-lat-lon-cryptography-the-hard-way/</link>
		<comments>http://www.thirstymind.org/2008/08/03/fixing-twitterrifics-iphone-lat-lon-cryptography-the-hard-way/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 00:10:18 +0000</pubDate>
		<dc:creator>Andrew Watts</dc:creator>
		
		<category><![CDATA[apple]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[greasemonkey]]></category>

		<category><![CDATA[twitterrific]]></category>

		<guid isPermaLink="false">http://www.thirstymind.org/?p=381</guid>
		<description><![CDATA[Twitterrific&#8217;s iPhone App updates your location on twitter using the twitter api.  This is fine and dandy but the problem is that it updates with the actual latitude and longitude that (I assume) comes from the iphone api.
So, since most people simply just want to know where you are without hurting their heads doing [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://iconfactory.com/software/twitterrific">Twitterrific&#8217;s iPhone App</a> updates your location on twitter using the <a href="http://groups.google.com/group/twitter-development-talk/web/api-documentation#AccountMethods">twitter api</a>.  This is fine and dandy but the problem is that it updates with the actual latitude and longitude that (I assume) comes from the iphone api.</p>
<p>So, since most people simply just want to know where you are without hurting their heads doing a reverse geocode,  I have created a <a href="https://addons.mozilla.org/en-US/firefox/addon/748">greasemonkey</a> user script to help them out.  </p>
<p><em>It takes a twitterrific created location that says &#8220;iPhone: 40.733956,-73.992789&#8243; and turns it into &#8220;New York, New York, US&#8221;</em></p>
<p>If you have greasemonkey installed, all you need to do is <a href="http://www.thirstymind.org/playpen/js/twitter-latlon2address/twitter-latlon2address.user.js" alt="twitter-latlon2address.user.js">download and install this user script</a> and you will be set.  If you don&#8217;t have greasemonkey, then you will need to obviously install it first and revisit this page to download the user script.</p>
<p>Hopefully one day the twitterrific iphone app will do this automatically so this script is not needed, but until then, I hope this helps some people out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thirstymind.org/2008/08/03/fixing-twitterrifics-iphone-lat-lon-cryptography-the-hard-way/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Brief Thoughts on PyOhio</title>
		<link>http://www.thirstymind.org/2008/08/02/brief-thoughts-on-pyohio/</link>
		<comments>http://www.thirstymind.org/2008/08/02/brief-thoughts-on-pyohio/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 18:31:12 +0000</pubDate>
		<dc:creator>Andrew Watts</dc:creator>
		
		<category><![CDATA[programming]]></category>

		<category><![CDATA[conference]]></category>

		<category><![CDATA[pyohio]]></category>

		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.thirstymind.org/?p=379</guid>
		<description><![CDATA[Last Saturday I attended PyOhio in Columbus and I wanted to write a few words before too much time went by.  I went for a couple reasons, mainly because I have just begun learning about python and have made it about half way through Mark Lutz&#8217;s Learning Python, so I was hoping to get [...]]]></description>
			<content:encoded><![CDATA[<p>Last Saturday I attended <a href="http://www.pyohio.org/">PyOhio</a> in Columbus and I wanted to write a few words before too much time went by.  I went for a couple reasons, mainly because I have just begun learning about python and have made it about half way through Mark Lutz&#8217;s <a href="http://www.amazon.com/Learning-Python-3rd-Mark-Lutz/dp/0596513984/ref=pd_bbs_sr_1?ie=UTF8&#038;s=books&#038;qid=1217700828&#038;sr=8-1">Learning Python</a>, so I was hoping to get some real world examples and learn more about the language.  Another reason I went, is that I haven&#8217;t been to a tech conference in a while and you learn so many new things when you go to these types of events to see what other geeks are up to.</p>
<p>2 talks stick out in my mind.</p>
<p>First the &#8220;<a href="http://scratch.tplus1.com/decoratortalk/">Decorators Are Fun</a>&#8221; discussion by <a href="http://blog.tplus1.com/">Matthew Wilson</a> was easily the most enjoyable discussion for me.  Obviously, he demonstrated python decorators, which allow you to dynamically modify functions without actually changing the function.  Decorators are not totally unlike AOP or java annotations and it was interesting to see python examples.  If there was a downside, it was that his presentation was a little too fast, when you start nesting functions and talking about functions that modify other functions, it gets a little hairy especially if you are new to the concept.  But it also makes a ton of sense once you get the hang of it.</p>
<p>The second talk I really enjoyed was <a href="http://blog.extracheese.org/">Gary Bernhardt&#8217;s</a> Talking to the Web with Python.  During the talk Gary demonstrated 2 python modules, <a href="http://www.crummy.com/software/BeautifulSoup/">Beautiful Soup</a> and <a href="http://www.feedparser.org/">Universal Feed Parser</a>, for parsing html &#038; xml.  I enjoyed this because he provided some very practical examples (eg: parse a webpage for links) of things you may want to do with parsing web pages or syndication feeds.  He even showed a simple web crawler in about 8 lines of code, using these modules.  Plus Gary had the first talk of the day, which is tough, but he brought a lot of energy to the discussion and kept me focused on his talk, which was good since I was up until 4:30 the night before and the red bull hadn&#8217;t kicked in yet.</p>
<p>All in all it was a good day and I am glad I went, I don&#8217;t know that I have ever been so excited to learn a new programming language, there is something about python that just clicks in my head, it makes a ton of sense to me.  Back in college the president of ACM tried to get me to learn it, but I didn&#8217;t listen, not sure why it has taken me 7 years to dig in.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thirstymind.org/2008/08/02/brief-thoughts-on-pyohio/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Photos from NYC &#038; Yankee Stadium</title>
		<link>http://www.thirstymind.org/2008/07/27/phots-from-nyc-yankee-stadium/</link>
		<comments>http://www.thirstymind.org/2008/07/27/phots-from-nyc-yankee-stadium/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 02:14:21 +0000</pubDate>
		<dc:creator>Andrew Watts</dc:creator>
		
		<category><![CDATA[life]]></category>

		<category><![CDATA[photography]]></category>

		<category><![CDATA[baseball]]></category>

		<category><![CDATA[new york]]></category>

		<category><![CDATA[yankees]]></category>

		<guid isPermaLink="false">http://www.thirstymind.org/2008/07/27/phots-from-nyc-yankee-stadium/</guid>
		<description><![CDATA[Last weekend I went to NYC with Tommy and Birddog to see Yankee Stadium.  It was a great trip.  And I am just now getting around to posting the photos, complete with smudges and all.  Enjoy!




]]></description>
			<content:encoded><![CDATA[<p>Last weekend I went to NYC with <a href="http://blog.squirrelfish.org">Tommy</a> and <a href="http://tmarthal.blogspot.com">Birddog</a> to see Yankee Stadium.  It was a great trip.  And I am just now getting around to posting the photos, complete with smudges and all.  Enjoy!</p>
<div align="center">
<a href="http://flickr.com/photos/dandrewwatts/sets/72157606407013440/" title=""><img src="http://farm4.static.flickr.com/3264/2708164277_1b63525699_m.jpg" alt="" style="border: none;" /></a><br />

</div>
]]></content:encoded>
			<wfw:commentRss>http://www.thirstymind.org/2008/07/27/phots-from-nyc-yankee-stadium/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AccessGrid.org</title>
		<link>http://www.thirstymind.org/2008/07/27/accessgridorg/</link>
		<comments>http://www.thirstymind.org/2008/07/27/accessgridorg/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 21:24:52 +0000</pubDate>
		<dc:creator>Andrew Watts</dc:creator>
		
		<category><![CDATA[tumble]]></category>

		<guid isPermaLink="false">http://www.thirstymind.org/?p=377</guid>
		<description><![CDATA[AccessGrid.org:
I learned about this yesterday at pyohio and it sounds pretty dope, i think some former co-workers would probably be interested in it.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.accessgrid.org/home">AccessGrid.org</a>:<br />
I learned about this yesterday at pyohio and it sounds pretty dope, i think some former co-workers would probably be interested in it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thirstymind.org/2008/07/27/accessgridorg/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flickr Find: Pinewood derby iPhone</title>
		<link>http://www.thirstymind.org/2008/07/24/flickr-find-pinewood-derby-iphone/</link>
		<comments>http://www.thirstymind.org/2008/07/24/flickr-find-pinewood-derby-iphone/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 03:59:34 +0000</pubDate>
		<dc:creator>Andrew Watts</dc:creator>
		
		<category><![CDATA[tumble]]></category>

		<guid isPermaLink="false">http://www.thirstymind.org/?p=375</guid>
		<description><![CDATA[Flickr Find: Pinewood derby iPhone:  So there are 2 things to note here: 1. this was in columbus and more importantly 2. whoever built the blue car on the right, they stole my design from 20 years ago.
Actually I remember the pinewood derby quite distinctly from my youth, my dad and I stayed up [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tuaw.com/2008/07/24/flickr-find-pinewood-derby-iphone/">Flickr Find: Pinewood derby iPhone</a>:  So there are 2 things to note here: 1. this was in columbus and more importantly 2. whoever built the blue car on the right, they stole my design from 20 years ago.<br />
Actually I remember the pinewood derby quite distinctly from my youth, my dad and I stayed up all night and built 2 cars, both very similar to that one on the right.  And it is a sweet design if your goal is to win, which I did.  But you need to leave off the decals they slow the car down.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thirstymind.org/2008/07/24/flickr-find-pinewood-derby-iphone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Schneier on Security: Anti-Terrorism Stupidity at Yankee Stadium</title>
		<link>http://www.thirstymind.org/2008/07/24/schneier-on-security-anti-terrorism-stupidity-at-yankee-stadium/</link>
		<comments>http://www.thirstymind.org/2008/07/24/schneier-on-security-anti-terrorism-stupidity-at-yankee-stadium/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 13:42:13 +0000</pubDate>
		<dc:creator>Andrew Watts</dc:creator>
		
		<category><![CDATA[tumble]]></category>

		<guid isPermaLink="false">http://www.thirstymind.org/?p=374</guid>
		<description><![CDATA[Schneier on Security: Anti-Terrorism Stupidity at Yankee Stadium: I took sunscreen into yankee stadium on Saturday and no one said anything, people you just need to put the sunscreen in your pockets, not your bags. think, people, think.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.schneier.com/blog/archives/2008/07/antiterrorism_s.html">Schneier on Security: Anti-Terrorism Stupidity at Yankee Stadium</a>: I took sunscreen into yankee stadium on Saturday and no one said anything, people you just need to put the sunscreen in your pockets, not your bags. think, people, think.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thirstymind.org/2008/07/24/schneier-on-security-anti-terrorism-stupidity-at-yankee-stadium/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tracking iPhone 3g Retail Stock</title>
		<link>http://www.thirstymind.org/2008/07/23/tracking-iphone-3g-retail-stock/</link>
		<comments>http://www.thirstymind.org/2008/07/23/tracking-iphone-3g-retail-stock/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 03:22:26 +0000</pubDate>
		<dc:creator>Andrew Watts</dc:creator>
		
		<category><![CDATA[apple]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[3g]]></category>

		<category><![CDATA[tracker]]></category>

		<guid isPermaLink="false">http://www.thirstymind.org/?p=373</guid>
		<description><![CDATA[Update: as of 20080724-15:00 EDT apple has nulled out the data, the experiment is over

Update 2: as of 20080726-12:00 EDT the experiment is back on. My 2nd draft can be seen in the same spot: http://andrew.io/3g-retail-stock.  It now has zoomable graphs.
I live about an hour from the nearest apple store, and HATE standing in [...]]]></description>
			<content:encoded><![CDATA[<p><em>Update: as of 20080724-15:00 EDT apple has nulled out the data, the experiment is over</em><br />
<br />
<em>Update 2: as of 20080726-12:00 EDT the experiment is back on. My 2nd draft can be seen in the same spot: <a href="http://andrew.io/3g-retail-stock">http://andrew.io/3g-retail-stock</a>.  It now has zoomable graphs.</em></p>
<p>I live about an hour from the nearest apple store, and HATE standing in lines.  So on Monday, I started to wonder what is the best way to predict iPhone 3G shipments without stalking the store, and could I perhaps predict accurately enough so that I could get one without standing in line.</p>
<p>Using <a href="http://www.apple.com/retail/iphone/availability.html">Apples retail availability page</a>, which is only available after 9pm, was out of the question. But I was curious how they were getting data to that page, and was there a way I could get the data, collect it and analyze it.</p>
<p>And it turns out there was.</p>
<p>Apple is using a <a href="http://www.apple.com/retail/iphone/feeds/3g_us_inv.json">json data feed</a> to populate their own availability page.  And the json data feed is updating live 24 hours a day.  So Monday afternoon I started collecting it about every hour and on Tuesday I started some basic visualizations.</p>
<p><del datetime="2008-07-24T22:45:42+00:00">My first cut can be seen at <a href="http://andrew.io/3g-retail-stock">http://andrew.io/3g-retail-stock</a>.</del></p>
<p>I don&#8217;t have a iPhone 3G yet, but I plan to continue collecting the data, and adding visualizations to see if any detectable patterns emerge over time.  But at a minimum this can be viewed as an hourly availability tracker with some history of availability.</p>
<p>I hope people like it.  </p>
<p>But if you use it, I would recommend you go ahead and call the store before you show up, cause if they don&#8217;t have them I take no responsibility.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thirstymind.org/2008/07/23/tracking-iphone-3g-retail-stock/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Cygwin on Windows for Unix users</title>
		<link>http://www.thirstymind.org/2008/07/15/installing-cygwin-on-windows-for-unix-users/</link>
		<comments>http://www.thirstymind.org/2008/07/15/installing-cygwin-on-windows-for-unix-users/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 21:31:54 +0000</pubDate>
		<dc:creator>Andrew Watts</dc:creator>
		
		<category><![CDATA[how to]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[configuration]]></category>

		<category><![CDATA[cygwin]]></category>

		<category><![CDATA[install]]></category>

		<category><![CDATA[instructions]]></category>

		<category><![CDATA[unix]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.thirstymind.org/?p=368</guid>
		<description><![CDATA[I need to have a terminal or my productivity diminishes to the point where I verge on having a mental breakdown, and unfortunately I have to use a windows laptop for work.  So I have become very accustomed at working with cygwin and all its little nuances and here are my steps/tips for installing [...]]]></description>
			<content:encoded><![CDATA[<p>I need to have a terminal or my productivity diminishes to the point where I verge on having a mental breakdown, and unfortunately I have to use a windows laptop for work.  So I have become very accustomed at working with cygwin and all its little nuances and here are my steps/tips for installing and integrating cygwin with windows. </p>
<p><strong>Move your &#8220;My Documents&#8221; directory.</strong></p>
<p>Windows likes using &#8220;My Documents&#8221; as the default location to store everything.  And this is typically located at C:\Documents and Settings\__username__\My Documents.  And in cygwin your home directory will be something like C:\cygwin\home\__username__. Personally that is one too many places for me to remember, so, I consolidated them into a location located at C:\dev for 2 reasons:</p>
<ol>
<li>cygwin doesn&#8217;t like spaces in its path, so this path will not have any</li>
<li>If i choose to remove C:\cygwin, I can without blowing away my important documents</li>
</ol>
<p>This is pretty simple to do, just use windows explorer and browse to your C:\ drive, then create a new folder named &#8220;dev&#8221;.  Then, if you want, copy all your C:\Documents and Settings\__username__\My Documents files into C:\dev. If you don&#8217;t, none of your existing documents will be in the &#8220;My Documents&#8221; location.</p>
<p>Next using windows explorer browse to your old &#8220;My Documents&#8221; folder and right click on the folder, select properties.  This will open a window with 4 tabs, select the Target tab and change the Target folder to C:\dev and hit the &#8216;OK&#8217; button to close the window.</p>
<p>We&#8217;ll fix the cygwin home directory problem later, so go ahead and install cygwin.</p>
<p><strong>Install cygwin</strong></p>
<p>There are million places on the internet that document how to install and configure cygwin, so I am not going to do that here.  But I am assuming you use the default cygwin install location of C:\cygwin and you install X Server and X11 Libraries.  If you don&#8217;t know where to start, visit <a href="http://www.cygwin.com">http://www.cygwin.com</a>, click the Install or Update now icon and follow the <a href="http://www.cygwin.com/cygwin-ug-net/setup-net.html">installation instructions</a>.</p>
<p><strong>Mount the C:\ drive</strong><br />
After installation there will be a file named Cygwin.bat located at c:\cygwin\Cygwin.bat, double click the file to start a cygwin terminal.</p>
<p>You can access the C:\ drive in cygwin by going to /cygwin/c, but that is too many characters for me to type and would rather I just type &#8216;cd /c&#8217; and get there.  So you can mount the C:\ drive at /c.</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw3">cd</span> <span class="sy0">/</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw2">mkdir</span> c</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw2">mount</span> c: <span class="sy0">/</span>c</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw3">cd</span> <span class="sy0">/</span>c</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw2">ls</span></div>
</li>
</ol>
</div>
<p><strong>Configuring your cygwin user</strong><br />
Once you have your c drive mounted you can set up your user account properly.  To do this you will need to edit the /etc/passwd file and create a link to the /c/dev (C:\dev) directory you created earlier.</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> vi <span class="sy0">/</span>etc<span class="sy0">/</span><span class="kw2">passwd</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; </div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="co0"># find your user name and change the home directory location to /home/__username__</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="co0"># and save the file.</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;__username__:unused_by_nt<span class="sy0">/</span><span class="nu0">2000</span><span class="sy0">/</span>xp:<span class="nu0">69999</span>:<span class="nu0">10545</span>:Your Name:<span class="sy0">/</span>home<span class="sy0">/</span>__username__:<span class="sy0">/</span>bin<span class="sy0">/</span>bash</div>
</li>
</ol>
</div>
<p>If your home directory already exists make a back up of it.</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw3">cd</span> <span class="sy0">/</span>home</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw2">mv</span> __username__ __username__.old</div>
</li>
</ol>
</div>
<p>Finally, create a softlink from /home/__username__ to /c/dev</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw3">cd</span> <span class="sy0">/</span>home</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw2">ln</span> -s <span class="sy0">/</span>c<span class="sy0">/</span>dev __username__</div>
</li>
</ol>
</div>
<p>And I like having quick access to my desktop, so, while you are here create a softlink to your desktop, so that you can there with &#8216;cd ~/desktop&#8217;.</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw3">cd</span> <span class="sy0">/</span>home<span class="sy0">/</span>__username__</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw2">ln</span> -s <span class="sy0">/</span>c<span class="sy0">/</span>Documents\ and\ Settings<span class="sy0">/</span>__username__<span class="sy0">/</span>Desktop desktop</div>
</li>
</ol>
</div>
<p><strong>Configuring X11 and Xterms</strong><br />
Cygwin uses command windows for terminals and I much prefer using xterm and furthermore I want to double click an icon in my taskbar or on my desktop to start the xterm.  Luckily if you installed the X11 libraries, cygwin provides a script that does most of that for us.  It is located at /usr/X11R6/bin/startxwin.bat.</p>
<p>The only problem is that we need to have the X server running before starting an xterm.  So lets create a script that does that.  I put mine in /c/dev/bin/mystartx.sh:</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1"><span class="co0">#!/usr/bin/bash</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">if</span> <span class="br0">&#91;</span> `<span class="kw2">ps</span> -W <span class="sy0">|</span> <span class="kw2">grep</span> -i xwin <span class="sy0">|</span> <span class="kw2">wc</span> -l` -eq <span class="nu0">0</span> <span class="br0">&#93;</span>; <span class="kw1">then</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;run <span class="sy0">/</span>usr<span class="sy0">/</span>X11R6<span class="sy0">/</span>bin<span class="sy0">/</span>Xwin -clipboard -emulate3buttons -multiwindow -silent-dup-error</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">fi</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">run xterm -sl <span class="nu0">9999</span> -sb -rightbar -<span class="kw3">bg</span> black -<span class="kw3">fg</span> white -cr yellow -ms <span class="kw2">red</span></div>
</li>
</ol>
</div>
<p>Next we need to execute this script, and to do that we can simply call it from the startxwin.bat script mentioned earlier.</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> <span class="kw2">cp</span> <span class="sy0">/</span>usr<span class="sy0">/</span>X11R6<span class="sy0">/</span>bin<span class="sy0">/</span>startxwin.bat <span class="sy0">/</span>c<span class="sy0">/</span>dev<span class="sy0">/</span>bin<span class="sy0">/</span>startxwin.bat</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="sy0">&gt;</span> vi <span class="sy0">/</span>c<span class="sy0">/</span>dev<span class="sy0">/</span>bin<span class="sy0">/</span>startxwin.bat</div>
</li>
</ol>
</div>
<p>Then comment out the line that says:</p>
<div class="geshi no dos">
<ol>
<li class="li1">
<div class="de1">%<span class="re2">RUN</span>% XWin -multiwindow -clipboard -silent-dup-error -emulate3buttons</div>
</li>
</ol>
</div>
<p>And add the call the mystartx.sh right below it:</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">bash -c <span class="st0">&#39;/c/dev/bin/mystartx.sh&#39;</span></div>
</li>
</ol>
</div>
<p>Next we can add the C:\dev\bin\startxwin.bat to our task bar and add a fancy icon like the X11 one for %SystemDrive%\cygwin\usr\X11R6\bin\XWin.exe.  Now if everything worked you should be able to click the new icon and start X server if needed and an xterm each time.</p>
<p>To recap, we now have:</p>
<ol>
<li>the main home directory for both windows and cygwin in the same place</li>
<li>the C:\ drive available at /c</li>
<li>An icon that will start a xterm, and x server if needed</li>
</ol>
<p>Now I only need ssh and apache, but that&#8217;s a topic for another post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thirstymind.org/2008/07/15/installing-cygwin-on-windows-for-unix-users/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ESPN - Favre seeks unconditional release from Packers, sources say - NFL</title>
		<link>http://www.thirstymind.org/2008/07/12/espn-favre-seeks-unconditional-release-from-packers-sources-say-nfl/</link>
		<comments>http://www.thirstymind.org/2008/07/12/espn-favre-seeks-unconditional-release-from-packers-sources-say-nfl/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 14:33:50 +0000</pubDate>
		<dc:creator>Andrew Watts</dc:creator>
		
		<category><![CDATA[tumble]]></category>

		<guid isPermaLink="false">http://www.thirstymind.org/?p=371</guid>
		<description><![CDATA[ESPN - Favre seeks unconditional release from Packers, sources say - NFL:
He appeared to be in excellent physical condition and threw the ball with ease, even throwing it 50 yards &#8220;on a rope&#8221; with high school receivers. He has been throwing and running with the team for more than a month.

I&#8217;m sure this happens a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sports.espn.go.com/nfl/news/story?id=3483521">ESPN - Favre seeks unconditional release from Packers, sources say - NFL</a>:</p>
<blockquote><p>He appeared to be in excellent physical condition and threw the ball with ease, even throwing it 50 yards &#8220;on a rope&#8221; with high school receivers. He has been throwing and running with the team for more than a month.</p></blockquote>
<p>
I&#8217;m sure this happens a lot more than it is reported, but how would you like to be in high school and working out with a 38 year old Brett Favre.  That would be amazing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thirstymind.org/2008/07/12/espn-favre-seeks-unconditional-release-from-packers-sources-say-nfl/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
