<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>Almost a Space Game (A2SG) &#187; Ruby on Rails</title>
	<link>http://blog.almostaspacegame.com</link>
	<description>The Trials, Tribulation, and Joys of Creating a Web-Based Space Trading Game</description>
	<pubDate>Tue, 19 Aug 2008 16:40:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>san_jose_hackfest_on_steroids</title>
		<link>http://blog.almostaspacegame.com/2008/06/16/san_jose_hackfest_on_steroids.html</link>
		<comments>http://blog.almostaspacegame.com/2008/06/16/san_jose_hackfest_on_steroids.html#comments</comments>
		<pubDate>Tue, 17 Jun 2008 01:25:31 +0000</pubDate>
		<dc:creator>totdt</dc:creator>
		
		<category><![CDATA[Hackfests]]></category>

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

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.almostaspacegame.com/2008/06/16/san_jose_hackfest_on_steroids.html</guid>
		<description><![CDATA[Several of us from not_joseph&#8217;s San Jose Ruby Hackfest Meetup have been getting together fairly frequently to hack.  I&#8217;ve created a Google Group for folks in the South Bay area to announce when/where they&#8217;re hacking so that it&#8217;d be easier to set up impromtu hackfests and get to know other Ruby/Rails folks.
Please consider joining. [...]]]></description>
			<content:encoded><![CDATA[<p>Several of us from not_joseph&#8217;s <a href="http://ruby.meetup.com/117/">San Jose Ruby Hackfest Meetup</a> have been getting together fairly frequently to hack.  I&#8217;ve created a <a href="http://groups.google.com/group/south_bay_hackfests_on_steroids">Google Group</a> for folks in the South Bay area to announce when/where they&#8217;re hacking so that it&#8217;d be easier to set up impromtu hackfests and get to know other Ruby/Rails folks.</p>
<p><a href="http://groups.google.com/group/south_bay_hackfests_on_steroids">Please consider joining</a>.  <img src='http://blog.almostaspacegame.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.almostaspacegame.com/2008/06/16/san_jose_hackfest_on_steroids.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Susser Rox!  (Fanboy Silliness)</title>
		<link>http://blog.almostaspacegame.com/2008/06/01/susser-rox-fanboy-silliness.html</link>
		<comments>http://blog.almostaspacegame.com/2008/06/01/susser-rox-fanboy-silliness.html#comments</comments>
		<pubDate>Sun, 01 Jun 2008 18:30:03 +0000</pubDate>
		<dc:creator>totdt</dc:creator>
		
		<category><![CDATA[Cool Stuff]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.almostaspacegame.com/2008/06/01/susser-rox-fanboy-silliness.html</guid>
		<description><![CDATA[I went to Josh Susser&#8217;s session The Great Test Framework Dance-Off yesterday afternoon.  It was a great survey of Rails Test Frameworks and I appreciate his take, which I summarize as &#8220;if it helps you write tests, then use it.&#8221;  Exactly!
During his presentation, someone suggested turning down the lights so that it&#8217;d be [...]]]></description>
			<content:encoded><![CDATA[<p>I went to <a href="http://blog.hasmanythrough.com/">Josh Susser</a>&#8217;s session <a href="http://en.oreilly.com/rails2008/public/schedule/detail/1833">The Great Test Framework Dance-Off</a> yesterday afternoon.  It was a great survey of Rails Test Frameworks and I appreciate his take, which I summarize as &#8220;if it helps you write tests, then use it.&#8221;  Exactly!</p>
<p>During his presentation, someone suggested turning down the lights so that it&#8217;d be easier to see his slides.  Susser joked: &#8220;Hey, if we do that they you won&#8217;t be able to see me!&#8221;I shouted &#8220;we don&#8217;t need to see you, &#8217;cause I have a tattoo of you on my arm.*&#8221;</p>
<p>Susser retorted &#8220;it&#8217;s nice to have fans!&#8221; and resumed his outstanding presentation.</p>
<p>I was sitting next to my new friend <a href="http://harlanknight.net/pub/H@rlan_Knight/" title="Harlan">Harlan</a> and asked him if he&#8217;d draw a smiley face on my arm (with eyebrows and a subtle eyebrow piercing) and put &#8220;Susser Rox!&#8221; underneath it.  When the presentation was over, I went up to Susser and said &#8220;dude, I&#8217;m serious&#8230; check out my tattoo!&#8221; and rolled up my sleeve.</p>
<p>Harlan took this picture, which I think clearly shows how Susser responded:</p>
<p><img src="http://blog.almostaspacegame.com/wp-content/uploads/2008/06/susser-rox.jpg" alt="Susser Rox!" /></p>
<p>I really love being a tiny guppy in the huge Rails Community lake.</p>
<p><em>* I think I did my standard &#8220;stammering&#8221; thing, so I may not have actually said precisely this, but it&#8217;s definitely what I meant.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.almostaspacegame.com/2008/06/01/susser-rox-fanboy-silliness.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>A Thorough Whooping</title>
		<link>http://blog.almostaspacegame.com/2008/05/30/a-thorough-whooping.html</link>
		<comments>http://blog.almostaspacegame.com/2008/05/30/a-thorough-whooping.html#comments</comments>
		<pubDate>Sat, 31 May 2008 07:20:40 +0000</pubDate>
		<dc:creator>totdt</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

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

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

		<guid isPermaLink="false">http://blog.almostaspacegame.com/2008/05/30/a-thorough-whooping.html</guid>
		<description><![CDATA[Today at RailsConf I got my ass kicked&#8230; in the good way.
The first whooping came during TJ Murphy&#8217;s session: Flexible Scaling: How to Handle 1 Billion Pageviews.  Strong blows include:

&#8220;SELECT-less Reads&#8221;
Tons of interesting info. about using the Amazon Cloud
His monthly server costs for Warbook (an awesome game built in RoR which has a bazillion [...]]]></description>
			<content:encoded><![CDATA[<p>Today at RailsConf I got my ass kicked&#8230; in the good way.</p>
<p>The first whooping came during TJ Murphy&#8217;s session: <a href="http://en.oreilly.com/rails2008/public/schedule/detail/2127">Flexible Scaling: How to Handle 1 Billion Pageviews</a>.  Strong blows include:</p>
<ul>
<li>&#8220;SELECT-less Reads&#8221;</li>
<li>Tons of interesting info. about using the Amazon Cloud</li>
<li>His monthly server costs for Warbook (an awesome game built in RoR which has a bazillion Facebook users) and their monthly income (more than the server costs)</li>
<li>Caching/memcache, ActiveRecord tweaking</li>
<li>He essentially did Warbook by himself, assisted by the almighty power of Google and folks who are willing to help by providing pointers to good info.</li>
</ul>
<p>I got a chance to talk to him for a moment afterwards and told him that I really enjoyed playing Warbook until the jackass 13-year-old gangs started to beat my solo-self to a pulp repeatedly.  I also mentioned that I was grateful for that because that experience took my smack-talking to the next level.  <img src='http://blog.almostaspacegame.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The second bit of major beatdown came during Erik Kastner&#8217;s session: <a href="http://en.oreilly.com/rails2008/public/schedule/detail/1955">Microapps for Fun and (Micro) Profit</a> (his addition, not mine!).</p>
<ul>
<li>Learning and self-gratification (in terms of making what you want to make) is personally profitable, and a worthwhile endeavor.  I cheered inside when he said that his microapps have made $7 with Google AdSense.  <img src='http://blog.almostaspacegame.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Limiting your project to one day makes you toss features that aren&#8217;t actually needed and gets something into the world.</li>
<li>Rails isn&#8217;t the hammer for every web application nail&#8230; there are good reasons to use Camping, Sinatra, Merb, etc. (and even better&#8230; sample code demonstrating how to use Sinatra.</li>
</ul>
<p>The especially painful Chuck Norris Roundhouse kicks were Erik&#8217;s comments regarding get your stuff out in the world now.  Pare down, do the minimum you have to, get your alpha OUT.  (As he pointed out, this is nothing new&#8230; Getting Real, &#8220;Real Artists Ship,&#8221; etc., etc.)  It was a message I needed to hear.</p>
<p>Amy Hoy also chimed in about shipping now vs. entering analysis paralysis and relayed some personal anecdotes that I&#8217;d paraphrastically summarize as:</p>
<ul>
<li>It made me <em>feel good</em> to get something done and out.</li>
<li>It made me <em>more credible</em>&#8230; I&#8217;ve shipped, so I don&#8217;t have to feel like a hypocrite when I (rightly) encourage others to ship.</li>
<li>It&#8217;s just straight-up badass to deploy something you&#8217;ve worked on.</li>
</ul>
<p>I miss my RailsConf2007 posse, but I&#8217;m having a great time with my RailsConf2008 posse.  I&#8217;ve met <strong>TONS</strong> of cool people, and we&#8217;re only half-way into it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.almostaspacegame.com/2008/05/30/a-thorough-whooping.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>New Functionality - Warps</title>
		<link>http://blog.almostaspacegame.com/2008/02/25/new-functionality-warps.html</link>
		<comments>http://blog.almostaspacegame.com/2008/02/25/new-functionality-warps.html#comments</comments>
		<pubDate>Tue, 26 Feb 2008 07:51:37 +0000</pubDate>
		<dc:creator>totdt</dc:creator>
		
		<category><![CDATA[A2SG Progress]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.almostaspacegame.com/2008/02/25/new-functionality-warps.html</guid>
		<description><![CDATA[SVN checkin #2 for A2SG includes enhanced warp functionality&#8230; now they can be stable or unstable&#8230; including the time when they&#8217;ll expire.  There&#8217;s some model logic which will automatically create a random expiration date if the stable flag is set and the expiration time wasn&#8217;t already specified.  Perhaps the last sentence only truly means anything [...]]]></description>
			<content:encoded><![CDATA[<p>SVN checkin #2 for A2SG includes enhanced warp functionality&#8230; now they can be stable or unstable&#8230; including the time when they&#8217;ll expire.  There&#8217;s some model logic which will automatically create a random expiration date if the stable flag is set and the expiration time wasn&#8217;t already specified.  Perhaps the last sentence only truly means anything to me&#8230; good times.</p>
<p>This checkin also includes a nifty Rails plugin called &#8220;<a href="http://agilewebdevelopment.com/plugins/manage_fixtures">Manage Fixtures</a>&#8221; which, quite unsurprisingly, helps one manage one&#8217;s fixtures.  It&#8217;ll take a current table (or a set) or all of your tables and convert them to YAML fixtures. Quite handy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.almostaspacegame.com/2008/02/25/new-functionality-warps.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Off to a Good Start</title>
		<link>http://blog.almostaspacegame.com/2008/02/24/off-to-a-good-start.html</link>
		<comments>http://blog.almostaspacegame.com/2008/02/24/off-to-a-good-start.html#comments</comments>
		<pubDate>Sun, 24 Feb 2008 23:27:41 +0000</pubDate>
		<dc:creator>totdt</dc:creator>
		
		<category><![CDATA[A2SG Progress]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.almostaspacegame.com/2008/02/24/off-to-a-good-start.html</guid>
		<description><![CDATA[The latest/greatest version of my A2SG code is now all safe and sound in a Subversion repository.   
I ran rcov on it and I feel ok about my test coverage, though there&#8217;s definitely more to do.
For the first time ever I&#8217;ve written custom Rake tasks thanks to the Rake Tutorial written by Gregg [...]]]></description>
			<content:encoded><![CDATA[<p>The latest/greatest version of my A2SG code is now all safe and sound in a Subversion repository.  <img src='http://blog.almostaspacegame.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I ran rcov on it and I feel ok about my test coverage, though there&#8217;s definitely more to do.</p>
<p>For the first time ever I&#8217;ve written custom Rake tasks thanks to the <a href="rhttp://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial">Rake Tutorial written by Gregg from RailsEnvy</a>.  A couple of things that I think I &#8220;figured out&#8221; (meaning &#8220;I&#8217;m not sure this is the orthodox way to do this, but it works&#8230;&#8221;) are:</p>
<ol>
<li> An example of creating a rake task that calls other tasks and also allows use of the application&#8217;s models:
<p>task :do_this =&gt; [:a_subtask, :environment] do<br />
&#8230;<br />
end</p>
<p>That calls :a_subtask and also allows use of the application&#8217;s odels in the rake tast by specifying the environment.</li>
<li>This is a way to call multiple subtasks:
<p>task :do_this =&gt; [:a_subtask, :another_subtask, :yet_another_subtask, son_of_the_second_cousin_of_the_son_of_subtasks, :environment] do<br />
&#8230;<br />
end</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.almostaspacegame.com/2008/02/24/off-to-a-good-start.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
