<?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/"
	>

<channel>
	<title>A Blog about Skateboarding, Technology, and Entrepreneurship</title>
	<atom:link href="http://www.techskater.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techskater.com</link>
	<description>Dennis Baldwin's Thoughts</description>
	<pubDate>Tue, 26 Jan 2010 17:23:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Merging a Single Subversion Commit from Trunk to Branch</title>
		<link>http://www.techskater.com/software-tools/merging-a-single-subversion-commit-from-trunk-to-branch/</link>
		<comments>http://www.techskater.com/software-tools/merging-a-single-subversion-commit-from-trunk-to-branch/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 17:23:56 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
		
		<category><![CDATA[Software Tools]]></category>

		<category><![CDATA[merge]]></category>

		<category><![CDATA[subversion]]></category>

		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=475</guid>
		<description><![CDATA[I&#8217;m posting way too much about SVN these days, but these are mainly for my personal recollection. Hopefully you&#8217;ll find them useful too. Here&#8217;s the scenario: you&#8217;re working on a branch and you want to merge a single commit from trunk into the branch. The first thing you need to do is find the revision [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m posting way too much about SVN these days, but these are mainly for my personal recollection. Hopefully you&#8217;ll find them useful too. Here&#8217;s the scenario: you&#8217;re working on a branch and you want to merge a single commit from trunk into the branch. The first thing you need to do is find the revision number that you want to merge. Let&#8217;s say it&#8217;s 11259. Your SVN merge command will look like this:</p>
<p>svn merge -r 11258:11259 &#8211;dry-run https://myrepo.com/trunk</p>
<p>Notice the &#8220;&#8211;dry-run&#8221; parameter. This will display a list of files impacted, but won&#8217;t actually make the change. When you&#8217;re ready for primetime just remove the &#8211;dry-run param:</p>
<p>svn merge -r 11258:11259 https://myrepo.com/trunk</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/software-tools/merging-a-single-subversion-commit-from-trunk-to-branch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Running a Single Test File in Rails</title>
		<link>http://www.techskater.com/ruby-on-rails/running-a-single-test-file-in-rails/</link>
		<comments>http://www.techskater.com/ruby-on-rails/running-a-single-test-file-in-rails/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 20:13:27 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

		<category><![CDATA[rails functional test]]></category>

		<category><![CDATA[rails unit test]]></category>

		<category><![CDATA[single rails test]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=471</guid>
		<description><![CDATA[There are cases where you don&#8217;t want to run your entire Rails test suite. From your Rails application directory run the following command:
ruby -I lib:test test/integration/dealer_admin_test.rb
A small but useful tidbit.
]]></description>
			<content:encoded><![CDATA[<p>There are cases where you don&#8217;t want to run your entire Rails test suite. From your Rails application directory run the following command:</p>
<p><strong>ruby -I lib:test test/integration/dealer_admin_test.rb</strong></p>
<p>A small but useful tidbit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/ruby-on-rails/running-a-single-test-file-in-rails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Problems with MySQL Gem and Rake on Snow Leopard</title>
		<link>http://www.techskater.com/ruby-on-rails/problems-with-mysql-gem-and-rake-on-snow-leopard/</link>
		<comments>http://www.techskater.com/ruby-on-rails/problems-with-mysql-gem-and-rake-on-snow-leopard/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 20:15:19 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

		<category><![CDATA[mysql gem]]></category>

		<category><![CDATA[rails 2.3.4]]></category>

		<category><![CDATA[rake error]]></category>

		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=467</guid>
		<description><![CDATA[I recently got a new MacBook Pro and had problems creating a new database for my Rails app on Snow Leopard. Running rake db:create left me with the following useless error:
Couldn&#8217;t create database for {&#8221;username&#8221;=>&#8221;root&#8221;, &#8220;adapter&#8221;=>&#8221;mysql&#8221;, &#8220;database&#8221;=>&#8221;delete_me&#8221;, &#8220;password&#8221;=>nil, &#8220;socket&#8221;=>&#8221;/tmp/mysql.sock&#8221;}, charset: utf8, collation: utf8_unicode_ci (if you set the charset manually, make sure you have a matching [...]]]></description>
			<content:encoded><![CDATA[<p>I recently got a new MacBook Pro and had problems creating a new database for my Rails app on Snow Leopard. Running <strong>rake db:create</strong> left me with the following useless error:</p>
<p><strong>Couldn&#8217;t create database for {&#8221;username&#8221;=>&#8221;root&#8221;, &#8220;adapter&#8221;=>&#8221;mysql&#8221;, &#8220;database&#8221;=>&#8221;delete_me&#8221;, &#8220;password&#8221;=>nil, &#8220;socket&#8221;=>&#8221;/tmp/mysql.sock&#8221;}, charset: utf8, collation: utf8_unicode_ci (if you set the charset manually, make sure you have a matching collation)</strong></p>
<p>Although I could manually access MySQL via command line and create the necessary databases, rake continually failed. It turns out that the MySQL gem needed to be compiled for a 64-bit OS as mentioned in this post:</p>
<p><a href="http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard" target="_blank">http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard</a></p>
<p>The key command to run is:</p>
<p><strong>sudo env ARCHFLAGS=&#8221;-arch x86_64&#8243; gem install mysql &#8212; &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config</strong></p>
<p>Then you should be able to run your rake tasks and ultimately get Rails talking to your MySQL database. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/ruby-on-rails/problems-with-mysql-gem-and-rake-on-snow-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Magento Unexpectedly Prompts to Download index.php</title>
		<link>http://www.techskater.com/magento/magento-unexpectedly-prompts-to-download-indexphp/</link>
		<comments>http://www.techskater.com/magento/magento-unexpectedly-prompts-to-download-indexphp/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 22:15:00 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
		
		<category><![CDATA[Magento]]></category>

		<category><![CDATA[default index.php]]></category>

		<category><![CDATA[directoryindex]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=462</guid>
		<description><![CDATA[This was a new one for me. I was installing Magento today on Ubuntu Hardy (8.04.3 LTS to be exact) and ran into a problem where accessing the base Magento install URL would prompt to download the index.php file. The odd thing was that I could access the index.php directly and it would work just [...]]]></description>
			<content:encoded><![CDATA[<p>This was a new one for me. I was installing Magento today on Ubuntu Hardy (8.04.3 LTS to be exact) and ran into a problem where accessing the base Magento install URL would prompt to download the index.php file. The odd thing was that I could access the index.php directly and it would work just fine. This was running under Apache 2.2. It turns out that Apache needed my <strong>DirectoryIndex</strong> to be specified, which is strange because this hasn&#8217;t been a problem with other installations. At any rate, I updated my default config file located in /etc/apache2/sites-available with the following lines just before the closing VirtualHost tag:</p>
<p><strong><br />
&lt;IfModule dir_module&gt;<br />
    	DirectoryIndex index.php index.html<br />
&lt;/IfModule&gt;<br />
</strong></p>
<p>I then restarted apache (sudo /etc/init.d/apache2 restart) and was good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/magento/magento-unexpectedly-prompts-to-download-indexphp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SVN List Comment and Files Changed for a Certain Revision</title>
		<link>http://www.techskater.com/random/svn-list-comment-and-files-changed-for-a-certain-revision/</link>
		<comments>http://www.techskater.com/random/svn-list-comment-and-files-changed-for-a-certain-revision/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 18:25:39 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<category><![CDATA[Web Stuff]]></category>

		<category><![CDATA[commit history]]></category>

		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=460</guid>
		<description><![CDATA[I&#8217;m spending a lot of time with the SVN command line right now because we&#8217;re trying to get a product release out the door. One thing that I&#8217;ve found handy is the ability to get the comments and list of files changed for a certain revision number. This is fairly commonplace for SVN GUI tools, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m spending a lot of time with the SVN command line right now because we&#8217;re trying to get a product release out the door. One thing that I&#8217;ve found handy is the ability to get the comments and list of files changed for a certain revision number. This is fairly commonplace for SVN GUI tools, but it took me a bit to find out how to do this via command line. Here&#8217;s how you do it:</p>
<p><strong>svn log -v -r 7447 https://yoursvnurl.com</strong></p>
<p>You can remove the URL if you&#8217;re running this command from your local copy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/random/svn-list-comment-and-files-changed-for-a-certain-revision/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SVN Current Revision Number and Commit Log Between Two Revisions</title>
		<link>http://www.techskater.com/web-stuff/svn-current-revision-number-and-commit-log-between-two-revisions/</link>
		<comments>http://www.techskater.com/web-stuff/svn-current-revision-number-and-commit-log-between-two-revisions/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 16:19:56 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
		
		<category><![CDATA[Web Stuff]]></category>

		<category><![CDATA[commit history]]></category>

		<category><![CDATA[current revision]]></category>

		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=457</guid>
		<description><![CDATA[Just a quick post if you&#8217;d like to get a history of SVN commits between an older revision and your current working copy. Get the current revision number from your local copy:
svnversion .
Then get a commit history between and older version and your current version:
svn log -r 6885:8485
Where the number before the colon is your [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick post if you&#8217;d like to get a history of SVN commits between an older revision and your current working copy. Get the current revision number from your local copy:</p>
<p><strong>svnversion .</strong></p>
<p>Then get a commit history between and older version and your current version:</p>
<p><strong>svn log -r 6885:8485</strong></p>
<p>Where the number before the colon is your old version and the one after is your current.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/web-stuff/svn-current-revision-number-and-commit-log-between-two-revisions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Ubuntu Gutsy Packages via apt-get When EOL&#8217;ed</title>
		<link>http://www.techskater.com/random/installing-ubuntu-gutsy-packages-via-apt-get-when-eoled/</link>
		<comments>http://www.techskater.com/random/installing-ubuntu-gutsy-packages-via-apt-get-when-eoled/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 16:32:38 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<category><![CDATA[apt-get]]></category>

		<category><![CDATA[eol]]></category>

		<category><![CDATA[gutsy]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[sources.list]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=452</guid>
		<description><![CDATA[If you&#8217;re running an older version of Ubuntu that has been EOL&#8217;ed (End of Lifed) then you&#8217;ll at some point need to install a new package using apt-get. When trying to do this you&#8217;ll likely get a 404 erros saying the package isn&#8217;t found. Your choice is to either upgrade Ubuntu to a new version [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running an older version of Ubuntu that has been EOL&#8217;ed (End of Lifed) then you&#8217;ll at some point need to install a new package using apt-get. When trying to do this you&#8217;ll likely get a 404 erros saying the package isn&#8217;t found. Your choice is to either upgrade Ubuntu to a new version or modify /etc/apt/sources.list to point to an older release archive. In my case I took the path of release resistance and modified /etc/apt/sources.list. The original version had these lines:</p>
<p><strong>deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse<br />
deb-src http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse</p>
<p>deb http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse<br />
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse</strong></p>
<p>And I simply modified them to look like:</p>
<p><strong>deb http://old-releases.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse<br />
deb-src http://old-releases.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse</p>
<p>deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse<br />
deb-src http://old-releases.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse</strong></p>
<p>After saving your sources.list file you should be able to do a <strong>sudo apt-get update</strong> and then <strong>sudo apt-get install [your-package-name]</strong> to install whatever package you need. Thanks to <a href="http://www.twitter.com/austinmills">@austinmills</a> for helping me with this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/random/installing-ubuntu-gutsy-packages-via-apt-get-when-eoled/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Twitter Whores</title>
		<link>http://www.techskater.com/random/twitter-whores/</link>
		<comments>http://www.techskater.com/random/twitter-whores/#comments</comments>
		<pubDate>Tue, 05 May 2009 22:42:46 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<category><![CDATA[twitter]]></category>

		<category><![CDATA[twitter whore]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=449</guid>
		<description><![CDATA[I&#8217;m getting more and more follows from &#8220;Twitter Whores&#8221;. Generally I can tell they&#8217;re spam follows before I even click on the link because they&#8217;re username will be something like Username1975. Anyway, this is a completely useless post, but on the up-side it&#8217;s good to know that Twitter is taking action and suspending their accounts. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m getting more and more follows from &#8220;Twitter Whores&#8221;. Generally I can tell they&#8217;re spam follows before I even click on the link because they&#8217;re username will be something like <strong>Username1975</strong>. Anyway, this is a completely useless post, but on the up-side it&#8217;s good to know that Twitter is taking action and suspending their accounts. </p>
<p><img src="http://www.techskater.com/wp-content/uploads/2009/05/_twitter_whore.gif" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/random/twitter-whores/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rails 2.3.2 ActionMailer Views and Multiple Body Instance Variables</title>
		<link>http://www.techskater.com/ruby-on-rails/rails-232-actionmailer-views-and-multiple-body-instance-variables/</link>
		<comments>http://www.techskater.com/ruby-on-rails/rails-232-actionmailer-views-and-multiple-body-instance-variables/#comments</comments>
		<pubDate>Fri, 01 May 2009 21:27:16 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

		<category><![CDATA[actionmailer]]></category>

		<category><![CDATA[body instance variables]]></category>

		<category><![CDATA[rails 2.3.2]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=444</guid>
		<description><![CDATA[While upgrading our Rails app to version 2.3.2 I ran into a painful bug when running our unit tests. Previously, we defined ActionMailer instance variables to be used in our views like this:
@body["name"] = user.name
@body["feedback"] = feedback
@body["when"] = Time.now
I had to refactor this to use a hash as the ActionMailer documentation suggests:
body {:name => user.name, [...]]]></description>
			<content:encoded><![CDATA[<p>While upgrading our Rails app to version 2.3.2 I ran into a painful bug when running our unit tests. Previously, we defined ActionMailer instance variables to be used in our views like this:</p>
<p>@body["name"] = user.name<br />
@body["feedback"] = feedback<br />
@body["when"] = Time.now</p>
<p>I had to refactor this to use a hash as the <a href="http://guides.rubyonrails.org/action_mailer_basics.html" target="_blank">ActionMailer documentation</a> suggests:</p>
<p>body {:name => user.name, :feedback => feedback, :when => Time.now}</p>
<p>It turns out this doesn&#8217;t work and generates an error. So I removed the hash and did the following:</p>
<p>body :name => user.name, :feedback => feedback, :when => Time.now</p>
<p>Now all is well. It cost me an hour of my day and hopefully it will cost you much less now that you&#8217;re informed. If you can share any information why the hash doesn&#8217;t work then please feel free to share. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/ruby-on-rails/rails-232-actionmailer-views-and-multiple-body-instance-variables/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Consolidating My Blogs to Reside @ techskater.com</title>
		<link>http://www.techskater.com/random/consolidating-my-blogs-to-reside-techskatercom/</link>
		<comments>http://www.techskater.com/random/consolidating-my-blogs-to-reside-techskatercom/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 02:36:51 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<category><![CDATA[301 redirect]]></category>

		<category><![CDATA[blog migration]]></category>

		<category><![CDATA[techskater]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=438</guid>
		<description><![CDATA[I&#8217;ve decided to consolidate my different blogs about technology and skateboarding into techskater.com. I&#8217;ve migrated a majority of my content to this blog, but need to update all my pages in Google (> 300) to redirect to techskater. You&#8217;ll notice that this link about GoDaddy on Rails @ db75.com (my old blog) will redirect you [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to consolidate my different blogs about technology and skateboarding into techskater.com. I&#8217;ve migrated a majority of my content to this blog, but need to update all my pages in Google (> 300) to redirect to techskater. You&#8217;ll notice that this link about <a href="http://www.db75.com/new_blog/?p=264">GoDaddy on Rails @ db75.com</a> (my old blog) will redirect you to the appropriate article on techskater. Only 299 more pages to go <img src='http://www.techskater.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This will be an ongoing process so I decided not to wait until the full transition is done. My plans are to post about the entire process as I think there are some useful tips I can share for those moving their blogs to a new server/url. In the meantime, if you&#8217;re interested in Ruby on Rails, skateboarding, entrepreneurship, or just want to keep up with me then please feel free to <a href="feed://www.techskater.com/feed/rss/">subscribe to my RSS feed</a> or check back every now and then. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/random/consolidating-my-blogs-to-reside-techskatercom/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
