<?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>chrisstreeter.com &#187; Personal</title>
	<atom:link href="http://www.chrisstreeter.com/archive/category/personal/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chrisstreeter.com</link>
	<description>Chris Streeter&#039;s location on the Internet.</description>
	<lastBuildDate>Wed, 01 Sep 2010 05:36:53 +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>Chavez Country</title>
		<link>http://www.chrisstreeter.com/archive/2010/03/465/chavez-country</link>
		<comments>http://www.chrisstreeter.com/archive/2010/03/465/chavez-country#comments</comments>
		<pubDate>Thu, 01 Apr 2010 00:25:02 +0000</pubDate>
		<dc:creator>Streeter</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[caracas]]></category>
		<category><![CDATA[chichirivichi]]></category>
		<category><![CDATA[venezuela]]></category>

		<guid isPermaLink="false">http://www.chrisstreeter.com/?p=465</guid>
		<description><![CDATA[I am now halfway through my tour of part of South America. The trip started off in Venezuela (more pictures from Venezuela here) where I was immediately introduced to my second family, the Hurtados. About 90 minutes after landing in Caracas, I had seen a dead body, saw Ines for the first time in almost 7 years, [...]]]></description>
			<content:encoded><![CDATA[<p>I am now halfway through my tour of part of South America.</p>
<div class='falbum-post-box' style=''>	<div class='falbum-thumbnail-ds'>		<a href='/photos/album/venezuela/photo/4480403210' title='Array'>			<img src='http://farm5.static.flickr.com/4009/4480403210_bc12b0b390_t.jpg' alt='' />		</a>	</div></div> The trip started off in Venezuela (<a href="http://www.chrisstreeter.com/photos/album/venezuela/">more pictures from Venezuela here</a>) where I was immediately introduced to my second family, the Hurtados. About 90 minutes after landing in Caracas, I had seen a dead body, saw Ines for the first time in almost 7 years, met her father, mother and other sister, about 30 (at least!) other members of her extended family, and though I tried really hard to remember their names, I forgot most of them. And then I got my first glass of wine in South America which was soon replaced with a cuba libre. Shortly after, some of Ines&#8217; friends taught me how to call Chavez a son of a bitch in Spanish, which was a new Spanish expression for me.
<p></p>
<div class='falbum-post-box' style='float: left; margin: 0px 5px -5px 0px'>	<div class='falbum-thumbnail-ds'>		<a href='/photos/album/venezuela/photo/4480408644' title='Array'>			<img src='http://farm5.static.flickr.com/4059/4480408644_3bea30dfc2_t.jpg' alt='' />		</a>	</div></div> I then proceeded to spend the next 3 days enjoying solitude and sunshine in the small beach town of Chichirivichi, reading, appropriately, 100 Years of Solitude. I also spent time recovering from the bad sunburns I received after my first contact with the sun in quite a while. I also got to see a great big jelly fish, which was awesome, and yet scary.
<p></p>
<p>A long drive later and I was back in Caracas combing the city for Arepas (which are really good), wedding cheese, wedding pastries and views of the city. Thursday and Friday with my mom, sister and the Hurtados went fast, but seemed to cover much more time than just the 45 hours we were all together those days.</p>
<div class='falbum-post-box' style='float: right; margin: 0px -5px -5px 5px'>	<div class='falbum-thumbnail-ds'>		<a href='/photos/album/venezuela/photo/4480411208' title='Array'>			<img src='http://farm5.static.flickr.com/4063/4480411208_3b75de2687_t.jpg' alt='' />		</a>	</div></div>
<p>Some things I learned:</p>
<ul>
<li>Weddings in Spanish aren&#8217;t as easy to understand as I thought initially.</li>
<li>&#8220;Merengue is with couples and Reggaeton is sexy&#8221;</li>
<li>My Spanish skills get better with alcohol and the English skills of others similarly increase with alcohol.</li>
<li>Arepas are delicious any time of the day, for breakfast, for lunch, after a great wedding reception, or while walking around like a zombie in an airport at 5 in the morning.</li>
<li>Apparently I can dance Salsa (or the Venezuelans were being nice and just wanted me off the dance floor)</li>
</ul>
<p>In all, a great first part of my trip. New food, new people, new places and hanging out with my first and second family. Estoy chevere (or, in Peru, cheverenge).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisstreeter.com/archive/2010/03/465/chavez-country/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GMail IMAP Backup With mbsync on Ubuntu</title>
		<link>http://www.chrisstreeter.com/archive/2009/04/305/gmail-imap-backup-with-mbsync-on-ubuntu</link>
		<comments>http://www.chrisstreeter.com/archive/2009/04/305/gmail-imap-backup-with-mbsync-on-ubuntu#comments</comments>
		<pubDate>Fri, 01 May 2009 07:56:06 +0000</pubDate>
		<dc:creator>Streeter</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[isync]]></category>
		<category><![CDATA[mbsync]]></category>
		<category><![CDATA[streeter]]></category>

		<guid isPermaLink="false">http://www.chrisstreeter.com/?p=305</guid>
		<description><![CDATA[Well, it sure has been a while since my last post on here. So I thought I&#8217;d kick it off with a discussion of how I went about getting my email backed up. First, a description of my situation. I run all my email through GMail. I enjoy the interface and the fact that it [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it sure has been a while since my last post on here. So I thought I&#8217;d kick it off with a discussion of how I went about getting my email backed up.</p>
<p>First, a description of my situation. I run all my email through GMail. I enjoy the interface and the fact that it is a cloud service; I can access my email seamlessly on my phone, my home computer, my work computer, some other computer, etc. However, I don&#8217;t want to lose all that information. Google is great, but who is to say that something terrible won&#8217;t happen and some (or all) of my mail is lost? So I wanted to setup some sort of backup. And then once I got that setup, make it automated.</p>
<p>At home, I run an <a href="http://www.ubuntu.com/">Ubuntu</a> box, that I just upgraded to 9.04, <a href="http://www.ubuntu.com/news/ubuntu-9.04-desktop">Jaunty Jackalope</a>. This machine primarily serves as a media box, hosting video that <a href="http://pytivo.armooo.net/">streams to my Tivo</a> off the 1.5TB RAID 5 array. I also use it as a <a href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/">network mounted TimeMachine</a> box as well. Since I have extra storage on it, I figured I&#8217;d get something to sync my mail over IMAP periodically, and then I have a nice little backup.</p>
<p>After some searching, I came across <a href="http://el-tramo.be/blog/gmail-mbsync">two</a> <a href="http://blog.rectalogic.com/2007/11/automated-gmail-backup-via-imap.html">sites</a> that had instructions using the utility <a href="http://isync.sourceforge.net/mbsync.html">mbsync</a> (<a href="http://isync.sourceforge.net/">formerly isync</a>). I found that following the instructions worked pretty well, though I had to customize the patch provided to get it to work with the version provided by Ubuntu.  And then I thought I&#8217;d detail my steps here for others to see.<br />
<span id="more-305"></span></p>
<ol>
<li>First, enable IMAP in your GMail account.</li>
<li>Install the dependencies for mbsync:
<pre>sudo apt-get install libc6 libdb4.2 libssl0.9.8</pre>
</li>
<li>Get the source for mbsync on Ubuntu with:
<pre>sudo apt-get source isync</pre>
<p>This will download the source for mbsync and create a directory (in your current directory) named isync-1.0.4 (Yes, I know it is called isync. That is a legacy name).</li>
<li>Now the normal mbsync install works just fine. However, it doesn&#8217;t support recursive directories. I use GMail labels setup to provide a hierarchy using forward slashes. It turns out that the fix to get mbsync to support directories like this is really easy to do and someone went through the trouble to get it to work. However, it doesn&#8217;t quite work on the version of the code packaged with Ubuntu. So I had to modify the patch a bit. The patch I created can be found <a href="http://www.chrisstreeter.com/wp-content/uploads/2009/04/recursive_imap_ubuntu.patch">here</a>.  Download it and put it somewhere on your system. To apply the patch, change directories into the isync-1.0.4 directory that was just downloaded and run:
<pre>patch -p1 &lt; /path/to/patch/file/recursive_imap_ubuntu.patch</pre>
<p>Once you&#8217;ve patched the directory, configure (<code>./configure</code>), build (<code>make</code>) and install (<code>sudo make install</code>).</li>
<li>Now you should have an executable <code>mbsync</code> in your path. So it is time to start preparing to do the initial sync. Choose a place to store your backups. I chose <code>/export/backups/mail/</code></li>
<li>We want to connect to Google securely which means you&#8217;ll need the latest SSL certificates. To get those, use the openssl client on your machine. Run:
<pre>openssl s_client -connect imap.gmail.com:993 -showcerts</pre>
<p>which should show two blocks of</p>
<pre>-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----</pre>
<p>in the output. You&#8217;ll want to take each block (including the BEGIN/END CERTIFICATE lines), and put each of them into their own file. I put the first one in a file <code>gmail.crt</code> and the second one in the file <code>google.crt</code> (since the first signs imap.gmail.com which is signed by Google Internet Authority, the second certificate).</li>
<li>The second certificate, the one for the Google Internet Authority, is signed by Equifax. So we&#8217;ll need Equifax&#8217;s certificate also. An as it turns out, Ubuntu has a copy of Equifax&#8217;s certificate already sitting in the repositories. Just run
<pre>sudo apt-get install ca-certificates</pre>
<p>to get the latest CA certificates. After installing the CAs, Equifax&#8217;s CA sits at <code>/usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt</code>, which we&#8217;ll need in the configuration file in the next step.</li>
<li>Now we can write the configuration file we are going to use. Here is a copy of mine:
<pre>IMAPAccount gmail
Host imap.gmail.com
User <em>yourusername@gmail.com</em>
UseIMAPS yes
CertificateFile /export/backups/mail/gmail.crt
CertificateFile /export/backups/mail/google.crt
CertificateFile /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt

IMAPStore gmail-remote
Account gmail

MaildirStore gmail-local
Path /export/backups/mail/gmail/
Inbox /export/backups/mail/gmail/Inbox

Channel gmail
Master :gmail-remote:
Slave :gmail-local:
# Exclude everything under the internal [Gmail] folder, except the interesting folders
Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
Create Slave
Sync Pull
SyncState *</pre>
<p>Check out the Patterns line. That is where you would include or exclude various labels. All lables are stored at the root of the hierarchy, with the special directory [Gmail] having things like &#8216;Sent Mail&#8217;, &#8216;Spam&#8217;, &#8216;Starred&#8217;, etc in it. I wanted to exclude all the items in the [Gmail] directory except for the ones listed. The &#8216;*&#8217; at the beginning includes all other labels. You will also want to change the Path and Inbox lines to point to your mail location, as well as the first two CertificateFile lines. Also, be sure to enter your actual GMail login on the User line. Now save this file somewhere. Note: saving it as ~/.mbsyncrc will cause it to be automatically loaded when mbsync is run, meaning you don&#8217;t need to specify which config file with the -c option.</li>
<li>Now go ahead and test it out by listing the labels in your account with the command <code>mbsync -l -c /path/to/the/configfile.rc gmail</code>. Running it will look like this and ask you for your password:
<pre>[streeter@scout]:~$ mbsync -l -c ~/.mbsyncrc gmail
Reading configuration file /home/streeter/.mbsyncrc
Resolving imap.gmail.com... ok
Connecting to 209.85.199.109:993... ok
Connection is now encrypted
Logging in...
Password (<em>yourusername@gmail.com</em>@imap.gmail.com):
Channel gmail
lists/code
bills
archive/cron
archive/classes
archive/work
[Gmail]/Starred
[Gmail]/Sent Mail
[Gmail]/All Mail
INBOX
@followup
[streeter@scout]:~$</pre>
<p>If you see something like this, then it worked! Now just go ahead and start your first mail download with <code>mbsync -c /path/to/the/configfile.rc gmail</code> And then you get to wait while it finishes which can take a while depending on how much mail you have.</li>
</ol>
<p>You can go an extra step and save your password in the file. If you add the line <code>Pass <em>yourpasswordhere</em></code> right after the User line, you won&#8217;t be asked for your password and can then setup a cronjob to automatically keep mail locally on a schedule. However, your password for your Google Account then is stored in cleartext on your machine. So only do this is you absolutely know what you are doing and who can access the machine.</p>
<p>Hopefully this becomes useful for people.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisstreeter.com/archive/2009/04/305/gmail-imap-backup-with-mbsync-on-ubuntu/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>The Color Oracle</title>
		<link>http://www.chrisstreeter.com/archive/2008/06/170/the-color-oracle</link>
		<comments>http://www.chrisstreeter.com/archive/2008/06/170/the-color-oracle#comments</comments>
		<pubDate>Mon, 16 Jun 2008 21:45:09 +0000</pubDate>
		<dc:creator>Streeter</dc:creator>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[Color Blindness]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[streeter]]></category>

		<guid isPermaLink="false">http://www.chrisstreeter.com/?p=170</guid>
		<description><![CDATA[So I&#8217;m actually color blind. Most people who know me also know this, and I always get the same questions over and over: &#8220;What color does this look like?&#8221; Or, &#8220;What color is this?&#8221;. These aren&#8217;t the easiest questions to answer all the time, because what I see looks normal to me. Red looks like [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m actually color blind.  Most people who know me also know this, and I always get the same questions over and over: &#8220;What color does this look like?&#8221;  Or, &#8220;What color is this?&#8221;.  These aren&#8217;t the easiest questions to answer all the time, because what I see looks normal to me.  Red looks like red, blue looks like blue.  The hard part comes in when I have to distinguish a color by its shade.  For example, if someone put up something that was <a href="http://en.wikipedia.org/wiki/Carmine">carmine</a>, I would say that it was red and not know that it wasn&#8217;t actually red, but a darker red (for those wondering, I had to look up what pigments of red were <a title="Red on Wikipedia" href="http://en.wikipedia.org/wiki/Red_(color)">on wikipedia</a>).  However, if you were to put two swatches next to each other, one of which was red and one of which was carmine, I&#8217;m pretty sure that I could tell them apart, especially if there was a sharp line between the two.</p>
<p>The other interesting part is that I can&#8217;t match colors.  So I&#8217;ve always had trouble with picking out clothes, hence my distaste for shopping (for non-electronics items).  But that is a different story.</p>
<p>A former co-worker decided to find out more information about color blindness and wanted to see what it looked like for me.  My co-worker happened to come across this amazing cross-platform application called <a href="http://colororacle.cartography.ch/index.html">the Color Oracle</a>.  After running the application on your computer, you can change the entire screen to resemble what a color blind person is seeing.  The application simulates three types of color blindness, deuteranopia, protanopia and tritanopia.  Wikipedia has some good information on <a href="http://en.wikipedia.org/wiki/Color_blindness#Dichromacy">each of them</a>.  So back to the Color Oracle.  After installing it, if I run it and check out what the three types look like, I&#8217;m definitely protanopia.  I uploaded two screen shots of my desktop here so you can see how they compare.</p>
<p style="text-align: center;"><a href="http://www.chrisstreeter.com/wp-content/uploads/2008/06/normal.png"><img class="alignnone size-thumbnail wp-image-171" title="Normal View of My Desktop" src="http://www.chrisstreeter.com/wp-content/uploads/2008/06/normal-125x125.png" alt="" width="125" height="125" /></a><a href="http://www.chrisstreeter.com/wp-content/uploads/2008/06/protanopia.png"> <img class="alignnone size-thumbnail wp-image-172" title="Protanopic View of My Desktop" src="http://www.chrisstreeter.com/wp-content/uploads/2008/06/protanopia-125x125.png" alt="" width="125" height="125" /></a></p>
<p style="text-align: left;">The picture on the left is normal vision, while the picture on the right has the protanopia filter turned on.  To me, they both look the same.  I&#8217;ve been really facinated by this application and have been showing to tons of people.  Try it out yourself and let me know how it works for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisstreeter.com/archive/2008/06/170/the-color-oracle/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
