<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sunshocked &#187; ruby on rails</title>
	<atom:link href="http://sunshocked.com/stanifesto/tag/ruby-on-rails/feed" rel="self" type="application/rss+xml" />
	<link>http://sunshocked.com</link>
	<description>est. 2000</description>
	<lastBuildDate>Sat, 17 Dec 2011 23:38:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Why I roleplay</title>
		<link>http://sunshocked.com/stanifesto/archives/why-i-roleplay</link>
		<comments>http://sunshocked.com/stanifesto/archives/why-i-roleplay#comments</comments>
		<pubDate>Tue, 12 Jan 2010 01:00:39 +0000</pubDate>
		<dc:creator>Stan</dc:creator>
				<category><![CDATA[text]]></category>
		<category><![CDATA[creativity]]></category>
		<category><![CDATA[gurps]]></category>
		<category><![CDATA[perspective]]></category>
		<category><![CDATA[roleplaying]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://sunshocked.com/?p=645</guid>
		<description><![CDATA[My darkest secret was recently revealed at a dinner party: I&#8217;m a roleplayer. When asked why, I said I had an answer but it was a long one. Here it is. It began sweetly enough. Surrounded by good friends, my wife felt comfortable to admit her sci-fi snobbery. Her highbrow literary inclinations had prevented her [...]]]></description>
			<content:encoded><![CDATA[<p>My darkest secret was recently revealed at a dinner party: I&#8217;m a roleplayer. When asked why, I said I had an answer but it was a long one. Here it is.<span id="more-645"></span></p>
<p>It began sweetly enough. Surrounded by good friends, my wife felt comfortable to admit her sci-fi snobbery. Her highbrow literary inclinations had prevented her from enjoying anything containing even a hint of dragons or spaceships. That much is forgivable. Her regret came from the accompanying knee-jerk derision of those with less discerning taste. She was over that now and she thanked her husband (me) for showing her the light.</p>
<p>Then she dropped the RP-bomb.</p>
<div class="figure right"><img src="http://sunshocked.com/wp-content/uploads/2010/01/tychogabe.jpg" alt="Tycho and Gabe" />Dork heroes Tycho and Gabe of <a href="http://www.penny-arcade.com/comic/2008/12/22/">Penny Arcade</a></div>
<p>Since high school, I&#8217;ve kept the fact that I roleplay secret to escape the scrutiny of those less understanding than my wife. Despite being in good company with paragons of manliness <a href="http://www.youtube.com/watch?v=JQUEQOyIvfk">Vin Diesel</a> and <a href="http://vodpod.com/watch/318-stephen-colbert-on-dungeons-and-dragons">Stephen Colbert</a> confessed players of Dungeons &amp; Dragons, anti-intellectuals and actual intellectuals alike manage to find personal defect with pretending to be someone else.</p>
<p>Here&#8217;s why I&#8217;m willing to withstand their disapproval.</p>
<h4>Friendship</h4>
<p>At its heart, roleplaying is no different than poker. It&#8217;s a group of friends getting together, sitting around a table, and mixing skill with chance to create a fun atmosphere to enjoy one another&#8217;s company. Perhaps better men than I can simply &#8220;catch up&#8221; but most require an <em>activity at hand</em> to ostensibly occupy their attention so that they might excuse the wastefulness of bonding with friends. See also: watching sports, working on cars, knitting.</p>
<p>I&#8217;ve also roleplayed with the same group of friends since 5th grade. We&#8217;ve jumped from <a href="http://www.wizards.com/Company/Brands/DnD.aspx">system</a> to <a href="http://www.sjgames.com/gurps/">system</a> and lost a member or two along the way but the ritual has changed very little for the last 20 years. Now the experiences we&#8217;ve shared have become a collective library that in turn supports the friendship itself. In casual conversation, we reference past adventures to describe our take on current relationships or world events&mdash;much to the chagrin of anyone in earshot who doesn&#8217;t speak our &#8220;language&#8221;.</p>
<h4>Creativity</h4>
<div class="figure left"><img src="http://sunshocked.com/wp-content/uploads/2010/01/Drallar-300x259.gif" alt="Drallar" />Drallar, undead hunter, c. 1999</div>
<p>Roleplaying also provides a blank canvas to pursue a variety of creative endeavors. It&#8217;s not <em>unique</em> in this aspect, considering the spectrum of <a href="http://www.cosplay.com/photo/2121745/">videogame cosplayers</a> to <a href="http://www.ifanboy.com/images/ifanboy/geekchartbig.gif">fan fiction authors</a>, but undeniably stands alone in terms of breadth. Roleplaying is a bottomless void that provides endless raw material for anything <em>else</em> you want to do.</p>
<div class="figure right"><img src="http://sunshocked.com/wp-content/uploads/2010/01/gonlineapp.jpg" alt="GURPS Online web app" />GURPS Online, web app, c. 2009</div>
<p>High school was filled with countless drawings of characters and locations, improving my technique with every menacing portrait or breahtaking vista. Eventually, I went to college for fine art. In my adult life, it helps me push my professional edges. When I wanted to teach myself <a href="http://rubyonrails.org/">Ruby on Rails</a> with a side project, I wrote a roleplaying web app. In recent months, I <a href="http://diveintohtml5.org/canvas.html">dove into HTML5&#8242;s Canvas</a> in order to stay at the cutting edge of my field (and the JavaScript library I wrote to draw hex maps is just a useful byproduct).</p>
<p class="aside"><a href="http://www.guardian.co.uk/culture/1999/oct/14/artsfeatures">An entire series of fantasy novels</a> is based on a world the author originally conceived for roleplaying.</p>
<p>In a world where we&#8217;re constantly encouraged to &#8220;think outside the box,&#8221; roleplaying pushes you to <em>create the box itself</em>. Discontent with off-the-shelf adventures, my friends have always baked our roleplaying worlds from scratch (leading to some really weird ones, like a dimension ruled by intelligent rubber bands). These worlds have required researching geography, religion, government, infantry tactics, time dilation due to special relativity, and of course <a href="http://www.darkshire.net/jhkim/rpg/theory/narrative/paradigms.html">narrative structures in which the audience is also co-author</a>.</p>
<p>I know&mdash;<em>for a fact</em>&mdash;that roleplaying has helped me score higher on at least one biology test.</p>
<h4>Perspective</h4>
<p>Notice that I haven&#8217;t even gotten to the playing itself.</p>
<p>Many of the same benefits it offers when used in psychotherapy, roleplaying affords to its players. Most prominently this is seeing things from someone else&#8217;s perspective, but experiencing your own perspective from a distance can be just as useful.</p>
<p>When I am playing a character, I use that opportunity to explore an issue that I&#8217;m going through myself. When I left the state for college while my friends remained back home, my character was an estranged wizard unable to translate his newly learned spells into something his companions found useful. When I worked for an environmental non-profit constantly butting heads against intransigent corporations, my character was a religious fanatic with a passionate but <em>entirely unquestioned</em> worldview.</p>
<p class="aside">Although D&amp;D famously has a &#8220;Dungeonmaster&#8221; who runs the adventure, most games are content with &#8220;Gamemaster&#8221;.</p>
<p>On the other side of the table, I have a chance to delve into more worldly issues. During the invasion of Iraq in 2003, the players were insurgents resisting the occupation of their homeland. Questions like &#8220;Is an enemy soldier inherently innocent or complicit?&#8221; and &#8220;Would we rather have peace or revenge?&#8221; came up all the time. The current adventure that I&#8217;m running has the players as citizens of the fantasy-standard &#8220;Evil Country to the North&#8221;. The tyrant has been overthrown and the people are trying to forge the path to a benevolent democracy&#8230; but old habits die hard and staying alive takes precedence.</p>
<p>According to the <a href="http://www.darkshire.net/~jhkim/rpg/theory/liz-paper-2003/">RGFA Threefold Model</a> of roleplaying theory, all this would make me a &#8220;Simulationist&#8221;. I enjoy immersing myself in fully-realized characters or worlds and then playing them as realistically as possible. That way I can attempt potential resolutions to personal or global conflicts at which I myself am unable (or unwilling) to fail. Contrary to criticisms of roleplaying being pure escapism, for me it&#8217;s always been a way ultimately to learn something about myself.</p>
<p>Game on.</p>
]]></content:encoded>
			<wfw:commentRss>http://sunshocked.com/stanifesto/archives/why-i-roleplay/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evolution as abstraction</title>
		<link>http://sunshocked.com/stanifesto/archives/evolution-as-abstraction</link>
		<comments>http://sunshocked.com/stanifesto/archives/evolution-as-abstraction#comments</comments>
		<pubDate>Mon, 30 Oct 2006 16:00:14 +0000</pubDate>
		<dc:creator>Stan</dc:creator>
				<category><![CDATA[text]]></category>
		<category><![CDATA[abstraction]]></category>
		<category><![CDATA[evolution]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.sunshocked.com/stanifesto/archives/evolution-as-abstraction/</guid>
		<description><![CDATA[This weekend I finally bit the bullet and jumped into Ruby on Rails. The experience blew the dust off old memories of writing BASIC programs with my dad on our Commodore, which inevitably got me thinking about human evolution. 10 PRINT "Stan is awesome." 20 GOTO 10 BASIC programs in the 80s were written as [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend I finally bit the bullet and jumped into <a href="http://rubyonrails.com/" title="RubyOnRails.com">Ruby on Rails</a>. The experience blew the dust off old memories of writing <acronym title="Beginner's All-purpose Symbolic Instructional Code">BASIC</acronym> programs with my dad on our <a href="http://en.wikipedia.org/wiki/Commodore_64" title="The C64 on Wikipedia">Commodore</a>, which inevitably got me thinking about human evolution.<span id="more-95"></span></p>
<pre>
10 PRINT "Stan is awesome."
20 GOTO 10
</pre>
<p>BASIC programs in the 80s were written as one big heap of code. This line number sent you to that line number, as labyrinthian as the &#8220;<a href="http://www.cyoa.com/" title="CYOA.com">Choose Your Own Adventure</a>&#8221; books popular at the time. I faced a hard game of catch-up when I went to college and had to discard the monolithic BASIC for the, by comparison, fractured and disjointed C++. Classes? Libraries? I want my code all in one place!</p>
<pre>
&lt;%= 1000.times {puts "Stan is awesome."} %&gt;
</pre>
<p>It was an evolutionary hurdle to understand that the functionality I had relied on could be abstracted into functions, to be written once and called upon whenever I needed them. Ruby on Rails is a step beyond C++ in terms of abstraction, built upon a <acronym title="Model-Controller-View">MVC</acronym> framework that separates what the program does (the Controller) from what it does it to (the Model) and how it looks when it&#8217;s done (<a href="http://abc.go.com/daytime/theview/" title="Not that one">the View</a>). These &#8220;three branches&#8221; got me thinking about abstraction in government.</p>
<p>First there were monarchies, these were BASIC. A single leader who did all the governing single-handedly: judge, jury, and executioner (though of course, they didn&#8217;t use that phrase because judges and juries hadn&#8217;t been invented yet). Lots left to be desired here, obviously. There&#8217;s a big jump in 1215 with the <a href="http://en.wikipedia.org/wiki/Magna_Carta" title="Magna Carta on Wikipedia">Magna Carta</a>, which introduced functions in the form of Barons (who could <a href="http://en.wikipedia.org/wiki/First_Barons'_War" title="First Baron's War on Wikipedia">throw exceptions</a> with the best of them).</p>
<p>The U.S. government is more like an MVC framework than any before, with clearly defined roles of each branch. Looking closer, the legislative branch contains two classes, Senate and House, that contain methods like Pass, Reject, and the <a href="http://en.wikipedia.org/wiki/Recursion" title="Recursion on Wikipedia">wickedly recursive</a> Direct to Subcommittee.</p>
<p>What would a truly agile government look like? How could programming methodologies like <a href="http://c2.com/xp/YouArentGonnaNeedIt.html" title="YAGNI on C2.com">YAGNI</a> or <a href="http://c2.com/cgi/wiki?DontRepeatYourself" title="DRY on C2.com">DRY</a> be applied to the passage or even <em>execution</em> of law? Is the inevitable babbling about a &#8220;<a href="http://swiftreport.blogs.com/news/2005/07/disposable_litm.html" title="'Disposable Litmus Test Could Determine Next Supreme Court Justice' on The Swift Report">litmus test</a>&#8221; whenever a Supreme Court Justice is nominated really just <a href="http://c2.com/xp/UnitTest.html" title="Unit Tests on C2.com">unit testing</a>?</p>
<p>This is getting dangerously close to the dorkiest post I&#8217;ve ever made, so I should point out that the trend toward abstraction exists in environments other than just programming and government. In storytelling, we&#8217;ve gone from epic oral mythologies to self-contained novels to hypertext that links to pre-written content. In occupations, we&#8217;ve gone from hunting/gathering to raising specific crops for trade to trading representations of those crops in <a href="http://www.investopedia.com/university/futures/" title="Future Markets on Investopedia">futures markets</a>. At each step, the subject of the old level becomes an object of the new.</p>
]]></content:encoded>
			<wfw:commentRss>http://sunshocked.com/stanifesto/archives/evolution-as-abstraction/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

