<?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>Schadenfreude</title>
	<atom:link href="http://www.ralree.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Sat, 21 Jan 2012 20:10:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>More Content Security Policy work</title>
		<link>http://www.ralree.com/2012/01/21/more-content-security-policy-work/</link>
		<comments>http://www.ralree.com/2012/01/21/more-content-security-policy-work/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 20:10:19 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23284</guid>
		<description><![CDATA[Firefox seems to be the only browser strictly enforcing the X-Content-Security-Policy header at the moment. This is both good and bad: good because it doesn&#8217;t adversely effect me here in my Chrome bubble, and bad because it seems to effect some of my readers. I installed Firefox 9 to debug the issue, and ended up with this policy: The only problem with this is I had to whitelist all of github. This is a problem, because provided one could post [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox seems to be the only browser strictly enforcing the X-Content-Security-Policy header at the moment.  This is both good and bad: good because it doesn&#8217;t adversely effect me here in my Chrome bubble, and bad because it seems to effect some of my readers.  I installed Firefox 9 to debug the issue, and ended up with this policy:</p>
<p><script src="http://gist.github.com/1653770.js"></script></p>
<p>The only problem with this is I had to whitelist all of github.  This is a problem, because provided one could post script tags in comments on here, they could just link to a raw script in their repository and the policy is meaningless.  Without path support in the standard grammar, I can&#8217;t properly integrate with github.  I hope they add this support so I can do something like the following:</p>
<p><script src="http://gist.github.com/1653778.js"></script></p>
<p>That would at least make it a little harder to do XSS.  Of course, they offer <a href="http://hank.github.com/">subdomains</a>, so this <strong>still</strong> doesn&#8217;t fix the problem.  The only way to fix it is to whitelist explicit paths without wildcards.  This is more verbose, but it would be better.</p>
<p>In closing, I like CSP, and I think it&#8217;s a good idea, but it&#8217;s still in early stages after a couple years, and needs a bit of work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2012/01/21/more-content-security-policy-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Smashrun Fusion Mashup: Part 2</title>
		<link>http://www.ralree.com/2012/01/20/the-smashrun-fusion-mashup-part-2/</link>
		<comments>http://www.ralree.com/2012/01/20/the-smashrun-fusion-mashup-part-2/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 07:46:29 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23281</guid>
		<description><![CDATA[So, I finished the first version of my FusionRunner script mentioned in the previous post. Currently, it takes all the runs from Google Fusion Tables and imports them into Smashrun after massaging the data. You can see a list of my &#8220;runs&#8221; (they&#8217;re really walks so far) Click a run to see more details. The following features are currently supported: Caching of Google OAuth tokens/secrets on the filesystem Ability to convert terribly formatted Fusion Table rows from My Tracks into [...]]]></description>
			<content:encoded><![CDATA[<p>So, I finished the first version of my FusionRunner script mentioned in the previous post.  Currently, it takes all the runs from Google Fusion Tables and imports them into Smashrun after massaging the data.  You can see a list of my &#8220;runs&#8221; (they&#8217;re really walks so far) <a href="http://smashrun.com/hank/list" title="here."></a>  Click a run to see more details.  The following features are currently supported:</p>
<ul>
<li>Caching of Google OAuth tokens/secrets on the filesystem</li>
<li>Ability to convert terribly formatted Fusion Table rows from My Tracks into something usable</li>
<li>Importing of all runs into Smashrun with tags based on activities</li>
</ul>
<p>The following features are the next steps:</p>
<ul>
<li>Tracking which runs have already been imported to Smashrun (probably using another Fusion Table!)</li>
<li>Contacting Smashrun and asking about including elevation data and maybe map data</li>
</ul>
<p>I&#8217;ve emailed Smashrun, so let&#8217;s hope they get back to me.  Here&#8217;s a current version of the program for your perusal:</p>
<p><script src="http://gist.github.com/1638546.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2012/01/20/the-smashrun-fusion-mashup-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FusionRunner: A Google Fusion Tables prototype</title>
		<link>http://www.ralree.com/2012/01/19/fusionrunner-a-google-fusion-tables-prototype/</link>
		<comments>http://www.ralree.com/2012/01/19/fusionrunner-a-google-fusion-tables-prototype/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 07:10:35 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23267</guid>
		<description><![CDATA[The other day, I kinda sorta got excited about running, mainly prompted by a friend telling me about a half-marathon in May. I&#8217;ve been needing to find an exercise outlet for a while, and this may be it. Throughout this experiment, I&#8217;d like to track my progress with some level of detail, and mapping/distance measurement seems to be a component of this. There are various services for this, like Nike+, and there&#8217;s a really neat one called Smashrun that I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>The other day, I kinda sorta got excited about running, mainly prompted by a friend telling me about a half-marathon in May.  I&#8217;ve been needing to find an exercise outlet for a while, and this may be it.  Throughout this experiment, I&#8217;d like to track my progress with some level of detail, and mapping/distance measurement seems to be a component of this.  There are various services for this, like Nike+, and there&#8217;s a really neat one called Smashrun that I&#8217;d like to use.  The only problem is getting data into it, which is either manual entry or through Nike+, which basically requires you to buy their stuff.</p>
<p>A couple days ago, I found out about My Tracks from Google, an Android app that&#8217;s free.  I installed it, and successfully tracked my walk back to our house.  It was amazing.  Once you&#8217;re done tracking, you can click a couple buttons and export to a couple different Google services, including something I&#8217;d never heard of: Google Fusion Tables.</p>
<p>You can access Fusion Tables <a href="http://www.google.com/fusiontables/Home/">here</a>.  So far, I&#8217;ve got it authenticating with OAuth (which is awesome), and doing a select on the first table, which is the export of my walk data.  Here&#8217;s what the current output looks like:<br />
<script src="http://gist.github.com/1638517.js"></script><br />
As you can see, there&#8217;s a LOT of data here.  The meat for this application is the last line, which when formatted a little nicer, looks like this:</p>
<div style="background-color:#000; color:#ddd; padding:3px; font-family: monospace;">
<p>Ruby walk around school</p>
<p>Created by <a href='http://mytracks.appspot.com'>My Tracks</a> on Android.
<p>Total distance: 1.83 km (1.1 mi)<br />Total time: 30:06<br />Moving time: 18:41<br />Average speed: 3.65 km/h (2.3 mi/h)<br /> Average moving speed: 5.88 km/h (3.7 mi/h)<br /> Max speed: 9.00 km/h (5.6 mi/h)<br />Min elevation: 29 m (96 ft)<br />Max elevation: 65 m (214 ft)<br />Elevation gain: 81 m (264 ft)<br />Max grade: 0 %<br />Min grade: 0 %<br />Recorded: 1/16/12 7:08 PM<br />Activity type: walking<br /><img border="0" src="http://chart.apis.google.com/chart?&#038;chs=600x350&#038;cht=lxy&#038;chtt=Elevation&#038;chxt=x,y&#038;chxr=0,0,1,0|1,0.0,300.0,25&#038;chco=009A00&#038;chm=B,00AA00,0,0,0&#038;chg=100000,8.333333333333334,1,0&#038;chd=e:AAALAZAmA3BKBXBjBwB7CHCTCeCrC5DGDUDgDsD5EIEWEjEwE9FIFVFhFuF8GLGWGjGwG7HIHWHiHyH.INIZIkIvI7JJJVJiJuJ8KIKUKjKxK9LILVLhLuL7MIMUMhMsM6NINaNpN1OCOPObOoO3PDPQPbPqP3QEQWQlQ2RCRNRcRqR2SESTSfSsS.TNTaTlTyT-UOUbUrU5VFVUVhVtV6WHWUWhWtW5XGXVXkXxX.YMYaYuY7ZHZVZiZuZ8aLaYana0bCbPbcbpb3cFcScdcpc1dDdRdedqd6eJeWeieve8fHfUfgftf6gKgYgkgyg9hNhYhoh3iKiZimi0i.jMjZjljyj-kJkXklk2lElQldlql3mDmSmgmsm4nEnVnhntn7oHoTohouo7pJpWpmpzqAqOqaqnqyq.rLrerpr1sAsOsesqs3tEtPtdtpt1uEuRuduru5vFvSvdvpv1wEwRwgwrw3xDxQxbxox1yAyPybypy2zCzPzbzmzz0C0R0d0q041F1R1g1v182I2W2k2z3C3Q3b3n3z,UgXcb2eYfzgXg4heiMjEj0kclJlpmEmWmnm0m7nAnDnEnEnInPoFoso7pMpdpxqEqTqeqdqYqWqRqMqKqHqLqSqbqjqrqzrArJrRrXrbrcrWrUrUrTrSrRrUrZrWrPrIrBq-qyqgqPqCp0pnpcpUpGo4orogoZoPoDn-n7n8n5n1n2n6n9n.oDoLoUoeono0o6pCpGpQpYphpvp9qIqVqZqbqaqbqgqmqwq8rIrRrVrbrhrprtr3r6r6r6r7r2rurirXrMrGq8q1qrqfqTqHp9pupfpXpPpDo4otojocoZoVoXogoso5pFpTpepwp9qKqRqWqTqXqdqjqmqpquqvq2qzq2qzqtqmqcqRqHqCp4pspfpRpEpAo8o6oxorosowo1o4o6o1o3ovojoeoZoUoHn6ntnqnqnpnsnwnzn1n4n-n.n5nsnanIm7mxmlmbmXmSmMmFmBl7l0lplelUlIk2kfkIj0jgjSjFi7i1ivikiZiQiEh5hphUg7gjgLf3fjfMeyebeLeAd4dwdmdXdGc3ctcgcacX"/></p>
</div>
<p>Holy crap!  That&#8217;s a lot of data in one row!  And I have all of the geometry data too!?  Sweet!  Anyway, here&#8217;s a little program that dumps this to the screen.  Soon, I&#8217;ll make it do the required stuff to log into Smashrun and input a new run with the stats filled in (of course, only if the activity is <b>running</b>).<br />
<script src="http://gist.github.com/1646033.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2012/01/19/fusionrunner-a-google-fusion-tables-prototype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toggling Hidden File Visibility with Applescript</title>
		<link>http://www.ralree.com/2012/01/08/toggling-hidden-file-visibility-with-applescript/</link>
		<comments>http://www.ralree.com/2012/01/08/toggling-hidden-file-visibility-with-applescript/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 18:47:45 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23255</guid>
		<description><![CDATA[I wrote a quick little applescript today that allows one to show or hide hidden files on demand, since this doesn&#8217;t seem to be an option in Finder.  Applescript is a terribly designed language, but it does allow you to easily get crap done in OSX.  I have it in github here, and it&#8217;s so concise, I figured I&#8217;d just paste the current version here: set Status to do shell script "defaults read com.apple.finder AppleShowAllFiles" if Status = "OFF" then [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a quick little applescript today that allows one to show or hide hidden files on demand, since this doesn&#8217;t seem to be an option in Finder.  Applescript is a terribly designed language, but it does allow you to easily get crap done in OSX.  I have it in github <a href="https://github.com/hank/life/blob/master/code/applescript/hiddenfiletoggle.scptd" target="_blank">here</a>, and it&#8217;s so concise, I figured I&#8217;d just paste the current version here:</p>
<pre><code>set Status to do shell script "defaults read com.apple.finder AppleShowAllFiles"
if Status = "OFF" then
	do shell script "defaults write com.apple.finder AppleShowAllFiles ON"
else
	do shell script "defaults write com.apple.finder AppleShowAllFiles OFF"
end if
do shell script "killall Finder"</code></pre>
<p>Just download it, open it in the Script Editor (I can double click it), and do <b>Save As</b>.  Then, select Application as the type, and do <b>Run Only</b> and save it.  Then, hide it away and make an alias to it, and drop that on the desktop.  Here&#8217;s what mine looks like:</p>
<p><a href="http://www.ralree.com/newblog/wp-content/uploads/2012/01/Screen-Shot-2012-01-08-at-13.45.53-.png"><img src="http://www.ralree.com/newblog/wp-content/uploads/2012/01/Screen-Shot-2012-01-08-at-13.45.53-.png" alt="" title="Screen Shot 2012-01-08 at 13.45.53" width="116" height="360" class="aligncenter size-full wp-image-23259" /></a></p>
<p>And after I double click that Alias:</p>
<p><a href="http://www.ralree.com/newblog/wp-content/uploads/2012/01/Screen-Shot-2012-01-08-at-13.46.42-.png"><img src="http://www.ralree.com/newblog/wp-content/uploads/2012/01/Screen-Shot-2012-01-08-at-13.46.42-.png" alt="" title="Screen Shot 2012-01-08 at 13.46.42" width="114" height="436" class="aligncenter size-full wp-image-23260" /></a></p>
<p>I like this &#8211; it makes basing things on system configuration really easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2012/01/08/toggling-hidden-file-visibility-with-applescript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>wget mirroring with external references</title>
		<link>http://www.ralree.com/2011/12/03/wget-mirroring-with-external-references/</link>
		<comments>http://www.ralree.com/2011/12/03/wget-mirroring-with-external-references/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 05:49:32 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23252</guid>
		<description><![CDATA[I was having trouble mirroring a website that had all its images hosted on a different domain, which happened to be random subdomains of cloudfront.net.  I tried adding *.cloudfront.net to the -D parameter, but that didn&#8217;t work.  It turns out it&#8217;s smart enough to figure out that all subdomains in the domain list should be included as well: wget -mkpEK -D www.allshepherdrescue.org,cloudfront.net -H -t 3 \ --restrict-file-names=windows http://www.allshepherdrescue.org/ This goes into mirror mode, changes relative links to the proper form, [...]]]></description>
			<content:encoded><![CDATA[<p>I was having trouble mirroring a website that had all its images hosted on a different domain, which happened to be random subdomains of cloudfront.net.  I tried adding *.cloudfront.net to the -D parameter, but that didn&#8217;t work.  It turns out it&#8217;s smart enough to figure out that all subdomains in the domain list should be included as well:</p>
<pre>wget -mkpEK -D www.allshepherdrescue.org,cloudfront.net -H -t 3 \
     --restrict-file-names=windows http://www.allshepherdrescue.org/</pre>
<p>This goes into mirror mode, changes relative links to the proper form, fixes the query string urls to static ones, and downloads all files from the domains in the -D parameter.  The manpage details all of this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2011/12/03/wget-mirroring-with-external-references/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing advertising from Ubuntu Server motd</title>
		<link>http://www.ralree.com/2011/11/25/removing-advertising-from-ubuntu-server-motd/</link>
		<comments>http://www.ralree.com/2011/11/25/removing-advertising-from-ubuntu-server-motd/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 06:27:20 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23248</guid>
		<description><![CDATA[Ubuntu is a good product, mainly because it&#8217;s free.  They recently started some service called Landscape that lets you graph your server activity or something &#8211; I don&#8217;t really care as I don&#8217;t have hundreds of machines running Ubuntu Server (nor do about 99% of their users).  I got tired of seeing this when logging in over ssh: Linux joint 2.6.32-309-ec2 #18-Ubuntu SMP Mon Oct 18 21:00:50 UTC 2010 x86_64 GNU/Linux Ubuntu 10.04.3 LTS Welcome to Ubuntu! * Documentation: https://help.ubuntu.com/ [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu is a good product, mainly because it&#8217;s free.  They recently started some service called Landscape that lets you graph your server activity or something &#8211; I don&#8217;t really care as I don&#8217;t have hundreds of machines running Ubuntu Server (nor do about 99% of their users).  I got tired of seeing this when logging in over ssh:</p>
<pre>Linux joint 2.6.32-309-ec2 #18-Ubuntu SMP Mon Oct 18 21:00:50 UTC 2010 x86_64 GNU/Linux
Ubuntu 10.04.3 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/

  System information as of Fri Nov 25 06:08:51 UTC 2011

  System load:  0.0                Processes:           79
  Usage of /:   16.1% of 14.76GB   Users logged in:     0
  Memory usage: 11%                IP address for eth0: 10.0.0.1
  Swap usage:   0%

  Graph this data and manage this system at https://landscape.canonical.com/
---------------------------------------------------------------------
At the moment, only the core of the system is installed. To tune the
system to your needs, you can choose to install one or more
predefined collections of software by running the following
command:                                                             

   sudo tasksel --section server
---------------------------------------------------------------------

No mail.</pre>
<p>I mean, <strong>jeez</strong>, that&#8217;s some text to print on login!  I found out it&#8217;s all controlled with this script and directory in /etc/update-motd.d.  There&#8217;s a bunch of scripts in there that run in order using normal SYSV startup script logic.  If you do the following, it produces a much nicer message:</p>
<pre>sudo rm 51_update-motd 
sudo vi 50-landscape-sysinfoz
  # Change this line:
      /usr/bin/landscape-sysinfo 
  # to this line
      /usr/bin/landscape-sysinfo | head -n -2
sudo rm 10-help-text</pre>
<p>Now, it should look more like this when you log in:</p>
<pre>Linux joint 2.6.32-309-ec2 #18-Ubuntu SMP Mon Oct 18 21:00:50 UTC 2010 x86_64 GNU/Linux
Ubuntu 10.04.3 LTS

  System information as of Fri Nov 25 06:26:45 UTC 2011

  System load:  0.01               Processes:           85
  Usage of /:   16.1% of 14.76GB   Users logged in:     0
  Memory usage: 15%                IP address for eth0: 10.0.0.1
  Swap usage:   0%

No mail.</pre>
<p><strong><em>Much</em></strong> more manageable!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2011/11/25/removing-advertising-from-ubuntu-server-motd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An adventure with Debian Wheezy</title>
		<link>http://www.ralree.com/2011/11/12/an-adventure-with-debian-wheezy/</link>
		<comments>http://www.ralree.com/2011/11/12/an-adventure-with-debian-wheezy/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 17:10:14 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23217</guid>
		<description><![CDATA[I installed the new Debian testing release on my NAS, and was so impressed with it I decided to convert my main desktop from Ubuntu 11.10.  I was really unhappy with the new Ubuntu &#8211; it kept kicking me into Unity instead of GNOME, sound wouldn&#8217;t work, it felt really sluggish, it was packed with stuff I&#8217;d never use, etc.  Debian is clean, runs faster, and boots faster (possibly thanks to Linux kernel 3.0).  It automatically recognized and assembled my [...]]]></description>
			<content:encoded><![CDATA[<p>I installed the new Debian testing release on my NAS, and was so impressed with it I decided to convert my main desktop from Ubuntu 11.10.  I was really unhappy with the new Ubuntu &#8211; it kept kicking me into Unity instead of GNOME, sound wouldn&#8217;t work, it felt really sluggish, it was packed with stuff I&#8217;d never use, etc.  Debian is clean, runs faster, and boots faster (possibly thanks to Linux kernel 3.0).  It automatically recognized and assembled my software RAID, so all I had to do was make a mountpoint and an entry in <strong>fstab </strong>and <strong>exports</strong>, run <strong>mount -a</strong>, then do a quick <strong>exportfs -a</strong> and everything was mounted and exported.  Brilliant!  To get samba working, all I had to do was add this to <strong>/etc/samba/smb.conf</strong>:</p>
<pre>[vector]
   comment = Vector
   browseable = yes
   path = /vector/vector
   guest ok = yes
   read only = yes</pre>
<p>And do a quick <strong>/etc/init.d/samba restart</strong>.  Shared!</p>
<p>Sound wouldn&#8217;t work at first (a common problem with Linux and the Nvidia GT210/220 HDMI audio), but after I built and installed the latest Nvidia driver, everything kinda started working like magic (I also had to unmute all the S/PDIF channels in <strong>alsamixer</strong>).  Now I only have a few problems.  The first is default window dimensions.  Here&#8217;s what it looks like when I open <strong>gnome-terminal</strong>:</p>
<p><a href="http://www.ralree.com/newblog/wp-content/uploads/2011/11/snapshot2.png"><img class="aligncenter size-full wp-image-23220" title="snapshot2" src="http://www.ralree.com/newblog/wp-content/uploads/2011/11/snapshot2.png" alt="" width="236" height="396" /></a>Yeah, a little bit too narrow, right?  So, every single time I open one, I have to drag it out to be a usable size.  I have 80&#215;24 set in the settings, but those are apparently being overridden by something else in GNOME 3.  Any help on this would be much appreciated.  It happens with other apps to, like KeepassX, so it seems to be something at the GNOME 3 level and not within the terminal app.</p>
<p>Another thing that was annoying at first was the inclusion of Music, Documents, Downloads, etc. in my nautilus favorites area (even though I never use these folders in my home directory).  The solution was simple and can be done with vim, so I was sold.  Just look in <strong>~/.config/user-dirs.dirs</strong> and edit/delete whatever you want.  I ended up linking the folders I actually use to where they should be (on my NFS mounted RAID) and deleting things like Documents (those belong on Google Docs, obviously).</p>
<p>Installing wine is a bit weird.  To do it easily, go <a href="http://dev.carbon-project.org/debian/wine-unstable/">here</a>, then download all the packages for your architecture one-by-one into <strong>/tmp</strong>, then do this:</p>
<pre>  sudo apt-get install lib32nss-mdns
  sudo dpkg -i *wine*
  sudo apt-get install -f
  sudo dpkg -i *wine*
  sudo apt-get install -f
  winecfg</pre>
<p>Yes, I know it&#8217;s all there twice, but that&#8217;s what I had to do.  Dependencies are weird.  Winecfg will prompt you to install some stuff.  Do it.</p>
<h2>Update 2011-11-13</h2>
<p>I figured out the problem with the window sizes.  If you set up TwinView with Nvidia driver version 285.05.09 x86_64 in the following way:</p>
<ul>
<li>1920&#215;1080 monitor at absolute position 0,0</li>
<li>1680&#215;1050 primary monitor at absolute position 1080,0</li>
</ul>
<p>You can&#8217;t move windows on most of the TV screen &#8211; it only lets you use about 1/4 of it.  Also, the alt-tab menu stretches out the previews horribly vertically so you can&#8217;t actually preview them.  Also, the default window size is stretched as shown above.  I have no idea why all this geometry is dependent on overall desktop size, but it should really be fixed.  After changing it so the 1920&#215;1080 monitor is logically Right of the 1680 monitor in nvidia-settings (which is annoying since it&#8217;s hanging on the wall above the other monitor in real life), all the problems I mentioned go away.   It seems like this is a problem with GNOME3, but it could be nvidia&#8217;s problem too.  It&#8217;s hard to know which bug tracker to report it to, but this setup worked with LXDE and old GNOME, so maybe I&#8217;ll try the GNOME people first.</p>
<p>Another thing I did today was adjust my MTU to 9000 on both network cards.  You need a switch that supports jumbo frames for this, and I happen to have one.  If you don&#8217;t know if yours does, it probably doesn&#8217;t.  Also, I changed my fstab line for mounting the NFS share and the exports line on the NAS to the following, respectively:</p>
<pre>/vector/vector 192.168.0.0/16(rw,async,no_subtree_check)
192.168.1.5:/vector/vector	/vector	nfs	async,noatime,rsize=32768,wsize=32768	0	1</pre>
<p>This should improve performance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2011/11/12/an-adventure-with-debian-wheezy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Save As&#8230; a dying breed</title>
		<link>http://www.ralree.com/2011/11/12/save-as-a-dying-breed/</link>
		<comments>http://www.ralree.com/2011/11/12/save-as-a-dying-breed/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 17:01:14 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23215</guid>
		<description><![CDATA[OK &#8211; I&#8217;ve been thinking about this for a while, and something in Google+ prompted me to make this post.  It goes like this: Please don&#8217;t change the following: See that?  See how there&#8217;s things like Save As&#8230; (I&#8217;m looking at you, OSX).  See how there&#8217;s actually a menu with entries in it that drops down and allows you to quickly scan text rather than randomly shoot your eyes around a &#8220;ribbon&#8221; (I&#8217;m looking at you, Microsoft Office 2007).  Stop [...]]]></description>
			<content:encoded><![CDATA[<p>OK &#8211; I&#8217;ve been thinking about this for a while, and something in Google+ prompted me to make this post.  It goes like this:</p>
<p><strong>Please don&#8217;t change the following:</strong></p>
<p><a href="http://www.ralree.com/newblog/wp-content/uploads/2011/11/snapshot1.png"><img class="aligncenter size-full wp-image-23218" title="snapshot1" src="http://www.ralree.com/newblog/wp-content/uploads/2011/11/snapshot1.png" alt="" width="383" height="318" /></a>See that?  See how there&#8217;s things like <strong>Save As&#8230; </strong>(I&#8217;m looking at you, OSX).  See how there&#8217;s actually a menu with entries in it that drops down and allows you to quickly scan text rather than randomly shoot your eyes around a &#8220;ribbon&#8221; (I&#8217;m looking at you, Microsoft Office 2007).  Stop changing this.  We&#8217;ve had this design for more than 20 years, so it&#8217;s likely quite a few of us are more than a little used to it now.  Also, make all the keyboard shortcuts work right.  For instance, Ctrl-Shift-s should always be <strong>Save As&#8230;</strong> and Ctrl-s should always be <strong>Save</strong>.  This applies to any and all applications that have some sort of document editing capability.</p>
<p>There.  Just had to get that off my chest.  I couldn&#8217;t find Bullets and Numbering in the stupid MS Office 2007 ribbon at work, since they got rid of the entire Format menu and replaced it with the impossible-to-navigate ribbon.  And today I heard there&#8217;s no <strong>Save As&#8230;</strong> in OSX Lion &#8211; I feel for you, dudes and dudettes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2011/11/12/save-as-a-dying-breed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Quest for the Best Beef</title>
		<link>http://www.ralree.com/2011/10/29/the-quest-for-the-best-beef/</link>
		<comments>http://www.ralree.com/2011/10/29/the-quest-for-the-best-beef/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 21:19:04 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23201</guid>
		<description><![CDATA[I&#8217;m a pretty big fan of NY Strip Steaks. I usually just buy them from Costco (USDA Prime for about $15/lb). But, recently I&#8217;ve been curious about trying some other sources. I already put in an order to Baldwin&#8217;s, and I also plan on trying Lobel&#8217;s. I&#8217;ll also probably get a grill sampler from La Cense Beef. There&#8217;s quite a few local places that sell grass-fed as well, so I&#8217;ll be trying some of those.  Clark&#8217;s Never Sell The Land [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a pretty big fan of NY Strip Steaks. I usually just buy them from Costco (USDA Prime for about $15/lb). But, recently I&#8217;ve been curious about trying some other sources. I already put in an order to <a title="Baldwin's 5 Pac" href="http://www.baldwingrassfedbeef.com/shop/pc/viewPrd.asp?idcategory=2&amp;idproduct=1">Baldwin&#8217;s</a>, and I also plan on trying <a href="https://www.lobels.com/">Lobel&#8217;s</a>. I&#8217;ll also probably get a grill sampler from <a href="http://www.lacensebeef.com/">La Cense Beef</a>. There&#8217;s quite a few local places that sell grass-fed as well, so I&#8217;ll be trying some of those.  <a href="http://www.clarklandfarm.com/NSTL%20Beef%20Products%20and%20Pricing%20Page.htm">Clark&#8217;s Never Sell The Land Farm</a> is on the list.  Should be fun.</p>
<p>This all stemmed from reading these articles:<br />
<a href="http://online.wsj.com/article/SB10001424052748704575304575296670854883224.html">Ordering Up Beef That Roamed the Range</a><br />
<a href="http://answers.yahoo.com/question/index?qid=20070524210126AAIVfLU">The first answer here</a><br />
<a href="http://www.ralree.com/newblog/wp-content/uploads/2011/10/IMG_6401.jpg"><img class="aligncenter size-large wp-image-23205" title="IMG_6401" src="http://www.ralree.com/newblog/wp-content/uploads/2011/10/IMG_6401-1024x624.jpg" alt="" width="620" height="377" /></a></p>
<h2>Update 2011-11-5</h2>
<p>I&#8217;ve been eating Costco Prime NY Strip all week. The quality is very consistent, and the flavor is buttery and rich. These are cut 1.5&#8243; thick, so you have to let them warm up at room temperature for quite a while before cooking, and you have to adjust Alton Brown&#8217;s recipe to about 3-4 minutes in the oven instead of the normal 2 to get it medium-rare. But, when done right, these things are killer. As a starting point, I&#8217;m going to give these an 8/10. I think this is fair, and I could always adjust it later if I find something REALLY good that deserves an 11 (or I could just give it an 11/10, maybe that&#8217;s the right way).</p>
<h3>Costco Prime NY Strip from Store #1000: <span style="color: #ff6600;">8/10</span></h3>
<p>I tried one of the burgers from Baldwin&#8217;s today. It was outstanding &#8211; I cooked it so it was warm in the center, but still rare enough to get massive beef flavor. I had it with some American cheese and lettuce for a bun, and just a touch of ketchup. This was one of the best burgers I&#8217;ve had for quite a while, and I&#8217;ll be trying the other three soon with different levels of done-ness. The beef has a bold flavor &#8211; it&#8217;s rather rich, and very clean. It tastes a lot like Ray&#8217;s Hellburger in Arlington if you order it rare. They supposedly grind up high-end roast and steak to make those burgers. These are a little spendy, but so far are definitely worth the premium price.</p>
<h2>Update 2011-11-11</h2>
<p>I&#8217;ve been eating the Baldwin&#8217;s beef I ordered, and it&#8217;s pretty darn good. The hamburger and burger patties we received are excellent &#8211; some of the best ground beef my wife and I have ever had. It&#8217;s rare that she even asks for a hamburger, let alone enjoys eating one, and she enjoyed the one I made for her today. There seems to be a perfect mixture of fat in the burger meat &#8211; it is just greasy enough to fry without sticking, but not enough to make a puddle in the pan or have to pour off fat &#8211; <strong>well done!</strong> I&#8217;ve been eating these burgers anywhere between medium-rare and well-done, and they&#8217;re good across the board.  I have to give these a 9/10.</p>
<h3>Baldwin&#8217;s Beef Burger and Burger Patties: <span style="color: #ff6600;">9/10</span></h3>
<p>I also ordered 2 NY Strip Steaks from Baldwin&#8217;s, and I have to say I&#8217;m not as impressed as I thought I&#8217;d be. The meat is extremely tender, and if you&#8217;ve ever dealt with game meat before, it feels a lot like that when raw. It cooks really quickly, and it&#8217;s cut about 3/4&#8243; thick. Alton Brown&#8217;s steak recipe got it nearly to medium before I knew it (30 seconds on each side to sear, 2 minutes in the oven at 500F). Because of this, one has to let them come to room temperature even longer than regular steaks to avoid the cold-in-the-middle problem. The flavor is really beefy and even a little gamey, which is how I like my burgers, but not how I like my steaks. I&#8217;ve read this is a common problem with grass-fed beef &#8211; it doesn&#8217;t taste buttery and rich like I expect Prime NY Strip to taste. It&#8217;s good, but I still prefer the Costco NY Strip at this point. The Costco stuff also costs about $3 less per pound, so there&#8217;s that. I&#8217;ll give this a 7/10.</p>
<h3>Baldwin&#8217;s NY Strip: <span style="color: #ff6600;">7/10</span></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2011/10/29/the-quest-for-the-best-beef/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KeePassX: The Perfect Password App</title>
		<link>http://www.ralree.com/2011/10/16/keepassx-the-perfect-password-app/</link>
		<comments>http://www.ralree.com/2011/10/16/keepassx-the-perfect-password-app/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 17:30:46 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[keepassx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23197</guid>
		<description><![CDATA[Recently, I&#8217;ve been having some trouble with passwords. Either the login name is a string I never use, and therefore never commit to memory (like my real phone number that I mask with Google Voice), or the password policy forces me to use a password that I&#8217;ll never remember (like sites that keep track of your past passwords, or require 11 characters of alternating symbols, letters and numbers, etc.). Since I use spamgourmet, any site that requires an email address [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve been having some trouble with passwords.  Either the login name is a string I never use, and therefore never commit to memory (like my real phone number that I mask with Google Voice), or the password policy forces me to use a password that I&#8217;ll never remember (like sites that keep track of your past passwords, or require 11 characters of alternating symbols, letters and numbers, etc.).  Since I use <a href="http://spamgourmet.com/">spamgourmet</a>, any site that requires an email address as a username is another puzzle &#8211; sometimes I even have to login there to find the right one.  Also, I have a concern that if I die, my wife will have real trouble getting into all my accounts, so it would be nice if I could just leave her one password to give her access to all that information.  So, I broke down and started using a password organizer app.  Now, I have always been averse to using these applications for a variety of reasons (online companies having all your passwords, plaintext in swap space / memory, keyloggers, insecure encryption, etc.), but I managed to find one that&#8217;s open source, never caches my master password, widely used, and has extreme cross-platform capabilities.  KeePassX is the name, and it&#8217;s available in Ubuntu.  Installing it is left as an exercise to the reader.  Once you get in there and add a few passwords, it starts to look something like this:</p>
<p><a href="http://www.ralree.com/newblog/wp-content/uploads/2011/10/Screenshot-at-2011-10-16-131825.png"><img src="http://www.ralree.com/newblog/wp-content/uploads/2011/10/Screenshot-at-2011-10-16-131825.png" alt="" title="Screenshot at 2011-10-16 13:18:25" width="633" height="502" class="aligncenter size-full wp-image-23198" /></a></p>
<p>It allows you to mask both your usernames and passwords (both optionally) from the top-level view.  It has clipboard capabilities, so you can just copy your password to the clipboard by clicking a button, and never see it on the screen in plain-text.  Their <a href="http://keepass.info/help/base/security.html" title="KeePassX: Security">security</a> is really well-done.  But the big realization today was that they have an <a href="http://www.androlib.com/android.application.com-android-keepass-qtw.aspx" title="KeePassDroid">Android App</a>!  This app only need the kdb file from any instance of the application, and of course the password to decrypt it.  It&#8217;s available in the market too!  But, how do you sync changes between your main desktop and your phone?  Dropbox!  Using the dropbox mobile app, I simply synced the kdb file onto the phone, and then opened it.  KeePassDroid popped up and asked if I wanted to make it the default database, and I checked the box.  Done.  </p>
<p>Now, whenever I make a change, it syncs over Dropbox like magic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2011/10/16/keepassx-the-perfect-password-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.714 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-04 02:28:24 -->

