<?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 &#187; ubuntu</title>
	<atom:link href="http://www.ralree.com/tag/ubuntu/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>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>
		<item>
		<title>Extracting M2TS length from a BDMV directory in Linux</title>
		<link>http://www.ralree.com/2010/01/14/extracting-m2ts-length-from-a-bdmv-directory-in-linux/</link>
		<comments>http://www.ralree.com/2010/01/14/extracting-m2ts-length-from-a-bdmv-directory-in-linux/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 15:32:06 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[bluray]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[m2ts]]></category>
		<category><![CDATA[mpls]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[utilities]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22760</guid>
		<description><![CDATA[I was having the hardest time getting various programs to echo the runtime of m2ts files in Linux, and it turns out someone wrote a parser for the files in the BDMV/PLAYLIST directory, which have all of this information. Get bdtools. I got Version 1.4. You can find it here. ./configure &#38;&#38; make &#38;&#38; sudo make install Try running mpls_dump. I got this error when running: mpls_dump: error while loading shared libraries: libbd-1.0.so.1: cannot open shared object file: No such [...]]]></description>
			<content:encoded><![CDATA[<p>I was having the hardest time getting various programs to echo the runtime of m2ts files in Linux, and it turns out someone wrote a parser for the files in the BDMV/PLAYLIST directory, which have all of this information.</p>
<ul>
<li>Get bdtools.  I got Version 1.4.  You can find it <a href="http://www.stebbins.biz/source/">here</a>.</li>
<li><code>./configure &amp;&amp; make &amp;&amp; sudo make install</code></li>
<li>Try running mpls_dump.  I got this error when running:
<pre><code>mpls_dump: error while loading shared libraries: libbd-1.0.so.1: cannot open shared object file:
No such file or directory</pre>
<p></code></li>
<li>To fix it, do this:
<pre><code>echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf
sudo ldconfig</pre>
<p></code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2010/01/14/extracting-m2ts-length-from-a-bdmv-directory-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calibre with the Nook on Ubuntu</title>
		<link>http://www.ralree.com/2010/01/01/calibre-with-the-nook-on-ubuntu/</link>
		<comments>http://www.ralree.com/2010/01/01/calibre-with-the-nook-on-ubuntu/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 09:55:48 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[Calibre]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nook]]></category>
		<category><![CDATA[reading]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22747</guid>
		<description><![CDATA[Calibre is about the best thing since sliced bread. It is able to convert basically any type of Ebook format into EPUB, which is what my Nook reads natively. It seamlessly syncs with the Nook as well, which is a huge plus, and all of this happens in Linux. I highly recommend this software. Just make sure not to queue up too many jobs, or it might DOS your computer for a bit. The PDF conversion is especially intensive. It [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://calibre-ebook.com/">Calibre</a> is about the best thing since sliced bread.  It is able to convert basically any type of Ebook format into EPUB, which is what my Nook reads natively.  It seamlessly syncs with the Nook as well, which is a huge plus, and all of this happens in Linux.  I highly recommend this software.  Just make sure not to queue up too many jobs, or it might DOS your computer for a bit.  The PDF conversion is especially intensive.  It makes quick work of short documents (hundreds of pages), but documents that are thousands of pages take much, much longer.  The only capability I&#8217;m missing currently is conversion of DOC to EPUB, but I can use OpenOffice to convert a DOC to HTML, and then import that into Calibre and convert it, so that works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2010/01/01/calibre-with-the-nook-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compiling ConvertLit on Ubuntu Linux 9.10</title>
		<link>http://www.ralree.com/2009/12/31/compiling-convertlit-on-ubuntu-linux-9-10/</link>
		<comments>http://www.ralree.com/2009/12/31/compiling-convertlit-on-ubuntu-linux-9-10/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 14:47:40 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[converlit]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[epub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lit]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22741</guid>
		<description><![CDATA[So, ConvertLit seems to be a good solution for those looking to convert LIT ebooks into EPUB (well, into HTML, but then into EPUB&#8230;).  Unfortunately, the developers seem to be unable to properly make a good source tarball for version 1.8.  Here&#8217;s what I did: Download Version 1.8 source from here. unzip clit18src.zip -d convertlit sudo apt-get install libtommath-dev Download this to the convertlit directory. patch -p1 -i clit18.source.patch You should see the clit18/Makefile was patched cd lib &#38;&#38; make [...]]]></description>
			<content:encoded><![CDATA[<p>So, ConvertLit seems to be a good solution for those looking to convert LIT ebooks into EPUB (well, into HTML, but then into EPUB&#8230;).  Unfortunately, the developers seem to be unable to properly make a good source tarball for version 1.8.  Here&#8217;s what I did:</p>
<ol>
<li>Download Version 1.8 source from <a href="http://www.convertlit.com/download.php">here</a>.</li>
<li><code>unzip clit18src.zip -d convertlit</code></li>
<li><code>sudo apt-get install libtommath-dev</code></li>
<li>Download <a href="http://ralree.com/files/clit18.source.patch">this</a> to the convertlit directory.</li>
<li><code>patch -p1 -i clit18.source.patch</code></li>
<li>You should see the clit18/Makefile was patched</li>
<li><code>cd lib &amp;&amp; make &amp;&amp; cd ../clit18 &amp;&amp; make</code></li>
<li>the clit binary should be available in the clit18 directory</li>
<li><code>sudo cp clit18/clit /usr/local/bin/</code></li>
<li>Use it!</li>
</ol>
<p>Now I just have to figure out how to convert it to epub.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/12/31/compiling-convertlit-on-ubuntu-linux-9-10/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Getting Skype Working on Ubuntu 9.10 Karmic x86-64</title>
		<link>http://www.ralree.com/2009/11/19/getting-skype-working-on-ubuntu-9-10-karmic-x86-64/</link>
		<comments>http://www.ralree.com/2009/11/19/getting-skype-working-on-ubuntu-9-10-karmic-x86-64/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 13:58:11 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[microphone]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22728</guid>
		<description><![CDATA[So, recently, I installed Ubuntu karmic cleanly on my main desktop machine here at home, and I have really liked it. I even switched to KDE, and everything has been working better than it had been in GNOME. I tried setting up Skype the other day, and ran into an issue with the microphone. It turns out that since the new Skype uses PulseAudio, there&#8217;s a further configuration step that&#8217;s not so obvious. I found out here that you have [...]]]></description>
			<content:encoded><![CDATA[<p>So, recently, I installed Ubuntu karmic cleanly on my main desktop machine here at home, and I have really liked it.  I even switched to KDE, and everything has been working better than it had been in GNOME.  I tried setting up Skype the other day, and ran into an issue with the microphone.  It turns out that since the new Skype uses PulseAudio, there&#8217;s a further configuration step that&#8217;s not so obvious.  I found out <a href="http://superuser.com/questions/33458/running-skype-2-1-beta-with-kde-4-3/33963#33963">here</a> that you have to do the following:</p>
<pre><code>
sudo apt-get install pavucontrol
pavucontrol
</code></pre>
<p>Then, go to the Input Devices tab, and unmute the sound (click the little speaker with a red X until the controls at the bottom are enabled).  Then, change the Port setting until you can see the bars move when you tap the microphone.  Then try Skype.  This worked perfectly for me &#8211; it&#8217;s too bad it&#8217;s not connected to the KDE sound mixer, but oh well.  Maybe in the future that will happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/11/19/getting-skype-working-on-ubuntu-9-10-karmic-x86-64/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SMPlayer, Lirc, and IRExec on Ubuntu Karmic</title>
		<link>http://www.ralree.com/2009/11/07/smplayer-lirc-and-irexec-on-ubuntu-karmic/</link>
		<comments>http://www.ralree.com/2009/11/07/smplayer-lirc-and-irexec-on-ubuntu-karmic/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 03:41:35 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[infrared]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lirc]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[smplayer]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22715</guid>
		<description><![CDATA[I used to use lirc with mplayer to allow my Packard Bell crappy remote to work awesomely, but I have since lost that configuration and switched to smplayer, since it&#8217;s awesome.  Today, I figured out how to control smplayer using similar means. sudo apt-get install lirc Make your /etc/lirc/lircrc look like this: ##### GLOBAL ##### begin flags = startup_mode mode = smplayer end begin remote = PackBell button = Aux1 mode = smplayer end begin button = Mute prog = [...]]]></description>
			<content:encoded><![CDATA[<p>I used to use lirc with mplayer to allow my Packard Bell crappy remote to work awesomely, but I have since lost that configuration and switched to smplayer, since it&#8217;s awesome.  Today, I figured out how to control smplayer using similar means.</p>
<p><span id="more-22715"></span></p>
<ul>
<li>sudo apt-get install lirc</li>
<li>Make your <strong>/etc/lirc/lircrc</strong> look like this:</li>
</ul>
<pre><code>
##### GLOBAL #####
begin
  flags = startup_mode
  mode = smplayer
end

begin
  remote = PackBell
  button = Aux1
  mode = smplayer
end

begin
  button = Mute
  prog   = irexec
  repeat = 0
  config = amixer sset 'Master' toggle
end
begin
  button = VolUp
  prog   = irexec
  repeat = 2
  delay = 1
  config = amixer sset 'Master' 1+
end
begin
  button = VolDown
  prog   = irexec
  repeat = 2
  delay = 1
  config = amixer sset 'Master' 1-
end

##### MPLAYER #####
begin smplayer
  begin
      remote = PackBell
      prog = irexec
      button = Down
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action rewind2); fi
      repeat = 3
      delay = 1
  end

  begin
      remote = PackBell
      prog = irexec
      button = Up
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action forward2); fi
      repeat = 3
      delay = 1
  end

  begin
      remote = PackBell
      prog = irexec
      button = Right
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action forward1); fi
      repeat = 3
      delay = 1
  end

  begin
      remote = PackBell
      prog = irexec
      button = Left
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action rewind1); fi
      repeat = 3
      delay = 1
  end

  begin
      remote = PackBell
      prog = irexec
      button = Display
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action fullscreen); fi
      repeat = 0
      delay = 0
  end

  begin
      remote = PackBell
      prog = irexec
      button = CHUp
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action next_subtitle); fi
      repeat = 3
      delay = 0
  end

  begin
      remote = PackBell
      prog = irexec
      button = CHDown
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action next_audio); fi
      repeat = 3
      delay = 0
  end

  begin
      remote = PackBell
      prog = irexec
      button = LMB
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action pl_prev); fi
      repeat = 3
      delay = 0
  end

  begin
      remote = PackBell
      prog = irexec
      button = RMB
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action pl_next); fi
      repeat = 3
      delay = 0
  end

  begin
      remote = PackBell
      prog = irexec
      button = Zero
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action next_aspect); fi
      repeat = 3
      delay = 0
  end

  begin
      remote = PackBell
      prog = irexec
      button = One
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action rewind3); fi
      repeat = 3
      delay = 0
  end
  begin
      remote = PackBell
      prog = irexec
      button = Two
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action play_or_pause); fi
      repeat = 3
      delay = 0
  end
  begin
      remote = PackBell
      prog = irexec
      button = Three
      config = if [ $(ps -eo cmd | grep -c ^smplayer) -eq 1 ]; then (smplayer -send-action forward3); fi
      repeat = 3
      delay = 0
  end
end smplayer
</code></pre>
<ul>
<li>sudo /etc/init.d/lirc restart</li>
<li>You should see the irexec daemon start</li>
<li>Start smplayer and make it play something</li>
<li>Push the AUX1 button on your Packard Bell remote</li>
<li>Now push other buttons.  It should all work.</li>
</ul>
<p>Thanks to all the blog posts and forum conversations that helped me figure all that out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/11/07/smplayer-lirc-and-irexec-on-ubuntu-karmic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importing MySQL 1.4 Amarok data into Amarok 2.2 Nightly</title>
		<link>http://www.ralree.com/2009/09/28/importing-mysql-1-4-amarok-data-into-amarok-2-2-nightly/</link>
		<comments>http://www.ralree.com/2009/09/28/importing-mysql-1-4-amarok-data-into-amarok-2-2-nightly/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 20:15:49 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22704</guid>
		<description><![CDATA[I was having a bunch of trouble today importing my old MySQL amarok database into the new nightly version of amarok I installed.  The Amarok Wiki had a great section on how to convert a MySQL Amarok collection into an SQLlite one.  This was the key to importing my old 1.4 collection into the new 2.2 nightly version of Amarok.]]></description>
			<content:encoded><![CDATA[<p>I was having a bunch of trouble today importing my old MySQL amarok database into the new nightly version of amarok I installed.  <span style="background-color: #ffffff; "><a href="http://amarok.kde.org/wiki/MySQL_HowTo#Amarok_1.4.8_and_MySQL_5.0.45">The Amarok Wiki</a> had a great section on how to convert a MySQL Amarok collection into an SQLlite one.  This was the key to importing my old 1.4 collection into the new 2.2 nightly version of Amarok.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/09/28/importing-mysql-1-4-amarok-data-into-amarok-2-2-nightly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSD in the M1530</title>
		<link>http://www.ralree.com/2009/03/28/ssd-in-the-m1530/</link>
		<comments>http://www.ralree.com/2009/03/28/ssd-in-the-m1530/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 05:37:28 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[m1530]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22471</guid>
		<description><![CDATA[Today, I finally set up my new OCZ SSD hard drive: All I had to do to convert my M1530 running Ubuntu over was use the cp command: mkdir /mnt/root &#038;&#038; mount root_partition /mnt/root mount /dev/sda1 /mnt/target cp -a /mnt/root/ /mnt/target/ You might also have to repeat for other partitions like boot and home. cp -a is awesome. It does exactly what you need for this process. Now my computer runs perfectly (other than me having to tweak grub a [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I finally set up my new OCZ SSD hard drive:</p>
<p><a href="http://www.amazon.com/gp/product/B001JU2UN0?ie=UTF8&#038;tag=4sco7yeaago-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B001JU2UN0"><img border="0" src="/newblog/wp-content/uploads/2009/03/41tv3xgo3tl_sl160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=4sco7yeaago-20&#038;l=as2&#038;o=1&#038;a=B001JU2UN0" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p>All I had to do to convert my M1530 running Ubuntu over was use the <tt>cp</tt> command:</p>
<pre><code>
mkdir /mnt/root &#038;&#038; mount root_partition /mnt/root
mount /dev/sda1 /mnt/target
cp -a /mnt/root/ /mnt/target/
</code></pre>
<p>You might also have to repeat for other partitions like boot and home.  <tt>cp -a</tt> is awesome.  It does exactly what you need for this process.  Now my computer runs perfectly (other than me having to tweak grub a little for the right boot options).  The only issue is you will have to move the contents of <tt>/mnt/target/root</tt> in this case to <tt>/mnt/target</tt> after this is done, as there&#8217;s an issue with dotfiles being copied in the root directory of the source.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/03/28/ssd-in-the-m1530/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling typing of the Euro symbol in Ubuntu</title>
		<link>http://www.ralree.com/2008/10/09/enabling-typing-of-the-euro-symbol-in-ubuntu/</link>
		<comments>http://www.ralree.com/2008/10/09/enabling-typing-of-the-euro-symbol-in-ubuntu/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 03:08:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[euro]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[world]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2008/10/09/enabling-typing-of-the-euro-symbol-in-ubuntu</guid>
		<description><![CDATA[In today&#8217;s troubled world, it&#8217;s nice to be able to talk about different currencies. The Euro is one that has gotten very popular lately, and you can actually type the character in Linux. In Ubuntu, you can select a Third-level chooser key to enable foreign characters to be typed. I chose the right ALT key for mine. Here&#8217;s how I did it: Open System -> Preferences -> Keyboard and go to the Layouts Tab. Click Layout Options Pull down the [...]]]></description>
			<content:encoded><![CDATA[<p>In today&#8217;s troubled world, it&#8217;s nice to be able to talk about different currencies.  The Euro is one that has gotten very popular lately, and you can actually type the character in Linux.  In Ubuntu, you can select a <strong><em>Third-level chooser key</strong></em> to enable foreign characters to be typed.  I chose the right <code>ALT</code> key for mine.  Here&#8217;s how I did it:</p>
<ol>
<li>Open <strong><em>System -> Preferences -> Keyboard</strong></em> and go to the <strong><em>Layouts</strong></em> Tab.</li>
<li>Click <strong><em>Layout Options</strong></em></li>
<li>Pull down the <strong><em>Adding the EuroSign to certain keys</strong></em> list, and pick one.  I chose the <code>E</code> key.</li>
<li>Now, pull down the <strong><em>Third level choosers</strong></em> list.</li>
<li>Select a key.</li>
</ol>
<p>Mine looks like so:<br />
<img src="http://ralree.info/assets/2008/10/9/keyconfig.png" alt="Mine"/></p>
<p>Close it, and now you can type the € character at will!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2008/10/09/enabling-typing-of-the-euro-symbol-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSCON Sessions, Day 2</title>
		<link>http://www.ralree.com/2008/07/25/oscon-sessions-day-2/</link>
		<comments>http://www.ralree.com/2008/07/25/oscon-sessions-day-2/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 13:44:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[beer]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[oscon]]></category>
		<category><![CDATA[oscon2008]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[swig]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2008/07/25/oscon-sessions-day-2</guid>
		<description><![CDATA[Oh man, what a day. I attended quite a few talks, grabbed a lot of swag, and entered a few contests. I ended up buying the Arduino Starter Kit from MAKE so I can do some awesome embedded Ruby like I saw at FOSCON. It looks really fun &#8211; I can&#8217;t wait to try it out. The talks I attended were half-way decent, but I learned a lot more on the first day. Hadoop and EC2 A good overview of [...]]]></description>
			<content:encoded><![CDATA[<p>Oh man, what a day.  </p>
<p>I attended quite a few talks, grabbed a lot of swag, and entered a few contests.  I ended up buying the <a href="http://www.makershed.com/ProductDetails.asp?ProductCode=MSAK">Arduino Starter Kit from MAKE</a> so I can do some awesome <a href="http://rad.rubyforge.org/">embedded Ruby</a> like I saw at FOSCON.  It looks really fun &#8211; I can&#8217;t wait to try it out.</p>
<p>The talks I attended were half-way decent, but I learned a lot more on the first day.</p>
<h2><a href="http://github.com/hank/life/tree/master/oscon/2008/sessions/Hadoop.EC2.rdoc">Hadoop and EC2</a></h2>
<p>A good overview of how one can use Amazon&#8217;s S3 and EC2 services to cheaply process and store data on a pretty large scale.  The New York Times digitized hundreds of years of articles in <em>a single day</em> using these services and some awesome C++ code.</p>
<h2><a href="http://github.com/hank/life/tree/master/oscon/2008/sessions/Open.Standards.Cloud.Computing.rdoc">Open standards in cloud computing</a></h2>
<p>This ended up being a marketing talk.  I don&#8217;t know what it had to do with cloud computing, and I didn&#8217;t stick around to find out.</p>
<h2><a href="http://github.com/hank/life/tree/master/oscon/2008/sessions/Ruby.1.9.rdoc">Ruby 1.9: What to Expect</a></h2>
<p>An awesome overview of all the new stuff in Ruby 1.9 given by Sam Ruby.  I had no idea they were changing so much, and this was a good dive with code examples into that.  There was some discussion among everyone in the middle on whether <code>for</code> loops should work like <code>.each</code> blocks with regards to scope.  I happen to disagree with what ended up being the popular thought on this subject.  Most were advocating that a <code>for</code> loop constitutes a block, and that scope variables and iterators should be localized inside of it.  This is contrary to almost every language, which I brought up using the example of C.  Yet, when you iterate with <code>.each</code>, you immediately define a block and a scoped iterator, which, if it has a conflicting name with the outside world, it doesn&#8217;t matter since that&#8217;s out of scope.  The only thing this changes is the value of a variable outside after the loop finishes.  I think leaving the ability to modify a variable external to the loop is very convenient &#8211; in summary, <em>leave it how you&#8217;ve done it in Ruby 1.9 already</em>.</p>
<h2><a href="http://github.com/hank/life/tree/master/oscon/2008/sessions/Mobile.rdoc">Ubuntu on the Go: Subnotebook and MID technologies</a></h2>
<p>This was an interesting session on where Canonical is taking mobile technology, and what the community can do to help.  They seem to have a pretty neat subnotebook coming out soon.</p>
<h2><a href="http://github.com/hank/life/tree/master/oscon/2008/sessions/SWIG.rdoc">Python, C++, and SWIG</a></h2>
<p>This could have been one of the best talks, but the speed at which it was given and the lack of enthusiasm in the presentation left most of us either bored or unfulfilled at the end of the talk.  He spent the first half explaining what Python and C++ were, then he got to what SWIG is.  The end was a quick dive into an extremely complicated bunch of files that didn&#8217;t help very much.  In the future, it would be helpful to go to a SWIG talk that details <em>how to make a simple Python extension with SWIG</em>.  I may have to throw that one together myself&#8230;</p>
<p>I also attended the tail end of <a href="http://en.oreilly.com/oscon2008/public/schedule/detail/2872">Designing Political Web Apps for MoveOn.org</a>, but I didn&#8217;t take any notes.  </p>
<p>We ended up going to dinner at <a href="http://www.widmer.com/Default.aspx">Widmer Brothers</a>, which was pretty awesome.  I had the Pork Schnitzel, a very tender piece of meat if I do say so myself, along with 2 Full Nelson IPAs.  Afterwards, we caught the bus from the convention center to BeerForge and the SourceForge Community Choice Awards party.  Beerforge was a blast.  I ended up talking to <a href="http://www.jbkempf.com/">Jean-Baptiste Kempf</a>, one of the developers of VLC, for hours &#8211; a truly great guy.  I learned a lot about France and the French people, but also about VLC.  Apparently, you can use VLC from the command line much like mplayer, which I did not know.  Yet, he explained that they removed Directshow support from VLC in Linux in favor of open source alternatives, which in part I can understand.  Yet, the only codec available that is able to smoothly play 1080p h264 video is closed source (<a href="http://www.coreavc.com/">CoreAVC</a>), and until the ffmpeg avc codec catches up, I&#8217;ll have to continue using mplayer.  When I can play everything back smoothly with VLC, I may consider switching.</p>
<p>The beer at BeerForge was pretty good &#8211; I had the IPA.  SourceForge had some sort of mixed drink which wasn&#8217;t too great.  All in all, a good day, but now I&#8217;m dehydrated&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2008/07/25/oscon-sessions-day-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

