<?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; awesome</title>
	<atom:link href="http://www.ralree.com/tag/awesome/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>A zsh adventure</title>
		<link>http://www.ralree.com/2011/08/16/a-zsh-adventure/</link>
		<comments>http://www.ralree.com/2011/08/16/a-zsh-adventure/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 03:42:34 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[magic]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23151</guid>
		<description><![CDATA[Oh yeah, zsh guys.  It&#8217;s awesome, and you should know that, but what makes one switch from good ol&#8217; bash?  Generally, it&#8217;s prompt magic, but really there&#8217;s some other nice features that make it worth considering.  But first, prompt magic.  I had some trouble getting the prompt to respect the width of my terminal, but it was resolved by escaping some things I had in there.  I ended up with this: To do that, you just need the following in [...]]]></description>
			<content:encoded><![CDATA[<p>Oh yeah, zsh guys.  It&#8217;s awesome, and you should know that, but what makes one switch from good ol&#8217; bash?  Generally, it&#8217;s prompt magic, but really there&#8217;s some other nice features that make it worth considering.  But first, prompt magic.  I had some trouble getting the prompt to respect the width of my terminal, but it was resolved by escaping some things I had in there.  I ended up with this:</p>
<p><a href="http://www.ralree.com/newblog/wp-content/uploads/2011/08/Screenshot.png"><img class="aligncenter size-full wp-image-23152" title="Screenshot" src="http://www.ralree.com/newblog/wp-content/uploads/2011/08/Screenshot.png" alt="" width="651" height="83" /></a></p>
<p>To do that, you just need the following in your .zshrc in your home directory:</p>
<pre><code>autoload -U colors &amp;&amp; colors

# Prompt Customization
PS1="%{$fg[blue]%}%n%{$fg_bold[yellow]%}✯%{$fg[blue]%}%m%{$fg_bold[black]%}:%{$fg_no_bold[green]%}%~ %{$fg_bold[black]%}%#%{$reset_color%} "
RPS1="%{$fg_bold[black]%}%D{%Y%m%d %H:%M}%{$reset_color%}"</code></pre>
<p>Yes, that&#8217;s a unicode character.  That&#8217;s perfectly legal, which is <strong>awesome</strong>.  Next, we have to get bash reverse history search functionality working in zsh, which is really easy with a simple keybinding for control-r:</p>
<pre><code>## History search like bash
bindkey '\e[3~' delete-char
bindkey '^R' history-incremental-search-backward</code></pre>
<p>And we&#8217;re off to the races.  So far, I really like it.  I recommend that you *nix nerds try it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2011/08/16/a-zsh-adventure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2 Projects completed within 24 hours: USBtinyISP Kit</title>
		<link>http://www.ralree.com/2011/02/04/2-projects-completed-within-24-hours-usbtinyisp-kit/</link>
		<comments>http://www.ralree.com/2011/02/04/2-projects-completed-within-24-hours-usbtinyisp-kit/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 07:44:37 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[atmel]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[kit]]></category>
		<category><![CDATA[microcontrollers]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23032</guid>
		<description><![CDATA[Well, it&#8217;s a kit, so it&#8217;s kind of cheating. The other project was the Theramin, which I worked on for days. Anyway, this is a cute little kit you can buy for about $22 that, once assembled, can program pretty much any Atmel microcontroller IC. It&#8217;s pretty cool &#8211; for real. Anyway, it only took about 45 minutes (I was being careful soldering, could have had it done in 20 if I was hurrying). I&#8217;m very happy with the result [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s a kit, so it&#8217;s kind of cheating.  The other project was the Theramin, which I worked on for days.  Anyway, this is a <a href="http://www.ladyada.net/make/usbtinyisp/">cute little kit</a> you can buy for about $22 that, once assembled, can program pretty much any Atmel microcontroller IC.  It&#8217;s pretty cool &#8211; for real.  Anyway, it only took about 45 minutes (I was being careful soldering, could have had it done in 20 if I was hurrying).  I&#8217;m very happy with the result &#8211; it lights up when I plug it into USB, and avrdude can talk to it.  Now I just have to build a little header for my chip, and I can start breadboarding with it.  The header pins are in the mail!</p>
<p><p class="flickrTag_container"><a href="http://www.flickr.com/photos/79248695@N00/5414851987/in/set-72157625847794027/" class="flickr"><img src="http://farm6.static.flickr.com/5214/5414851987_5646b8f70d.jpg" alt="USBTinyISP Build" class="flickr medium set" /></a><a href="http://www.flickr.com/photos/79248695@N00/5415461820/in/set-72157625847794027/" class="flickr"><img src="http://farm6.static.flickr.com/5174/5415461820_85deb00355.jpg" alt="USBTinyISP Build" class="flickr medium set" /></a><a href="http://www.flickr.com/photos/79248695@N00/5415461980/in/set-72157625847794027/" class="flickr"><img src="http://farm5.static.flickr.com/4114/5415461980_cb1475c617.jpg" alt="USBTinyISP Build" class="flickr medium set" /></a><a href="http://www.flickr.com/photos/79248695@N00/5414852475/in/set-72157625847794027/" class="flickr"><img src="http://farm6.static.flickr.com/5213/5414852475_30fd377185.jpg" alt="USBTinyISP Build" class="flickr medium set"  title="Just the resistors, ma'am."/></a><a href="http://www.flickr.com/photos/79248695@N00/5415462280/in/set-72157625847794027/" class="flickr"><img src="http://farm6.static.flickr.com/5251/5415462280_6af44c9369.jpg" alt="USBTinyISP Build" class="flickr medium set" /></a><a href="http://www.flickr.com/photos/79248695@N00/5414852909/in/set-72157625847794027/" class="flickr"><img src="http://farm5.static.flickr.com/4108/5414852909_584b6d189b.jpg" alt="USBTinyISP Build" class="flickr medium set" /></a><a href="http://www.flickr.com/photos/79248695@N00/5415462728/in/set-72157625847794027/" class="flickr"><img src="http://farm5.static.flickr.com/4143/5415462728_0cacbd317e.jpg" alt="USBTinyISP Build" class="flickr medium set"  title="I'm very proud of the soldering I did on this.  It looks so good because I made good use of my new 1lb. roll of .015 solder.  It works so well!"/></a><a href="http://www.flickr.com/photos/79248695@N00/5414853221/in/set-72157625847794027/" class="flickr"><img src="http://farm5.static.flickr.com/4080/5414853221_03b4856be3.jpg" alt="USBTinyISP Build" class="flickr medium set" /></a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2011/02/04/2-projects-completed-within-24-hours-usbtinyisp-kit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Markaby note about conditional attributes</title>
		<link>http://www.ralree.com/2010/08/26/quick-markaby-not-about-conditional-attributes/</link>
		<comments>http://www.ralree.com/2010/08/26/quick-markaby-not-about-conditional-attributes/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 03:24:23 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[camping]]></category>
		<category><![CDATA[markaby]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22844</guid>
		<description><![CDATA[Say you want to set an option tag to selected only under certain conditions without the code getting really ugly. Do this!: I was messing around with the ternary operator in other ways inside the element, but none of them actually interpreted properly. I hope this helps someone else struggling with this issue&#8230;]]></description>
			<content:encoded><![CDATA[<p>Say you want to set an option tag to selected only under certain conditions without the code getting really ugly.  Do this!:<br />
<script src="http://gist.github.com/552731.js"></script><br />
I was messing around with the ternary operator in other ways inside the element, but none of them actually interpreted properly.  I hope this helps someone else struggling with this issue&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2010/08/26/quick-markaby-not-about-conditional-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roy Chiao is Awesome.</title>
		<link>http://www.ralree.com/2010/03/23/roy-chiao-is-awesome/</link>
		<comments>http://www.ralree.com/2010/03/23/roy-chiao-is-awesome/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 21:06:27 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[bloodsport]]></category>
		<category><![CDATA[kung fu]]></category>
		<category><![CDATA[movies]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22792</guid>
		<description><![CDATA[I didn&#8217;t realize that Roy Chiao acted in basically every Kung Fu movie ever made.  You might know him (as I did) as Mr. Tanaka in Bloodsport.  He&#8217;s the guy that puts Frank Dukes through the awesome training because Frank tried to steal his sword.  I noticed him in Enter the Fat Dragon, and was thinking it was just an effect of all-look-same, but it turned out I was right!  He died over 10 years ago, which is sad.  This [...]]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t realize that <a href="http://www.imdb.com/name/nm0152054/">Roy Chiao</a> acted in basically every Kung Fu movie ever made.  You might know him (as I did) as Mr. Tanaka in Bloodsport.  He&#8217;s the guy that puts Frank Dukes through the awesome training because Frank tried to steal his sword.  I noticed him in <a href="http://www.imdb.com/title/tt0077538/">Enter the Fat Dragon</a>, and was thinking it was just an effect of <a href="http://alllooksame.com/">all-look-same</a>, but it turned out I was right!  He died over 10 years ago, which is sad.  This guy totally deserves of more mourning.  He also played Lao Che in Indiana Jones and the Temple of Doom!  I totally forgot that role, but <a href="http://en.wikipedia.org/wiki/Roy_Chiao">Wikipedia</a> helps.  I&#8217;m commemorating the 16th of March (his birthday) Roy Chiao Day.  We will celebrate it by watching one of his many films.<a href="http://www.ralree.com/newblog/wp-content/uploads/2010/03/53406.gif"><img class="aligncenter size-full wp-image-22796" title="Roy Chiao" src="http://www.ralree.com/newblog/wp-content/uploads/2010/03/53406.gif" alt="" width="320" height="240" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2010/03/23/roy-chiao-is-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How pilots should talk</title>
		<link>http://www.ralree.com/2010/02/27/how-pilots-should-talk/</link>
		<comments>http://www.ralree.com/2010/02/27/how-pilots-should-talk/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 04:18:37 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[flight]]></category>
		<category><![CDATA[guns]]></category>
		<category><![CDATA[pilots]]></category>
		<category><![CDATA[terrorism]]></category>

		<guid isPermaLink="false">http://www.ralree.com/2010/02/27/how-pilots-should-talk/</guid>
		<description><![CDATA[Oh, what a better world it would be&#8230;]]></description>
			<content:encoded><![CDATA[<p>Oh, what a better world it would be&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2010/02/27/how-pilots-should-talk/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://www.ralree.com/newblog/wp-content/uploads/2010/02/How_Pilots_Should_Talk.mp3" length="660266" type="audio/mpeg" />
		</item>
		<item>
		<title>Putting Music from Amarok 2 on the iPod Touch</title>
		<link>http://www.ralree.com/2010/02/10/putting-music-from-amarok-2-on-the-ipod-touch/</link>
		<comments>http://www.ralree.com/2010/02/10/putting-music-from-amarok-2-on-the-ipod-touch/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 19:56:34 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[ipod touch]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[sshfs]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22773</guid>
		<description><![CDATA[In case I ever forget this again, I&#8217;m posting these instructions here.  It&#8217;s actually really easy. Install OpenSSH from Cydia Mount the iPod&#8217;s filesystem: mkdir -p ~/touch &#38;&#38; sshfs -o allow_other root@192.168.1.7:/ ~/touch/ Then, in Amarok 2, go to the collection browser, and find all the songs that match your criteria (I use ratings): Highlight them and right-click drag them into the Dolphin/Nautilus window showing the directory ~/touch/private/var/mobile/Media/Music/ You may have to create the above directory. When you drop them, choose [...]]]></description>
			<content:encoded><![CDATA[<p>In case I ever forget this again, I&#8217;m posting these instructions here.  It&#8217;s actually really easy.</p>
<ul>
<li>Install OpenSSH from Cydia</li>
<li>Mount the iPod&#8217;s filesystem: <span style="font-family: monospace; line-height: 18px; font-size: 12px; white-space: pre;">mkdir -p ~/touch &amp;&amp; sshfs -o allow_other root@192.168.1.7:/ ~/touch/</span></li>
<li>Then, in Amarok 2, go to the collection browser, and find all the songs that match your criteria (I use ratings):</li>
</ul>
<p><img class="aligncenter size-full wp-image-22777" title="snapshot1" src="http://www.ralree.com/newblog/wp-content/uploads/2010/02/snapshot1.png" alt="" width="296" height="206" /></p>
<ul>
<li>Highlight them and <strong>right-click drag them</strong> into the Dolphin/Nautilus window showing the directory ~<code>/touch/private/var/mobile/Media/Music/</code></li>
<li>You may have to create the above directory.</li>
<li>When you drop them, choose <strong>Copy</strong>.  Then, wait, and they&#8217;ll all copy over the wireless to the device.  It&#8217;s awesome.</li>
<li>Get PwnPlayer from Cydia and enjoy!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2010/02/10/putting-music-from-amarok-2-on-the-ipod-touch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Hand and the Canon XSI</title>
		<link>http://www.ralree.com/2010/02/03/my-hand-and-the-canon-xsi/</link>
		<comments>http://www.ralree.com/2010/02/03/my-hand-and-the-canon-xsi/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 01:53:19 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[canon]]></category>
		<category><![CDATA[hand]]></category>
		<category><![CDATA[hdr]]></category>
		<category><![CDATA[xsi]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22767</guid>
		<description><![CDATA[I just took this picture with my new Canon XSI DSLR.  I really like it.  Even though I&#8217;m going to have to buy all new lenses, I think this picture, which was shot freehand with my left hand hanging in the air, makes it all worth it. Geet asked me what inspired me to switch to Canon after my devotion to Nikon and coveting of his D90.  I was intrigued by the D90 and other Nikon offerings, but I preferred [...]]]></description>
			<content:encoded><![CDATA[<p><p class="flickrTag_container"><a href="http://www.flickr.com/photos/79248695@N00/4329311214/" class="flickr"><img src="http://farm3.static.flickr.com/2790/4329311214_0d231c0df6.jpg" alt="Array" class="flickr medium photo"  title="Just took this using AEB on my Canon XSI.  I love it.  Made with Qtpfsgui and cleaned with GIMP.

Qtpfsgui 1.9.3 tonemapping parameters:
Operator: Fattal
Parameters:
Alpha: 2
Beta: 0.751
Color Saturation: 0.81 
Noise Reduction: 0.018 
------
PreGamma: 1"/></a></p><br />
I just took this picture with my new Canon XSI DSLR.  I really like it.  Even though I&#8217;m going to have to buy all new lenses, I think this picture, which was shot freehand with my left hand hanging in the air, makes it all worth it.</p>
<p>Geet asked me what inspired me to switch to Canon after my devotion to Nikon and coveting of his D90.  I was intrigued by the D90 and other Nikon offerings, but I preferred to stay in the $500 camera territory (D90 bodies start around $700 used).  True, I would not have had to buy new lenses, but my current lens situation isn&#8217;t really to die for (kit lens, 55-200mm VR lens, and 50mm 1.4 manual focus prime lens).  I&#8217;ve had the most fun with the prime lens, and I&#8217;ll probably spend some real money this time on a Canon version with auto-focus.</p>
<p>The real selling points for me for the Canon XSI over the Nikon D40x were the following:</p>
<ul>
<li>Auto-exposure bracketing (for HDR mainly)</li>
<li>Shot Rate: 3.5 fps vs. the D40x 3fps.  Minor, but still better.</li>
<li>Image stabilization in the kit lens (a bit gimmicky since it&#8217;s a low focal length, but still nice)</li>
<li>Automatic Sensor cleaning (D40x doesn&#8217;t have it)</li>
<li>More stuff in the viewfinder, like ISO settings.</li>
<li>Better menu, more features to configure</li>
<li>Larger screen (I usually use the viewfinder though)</li>
<li>Live View (very minor advantage, see previous comment).  It will be nice when I&#8217;m taking a picture away from my face.</li>
<li>Weight with the kit lens seems lighter than the D40x (I could be imagining things)</li>
<li>Auto-focus metering is better, and the up-close performance is better</li>
<li>Low-light performance seems to be better at ISO 800, but there are so many factors here that it could just be settings away.</li>
</ul>
<p>The cons exist though:</p>
<ul>
<li>The D40x has configurable hardware buttons, which is cool.  I don&#8217;t see this on the Canon</li>
<li>None of my filters will fit the funky 58mm format!  I have quite a few :(</li>
<li>The SD card slot door isn&#8217;t spring loaded &#8211; the Nikon&#8217;s is.  Very very minor.</li>
<li>After taking a picture or a set of them, it shows on the screen, but you have to hit the play button to activate review mode before hitting a directional button.  On the Nikon, if you hit a directional button when a picture is showing, you&#8217;re magically in review mode.</li>
<li>The sound!  The squeaky nasty gear-driven shutter sound is rather awful, while the mechanical-sounding Nikon shutter sound is totally awesome.</li>
<li>The feel of the adjustment wheel is better on the Nikon.  It seems cheaper on the Canon.</li>
<li>Deleting pictures on the camera is more cumbersome.</li>
</ul>
<p>Overall, I&#8217;m still happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2010/02/03/my-hand-and-the-canon-xsi/feed/</wfw:commentRss>
		<slash:comments>2</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>Fixing italics in Calibre EPUB output</title>
		<link>http://www.ralree.com/2009/12/31/fixing-italics-in-calibre-epub-output/</link>
		<comments>http://www.ralree.com/2009/12/31/fixing-italics-in-calibre-epub-output/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 16:30:05 +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[software]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22743</guid>
		<description><![CDATA[I converted an ebook from TXT to EPUB today using Calibre, and found that the italics (which in the TXT file are annotated /like this/) are not converted into the HTML equivalent.  I did the following to fix this: unzip ebook.epub -d tmpbook cd tmpbook perl -i.bak -pe 's/([\s-,.;\'?:]+)\/(.+?)\/([\s-,.;\'?:]+)/$1&#60;i&#62;$2&#60;\/i&#62;$3/sg;' *html That will create.bak files just in case anything went wrong.  To revert the changes, do this: for i in *.bak; do mv $i ${i%.bak}; done zip -r ebook.zip * &#38;&#38; [...]]]></description>
			<content:encoded><![CDATA[<p>I converted an ebook from TXT to EPUB today using Calibre, and found that the italics (which in the TXT file are annotated /like this/) are not converted into the HTML equivalent.  I did the following to fix this:</p>
<ol>
<li>unzip ebook.epub -d tmpbook</li>
<li>cd tmpbook</li>
<li><code>perl -i.bak -pe 's/([\s-,.;\'?:]+)\/(.+?)\/([\s-,.;\'?:]+)/$1&lt;i&gt;$2&lt;\/i&gt;$3/sg;' *html</code></li>
<li>That will create.bak files just in case anything went wrong.  To revert the changes, do this:<br />
<code>for i in *.bak; do mv $i ${i%.bak}; done</code></li>
<li><code>zip -r ebook.zip * &amp;&amp; mv ebook.zip ebook.epub</code></li>
</ol>
<p>Then, I found out Calibre works beautifully with the Nook, so I just popped it on there and it worked.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/12/31/fixing-italics-in-calibre-epub-output/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

