<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tom Purl's Web Site</title>
	<atom:link href="http://tompurl.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tompurl.com</link>
	<description>My '83 Datsun On The Side Of The Information Superhighway</description>
	<lastBuildDate>Tue, 02 Mar 2010 02:49:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='tompurl.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/620cc5862148afd2b2d0242871afa4ab?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tom Purl's Web Site</title>
		<link>http://tompurl.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tompurl.com/osd.xml" title="Tom Purl&#8217;s Web Site" />
	<atom:link rel='hub' href='http://tompurl.com/?pushpress=hub'/>
		<item>
		<title>Running The Depot Application With Jruby</title>
		<link>http://tompurl.com/2010/03/02/running-the-depot-application-with-jruby/</link>
		<comments>http://tompurl.com/2010/03/02/running-the-depot-application-with-jruby/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 02:49:04 +0000</pubDate>
		<dc:creator>tpurl</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[agile-development-with-rails]]></category>
		<category><![CDATA[jruby]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://tompurl.com/?p=179</guid>
		<description><![CDATA[I completed the Depot application from the Agile Development With Rails book, and I feel that I have a good understanding of the basics of developing with Ruby on Rails.  It’s a great framework, and creating the Depot application was a fun and enlightening process.
I thought that it might be equally enlightening to “port” [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=179&subd=tompurl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I completed the Depot application from the <a title="PragProg page for the book" href="http://pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition">Agile Development With Rails</a> book, and I feel that I have a good understanding of the basics of developing with Ruby on Rails.  It’s a great framework, and creating the <strong>Depot</strong> application was a fun and enlightening process.</p>
<p>I thought that it might be equally enlightening to “port” the Depot application to <a title="Jruby home page" href="http://jruby.org/">Jruby</a> using the <a title="The Jruby on Rails page on the Jruby wiki" href="http://kenai.com/projects/jruby/pages/JRubyOnRails">Jruby On Rails</a> libraries.  I had two basic milestones in mind:</p>
<ol>
<li><strong>Development &amp; Testing</strong> – I wanted to be able to develop and test my application just like I did with CRuby, using tools such as <code>mongrel</code> and <code>rake</code>.</li>
<li><strong>J2EE Deployment</strong> – The most popular process for deploying a Java-based application is to build a WAR file and then deploy it to a Java application server such as Tomcat (which was my choice).  I wanted to be able to complete these steps with my RoR application.</li>
</ol>
<p>The entire process was surprisingly easy.  The first milestone, <strong>Development and Testing</strong>, is covered in this article.  The <strong>J2EE Deployment</strong> milestone will be covered in a different blog article.</p>
<h2>Development &amp; Testing</h2>
<p>Here are some simple steps that will have your application running with <code>mongrel</code> very quickly.</p>
<p><strong>Please note</strong> that I am executing the steps below on a netbook running Ubuntu 9.10.  These commands should work on most Linux distributions, however.  Also, they should work with a few small adjustments on a Windows machine.</p>
<h3>Prepping Your Project Directory</h3>
<p>First, you’re not going to want to make these changes to your original version of the Depot code.  You will probably want to create a copy of it that is designed to work with Jruby.  Here’s how I did it on my machine:</p>
<pre><code>$ cd /home/tom/Dev/ruby
$ cp -r depot depot-jruby
</code></pre>
<p>The location of your <code>depot</code> folder will probably be different on your machine, but I’m sure that you can make the necessary adjustments <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Also, please  note that it is a good idea to “freeze” your rails version now if you have not done so already.  You can do this by executing the following command:</p>
<pre><code>$ cd /home/tom/Dev/ruby/depot-jruby
$ jruby -S rake rails:freeze:edge RELEASE=2.2.2
</code></pre>
<h3>Installing Jruby</h3>
<p>Next, you’ll want to install Jruby.  There’s a lot of ways of doing this, but this method worked pretty well on my development machine:</p>
<pre><code>$ cd /tmp
$ wget http://jruby.kenai.com/downloads/1.4.0/jruby-bin-1.4.0.tar.gz
$ tar xvfz jruby-bin-1.4.0.tar.gz
$ sudo cp -r jruby-1.4.0 /opt
# please replace tom:tom with your user and group
$ sudo chown -R tom:tom /opt/jruby-1.4.0
$ sudo ln -s /opt/jruby-1.4.0 /opt/jruby
</code></pre>
<p>Then simply add <code>/opt/jruby</code> to your <code>PATH</code>, and see if you can execute <code>jirb</code>.</p>
<h3>Installing Rails And Other Libraries</h3>
<p>This process is just as easy using Jruby as it is using CRuby.</p>
<p>Install the gems using these commands:</p>
<pre><code>$ jruby -S gem install rails --version 2.2.2
$ jruby -S gem install mongrel jruby-openssl jdbc-sqlite3
</code></pre>
<p>A few notes on those commands:</p>
<ul>
<li>Prepend the gem command with <code>jruby -S</code> to ensure that you are using the right version of the <code>gem</code> command.  This also works with any other Jruby command, such as <code>rake</code>.</li>
<li>Since the example uses the 2.2.2 version of Rails, we’re going to need it too.</li>
<li><code>jdbc-sqlite3</code> is the Java version of the sqlite3 DB driver.</li>
<li>The <code>jruby-openssl</code> package is nice to have regardless of what you’re installing with <code>rubygems</code>.</li>
</ul>
<h3>Making Depot Safe For JDBC</h3>
<p>You can’t use the C-based database drivers with Jruby, but luckily, the Jruby developers have made it very easy to use the JDBC-based equivalents.</p>
<p>First, make sure that you are using version <strong>0.9.2</strong> of the <code>activerecord-jdbc-adapter</code> driver or higher.  You can check this by executing the following command:</p>
<pre><code>$ jruby -S gem list | grep activerecord-jdbc-adapter
activerecord-jdbc-adapter (0.9.2)
</code></pre>
<p>Next, execute the following command from the root directory of your project:</p>
<pre><code>$ jruby script/generate jdbc
exists  config/initializers
create  config/initializers/jdbc.rb
create  lib/tasks
create  lib/tasks/jdbc.rake
</code></pre>
<p>That’s it!  Your Depot application is now ready to use Jruby-on-Rails.</p>
<p><strong>Please note</strong> that I <strong>did not modify my config/database.yml file</strong> or hack any part of the Rails libraries to make JDBC work.  These steps <strong>used</strong> to be necessary, but the command listed above gives you a much easier and cleaner way of using JDBC.  For more information, please check out this article:</p>
<ul>
<li><a href="http://blog.nicksieger.com/articles/2009/10/12/fresh-0-9-2-activerecord-jdbc-adapter-release">Fresh 0.9.2 activerecord-jdbc-adapter Release</a></li>
</ul>
<h3>Test</h3>
<p>To test my work, I did the following:</p>
<ul>
<li>I ran the <code>mongrel</code> app server and executed some manual tests of the Depot web site.  That worked well.</li>
<li>I execute all of my tests using the <code>rake test</code> command.  This also worked as well as it had with the CRuby version of my application.</li>
</ul>
<p>Success!  Now it would be nice to review all of the files that changed or were added.  Since I checked my project into my <code>git</code> repository before making any changes, I can get the information that I need pretty easily:</p>
<pre><code>$ git status
# branch master
# Changes to be committed:
#   (use "git reset HEAD &lt;file&gt;..." to unstage)
#
#       new file:   config/initializers/jdbc.rb
#       new file:   lib/tasks/jdbc.rake
</code></pre>
<p>That’s it!  No code or config changes were necessary.</p>
<h2>Conclusion</h2>
<p>As you can see, it’s fairly easy to “port” the Depot application to use Java-based versions of <code>mongrel</code>, <code>rails</code>, and the other libraries from the <a title="PragProg page for the book" href="http://pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition">Agile Development With Rails</a> book.  In my next article, I will take this application and deploy it on top of a Tomcat server.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tompurl.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tompurl.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tompurl.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tompurl.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tompurl.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tompurl.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tompurl.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tompurl.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tompurl.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tompurl.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=179&subd=tompurl&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://tompurl.com/2010/03/02/running-the-depot-application-with-jruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b972ff5d62434623ade7ad88b02aa99?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpurl</media:title>
		</media:content>
	</item>
		<item>
		<title>Tab Sweep – Week Of 2/14/10</title>
		<link>http://tompurl.com/2010/02/22/tab-sweep-%e2%80%93-week-of-21410/</link>
		<comments>http://tompurl.com/2010/02/22/tab-sweep-%e2%80%93-week-of-21410/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 17:55:56 +0000</pubDate>
		<dc:creator>tpurl</dc:creator>
				<category><![CDATA[Tab Sweep]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[gnome-3]]></category>
		<category><![CDATA[jruby-on-rails]]></category>
		<category><![CDATA[myths-of-innnovation]]></category>

		<guid isPermaLink="false">http://tompurl.com/?p=172</guid>
		<description><![CDATA[I spent most of my &#8220;hobby-time&#8221; this week &#8220;converting&#8221; my demo Ruby On Rails (RoR) application to Jruby.  I hope to have a post on all of my steps posted this week.

Rails Powered by the GlassFish Application Server &#8211; Nice overview of RoR on top of the Glassfish J2EE server, but it&#8217;s a bit dated.
Gnome [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=172&subd=tompurl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I spent most of my &#8220;hobby-time&#8221; this week &#8220;converting&#8221; my demo Ruby On Rails (RoR) application to Jruby.  I hope to have a post on all of my steps posted this week.</p>
<ul>
<li><a href="http://developers.sun.com/appserver/reference/techart/rails_gf/">Rails Powered by the GlassFish Application Server</a> &#8211; Nice overview of RoR on top of the Glassfish J2EE server, but it&#8217;s a bit dated.</li>
<li><a href="http://www.omgubuntu.co.uk/2009/09/gnome-3-quick-visual-tour.html">Gnome 3 – A Quick Visual Tour</a> &#8211; A few of my nerdy friends are pretty excited about this.  I&#8217;ve been using Gnome on-and-off for about 8 years now, and am pretty happy with it, so I hope the new revision doesn&#8217;t break any of my favorite features.</li>
<li><a href="http://www.livinginternet.com/w/wi_browse.htm">Web Browser History &#8211; First, Early</a> &#8211; This is a cool link courtesy of the <a href="http://www.scottberkun.com/blog/2007/the-book-the-myths-of-innovation/">Myths Of Innovation </a>book by <a href="http://www.scottberkun.com/">Scott Berkun</a>.  I&#8217;m surprised by the total number, and that I had never heard of most of them.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tompurl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tompurl.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tompurl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tompurl.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tompurl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tompurl.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tompurl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tompurl.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tompurl.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tompurl.wordpress.com/172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=172&subd=tompurl&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://tompurl.com/2010/02/22/tab-sweep-%e2%80%93-week-of-21410/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b972ff5d62434623ade7ad88b02aa99?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpurl</media:title>
		</media:content>
	</item>
		<item>
		<title>Tab Sweep &#8211; Week Of 2/7/10</title>
		<link>http://tompurl.com/2010/02/15/tab-sweep-week-of-2710/</link>
		<comments>http://tompurl.com/2010/02/15/tab-sweep-week-of-2710/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 00:00:23 +0000</pubDate>
		<dc:creator>tpurl</dc:creator>
				<category><![CDATA[Tab Sweep]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[ruby-on-rails]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[toto]]></category>
		<category><![CDATA[zones]]></category>

		<guid isPermaLink="false">http://tompurl.com/?p=160</guid>
		<description><![CDATA[I had lots of great opportunities to work with unfamiliar technologies last week, so I have an unusually large list of links in my tab sweep.
Solaris Zones
I learned late last week that Solaris Zones use different monitoring tools than any other Unix or Linux distribution, so I spent a good portion of this week learning [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=160&subd=tompurl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I had lots of great opportunities to work with unfamiliar technologies last week, so I have an unusually large list of links in my tab sweep.</p>
<h2 id="lsolaris-zones">Solaris Zones</h2>
<p>I learned late last week that Solaris Zones use different monitoring tools than any other Unix or Linux distribution, so I spent a good portion of this week learning about them.</p>
<ul>
<li><a title="Monitoring Memory and Disk usage [Joyent Wiki]" href="http://wiki.joyent.com/accelerators:kb:monitor_rss_disk">Monitoring Memory and Disk usage [Joyent Wiki]</a> &#8211; This has some nice information on using <code>prstat</code> from within a Zone.</li>
<li><a title="The Joyent Community / How to check my zone size?" href="http://discuss.joyent.com/viewtopic.php?id=23310">The Joyent Community / How to check my zone size?</a> &#8211; Another great post on Zones from the <a title="Joyent" href="http://www.joyent.com/">Joyent</a> web sites.  This article discusses the differences between RSS and SIZE/SWAP on Solaris.</li>
<li><a title="Slightly Skeptical View on Solaris Zones" href="http://www.softpanorama.org/Solaris/Virtualization/zones.shtml">Slightly Skeptical View on Solaris Zones</a> &#8211; This is a good, general overview of Solaris Zone technology.</li>
</ul>
<h2 id="lror-deployment-with-capistrano">RoR Deployment With Capistrano</h2>
<p>I get the impression that a lot of people have a love/hate relationship with <a title="Capistrano" href="///home/tom/UbuntuOne/wiki/TabSweep100207.html#lcapistrano">Capistrano</a>,  and I believe that I&#8217;m joining those ranks.  When your recipe finally works, it works very well, but getting to that point can be very frustrating.  Here are some links that helped me figure things out:</p>
<ul>
<li><a title="Capistrano Home Page" href="http://www.capify.org/index.php/Capistrano">Capistrano Home Page</a> &#8211; This is a good starting point, but it&#8217;s lacking much advanced information.</li>
<li><a title="Streaming Capistrano — err.the_blog" href="http://errtheblog.com/posts/19-streaming-capistrano">Streaming Capistrano — err.the_blog</a> &#8211; A nice little tip if you want to monitor remote command-line streams using Capistrano.</li>
</ul>
<h2 id="lheroku">Heroku + Toto</h2>
<p>I discovered the <a title="Toto" href="http://cloudhead.io/toto">Toto</a> blogging &#8220;engine&#8221; this week, which led me to <a title="Heroku" href="http://www.heroku.com/">Heroku</a>. It&#8217;s a very interesting deployment and hosting model for Ruby web applications, and I  look forward to learning more about it.</p>
<ul>
<li><a href="http://www.rubyinside.com/deploy-blog-with-toto-and-heroku-2962.html">Deploy A Free, Ruby Powered Blog In 5 Minutes with Toto and Heroku</a> &#8211; The title really says it all.</li>
<li><a title="My Toto Test Blog" href="http://tompurl.heroku.com/">My Toto Test Blog</a> &#8211; An interesting test, but I don&#8217;t think that it will replace my WordPress blog any time soon.</li>
<li><a href="http://www.usabilitypost.com/2010/02/06/blogging-simplified/">UsabilityPost &#8211; Blogging Simplified</a> &#8211; A cool Toto blog with a great CSS stylesheet.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tompurl.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tompurl.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tompurl.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tompurl.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tompurl.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tompurl.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tompurl.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tompurl.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tompurl.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tompurl.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=160&subd=tompurl&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://tompurl.com/2010/02/15/tab-sweep-week-of-2710/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b972ff5d62434623ade7ad88b02aa99?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpurl</media:title>
		</media:content>
	</item>
		<item>
		<title>Review: Rails Deployment: Production Configuration and Advanced Rails Tactics</title>
		<link>http://tompurl.com/2010/02/13/review-rails-deployment-production-configuration-and-advanced-rails-tactics/</link>
		<comments>http://tompurl.com/2010/02/13/review-rails-deployment-production-configuration-and-advanced-rails-tactics/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 02:47:44 +0000</pubDate>
		<dc:creator>tpurl</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[mod_rails]]></category>
		<category><![CDATA[mongrel]]></category>
		<category><![CDATA[phusion-passenger]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://tompurl.com/?p=153</guid>
		<description><![CDATA[ Rails Deployment: Production Configuration and Advanced Rails Tactics by Ezra Zygmuntowicz
My rating: 4 of 5 stars
Overall, this book had a lot of very good information, and it was very helpful to me as I deployed my first Ruby-On-Rails application into a &#8220;Production&#8221; environment.
Here&#8217;s the high points:

Lots of good information on tools such as Capistrano, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=153&subd=tompurl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p><a style="float:left;padding-right:20px;" href="http://www.goodreads.com/book/show/1032760.Rails_Deployment_Production_Configuration_and_Advanced_Rails_Tactics"><img src="http://photo.goodreads.com/books/1187734194m/1032760.jpg" border="0" alt="Rails Deployment: Production Configuration and Advanced Rails Tactics" /></a> <a href="http://www.goodreads.com/book/show/1032760.Rails_Deployment_Production_Configuration_and_Advanced_Rails_Tactics">Rails Deployment: Production Configuration and Advanced Rails Tactics</a> by <a href="http://www.goodreads.com/author/show/515376.Ezra_Zygmuntowicz">Ezra Zygmuntowicz</a></p>
<p>My rating: <a href="http://www.goodreads.com/review/show/88022716">4 of 5 stars</a><br />
Overall, this book had a lot of very good information, and it was very helpful to me as I deployed my first Ruby-On-Rails application into a &#8220;Production&#8221; environment.</p>
<p>Here&#8217;s the high points:</p>
<ul>
<li>Lots of good information on tools such as <a title="Capistrano Home Page" href="http://www.capify.org/">Capistrano</a>, MySQL, <a title="Mongrel home page" href="http://mongrel.rubyforge.org/">Mongrel</a>, Apache, and <a title="nginx Home Page" href="http://nginx.net/">nginx</a>.</li>
<li>The authors clearly know what they are talking about.</li>
<li>It&#8217;s helpful if you&#8217;re deploying a &#8220;toy&#8221; application (like I am) <strong>and</strong> if you&#8217;re deploying a large, clustered application.</li>
<li>It doesn&#8217;t assume that you&#8217;re already an expert on either Web app deployment or Ruby-On-Rails.</li>
</ul>
<p>Here are some of the things that could be better:</p>
<ul>
<li>This book was published over a year ago, and it already feels out-of-date.  For example, there isn&#8217;t one mention of <a title="Home page for Phusion Passenger" href="http://www.modrails.com/">Phusion Passenger</a>, even though this tool seems to be the new standard app server for Ruby-On-Rails in Production environments.</li>
<li>This is very subjective, but I feel like the information could have been organized a little better.  I felt as if the author jumped around a bit sometimes.</li>
<li>Also, some of the passages were a little difficult to read due to their incorrect sentence structure.  My writing isn&#8217;t perfect either, but I believe that the editor should have fixed more of these mistakes.</li>
</ul>
<p>If you&#8217;re deploying a Ruby app in any setting, then this is a good book to get.  I just don&#8217;t know if I would actually buy it.</p>
<p><a href="http://www.goodreads.com/review/list/1593897-tom-purl">View all my reviews &gt;&gt;</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tompurl.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tompurl.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tompurl.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tompurl.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tompurl.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tompurl.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tompurl.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tompurl.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tompurl.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tompurl.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=153&subd=tompurl&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://tompurl.com/2010/02/13/review-rails-deployment-production-configuration-and-advanced-rails-tactics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b972ff5d62434623ade7ad88b02aa99?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpurl</media:title>
		</media:content>

		<media:content url="http://photo.goodreads.com/books/1187734194m/1032760.jpg" medium="image">
			<media:title type="html">Rails Deployment: Production Configuration and Advanced Rails Tactics</media:title>
		</media:content>
	</item>
		<item>
		<title>Review: Agile Development With Rails, 3rd Edition</title>
		<link>http://tompurl.com/2010/02/03/review-agile-development-with-rails-3rd-edition/</link>
		<comments>http://tompurl.com/2010/02/03/review-agile-development-with-rails-3rd-edition/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 14:29:50 +0000</pubDate>
		<dc:creator>tpurl</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[agile-web-development-with-rails]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://tompurl.com/?p=146</guid>
		<description><![CDATA[ Agile Web Development with Rails: A Pragmatic Guide by Dave Thomas
My rating: 4 of 5 stars
In general, this book does a fairly good job of helping you create a rails-based application.  Part 3 includes some great in-depth information on the topics that are briefly discussed in Part 2.  
I only have one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=146&subd=tompurl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.goodreads.com/book/show/45.Agile_Web_Development_with_Rails_A_Pragmatic_Guide" style="float:left;padding-right:20px;"><img alt="Agile Web Development with Rails: A Pragmatic Guide (Pragmatic Programmers)" border="0" src="http://photo.goodreads.com/books/1156838584m/45.jpg" /></a> <a href="http://www.goodreads.com/book/show/45.Agile_Web_Development_with_Rails_A_Pragmatic_Guide">Agile Web Development with Rails: A Pragmatic Guide</a> by <a href="http://www.goodreads.com/author/show/13.Dave_Thomas">Dave Thomas</a></p>
<p>My rating: <a href="http://www.goodreads.com/review/show/83471614">4 of 5 stars</a><br />
In general, this book does a fairly good job of helping you create a rails-based application.  Part 3 includes some great in-depth information on the topics that are briefly discussed in Part 2.  </p>
<p>I only have one real gripe about this book.  It packs in lots of topics (e.g. db theory, AJAX, unit testing, security, deployment), but it doesn&#8217;t really tell you much about them.  Therefore, if you have a problem, then good luck figuring it out using the content in the book.  </p>
<p>A good example is the final chapter which covers deployment.  The chapter devotes only a few small paragraphs to configuring Apache for passenger.  To me, this section was completely useless unless you were already an expert with Apache configuration.  I ended that chapter with a broken Apache server and no resources (from the book) to begin fixing it.</p>
<p>Another problem that I had with that chapter is that it really didn&#8217;t follow the pattern that the chapters in Part 2 used.  In those chapters, the authors would should you how to do something relatively small, show you how to test it, and then provide some troubleshooting information if the task was particularly complex.  The deployment chapter gave you a *very brief and generalized* tutorial in each section, and then just assumed that everything went perfectly.  It didn&#8217;t show you how to test anything, and it didn&#8217;t help you troubleshoot any possible problems.</p>
<p>Don&#8217;t get me wrong.  I know that no book will provide all of the information that I would ever need about a subject, and thank goodness for the internet in these situations.  I was just hoping that all of the chapters in a book that I actually bought would provide better information than some person&#8217;s blog. </p>
<p>So in general, I guess I would have to say that this was a very good book with some bad chapters that were tacked-on at the end.</p>
<p><a href="http://www.goodreads.com/review/list/1593897-tom-purl">View all my reviews &gt;&gt;</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tompurl.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tompurl.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tompurl.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tompurl.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tompurl.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tompurl.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tompurl.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tompurl.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tompurl.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tompurl.wordpress.com/146/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=146&subd=tompurl&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://tompurl.com/2010/02/03/review-agile-development-with-rails-3rd-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b972ff5d62434623ade7ad88b02aa99?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpurl</media:title>
		</media:content>

		<media:content url="http://photo.goodreads.com/books/1156838584m/45.jpg" medium="image">
			<media:title type="html">Agile Web Development with Rails: A Pragmatic Guide (Pragmatic Programmers)</media:title>
		</media:content>
	</item>
		<item>
		<title>Walking With Rails 1 &#8211; Setup On Ubuntu</title>
		<link>http://tompurl.com/2010/01/05/walking-with-rails-1-setup-on-ubuntu/</link>
		<comments>http://tompurl.com/2010/01/05/walking-with-rails-1-setup-on-ubuntu/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 18:42:26 +0000</pubDate>
		<dc:creator>tpurl</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[agile-web-development-with-rails]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://tompurl.com/?p=120</guid>
		<description><![CDATA[Overview
One of my goals for 2010 is to gain a decent understanding of the Ruby On Rails framework.  I don&#8217;t think that this knowledge will directly help me with my current job (as a FileNet P8 administrator), but I do think that it will provide some good benefits.
First, learning about something that&#8217;s a little bit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=120&subd=tompurl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>One of my goals for 2010 is to gain a decent understanding of the <a title="Ruby On Rails Home Page" href="http://rubyonrails.org/" target="_self">Ruby On Rails</a> framework.  I don&#8217;t think that this knowledge will directly help me with my current job (as a FileNet P8 administrator), but I do think that it will provide some good benefits.</p>
<p>First, learning about something that&#8217;s a little bit outside of your comfort zone can often help you with your day-to-day tasks.  For example, if you teach yourself the basics of Java development, then you will know how to read a stack trace.  Having this knowledge is very important if you want to administer software written in Java.</p>
<p>Also,  it&#8217;s just fun.  Creating something useful out of a few lines of text never ceases to amaze me.  Also, I find that learning new technical skills is good for your brain.</p>
<p>Finally, who knows what the future may bring?  It never hurts to know as much as you can about popular technologies in general when you work in IT.</p>
<p>So to get started, I purchased a copy of <a title="Agile Web Development with Rails home page" href="http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition">Agile Web Development with Rails, Third Edition</a> from the <a title="Pragmatic Programmers Web Site" href="http://www.pragprog.com/">Pragmatic Programmers&#8217; web site</a>.  This book seems to be one of the best for beginners, and I really love that you can buy DRM-free ebooks from the Pragmatic Programmers&#8217; web site.</p>
<h2>Installing Ubuntu Packages</h2>
<p>So enough background information.  Here&#8217;s how I set up my system to get started with Rails development.  First, I installed all of the necessary software on my <strong>Ubuntu 9.10</strong> machine that was  available as an Ubuntu package:</p>
<blockquote>
<pre>sudo apt-get install rails ruby-full rubygems rake mongrel git-core sqlite3</pre>
</blockquote>
<p>Here&#8217;s why I installed more than just the <strong>rails</strong> and <strong>ruby</strong> pacakges.  When you install Ruby from source on a Linux machine, you get a lot of software.  In addition to the Ruby runtime, you get fun tools like <strong>irb</strong>, <strong>rubygems</strong>, <strong>rdoc, ri, </strong>and <strong>rake</strong>.  However, when you install the <strong>ruby</strong> package on Ubuntu and Debian, you just get the Ruby runtime along with a a couple of libraries.  Since I&#8217;m <span style="text-decoration:line-through;">lazy</span> efficient guy, I decided to install the <strong>ruby-full </strong>package instead to save a few keystrokes.  Unfortunately, the <strong>ruby-full</strong> package still doesn&#8217;t include <strong>rake </strong>or <strong>rubygems</strong>, so I installed those manually.</p>
<p><a title="Mongrel's home page" href="http://mongrel.rubyforge.org/">Mongrel</a> is a developer&#8217;s web server that is designed to work very well with Ruby on Rails development.  Since I am also impatient, I wanted a web server that would work a little faster than <a title="Wikipedia page for the WEBrick web server." href="http://en.wikipedia.org/wiki/WEBrick">WEBrick</a>.</p>
<p>Finally, I installed <strong>git</strong> because I wanted to share code between two different computers.  <a title="Home page for git." href="http://git-scm.com/">Git</a> is a version control system that is very popular with Ruby developers, so I figured that I would use the most popular Ruby-related tools while I&#8217;m learning about Ruby.</p>
<h2>Installing Software Without apt-get</h2>
<p>Natrually, you can&#8217;t install everything that you need with <strong>apt-get</strong>.  For starters, the version of <strong>rails</strong> that is used in <a title="Agile Web Development with Rails home page" href="http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition">Agile Web Development with Rails, Third Edition</a> is 2.2.2, so let&#8217;s install that using <strong>rubygems</strong>:</p>
<blockquote>
<pre>sudo gem install rails --version 2.2.2</pre>
</blockquote>
<p>This operation took a little while (~ 7 minutes) on my machine for some reason.</p>
<p><strong>Note</strong>: For some reason, this bog</p>
<p>Next, I&#8217;m a <a title="Vim home page" href="http://www.vim.org">Vim</a> user, so I would like to see if the <a title="Page where you can download the rails.vim plugin" href="http://www.vim.org/scripts/script.php?script_id=1567">rails.vim</a> plugin would help me at all.  There is an official Ubuntu package for this plugin called <strong>vim-rails</strong>, but when I try to install it using <strong>apt-get</strong>, I get the following error:</p>
<blockquote><p>Some packages could not be installed. This may mean that you have<br />
requested an impossible situation or if you are using the unstable<br />
distribution that some required packages have not yet been created<br />
or been moved out of Incoming.<br />
The following information may help to resolve the situation:</p>
<p>The following packages have unmet dependencies:<br />
vim-rails: Depends: vim-full but it is not installable<br />
E: Broken packages</p></blockquote>
<p>When I tried to install the <strong>vim-full</strong> package on my machine, I got this error:</p>
<blockquote><p>Package vim-full is not available, but is referred to by another package.<br />
This may mean that the package is missing, has been obsoleted, or<br />
is only available from another source<br />
E: Package vim-full has no installation candidate</p></blockquote>
<p>Ok, so after all of that, let&#8217;s just install it the easy way:</p>
<blockquote><p>(Download the latest version of <strong>rails.zip</strong> from the <a href="http://www.vim.org/scripts/script.php?script_id=1567">rails.vim download page</a>)</p>
<pre>$ cp rails.zip ~/.vim</pre>
<pre>$ cd ~/.vim</pre>
<pre>$ unzip rails.zip</pre>
</blockquote>
<p>Finally, open vim or gvim and execute the following command:</p>
<blockquote>
<pre>:helptags ~/.vim/doc</pre>
</blockquote>
<p>In case your interested, here are the other Vim-related packages that I have installed on my machine:</p>
<ul>
<li>vim-common</li>
<li>vim-gnome</li>
<li>vim-gui-commom</li>
<li>vim-runtime</li>
<li>vim-tiny</li>
</ul>
<h2>Conclusion</h2>
<p>And that&#8217;s it!  I now appear to have everything that I need to complete the beginning examples in <a title="Agile Web Development with Rails home page" href="http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition">Agile Web Development with Rails using</a> <strong>Ubuntu 9.10</strong> and <strong>Vim</strong>.</p>
<p><strong>Update (1/20/10)</strong> &#8211; I added the <strong>sqlite3</strong> package to the apt-get line above.  This package is necessary if you want to query your database manually.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tompurl.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tompurl.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tompurl.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tompurl.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tompurl.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tompurl.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tompurl.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tompurl.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tompurl.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tompurl.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=120&subd=tompurl&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://tompurl.com/2010/01/05/walking-with-rails-1-setup-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b972ff5d62434623ade7ad88b02aa99?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpurl</media:title>
		</media:content>
	</item>
		<item>
		<title>Cheapo Review Of The Nokia 2760</title>
		<link>http://tompurl.com/2009/12/08/cheapo-review-of-the-nokia-2760/</link>
		<comments>http://tompurl.com/2009/12/08/cheapo-review-of-the-nokia-2760/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 19:02:19 +0000</pubDate>
		<dc:creator>tpurl</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[frugality]]></category>
		<category><![CDATA[nokia]]></category>

		<guid isPermaLink="false">http://tompurl.com/?p=97</guid>
		<description><![CDATA[My Nokia 6101 just died after 2.5 years of faithful, inexpensive service, so I was in the market for a new phone in a hurry.  When I originally bought this phone, I hoped that Google would have revolutionized the cell phone industry in America, making smart phone service more flexible and inexpensive.  Well, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=97&subd=tompurl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>My <a title="Nokia 6101" href="http://www.mobiledia.com/phones/nokia/6101.html">Nokia 6101</a> just died after 2.5 years of faithful, inexpensive service, so I was in the market for a new phone in a hurry.  When I originally bought this phone, I hoped that Google would have revolutionized the cell phone industry in America, making smart phone service more flexible and inexpensive.  Well, the changes that I want still haven&#8217;t materialized yet, so I went looking for a new phone that was as similar as possible to my old trusty Nokia.</p>
<p>Another requirement that I had was that I wanted the phone to work with the T-Mobile pre-paid service.  I&#8217;m actually a really big fan of T-Mobile&#8217;s price and network coverage</p>
<p>The closest thing I could find was the <a title="Nokia 2760" href="http://www.nokiausa.com/find-products/phones/nokia-2760">Nokia 2760</a>.  On occasion, it would be available on th T-Mobile web site, but it couldn&#8217;t be found when my phone died. I therefore checked the Walgreens and Radio Shack stores in my town until I found one at &#8220;The Shack&#8221; (as the employees seem to be forced to call it).  It was $40 plus tax, which means that I won&#8217;t lose any sleep if my daughter tries to flush it down the toilet.</p>
<p>To &#8220;activate&#8221; the phone, I simply took the SIM card out of my old phone and placed it in the new one.  20 seconds later, I was able to receive calls using my mobile number.  I didn&#8217;t have to contact T-Mobile even once, and my old &#8220;plan&#8221; seems to work with the new phone very well.</p>
<p>The biggest questions that I had when I bought this phone were &#8220;what was missing from my old phone&#8221; and &#8220;what did I need to buy&#8221;.  Here&#8217;s the results:</p>
<h2 id="lmissing">Missing</h2>
<ul>
<li>This phone doesn&#8217;t have any buttons on the outside like my old one did.  I <em>really</em> liked having a volume and F-you button on the outside of the phone.  The 2760 forces you to open the button to silence an incoming call, and I have yet to figure out how to adjust call volume without 5 button clicks.</li>
<li>I can&#8217;t record video on this phone like I could with the old phone.  This isn&#8217;t really a bad thing, however, since the old phone&#8217;s videos were just god-awful.</li>
<li>Apparently, Nokia phones no longer come with a ringtone that sounds like a phone ringing.  And I guess noticing that makes me some type of old fogie who can&#8217;t figure out why stores no longer carry Lawrence Welk LP&#8217;s.  I tried to buy one from T-Mobile&#8217;s ringtone shop, but I couldn&#8217;t find one.</li>
<li>The 2760 doesn&#8217;t have a little antenna nub sticking out of the top.</li>
</ul>
<h2 id="ldifferent-38amp59-new">Different &amp; New</h2>
<ul>
<li>Bluetooth!  I know I am the last person in America to buy a bluetooth-enabled phone, but I&#8217;m really enjoying it so far.  On my 6101, I actually purchased the compatible serial cable from Nokia, which was around $50 if I remember correctly.  I hate that I have to basically throw away that investment, but I am loving how easy it is to use bluetooth.  Also, I purchased <a title="this bluetooth  adapter" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16833242001">this bluetooth adapter</a> from <a title="Newegg" href="http://www.newegg.com/">Newegg</a> for $15, and it works very well on both XP and Ubuntu 9.04.</li>
<li>The software interface has changed a little bit, but it&#8217;s nothing too revolutionary.  If you&#8217;re used to your old phone&#8217;s interface, then this one should be very intuitive.</li>
<li>I can now add MP3 ringtones from my MP3 collection.  Sweet!  Now I just need  to find an MP3 of a phone ringing <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>I can log into Gmail with this phone, which I couldn&#8217;t do on my old phone for some reason.  That&#8217;s nice, but the interface and network speed are nothing to write home about.</li>
<li>The battery model changed.  My old phone&#8217;s battery model was <strong>BL-4C</strong>, and my new phone&#8217;s battery model is <strong>BL-4B</strong>.  I don&#8217;t yet know if the two models are interchangeable, but I doubt they are.</li>
</ul>
<h2 id="lwhat-hasn39t-changed">What Hasn&#8217;t Changed</h2>
<ul>
<li>The wall AC adapter looks like it&#8217;s identical.  Based on that, it doesn&#8217;t look like I need to buy another car charger.</li>
<li>The photo quality appears to be identical.</li>
<li>The phone still has a ridiculously small amount of storage.  I think the official amount is 11 MB.  Oh well, I already have a digital camera and an MP3 player, so I guess I don&#8217;t need a phone that does all of that too.</li>
</ul>
<h2 id="lconclusion">Conclusion</h2>
<p>If you like little Nokia flip phones, then this one seems to be as good as its predecessors.  I&#8217;m pretty happy with it so far, and it&#8217;s hard to beat the price.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tompurl.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tompurl.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tompurl.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tompurl.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tompurl.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tompurl.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tompurl.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tompurl.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tompurl.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tompurl.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=97&subd=tompurl&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://tompurl.com/2009/12/08/cheapo-review-of-the-nokia-2760/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b972ff5d62434623ade7ad88b02aa99?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpurl</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu 9.04 =&gt; 9.10 Upgrade</title>
		<link>http://tompurl.com/2009/12/01/ubuntu-9-04-9-10-upgrade/</link>
		<comments>http://tompurl.com/2009/12/01/ubuntu-9-04-9-10-upgrade/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 03:36:03 +0000</pubDate>
		<dc:creator>tpurl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://tompurl.com/?p=114</guid>
		<description><![CDATA[I just finished upgrading my MythTv/printing/data/everything server from version 9.04 of Ubuntu to 9.10.  For the first time, I tried using the Software Update program to upgrade my entire system, and it went surprisingly well.  Here  are some of the highlights; hopefully they will help a few other people.
MythTv
The OS upgrade included [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=114&subd=tompurl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I just finished upgrading my <a title="MythTv" href="http://www.mythtv.org/">MythTv</a>/printing/data/everything server from version 9.04 of Ubuntu to 9.10.  For the first time, I tried using the Software Update program to upgrade my entire system, and it went surprisingly well.  Here  are some of the highlights; hopefully they will help a few other people.</p>
<h3 id="lmythtv">MythTv</h3>
<p>The OS upgrade included an upgrade of MythTv from 0.21 to 0.22, so I was a little nervous about how well mythbackend and all of my MythTv-related applications (like mythweb and nuvexport) would work.  To my surprise, mythbackend and mythweb both upgraded flawlessly.  This is a really impressive feat, and it reflects the hard work that the MythTv package maintainers put into each Ubuntu release.</p>
<p>The nuvexport package is broken for me, but I think that&#8217;s because I compiled a customized version of <a title="ffmpeg" href="http://ffmpeg.org/">ffmpeg</a>.  Oh well, this seems to be a common hurdle when I upgrade Ubuntu.</p>
<p>One little thing that I did have to fix after the upgrade was my MySQL configuration.  The upgrade laid down the default version of the <code>/etc/mysql/my.cnf</code> file (after asking, of course).  This file was configured to block any computer from using MySQL over the network.  This is bad for me, because I like to watch my MythTv movies from other computers using mythfrontend.</p>
<p>To fix this, I simply commented out the following line in <code>my.cnf</code> on my MythTv server by placing a <code>#</code> in front of it:</p>
<pre> bind-address            = 127.0.0.1</pre>
<p>After that, I simply restarted MySQL and I was able to use mythfrontend from my other computers.</p>
<div>
<p>Note</p>
<p>If you are on a network with other untrusted hosts, then you will want to use a more secure configuration than this.</p>
</div>
<h3 id="lvirtualbox">VirtualBox</h3>
<p>I run Windows XP in a <a title="VirtualBox" href="http://virtualbox.org/">VirtualBox</a> VM for work, so it&#8217;s <em>very</em> important that <em>both</em> VirtualBox and my XP image work properly at all times.  Again, to my surprise, everything worked perfectly after the upgrade.  I didn&#8217;t even need to re-install VirtualBox.  The VirtualBox kernel module was automatically re-compiled during the upgrade process, so I didn&#8217;t even have to do that.</p>
<p>Please note that I was using the <strong>absolute latest</strong> stable version of VirtualBox (3.0.12) before I started the upgrade.  Your mileage may vary if you are using an older version.</p>
<h3 id="loverall">Overall</h3>
<p>Again, I am very impressed by how well everything went.  I don&#8217;t see why I would ever choose to do a fresh installation of Ubuntu again on this machine.</p>
<h3 id="lcaveat-emptor">Caveat Emptor</h3>
<p>The automatic upgrade process is <strong>far from perfect</strong>, and <strong>your results may be different</strong>.  <strong>Before you start any major upgrade</strong>, make sure that you perform the following steps:</p>
<ol>
<li><strong>Make a backup of all of your important files</strong> &#8211; I use <a title="rsnapshot" href="http://rsnapshot.org/">rsnapshot</a> to back up my important files daily, and it has saved my bacon more than a couple of times. Also, it&#8217;s a good idea to store this backup on a separate disk from the boot disk.</li>
<li><strong>Download the current and target versions of Ubuntu and burn them to CD&#8217;s</strong> &#8211; If things do go south, then you will want to be able to either reinstall the current working version of Ubuntu or the target version. Having the actual ISO&#8217;s available on a CD may save you a ton of time and grief.</li>
</ol>
<p>Good luck!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tompurl.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tompurl.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tompurl.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tompurl.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tompurl.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tompurl.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tompurl.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tompurl.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tompurl.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tompurl.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=114&subd=tompurl&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://tompurl.com/2009/12/01/ubuntu-9-04-9-10-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b972ff5d62434623ade7ad88b02aa99?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpurl</media:title>
		</media:content>
	</item>
		<item>
		<title>Live TV On My EEE PC</title>
		<link>http://tompurl.com/2009/11/24/live-tv-on-my-eee-pc/</link>
		<comments>http://tompurl.com/2009/11/24/live-tv-on-my-eee-pc/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 18:50:19 +0000</pubDate>
		<dc:creator>tpurl</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[easy-peasy]]></category>
		<category><![CDATA[eeepc]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://tompurl.com/?p=95</guid>
		<description><![CDATA[I apologize in advance for the corny, rhyming title  
I&#8217;ve been using an Asus EEE PC 900 netbook for about a year now, and have used it mostly for light word processing and web browsing.  I also have a MythTV server running in my basement on an old Duron-based system.  I can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=95&subd=tompurl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I apologize in advance for the corny, rhyming title <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ve been using an <a title="Asus EEE PC 900" href="http://en.wikipedia.org/wiki/ASUS_Eee_PC#Eee_900_series">Asus EEE PC 900</a> netbook for about a year now, and have used it mostly for light word processing and web browsing.  I also have a <a title="MythTV" href="http://www.mythtv.org/">MythTV</a> server running in my basement on an old Duron-based system.  I can do almost all of my personal daily work on the EEE PC, but when I need to do anything MythTV-related, I&#8217;m forced to switch machines.</p>
<p>This can be a pain, so I decided to try running the &#8220;frontend&#8221; for MythTV on my EEE PC.  To my surprise, everything is working <em>very</em> well.  It only took me about 5 minutes to install and configure the frontend software, and after that, I was able to do the following on my netbook:</p>
<ul>
<li>Watch live tv</li>
<li>Watch recorded shows</li>
<li>Edit shows (i.e. cut out commercials)</li>
</ul>
<p>And the best part is that it&#8217;s all working very well over my wireless G network.  Your results may vary, but at least it&#8217;s nice to know that this configuration works for some people.</p>
<p>Here&#8217;s some more information about my setup in case you want to try this yourself:</p>
<ul>
<li>My netbook has a 900 Mhz processor, 1 GB of RAM, and a solid-state hard drive</li>
<li>I am using the integrated graphics card made by Intel.  Apparently, it uses the i810 chipset.</li>
<li>I am serving up standard-definition television</li>
</ul>
<p>And finally, a few caveats:</p>
<ul>
<li>I don&#8217;t know the limits of the video card that comes with my netbook.  The highest resolution that I&#8217;ve tried is 1280&#215;1024 on a 17&#8243; monitor, and it looked pretty good.  I have no idea how it would look at a higher resolution on a more regular-sized TV.</li>
<li>I have heard that his netbook simply can&#8217;t display HD recordings.  I&#8217;m not an expert on this type of thing (since I don&#8217;t have an HD TV or monitor), however.</li>
<li>As with any hardware purchase, don&#8217;t buy anything based solely on a blog post  or product review.  This system worked well for me, but it could work terribly  for you for a variety of reasons.  Do a decent amount of research <em>before</em> you spend any money.  For example, the <a title="MythTV wiki" href="http://www.mythtv.org/wiki">MythTV wiki</a> and <a title="mailing list" href="http://www.mythtv.org/mailman/listinfo/mythtv-users/">mailing list</a> are great places to do exactly this type of research.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tompurl.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tompurl.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tompurl.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tompurl.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tompurl.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tompurl.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tompurl.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tompurl.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tompurl.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tompurl.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=95&subd=tompurl&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://tompurl.com/2009/11/24/live-tv-on-my-eee-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b972ff5d62434623ade7ad88b02aa99?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpurl</media:title>
		</media:content>
	</item>
		<item>
		<title>Using My Creative Zen With Ubuntu 9.04</title>
		<link>http://tompurl.com/2009/11/18/using-my-creative-zen-with-ubuntu-9-04/</link>
		<comments>http://tompurl.com/2009/11/18/using-my-creative-zen-with-ubuntu-9-04/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:43:35 +0000</pubDate>
		<dc:creator>tpurl</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[creative-zen]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://tompurl.com/?p=102</guid>
		<description><![CDATA[I&#8217;ve been using an 8 GB Creative Zen player now for about a year, and in general, I&#8217;m very happy.  It was about 25% cheaper than a comparable iPod, it can do more stuff, and it has ended up being very durable and easy-to-use.
Another thing that I initially liked about the Zen was how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=102&subd=tompurl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using an 8 GB <a href="http://en.wikipedia.org/wiki/Creative_ZEN">Creative Zen</a> player now for about a year, and in general, I&#8217;m very happy.  It was about 25% cheaper than a comparable iPod, it can do more stuff, and it has ended up being very durable and easy-to-use.</p>
<p>Another thing that I initially liked about the Zen was how well it worked with <a href="http://www.ubuntu.com">Ubuntu</a> Linux 8.04.  From <a href="http://amarok.kde.org/">Amarok</a>, I could add and manage files as easily as I could with my old iPod.</p>
<p>Then I updated my OS to use Ubuntu 9.04.  The Zen would mount automatically when you plugged it in, but I couldn&#8217;t access it using any music player such as Amarok,  RhythmBox, or Banshee.  And if I could access the player using one of those apps, the connection was always very flaky.  I might be able to move one or two songs,  but eventually, something would crash and I would have to start over again.</p>
<p>This thread on the Ubuntu forums shows that many other Zen users were having the same problem:</p>
<ul>
<li><a href="http://ubuntuforums.org/showthread.php?t=1146528">http://ubuntuforums.org/showthread.php?t=1146528</a></li>
</ul>
<p>The basic advice was to unmount the Zen after it was automatically mounted, and <em>then</em> access it using your favorite music player.  This only worked for me sporadically at first.  And if that wasn&#8217;t weird enough, the Amarok maintainers decided to do the following:</p>
<ul>
<li>Completely change the Amarok GUI interface</li>
<li>Completely change the way you copy music to an MP3 player.</li>
</ul>
<p>I figured almost everything out eventually, so I thought I would share it here.</p>
<ol>
<li>First, <strong>plug your Zen</strong> into your computer.  You should now see a Zen icon on your desktop.
<ul>
<li><a href="http://tompurl.files.wordpress.com/2009/11/zen-icon.jpeg"><img class="alignnone size-full wp-image-103" title="zen-icon" src="http://tompurl.files.wordpress.com/2009/11/zen-icon.jpeg?w=124&#038;h=130" alt="Desktop icon of a Creative Zen MP3 player" width="124" height="130" /></a></li>
</ul>
</li>
<li>Next, right-click on that icon and choose the <strong>Unmount</strong> <strong>Volume</strong> option.  This may seem counter-intuitive, but it&#8217;s what you need to do.</li>
<li>Next, open Amarok.  If you don&#8217;t see the Amarok window after a minute, then look for the <strong>howling wolf</strong> icon in your task tray.  You will need to right-click on it and choose <strong>Restore</strong>.
<ul>
<li><strong>Note</strong>: This process may work with other music players, but I haven&#8217;t tested it.</li>
</ul>
</li>
<li>After Amarok opens, you should see the following items in Amarok:
<ol>
<li>An MP3 player icon with a <strong>red X and green +</strong> next to it.
<ul>
<li><a href="http://tompurl.files.wordpress.com/2009/11/zen-plus.jpg"><img class="alignnone size-medium wp-image-105" title="zen-plus" src="http://tompurl.files.wordpress.com/2009/11/zen-plus.jpg?w=300&#038;h=85" alt="Zen icon from within Amarok" width="300" height="85" /></a></li>
</ul>
</li>
<li>Your Zen listed on the left-hand side of the screen.
<ul>
<li> <a href="http://tompurl.files.wordpress.com/2009/11/zen-list1.jpg"><img class="alignnone size-full wp-image-107" title="zen-list" src="http://tompurl.files.wordpress.com/2009/11/zen-list1.jpg?w=350&#038;h=295" alt="File explorer listing for the Creative Zen from within Amarok" width="350" height="295" /></a></li>
</ul>
</li>
<li>If you don&#8217;t see it at first, then make sure that you have clicked on the <strong>Collection</strong> button on the left-hand side of the screen.</li>
<li>Also, If you see the MP3 player icon but your player isn&#8217;t listed on the left-hand side of the screen, then <strong>click on the green + button</strong>.</li>
</ol>
</li>
</ol>
<p>Now you can copy individual songs from your <strong>Local Collection</strong> by right-clicking on a song or album and choosing <strong>Copy To Collection -&gt; Creative Zen</strong>.  That should do it. I&#8217;ve had pretty good luck with this system as long as I didn&#8217;t try to move over 6 albums&#8217; worth of MP3&#8217;s at once.</p>
<p>And here are some of the differences that you need to get used to when using the 2.x version of Amarok:</p>
<ul>
<li><strong>You can no longer copy playlists over to your Zen.</strong> This is a big disappointment to me, and I can&#8217;t figure out why the Amarok maintainers took this functionality away.</li>
<li><strong>You can no longer &#8220;queue&#8221; up MP3&#8217;s that you want to copy to your Zen and then copy them all over at once. </strong>Again, another great feature that was taken away for some mysterious reason.</li>
<li><strong>Album covers are no longer copied to your Zen</strong>.  This isn&#8217;t a huge disappointment, but it was always a nice feature of the pre-2.x version of Amarok.</li>
</ul>
<p>In the end, I&#8217;m very appreciative that Canonical, the Gnome group, and the Amarok maintainers provide such excellent software that makes my life so much more enjoyable.  And I&#8217;m glad that I finally figured out a somewhat-reliable process for copying MP3&#8217;s from my hard drive to my Zen.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tompurl.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tompurl.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tompurl.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tompurl.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tompurl.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tompurl.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tompurl.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tompurl.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tompurl.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tompurl.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tompurl.com&blog=3216699&post=102&subd=tompurl&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://tompurl.com/2009/11/18/using-my-creative-zen-with-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b972ff5d62434623ade7ad88b02aa99?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tpurl</media:title>
		</media:content>

		<media:content url="http://tompurl.files.wordpress.com/2009/11/zen-icon.jpeg" medium="image">
			<media:title type="html">zen-icon</media:title>
		</media:content>

		<media:content url="http://tompurl.files.wordpress.com/2009/11/zen-plus.jpg?w=300" medium="image">
			<media:title type="html">zen-plus</media:title>
		</media:content>

		<media:content url="http://tompurl.files.wordpress.com/2009/11/zen-list1.jpg" medium="image">
			<media:title type="html">zen-list</media:title>
		</media:content>
	</item>
	</channel>
</rss>