<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>robot pirate scorpion</title>
	
	<link>http://www.miniondesign.com/rps/blog</link>
	<description>things.that.are(awesome)</description>
	<pubDate>Mon, 08 Mar 2010 23:59:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/RobotPirateScorpion" /><feedburner:info uri="robotpiratescorpion" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>rails date/time formatting string cheat sheet</title>
		<link>http://feedproxy.google.com/~r/RobotPirateScorpion/~3/5bpw3_FZQ_Y/</link>
		<comments>http://www.miniondesign.com/rps/blog/2009/08/20/rails-datetime-formatting-string-cheat-sheet/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 22:35:36 +0000</pubDate>
		<dc:creator>01101010</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<category><![CDATA[posterity]]></category>

		<category><![CDATA[cheat sheet]]></category>

		<category><![CDATA[date]]></category>

		<category><![CDATA[formatting]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://www.miniondesign.com/rps/blog/?p=116</guid>
		<description>(click for .pdf version)</description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://miniondesign.com/rps/blog/wp-content/uploads/2009/08/date_time.pdf"><img class="aligncenter" title="date time format string cheat sheet" src="http://miniondesign.com/rps/blog/wp-content/uploads/2009/08/date_time.png" border="0" alt="" /></a></p>
<p style="text-align: left;">
<p style="text-align: left;">(click for .pdf version)</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=5bpw3_FZQ_Y:d9nQpOYAQcU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=5bpw3_FZQ_Y:d9nQpOYAQcU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?i=5bpw3_FZQ_Y:d9nQpOYAQcU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=5bpw3_FZQ_Y:d9nQpOYAQcU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RobotPirateScorpion/~4/5bpw3_FZQ_Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.miniondesign.com/rps/blog/2009/08/20/rails-datetime-formatting-string-cheat-sheet/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.miniondesign.com/rps/blog/2009/08/20/rails-datetime-formatting-string-cheat-sheet/</feedburner:origLink></item>
		<item>
		<title>project euler - problem 1 solution [c++]</title>
		<link>http://feedproxy.google.com/~r/RobotPirateScorpion/~3/GSdMdehYK-c/</link>
		<comments>http://www.miniondesign.com/rps/blog/2009/05/11/project-euler-problem-1-solution-c/#comments</comments>
		<pubDate>Tue, 12 May 2009 01:28:24 +0000</pubDate>
		<dc:creator>01101010</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<category><![CDATA[c++]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[project euler]]></category>

		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://www.miniondesign.com/rps/blog/?p=114</guid>
		<description>#include &amp;#60;iostream&amp;#62;
using std::cout;
int main()
{
int number = 0, sum = 0, i = 0;
for ( i; i &amp;#60; 1000; i++ )
{
if ( ( number % 3 == 0 ) &amp;#124;&amp;#124; ( number % 5 == 0 ) )
sum += number;
number++;
}
cout &amp;#60;&amp;#60; sum;
return 0;
}</description>
			<content:encoded><![CDATA[<p>#include &lt;iostream&gt;</p>
<p>using std::cout;</p>
<p>int main()<br />
{<br />
int number = 0, sum = 0, i = 0;</p>
<p>for ( i; i &lt; 1000; i++ )<br />
{<br />
if ( ( number % 3 == 0 ) || ( number % 5 == 0 ) )<br />
sum += number;<br />
number++;<br />
}</p>
<p>cout &lt;&lt; sum;</p>
<p>return 0;<br />
}</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=GSdMdehYK-c:H2vrahio7SI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=GSdMdehYK-c:H2vrahio7SI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?i=GSdMdehYK-c:H2vrahio7SI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=GSdMdehYK-c:H2vrahio7SI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RobotPirateScorpion/~4/GSdMdehYK-c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.miniondesign.com/rps/blog/2009/05/11/project-euler-problem-1-solution-c/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.miniondesign.com/rps/blog/2009/05/11/project-euler-problem-1-solution-c/</feedburner:origLink></item>
		<item>
		<title>Good news, everyone!</title>
		<link>http://feedproxy.google.com/~r/RobotPirateScorpion/~3/H6pG4Oi2zeA/</link>
		<comments>http://www.miniondesign.com/rps/blog/2009/01/19/good-news-everyone/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 19:39:03 +0000</pubDate>
		<dc:creator>01101010</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<category><![CDATA[miscellaneous]]></category>

		<category><![CDATA[time capsule]]></category>

		<guid isPermaLink="false">http://www.miniondesign.com/rps/blog/?p=102</guid>
		<description>I&amp;#8217;ve got some projects that I want to work on and I felt that my current setup (OS X 10.4 on a mac mini + ok-but-not-great monitor) was holding me back.  It was time to do something about it, so I went down to the Apple store and bought a new macbook pro.  It&amp;#8217;s fancy, [...]</description>
			<content:encoded><![CDATA[<p><a href="http://www.miniondesign.com/rps/blog/wp-content/uploads/2009/01/3210768596_aa8a747259_m.jpg"><img class="size-medium wp-image-105 alignleft" title="birth" src="http://www.miniondesign.com/rps/blog/wp-content/uploads/2009/01/3210768596_aa8a747259_m.jpg" alt="mbp+box" width="240" height="180" border="0" /></a>I&#8217;ve got some projects that I want to work on and I felt that my current setup (OS X 10.4 on a mac mini + ok-but-not-great monitor) was holding me back.  It was time to do something about it, so I went down to the Apple store and bought a new macbook pro.  It&#8217;s fancy, it&#8217;s fast, and I love it.  Now i have no excuses keeping me from starting the many projects that i&#8217;ve been whining about not being able to start because of &#8220;equipment problems&#8221;.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=H6pG4Oi2zeA:FVenBMZmGGc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=H6pG4Oi2zeA:FVenBMZmGGc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?i=H6pG4Oi2zeA:FVenBMZmGGc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=H6pG4Oi2zeA:FVenBMZmGGc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RobotPirateScorpion/~4/H6pG4Oi2zeA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.miniondesign.com/rps/blog/2009/01/19/good-news-everyone/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.miniondesign.com/rps/blog/2009/01/19/good-news-everyone/</feedburner:origLink></item>
		<item>
		<title>a new hope…</title>
		<link>http://feedproxy.google.com/~r/RobotPirateScorpion/~3/BymSvKZk1Uk/</link>
		<comments>http://www.miniondesign.com/rps/blog/2009/01/18/a-new-hope/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 17:28:25 +0000</pubDate>
		<dc:creator>01101010</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<category><![CDATA[miscellaneous]]></category>

		<guid isPermaLink="false">http://www.miniondesign.com/rps/blog/?p=91</guid>
		<description>okay.  i get it.  i&amp;#8217;ve been hearing the same thing from several distinct sources, and they&amp;#8217;ve all been telling me that writing on a (semi-) regular basis is important.  apparently, it&amp;#8217;s the only way to be both a better writer and a better programmer (more on that later).  so now, as part of starting the [...]</description>
			<content:encoded><![CDATA[<p style="text-align: left;"><img class="size-full wp-image-98 alignright" title="create-new-page-128x128" src="http://www.miniondesign.com/rps/blog/wp-content/uploads/2009/01/create-new-page-128x128.png" alt="a note..." width="128" height="128" border="0" />okay.  i get it.  i&#8217;ve been hearing the same thing from several distinct sources, and they&#8217;ve all been telling me that writing on a (semi-) regular basis is important.  apparently, it&#8217;s the only way to be both a better writer and a <a href="http://vimeo.com/2796392">better programmer</a> (more on that later).  so now, as part of starting the new year in the right direction, i&#8217;m going to fill in some of the blanks since last posting in may.</p>
<p style="text-align: left;">if you&#8217;ve been reading my dispatches for a while now, or if you take a minute to browse through the archived offerings, you&#8217;ll notice a pattern.  lately, the posts have increasingly focused on geekery.  this is a reflection of the changes in my circumstances as well as a change in my fixations.</p>
<p style="text-align: left;">i spent the last few years working off-and-on while taking some math and science courses part-time.  most of the jobs i had tended to be either boring, monotonous, or unfulfilling.  after years of procrastination, distraction, and indecision, i decided to apply for admission into the computer engineering program at concordia university.  last july i received my offer of admission while finishing the last prerequisite course.</p>
<p style="text-align: left;">the program is a mix of math, programming, and electronics: subjects i&#8217;ve found fascinating although not always my strongest.  my classes are interesting and challenging- the exact opposite of my previous school and work experiences- and exactly what i need.  after getting through a rough introductory semester, i can say that this is one of the better decisions i&#8217;ve made.</p>
<p style="text-align: left;">since i&#8217;m already preoccupied with programming and nerdy computer stuff, and there are tons of projects that i intend to start (and hopefully finish), this blog is increasingly going to reflect that.  i&#8217;m going to share what i&#8217;m working on- i hope mostly non-school projects- and what i am getting into.  later this week i&#8217;ll be attending a conference about software engineering, <a href="http://2009.cusec.net">CUSEC</a>, so expect a report of my experience there or at least a brief rundown of my impressions as a start to this new year of consistent posting.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=BymSvKZk1Uk:5flBaSY9mZU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=BymSvKZk1Uk:5flBaSY9mZU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?i=BymSvKZk1Uk:5flBaSY9mZU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=BymSvKZk1Uk:5flBaSY9mZU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RobotPirateScorpion/~4/BymSvKZk1Uk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.miniondesign.com/rps/blog/2009/01/18/a-new-hope/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.miniondesign.com/rps/blog/2009/01/18/a-new-hope/</feedburner:origLink></item>
		<item>
		<title>procrastination as inspiration</title>
		<link>http://feedproxy.google.com/~r/RobotPirateScorpion/~3/KtBhT_KV3-c/</link>
		<comments>http://www.miniondesign.com/rps/blog/2008/05/31/procrastination-as-inspiration/#comments</comments>
		<pubDate>Sat, 31 May 2008 17:59:48 +0000</pubDate>
		<dc:creator>01101010</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.miniondesign.com/rps/blog/?p=88</guid>
		<description>i&amp;#8217;ve been working on some more objc stuff lately.  i followed along with become an xcoder which finally, at least for me, made the connection between interface builder- and things like IBOutlet, IBAction, and custom classes that seem to be missing or glossed over in other books that i&amp;#8217;ve read- and xcode.  as [...]</description>
			<content:encoded><![CDATA[<p>i&#8217;ve been working on some more objc stuff lately.  i followed along with <a title="Become an Xcoder." href="http://www.cocoalab.com/?q=becomeanxcoder">become an xcoder</a> which finally, at least for me, made the connection between interface builder- and things like IBOutlet, IBAction, and custom classes that seem to be missing or glossed over in other books that i&#8217;ve read- and xcode.  as a follow up to <a href="http://www.miniondesign.com/rps/blog/2008/05/26/monday-morning-status-update/">my last post</a> , i just wanted to mention that i&#8217;ve finished two <em>mini</em> objective-C/cocoa apps.  these aren&#8217;t terribly complicated, and were just a smidge more challenging than a command-line tool, but fun and instructive anyway.</p>
<p>first one was a test to see if i could write something from the ground up that actually worked.  surprisingly, i could and it did.  so the second one was made a bit more useful- it calculates squares and roots of a given number.  if the number does not have an integer root, it will display the closest integer root, as well as the square of that calculated number.  sounds more confusing to describe than it was to write.  if anyone wants to give it a go, here it is:</p>
<p><a title="right click to download solo." href="http://miniondesign.com/solo/solo.zip">solo</a></p>
<p>(obviously it will only run on OS X- just drop it in your applications folder.)</p>
<p>this just brought me a huge step closer to finishing that homework machine i dreamt up a few months back.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=KtBhT_KV3-c:8pGgu8Y56IE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=KtBhT_KV3-c:8pGgu8Y56IE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?i=KtBhT_KV3-c:8pGgu8Y56IE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=KtBhT_KV3-c:8pGgu8Y56IE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RobotPirateScorpion/~4/KtBhT_KV3-c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.miniondesign.com/rps/blog/2008/05/31/procrastination-as-inspiration/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.miniondesign.com/rps/blog/2008/05/31/procrastination-as-inspiration/</feedburner:origLink></item>
		<item>
		<title>monday morning status update.</title>
		<link>http://feedproxy.google.com/~r/RobotPirateScorpion/~3/HRUbTfG3194/</link>
		<comments>http://www.miniondesign.com/rps/blog/2008/05/26/monday-morning-status-update/#comments</comments>
		<pubDate>Mon, 26 May 2008 18:55:33 +0000</pubDate>
		<dc:creator>01101010</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<guid isPermaLink="false">http://www.miniondesign.com/rps/blog/2008/05/26/monday-morning-status-update/</guid>
		<description>this is what i had for breakfast:

also, this book appears to be one of the more useful &amp;#8220;hands-on&amp;#8221; cocoa/obj-c tutorials i&amp;#8217;ve looked through.  the most interesting part of it is that it actually goes into the help and documentation parts of xcode.  the other books i&amp;#8217;ve looked through seem to skip any mention [...]</description>
			<content:encoded><![CDATA[<p>this is what i had for breakfast:</p>
<p style="text-align: center;"><img class="aligncenter" title="le breakfast" src="http://www.miniondesign.com/rps/blog/wp-content/uploads/2008/05/breakfast.jpg" alt="some fruits" width="320" height="240" align="middle" /></p>
<p>also, <a title="become an xcoder" href="http://www.cocoalab.com/?q=becomeanxcoder" target="_self">this book</a> appears to be one of the more useful &#8220;hands-on&#8221; cocoa/obj-c tutorials i&#8217;ve looked through.  the most interesting part of it is that it actually goes into the help and documentation parts of xcode.  the other books i&#8217;ve looked through seem to skip any mention of api searching and assume you know where it is or what you are looking for.  i don&#8217;t think there&#8217;s any one book out there that has everything i&#8217;m looking for, but this one seems to be a nice compliment to the <a title="Programming in Objective-C" href="http://www.amazon.com/gp/product/0672325861?ie=UTF8&amp;tag=robotpiratesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0672325861" target="_self">others</a> <a title="Learning Cocoa with Objective-C" href="http://www.amazon.com/gp/product/0596003013?ie=UTF8&amp;tag=robotpiratesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0596003013" target="_self">i&#8217;ve</a> <a title="Building Cocoa Applications: A Step by Step Guide" href="http://www.amazon.com/gp/product/0596002351?ie=UTF8&amp;tag=robotpiratesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0596002351" target="_self">checked</a> out so far.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=HRUbTfG3194:JjIuVMAozbo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=HRUbTfG3194:JjIuVMAozbo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?i=HRUbTfG3194:JjIuVMAozbo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=HRUbTfG3194:JjIuVMAozbo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RobotPirateScorpion/~4/HRUbTfG3194" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.miniondesign.com/rps/blog/2008/05/26/monday-morning-status-update/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.miniondesign.com/rps/blog/2008/05/26/monday-morning-status-update/</feedburner:origLink></item>
		<item>
		<title>rails/mysql makeup post</title>
		<link>http://feedproxy.google.com/~r/RobotPirateScorpion/~3/eV-EWWgcxDs/</link>
		<comments>http://www.miniondesign.com/rps/blog/2008/05/08/railsmysql-makeup-post/#comments</comments>
		<pubDate>Fri, 09 May 2008 03:46:07 +0000</pubDate>
		<dc:creator>01101010</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.miniondesign.com/rps/blog/?p=83</guid>
		<description>remember a few days ago when i was complaining about my difficulties getting rails set up and running?  well, here&amp;#8217;s how it all turned out.
the error i was getting (&amp;#8221;Can&amp;#8217;t connect to local MySQL server through socket &amp;#8216;/tmp/mysql.sock&amp;#8221;) was caused  by two things:

i forgot to start the mysql server before trying rake, and
i didn&amp;#8217;t edit .bash_profile correctly.

the first thing to fix was pretty obvious- [...]</description>
			<content:encoded><![CDATA[<p>remember a few days ago when i was complaining about my <a title="the (short) backstory" href="http://www.miniondesign.com/rps/blog/2008/04/30/rails-hates-me/" target="_self">difficulties getting rails set up</a> and running?  well, here&#8217;s how it all turned out.</p>
<p>the error i was getting (&#8221;Can&#8217;t connect to local MySQL server through socket &#8216;/tmp/mysql.sock&#8221;) was caused  by two things:</p>
<ol>
<li>i forgot to start the mysql server before trying rake, and</li>
<li>i didn&#8217;t edit .bash_profile correctly.</li>
</ol>
<p>the first thing to fix was pretty obvious- start the mysql server from within system preferences.</p>
<p>after doing that, i got the inspiring &#8220;rake aborted!  Unknown database &#8216;demo_development&#8217;&#8221; error.  as i was going step by step through one of my  many sets of installation instructions (this time  browsing through <a title="Beginning Rails: From Novice to Professional" href="http://www.amazon.com/gp/product/1590596862?ie=UTF8&amp;tag=robotpiratesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1590596862" target="_blank"><em>Beginning Rails</em></a>), i realized i didn&#8217;t have a .bash_profile file and that i <em>may</em> not have actually created a database.  i thought i remember adding it when first  setting up this project, but it wasn&#8217;t there.  this was fixed by creating the file and adding the line &#8220;export PATH=&#8221;/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH&#8221; &#8221; and then creating a database with &#8220;mysqladmin -uroot create demo_development&#8221;.</p>
<p>crossed my fingers, gave rake one last go, and all is now well.</p>
<p>ps.  yes, this post is partially a reference for <span style="text-decoration: line-through;">if</span> when i screw this up again.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=eV-EWWgcxDs:Gix7rl2Sq24:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=eV-EWWgcxDs:Gix7rl2Sq24:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?i=eV-EWWgcxDs:Gix7rl2Sq24:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=eV-EWWgcxDs:Gix7rl2Sq24:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RobotPirateScorpion/~4/eV-EWWgcxDs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.miniondesign.com/rps/blog/2008/05/08/railsmysql-makeup-post/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.miniondesign.com/rps/blog/2008/05/08/railsmysql-makeup-post/</feedburner:origLink></item>
		<item>
		<title>finished!</title>
		<link>http://feedproxy.google.com/~r/RobotPirateScorpion/~3/3oyZRo6i014/</link>
		<comments>http://www.miniondesign.com/rps/blog/2008/05/02/finished/#comments</comments>
		<pubDate>Sat, 03 May 2008 01:39:14 +0000</pubDate>
		<dc:creator>01101010</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<guid isPermaLink="false">http://www.miniondesign.com/rps/blog/?p=79</guid>
		<description>about a month ago, i went to Right to Move to pick out a frame.  projects there are given 30 days to be completed.
i was getting a bit worried earlier this week because i had delayed starting until after my exam, and my 30 days ends may 5th.  i went in on monday- perfect because it was [...]</description>
			<content:encoded><![CDATA[<p>about a month ago, i went to <a title="right to move" href="http://rtm-lvl.org" target="_self">Right to Move</a> to pick out a frame.  projects there are given 30 days to be completed.</p>
<p>i was getting a bit worried earlier this week because i had delayed starting until after my exam, and my 30 days ends may 5th.  i went in on monday- perfect because it was rainy and not busy- and got a good start.  tuesday when i showed up, there weren&#8217;t any workspaces available for most of the time they were open, and i ended up only putting on some new brake pads.  yesterday, same thing.  i didn&#8217;t get in until 8pm which was about an hour before closing time.  luckily i worked quickly and got it all together.</p>
<p>this is what i built this week:</p>

<a href='http://www.miniondesign.com/rps/blog/2008/05/02/finished/bike1/' title='bike1'><img src="http://www.miniondesign.com/rps/blog/wp-content/uploads/2008/05/bike1-150x150.jpg" width="150" height="150" class="attachment-thumbnail" alt="" /></a>
<a href='http://www.miniondesign.com/rps/blog/2008/05/02/finished/bike2/' title='bike2'><img src="http://www.miniondesign.com/rps/blog/wp-content/uploads/2008/05/bike2-150x150.jpg" width="150" height="150" class="attachment-thumbnail" alt="" /></a>
<a href='http://www.miniondesign.com/rps/blog/2008/05/02/finished/bike3/' title='bike3'><img src="http://www.miniondesign.com/rps/blog/wp-content/uploads/2008/05/bike3-150x150.jpg" width="150" height="150" class="attachment-thumbnail" alt="" /></a>

<p>if i count all the time i put into it, including rummaging through boxes for miscellaneous stuff like a matching set of pedals, then it took me about 5 hours to get it together.  sure, i decided not to put brakes on the front or have more than 7 gears, but it&#8217;s almost exactly what i was looking for in a bike.  it&#8217;s fast, light, and, unlike my last one, actually stops.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=3oyZRo6i014:6ysbri1BHX0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=3oyZRo6i014:6ysbri1BHX0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?i=3oyZRo6i014:6ysbri1BHX0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=3oyZRo6i014:6ysbri1BHX0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RobotPirateScorpion/~4/3oyZRo6i014" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.miniondesign.com/rps/blog/2008/05/02/finished/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.miniondesign.com/rps/blog/2008/05/02/finished/</feedburner:origLink></item>
		<item>
		<title>rails hates me</title>
		<link>http://feedproxy.google.com/~r/RobotPirateScorpion/~3/-ORTagDfq_M/</link>
		<comments>http://www.miniondesign.com/rps/blog/2008/04/30/rails-hates-me/#comments</comments>
		<pubDate>Thu, 01 May 2008 03:47:27 +0000</pubDate>
		<dc:creator>01101010</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.miniondesign.com/rps/blog/2008/04/26/rails-hates-me/</guid>
		<description>As this blog seems to be turning into a &amp;#8216;time capsule&amp;#8217; of sorts, this post seems appropriate.
I&amp;#8217;ve been having some difficulties lately.  While trying to get ruby on rails set up on this computer (running OS X 10.4.11) I&amp;#8217;ve hit a few snags.  but first, some background.
I started into rails because I knew it was [...]</description>
			<content:encoded><![CDATA[<p>As this blog seems to be turning into a &#8216;time capsule&#8217; of sorts, this post seems appropriate.</p>
<p>I&#8217;ve been having some difficulties lately.  While trying to get ruby on rails set up on this computer (running OS X 10.4.11) I&#8217;ve hit a few snags.  but first, some background.</p>
<p>I started into rails because I knew it was the next step i had to take.  from clarisworks (remember that?) way back when to html tables to xhtml and css, now i need to add a new layer.  i have a few things that i want to build that go beyond the interactivity that javascript can offer (college students, check back here in early september,) and rails seemed like the quickest way to get that done.</p>
<p>maybe i just don&#8217;t know what i&#8217;m doing, but after trying several times, i get stuck at &#8220;rake db:migrate&#8221;.  i tried reinstalling mysql and using a different server and still nothing.  all i see is the same error &#8220;Can&#8217;t connect to local MySQL server through socket &#8216;/tmp/mysql.sock&#8221;.  sounds simple enough, right?   it probably is, but i still can&#8217;t figure out how to make this shit work.  once i get past this, i&#8217;m going to look back and feel pretty dumb.</p>
<p>any suggestions?</p>
<p>update: problem fixed.  details <a title="i am so smrt." href="http://www.miniondesign.com/rps/blog/2008/05/08/railsmysql-makeup-post/" target="_self">here</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=-ORTagDfq_M:H_ZP6Yr4lRo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=-ORTagDfq_M:H_ZP6Yr4lRo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?i=-ORTagDfq_M:H_ZP6Yr4lRo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=-ORTagDfq_M:H_ZP6Yr4lRo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RobotPirateScorpion/~4/-ORTagDfq_M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.miniondesign.com/rps/blog/2008/04/30/rails-hates-me/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.miniondesign.com/rps/blog/2008/04/30/rails-hates-me/</feedburner:origLink></item>
		<item>
		<title>MUST.  HAVE.  NOW.</title>
		<link>http://feedproxy.google.com/~r/RobotPirateScorpion/~3/Wsa2dUewOgk/</link>
		<comments>http://www.miniondesign.com/rps/blog/2008/03/11/must-have-now/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 16:18:50 +0000</pubDate>
		<dc:creator>01101010</dc:creator>
		
		<category><![CDATA[miscellaneous]]></category>

		<guid isPermaLink="false">http://www.miniondesign.com/rps/blog/2008/03/11/must-have-now/</guid>
		<description>don&amp;#8217;t know if i can wait seven years for this.</description>
			<content:encoded><![CDATA[<p>don&#8217;t know if i can wait seven years for <a href="http://grinding.be/2008/03/04/nokias-true-next-gen-mobile-concept-morph/">this</a>. </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=Wsa2dUewOgk:M7Tr1X6mK6U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=Wsa2dUewOgk:M7Tr1X6mK6U:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?i=Wsa2dUewOgk:M7Tr1X6mK6U:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RobotPirateScorpion?a=Wsa2dUewOgk:M7Tr1X6mK6U:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/RobotPirateScorpion?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RobotPirateScorpion/~4/Wsa2dUewOgk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.miniondesign.com/rps/blog/2008/03/11/must-have-now/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.miniondesign.com/rps/blog/2008/03/11/must-have-now/</feedburner:origLink></item>
	</channel>
</rss>
