<?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>Rachel Ober &#187; ruby</title>
	<atom:link href="http://rachelober.com/tags/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://rachelober.com</link>
	<description>Radiant Rachel Reflecting on Ruby, Rails, Righteous Rants and Random Rubbish</description>
	<lastBuildDate>Fri, 18 May 2012 17:23:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Squadron Scramble Redux</title>
		<link>http://rachelober.com/2009/10/02/squadron-scramble-redux/</link>
		<comments>http://rachelober.com/2009/10/02/squadron-scramble-redux/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 04:34:46 +0000</pubDate>
		<dc:creator>Rachel</dc:creator>
				<category><![CDATA[Ruby & Rails]]></category>
		<category><![CDATA[csu670]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[squadron scramble]]></category>

		<guid isPermaLink="false">http://rachelober.com/?p=257</guid>
		<description><![CDATA[I&#8217;ll apologize to Brandon first for writing this because I am sure when he reads this blog post he will roll his eyes or puke at the thought of me brining this up.
My junior CSU670 &#8220;Software Development&#8221; class with Matthias Felleisen at Northeastern will forever be one of the most tortuous ordeals  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll apologize to Brandon first for writing this because I am sure when he reads this blog post he will roll his eyes or puke at the thought of me brining this up.</p>
<p>My junior CSU670 &#8220;Software Development&#8221; class with Matthias Felleisen at Northeastern will forever be one of the most tortuous ordeals I will have ever lived though &#8211; but also probably the most rewarding. To this day, I still wake up from nightmares of me sitting at one of the Solaris boxes in the CCIS computer labs talking with other classmates and they ask me what other classes I am taking that semester; lo and behold I can&#8217;t even remember one of the 3 or 4 other classes I am supposed to be taking that semester, all I can think about is Software Dev and that I LIVE in this computer lab!</p>
<p>After passing the class from hell, a few of my friends and I made a pact of sorts that we would (one day) continue on with our code from the class and improve on it, because it really was probably one of the largest projects we had ever worked on.</p>
<p>If you have never heard of Squadron Scramble, no worries, I don&#8217;t think anyone in the class had ever heard of the game either. It&#8217;s a rummy style game but you use aircraft cards with aircrafts from World War II (oh, so appropriate since our professor is German.) Our class rules were modified from the original game, but the basic premise is that you collect three of an aircraft type and can use that to &#8220;shoot down&#8221; other aircraft trios with a few other wild cards thrown in for good measure.</p>
<p>We were required to pick a programming language and work in pairs and practice paired programming. I had mixed results in past course with paired programming but in this course it was absolutely critical that you have a well functioning team to carry out each week&#8217;s assignments, otherwise you would be behind for next week&#8217;s tasks because every week built on the weeks before it.</p>
<p>The tasks finally built up to us creating our own game server and administration as well as clients to connect to our server and other student team&#8217;s servers. We also had to create dumb artificial intelligence and come up with &#8220;player&#8221; strategies to try and beat each other with our &#8220;players.&#8221; And this was all using ugly XML syntax and we were only allowed to use the aging and severely out-dated Solaris machines. We also had to come up with a GUI interface, and did I mention that yes, it all had to work on the grossly out-dated Solaris machines?! That means using Tcl/Tk instead of all the new flashy goodness of anything else developed within the last decade.</p>
<p>With that said and done, my buddy, Ventz, asked me earlier this week if I had time to develop a Ruby client and server and bring the project back to life. My one request was that instead of XML we use JSON instead to make our lives easier. He was going to take a stab at re-writing a Perl version of the code and hopefully get a few other ex-CSU670ers to chip in a Java version and whatever other version they&#8217;d want to contribute. My first task is probably to write out a proper spec and improve upon on some of the universally despised guidelines in Matthias&#8217; original spec.</p>
<p>If you&#8217;re interested in seeing the final code I wrote in the class, hop on over to my Subversion repository: <a href="http://svn.rachelober.com/csu670/">http://svn.rachelober.com/csu670/</a> I think this is pretty much the final version of the code that I submitted in the class. I&#8217;m almost certain this will not run on anything unless you can get your hands on one of CCIS&#8217; old Solaris servers (which have since been &#8220;taken out back&#8221; and summarily assassinated,) but I&#8217;ll add a disclaimer anyway that the code is provided &#8220;as-is&#8221; and under no warranty. If it screws up something on your system when you try to run it, sucks for you!</p>
<p>Maybe one day we&#8217;ll get some kind of game server to run and we can all play some crappy aircraft card game over the internet.</p>
]]></content:encoded>
			<wfw:commentRss>http://rachelober.com/2009/10/02/squadron-scramble-redux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My Snow Leopard Upgrade</title>
		<link>http://rachelober.com/2009/09/08/my-snow-leopard-upgrade/</link>
		<comments>http://rachelober.com/2009/09/08/my-snow-leopard-upgrade/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 22:53:01 +0000</pubDate>
		<dc:creator>Rachel</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac osx]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[objective-C]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[rubygems]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://rachelober.com/?p=222</guid>
		<description><![CDATA[This has been a pain in the ass for the past 2 weeks for me. At work I do a combination of iPhone objective-C programming and Ruby on Rails programming. Just about everything broke and I&#8217;ve been pulling my hair out and patching things with scotch tape just to get it into some kind of working shape.  [...]]]></description>
			<content:encoded><![CDATA[<p>This has been a pain in the ass for the past 2 weeks for me. At work I do a combination of iPhone objective-C programming and Ruby on Rails programming. Just about everything broke and I&#8217;ve been pulling my hair out and patching things with scotch tape just to get it into some kind of working shape. I haven&#8217;t had to time to back everything up and just reformat the damn machine and install everything compiled properly to the 64-bit system but here are some links that have helped me wobble along until I can fix things.</p>
<p>The Xcode muckiness wasn&#8217;t as bitchy to overcome by just fiddling with some of the settings to get it to work with my company&#8217;s code &#8211; but the problem also was that the new Xcode that ships with Snow Leopard totally got rid of all the previous iPhone SDKs I had. My company still runs most of our iPhone apps off of 2.2.1 and Xcode for Snow Leopard only does 3.0. Unlike my co-worker who practice more forethought than I do (so what, call me ignorant), I didn&#8217;t have a backup of the previous Xcode stashed somewhere else. <a href="http://adkap.com/">Adam</a> showed me a tricky trick in the new Xcode and you are able to still use the new 3.0 SDK but set the deployment target to whatever the heck you want.</p>
<p>OF COURSE, with the new iPhone 3.1 SDK, they&#8217;ve included all the previous iPhone SDKs to work with the new Xcode 3.2, thus eliminating my rage, but a little too late for the heartburn I was experiencing earlier this week.</p>
<p>Now, getting ruby on rails and our projects running on my laptop has been a bitch and a half and I&#8217;m still pulling teeth just to get things working locally. I was being a tool and just deploying all of my test code to the integration server to test for the past week and a half just so I could get some actual work done before Labor Day. I&#8217;m sure my co-workers didn&#8217;t appreciate that. :-p</p>
<p>Getting PostgreSQL working with ROR and installing the proper gem. I used to use pg but that was not working. I&#8217;m instead using postgres-pr and that seems to get mongrel up and working on my local environment. Make sure to change your ARCHFLAGS to &#8216;-arch x86_64&#8242; if you originally had it set to i386.</p>
<p>http://railsforum.com/viewtopic.php?id=34110</p>
<p>I had to <strong>totally</strong> uninstall things like my MacPorts and rubygems and postgres and <a href="http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/">install everything from scratch again</a>. I also had problems with my paths and I was constantly pulling up the wrong version (i.e. Snow Leopard&#8217;s version) of ruby and postgres.</p>
<p>Originally I had thought that just by <a href="http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard">recompiling everything the Ruby on Rails guys suggested</a>, I&#8217;d be golden. But that just didn&#8217;t work out for me.</p>
<p>I think I am just going to reformat everything this weekend and follow<a href="http://frozenplague.net/2009/08/snow-leopard-rubyrails-developer-setup/"> this guy&#8217;s advice</a>. What a mess!</p>
<p>Oh well, rant over. Hopefully I can post about a more successful Snow Leopard install next week.</p>
]]></content:encoded>
			<wfw:commentRss>http://rachelober.com/2009/09/08/my-snow-leopard-upgrade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
