<?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>randys.org &#187; ruby</title>
	<atom:link href="http://www.randys.org/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randys.org</link>
	<description>wasting your precious bandwidth since 1998</description>
	<lastBuildDate>Mon, 17 May 2010 15:12:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Work, Ruby, VMware, Cable vs. DSL</title>
		<link>http://www.randys.org/2007/06/08/work-ruby-vmware-cable-vs-dsl/</link>
		<comments>http://www.randys.org/2007/06/08/work-ruby-vmware-cable-vs-dsl/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 08:24:00 +0000</pubDate>
		<dc:creator>randy</dc:creator>
				<category><![CDATA[General Nerdery]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[Randomness]]></category>
		<category><![CDATA[cable]]></category>
		<category><![CDATA[dsl]]></category>
		<category><![CDATA[parallels]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[unity]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.randys.org//2007/06/08/work-ruby-vmware-cable-vs-dsl</guid>
		<description><![CDATA[Work Politics and the Stationary Career Path Work has been a pain. There&#8217;s really no other way to describe it. Everyone is getting pissy because of tight deadlines and it&#8217;s only a matter of time before the finger pointing begins. I&#8217;m OK with that. Finger pointing doesn&#8217;t affect me as much. I just shrug it [...]]]></description>
			<content:encoded><![CDATA[<h3>Work Politics and the Stationary Career Path</h3>

<p>Work has been a pain. There&#8217;s really no other way to describe it. Everyone is getting pissy because of tight deadlines and it&#8217;s only a matter of time before the finger pointing begins. I&#8217;m OK with that. Finger pointing doesn&#8217;t affect me as much. I just shrug it off and laugh. Usually in front of the person doing the pointing.</p>

<p>One of the things that really bugs me though is the fact that my career there feels stagnant. I&#8217;ve asked for a title increase once and been shot down. It&#8217;s not the fact that I was shot down that upsets me. It&#8217;s the response I received from upper management. Something about &#8220;implications&#8221; surround the idea of promoting me. I&#8217;ve been told by several people at the company that my name comes up often as the &#8220;go-to&#8221; person when it comes to getting things done and picking up where others left off. I&#8217;ve been told by <strong>higher paid</strong> employees that I am far more knowledgeable than they are and that I am highly regarded.</p>

<p>I don&#8217;t get it. I think they want me to quit. I&#8217;ll ask again, but I fear I will either get the same response or worse, no response.</p>

<h3>Ruby</h3>

<p>I was all gung-ho the other night about diving into Rails. I still am. I am just running out of steam these days. Between the nine hours at the day job and a couple hours after on the side gig that doesn&#8217;t pay, I just can&#8217;t find the time.</p>

<p>It is going to happen though. It is. Shut up.</p>

<h3>VMware and Unity</h3>

<p>Is it me, or is <a href="http://www.vmware.com/" title="VMware - It's virtual!">VMware</a> really giving <a href="http://www.parallels.com/" title="Parallels - It's virtual, too!">Parallels</a> a run for their money? I&#8217;ve been using VMware <a href="http://www.vmware.com/products/beta/fusion/" title="Fusion">Fusion</a> as my virtual machine of choice for the past several months. I&#8217;ve always felt that VMware has had a slight leg up on Parallels in the performance department. Now with <a href="http://www.youtube.com/watch?v=JIApJMzGzDQ" title="Unity, unite!">Unity</a>, I think VMware has a solid lead in the VM race. It is just an awesome product. I highly recommend trying it out. It&#8217;s still in beta, but so far, I haven&#8217;t had any issues running XP or <a href="http://www.ubuntu.com">Ubuntu</a> (Feisty). Best of all, if F R double E whilst in beta.</p>

<h3>Cable vs. DSL</h3>

<p>We&#8217;re cutting back on the spending around the house lately. One of the things I&#8217;ve chosen to sacrifice is <a href="http://www.timewarnercable.com/" title="Cable is fast!">Cable</a> to <a href="http://www.dslextreme.com" title="DSL... not so much">DSL</a>. As much as I hate the pone company, I&#8217;m willing to save $20 or so bucks per month for (what I thought was) a slightly slower interweb. Slightly was a total understatement. While downloading the latest VMware, I really felt the pain. First off, my download speed was a measly 68Kb/s and then to top that off, the transfer died 50MB into the download. Luckily, I just hooked this all up tonight and have not canceled cable just yet. I pulled out the cable modem and finished the download in four minutes (averaging ~700Kb/s). Pathetic. I think if I do a cost per bandwidth, I&#8217;m actually getting ripped off by DSL.</p>

<p>There was a whole host of other mishaps with the DSL order, but, I&#8217;m not going to get into that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2007/06/08/work-ruby-vmware-cable-vs-dsl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Personal goal: Learn Ruby (on Rails)</title>
		<link>http://www.randys.org/2007/06/06/personal-goal-learn-ruby-on-rails/</link>
		<comments>http://www.randys.org/2007/06/06/personal-goal-learn-ruby-on-rails/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 07:29:00 +0000</pubDate>
		<dc:creator>randy</dc:creator>
				<category><![CDATA[General Nerdery]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.randys.org//2007/06/06/personal-goal-learn-ruby-on-rails</guid>
		<description><![CDATA[The time has come. I need to discipline myself to learn Ruby (on rails). It&#8217;s been around for quite a while now and I just have dig in. So I&#8217;m making a new personal goal: learn Ruby or bust. The problem is that breaking the PHP habit will be dificult. Although, I&#8217;ve become more OOP [...]]]></description>
			<content:encoded><![CDATA[<p>The time has come. I need to discipline myself to learn <a href="http://www.ruby-lang.org">Ruby</a> (<a href="http://rubyonrails.org">on rails</a>). It&#8217;s been around for quite a while now and I just have dig in. So I&#8217;m making a new personal goal: learn Ruby or bust.</p>

<p>The problem is that breaking the <a href="http://www.php.net">PHP</a> habit will be dificult. Although, I&#8217;ve become more OOP aware and always try to create objects instead of random functions. I suppose I could stick with PHP and use <a href="http://www.cakephp.org">Cake</a> or <a href="http://framework.zend.com">Zend&#8217;s Framework</a> to build <a href="http://en.wikipedia.org/wiki/Model-view-controller">MVC</a> style applications, but, that sounds increasingly boring these days. I need something new to obsess over.</p>

<p>So, I&#8217;m off to learn. I can&#8217;t really learn by book; it just doesn&#8217;t work for me. I have to get my hands dirty. What better way to do that than to build something. I&#8217;m not talking about building a <a href="http://media.rubyonrails.org/video/rails_take2_with_sound.mov">blog in 15 minutes</a> (especially since there several <a href="http://mephistoblog.org">other</a> <a href="http://typosphere.org">blogging</a> <a href="http://radiantcms.org/">type applications</a> written in <a href="http://rubyonrails.org">RoR</a> already). It will have to be something somewhat unique that will keep me interested enough in the language and challenging enough to keep me busy. I&#8217;m open to suggestions and always open to collaboration (if anyone is interested).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2007/06/06/personal-goal-learn-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Long time, no post</title>
		<link>http://www.randys.org/2007/05/23/long-time-no-post/</link>
		<comments>http://www.randys.org/2007/05/23/long-time-no-post/#comments</comments>
		<pubDate>Wed, 23 May 2007 17:22:00 +0000</pubDate>
		<dc:creator>randy</dc:creator>
				<category><![CDATA[General Nerdery]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[mephisto]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.randys.org//2007/05/23/long-time-no-post</guid>
		<description><![CDATA[I know it&#8217;s been a while. I&#8217;m sorry. I went through a phase where I just didn&#8217;t feel like contributing very much (hence the Tumblr episode). Don&#8217;t worry, the vast void of meaninglessness is still available and I&#8217;ll still be posting uninteresting tid-bits I find on the intertubes there. So, last night I took it [...]]]></description>
			<content:encoded><![CDATA[<p>I know it&#8217;s been a while. I&#8217;m sorry. I went through a phase where I just didn&#8217;t feel like contributing very much (hence the <a href="http://www.tumblr.com/">Tumblr</a> episode). Don&#8217;t worry, the vast <a href="http://void.randys.org/">void</a> of meaninglessness is still available and I&#8217;ll still be posting uninteresting tid-bits I find on the intertubes there.</p>

<p>So, last night I took it upon myself to give this site another chance. This time, with the help of <a href="http://mephistoblog.com/">Mephisto</a> (another <a href="http://www.rubyonrails.org/">RoR</a> blogging app). The install went smoothly. The conversion was a little bit of a pain, but I managed to make it work with a <a href="http://mephisto.stikipad.com/help/show/Converting+Typo+to+Mephisto">little help</a>. So far, I like Mephisto. Better than <a href="http://typosphere.org/">Typo</a>. It has less &#8216;bells and whistles&#8217; but manages to have the essentials. And, it feels faster on my poor little 256MB VPS. It&#8217;s been running over night (granted with minimal to no traffic) and it&#8217;s currently sitting at ~40MB of memory (compared to the 60 &#8211; 80MB that Typo would suck on regularly).</p>

<p>Don&#8217;t get me wrong, Typo is a wonderful product. However, because I&#8217;m limited on RAM, I became frustrated with <a href="http://api.rubyonrails.org/">Rails</a> thinking it was a complete memory hog. But that&#8217;s not the case really since I&#8217;m running Mephisto wich uses the same framework and the memory consumption is almost half of what Typo was using. If I had twice the memory, I&#8217;d probably still be using Typo&#8230; but I don&#8217;t and I can&#8217;t afford to throw more money into a site that doesn&#8217;t reciprocate.</p>

<p>I&#8217;m hoping to really dig into <a href="http://www.ruby-lang.org/en/">Ruby</a> now. My crappy side gig with <a href="http://www.asparagut.com/">.e</a> is winding down and I&#8217;m pretty much fed up with <a href="http://www.myride.com/">my day job</a> so I&#8217;d like to move completely away from the Java/.NET environment I&#8217;m forced to work in everyday. Nothing would make me happier than be able to work on my Mac (or any Mac for that fact) doing <a href="http://www.php.net/">PHP</a> or better still, Ruby/Rails work. Call me snoby, I don&#8217;t care. It is what it is.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2007/05/23/long-time-no-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Typo, Apache &amp; Mongrel, Oh My!</title>
		<link>http://www.randys.org/2007/01/10/typo-apache-mongrel-oh-my/</link>
		<comments>http://www.randys.org/2007/01/10/typo-apache-mongrel-oh-my/#comments</comments>
		<pubDate>Wed, 10 Jan 2007 02:32:00 +0000</pubDate>
		<dc:creator>randy</dc:creator>
				<category><![CDATA[Code Chunks]]></category>
		<category><![CDATA[General Nerdery]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mongrel]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.randys.org//2007/01/10/typo-apache-mongrel-oh-my</guid>
		<description><![CDATA[Wow. I&#8217;ve been testing the possibility of running Typo on my VPS with the pre-notion that it just wouldn&#8217;t work very well. I think I may be wrong. It&#8217;s been running for about a week while I tweak some shit and so far, my memory performance has been stable. Of course, thing would probably be [...]]]></description>
			<content:encoded><![CDATA[<p>Wow. I&#8217;ve been testing the possibility of running <a href="http://typosphere.org">Typo</a> on my VPS with the pre-notion that it just wouldn&#8217;t work very well. I think I may be wrong. It&#8217;s been running for about a week while I tweak some shit and so far, my memory performance has been stable. Of course, thing would probably be different if I threw some <strong>real</strong> traffic at it&#8230; but, then again, I don&#8217;t get a lot of that.</p>

<h2>The Setup</h2>

<p>Initially, I was going to use <a href="http://www.lighttpd.net">lighty</a> + <a href="http://www.fastcgi.com">fastcgi</a> to serve up the Rails application. So, I had setup lighty to serve up my PHP/MySQl sites and that worked just fine. Then I started reading up on <a href="http://mongrel.rubyforge.org">Mongrel</a> and wanted to see what all the hubub was about. But then I got to reading the <a href="http://mongrel.rubyforge.org">Mongrel</a> site (more specifically the part where he says <a href="http://mongrel.rubyforge.org/docs/lighttpd.html">don&#8217;t use lighty and mod_proxy</a>).</p>

<p>Crap.</p>

<p>Aight, so back to <a href="http://httpd.apache.org">Apache</a> and their proxy setup. no biggie. I racked my brain for several hours one night trying to figure out why the hell I kept getting these 403 Forbidden errors in Apache. Hours. After the millionth <a href="http://www.google.com">Google</a> search, I finally found the issue: The mod_proxy configuration <em>in <a href="http://www.ubuntu.com">Ubuntu</a></em> is turned off by default (well, not really turned off&#8230; it just denies traffic to the proxy server).</p>

<p><pre><code> 8     &lt;Proxy *&gt;
 9         Order deny,allow
10         #Deny from all
11         Allow from .randys.org
12     &lt;/Proxy&gt;
</code></pre></p>

<p>Line 8 was initially not commented out. I had to comment that out and add the <code>Allow from .randys.org</code> bit.</p>

<p>Once I got that changed and reloaded Apache, everything is working nicely together.. even <a href="http://www.php.net">PHP</a>.</p>

<h2>The Tweaks</h2>

<p>So far, the only tweaks I&#8217;ve managed to make is to the <a href="http://www.flickr.com">flickr</a> Sidebar plugin. It now uses <a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox V2</a>. That was a bit tricky, considering I don&#8217;t really know <a href="http://www.ruby-lang.org">Ruby</a> but, it all worked out in the end.</p>

<p>As I figure out more <em>stuff</em> to do, I&#8217;ll post more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2007/01/10/typo-apache-mongrel-oh-my/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
