<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
  <title>..mindless rantings of a lunatic</title>
  <id>http://weathered-watcher.heroku.com/blog/</id>
  <updated>-1-11-30T00:00:00Z</updated>
  <author>
    <name />
  </author>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/Weatheredwatcher" /><feedburner:info uri="weatheredwatcher" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
    <title>Manage Virtual Hosts on A Mac</title>
    <link href="http://feedproxy.google.com/~r/Weatheredwatcher/~3/O4UrYJ0R6_A/" rel="alternate" />
    <id>http://weathered-watcher.heroku.com/blog/blog/2011/09/15/manage-virtual-hosts-on-a-mac/</id>
    <published>2011-09-15T00:00:00Z</published>
    <updated>2011-09-15T00:00:00Z</updated>
    <author>
      <name />
    </author>
    <summary type="html">&lt;p&gt;
One of the coolest tricks that you can do with Apache (ok, so not the coolest but certainly one of the most useful!!) is 
setting up VirtualHost.  VirtualHost allows you to host many different domains on a single IP address.  As complicated as it is to
setup on a real web server, it is even more so on a development machine that doesn't have an IP address or domain registered to a DNS.
&lt;/p&gt;


&lt;p&gt;In order to set VHosts up on a server, you must:
&lt;ul&gt;
    &lt;li&gt;Activate Virtual Hosts&lt;/li&gt;
    &lt;li&gt;Add your Virtual Hosts File&lt;/li&gt;

</summary>
    <content type="html">&lt;p&gt;
One of the coolest tricks that you can do with Apache (ok, so not the coolest but certainly one of the most useful!!) is 
setting up VirtualHost.  VirtualHost allows you to host many different domains on a single IP address.  As complicated as it is to
setup on a real web server, it is even more so on a development machine that doesn't have an IP address or domain registered to a DNS.
&lt;/p&gt;


&lt;p&gt;In order to set VHosts up on a server, you must:
&lt;ul&gt;
    &lt;li&gt;Activate Virtual Hosts&lt;/li&gt;
    &lt;li&gt;Add your Virtual Hosts File&lt;/li&gt;
    &lt;li&gt; Reboot Apache&lt;/li&gt;
&lt;/ul&gt;

Steps 1 and 2 require some editing of the httpd.conf file and a vhosts file.  With that being said, if you want to do this on your local
dev machine, you need to add another step: Add the VirtualHost to the hosts file.  Once you make sure that VirtualHosts are activated
the rest of the code involved is something like this:
&lt;br /&gt;
httpd_vhost.conf:&lt;br /&gt;
&lt;code&gt;
NameVirtualHost *:80&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory "/path/to/site/"&amp;gt;&lt;br /&gt;
Allow From All&lt;br /&gt;
AllowOverride All&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;

&amp;lt;VirtualHost *:80&amp;gt; &lt;br /&gt;
    ServerName "sitename"&lt;br /&gt;
    DocumentRoot "/path/to/site"&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
hosts&lt;br /&gt;
&lt;code&gt;
127.0.0.1  sitename
&lt;/code&gt;
&lt;p&gt;  And you will have to do these two things for each and every site that you want to use with VirtualHost.  Fear not, there is another
way!  I found an app called VirtualHostX that takes care of everything for you.  It costs.  It costs a little bit more than I would want to spend
for taking care of these two tasks for me.  But it is a helpful app none-the-less. Get it &lt;a href="http://clickontyler.com/virtualhostx/"&gt;here&lt;/a&gt;&lt;br /&gt;
In addition to this, if you also install PassengerPhusion, your rails apps will also run without you having to use web-brick!
&lt;/p&gt;
&lt;p&gt;
With all of this talk, I have made the decision that the very first cross-platform app that I intend to build for my new software house 
will be one that does just this.  I will write it first in Objective C and then port it to Linux and then in C# for Windows. (I hope that I can port
the objective c code straight into Linux...but if not I can use C# for both Linux and Windows) So stay tuned for the free beta application!! &lt;/p&gt;

&lt;img src="http://feeds.feedburner.com/~r/Weatheredwatcher/~4/O4UrYJ0R6_A" height="1" width="1"/&gt;</content>
  <feedburner:origLink>http://weathered-watcher.heroku.com/blog/blog/2011/09/15/manage-virtual-hosts-on-a-mac/</feedburner:origLink></entry>
  <entry>
    <title>Vanishing Source Code</title>
    <link href="http://feedproxy.google.com/~r/Weatheredwatcher/~3/SicpfQouUP4/" rel="alternate" />
    <id>http://weathered-watcher.heroku.com/blog/blog/2011/09/12/vanishing-source-code/</id>
    <published>2011-09-12T00:00:00Z</published>
    <updated>2011-09-12T00:00:00Z</updated>
    <author>
      <name />
    </author>
    <summary type="html">&lt;p&gt;Not sure if you've noticed it or not, but a lot of my tutorials are missing source code.  Not sure why this happened, but the process to convert
from Posterous to Toto seems to have lead to a loss of the snippets that include the code stuff.  I use a mix of GitHub gists and jsfiddle to list my code
so I will be working on getting this fixed as time goes by.  It didn't seem to effect new posts, as my last post has the code in it!&lt;/p&gt;

</summary>
    <content type="html">&lt;p&gt;Not sure if you've noticed it or not, but a lot of my tutorials are missing source code.  Not sure why this happened, but the process to convert
from Posterous to Toto seems to have lead to a loss of the snippets that include the code stuff.  I use a mix of GitHub gists and jsfiddle to list my code
so I will be working on getting this fixed as time goes by.  It didn't seem to effect new posts, as my last post has the code in it!&lt;/p&gt;

&lt;img src="http://feeds.feedburner.com/~r/Weatheredwatcher/~4/SicpfQouUP4" height="1" width="1"/&gt;</content>
  <feedburner:origLink>http://weathered-watcher.heroku.com/blog/blog/2011/09/12/vanishing-source-code/</feedburner:origLink></entry>
  <entry>
    <title>My How Time Flies</title>
    <link href="http://feedproxy.google.com/~r/Weatheredwatcher/~3/iNOXzCSn104/" rel="alternate" />
    <id>http://weathered-watcher.heroku.com/blog/blog/2011/09/01/my-how-time-flies/</id>
    <published>2011-09-01T00:00:00Z</published>
    <updated>2011-09-01T00:00:00Z</updated>
    <author>
      <name />
    </author>
    <summary type="html">&lt;p&gt; Boy time sure flies fast!  Here I am just getting around to tweaking the blog.  Let me share this little bit of code with you.  I found it to convert my WordPress xml export into Toto.  It is supposed to convert everything into seperate files, keeping the proper toto syntax.  It didn't work.  So, using it as my base, I re-wrote it to work.&lt;/&gt;


&lt;p&gt; Here you go script kiddies!  Enjoy!&lt;/p&gt;


&lt;p&gt;
&lt;script src="https://gist.github.com/1018209.js"&gt; &lt;/script&gt;
&lt;/p&gt;

</summary>
    <content type="html">&lt;p&gt; Boy time sure flies fast!  Here I am just getting around to tweaking the blog.  Let me share this little bit of code with you.  I found it to convert my WordPress xml export into Toto.  It is supposed to convert everything into seperate files, keeping the proper toto syntax.  It didn't work.  So, using it as my base, I re-wrote it to work.&lt;/&gt;


&lt;p&gt; Here you go script kiddies!  Enjoy!&lt;/p&gt;


&lt;p&gt;
&lt;script src="https://gist.github.com/1018209.js"&gt; &lt;/script&gt;
&lt;/p&gt;

&lt;img src="http://feeds.feedburner.com/~r/Weatheredwatcher/~4/iNOXzCSn104" height="1" width="1"/&gt;</content>
  <feedburner:origLink>http://weathered-watcher.heroku.com/blog/blog/2011/09/01/my-how-time-flies/</feedburner:origLink></entry>
  <entry>
    <title>New Blog</title>
    <link href="http://feedproxy.google.com/~r/Weatheredwatcher/~3/jB9p03SvXiI/" rel="alternate" />
    <id>http://weathered-watcher.heroku.com/blog/blog/2011/05/08/new-blog/</id>
    <published>2011-05-08T00:00:00Z</published>
    <updated>2011-05-08T00:00:00Z</updated>
    <author>
      <name />
    </author>
    <summary type="html">&lt;p&gt;So here it is folks!!  My new blog.  I am now using toto as my main blogging engine.  It&amp;rsquo;s pretty neat.  I can blog in
emacs and push with git!  There are still a few bugs that I am working out, like perm-links aren&amp;rsquo;t working and I need to rearrange the layout&amp;hellip;but all in all I like.  I'l talk more about toto later.&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;So here it is folks!!  My new blog.  I am now using toto as my main blogging engine.  It&amp;rsquo;s pretty neat.  I can blog in
emacs and push with git!  There are still a few bugs that I am working out, like perm-links aren&amp;rsquo;t working and I need to rearrange the layout&amp;hellip;but all in all I like.  I'l talk more about toto later.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/Weatheredwatcher/~4/jB9p03SvXiI" height="1" width="1"/&gt;</content>
  <feedburner:origLink>http://weathered-watcher.heroku.com/blog/blog/2011/05/08/new-blog/</feedburner:origLink></entry>
  <entry>
    <title>POSSCON Day 1</title>
    <link href="http://feedproxy.google.com/~r/Weatheredwatcher/~3/QoFu_HcPpuM/" rel="alternate" />
    <id>http://weathered-watcher.heroku.com/blog/blog/2011/03/24/posscon-day-1/</id>
    <published>2011-03-24T00:00:00Z</published>
    <updated>2011-03-24T00:00:00Z</updated>
    <author>
      <name />
    </author>
    <summary type="html">&lt;p&gt;&lt;br /&gt;Well, the first day at POSSCON is over.&amp;nbsp; Man what a great time!!&amp;nbsp; For me the highlight was listening to Bdale Garbee speak.&amp;nbsp; He has been with Debian forever (as well as the driving force behind HP's Linux useage) and he gave a really great talk.&amp;nbsp; Of course the first have of the day seemed to be "Let's Bash Oracle, screw the fact (or maybe because of the fact) that they are the #1 sponsor of this years event."&amp;nbsp; The worst part though was that Oracle was there, and they have yet to truly defend themselves.&amp;nbsp; Oh well!&amp;nbsp; So we had a great track on the new Apache 2.3 and alot of the stuff they are doing to adjust for cloud computing needs.&amp;nbsp; The MySQL talk seemed to be a geared towards "What Oracles has done with MySQL since we got it" and painted a very biased (and I felt slightly skewed) view on the positive movements.&amp;nbsp; After the days session was over, we had a little networking event with beer (what can I say, we open source folk love free beer!) and during the course of the evening I got a chance to talk a bit with the MySQL community rep and he really seems like a nice guy, so I hope that Oracle will take a more positive stance in the Open Source communities in the future.&amp;nbsp; Also talked with the Sugar CRM rep, which was cool since my session tomorrow and my workshop will have me talking just a little bit about SugarCRM.&amp;nbsp; Also meet and spent some time talking to a great rep for Source Forge.&amp;nbsp; All in all, I think it was great day.&amp;nbsp; Good times with old friends and great opportunities to network and make new ones in the industry!&lt;/p&gt;

</summary>
    <content type="html">&lt;p&gt;&lt;br /&gt;Well, the first day at POSSCON is over.&amp;nbsp; Man what a great time!!&amp;nbsp; For me the highlight was listening to Bdale Garbee speak.&amp;nbsp; He has been with Debian forever (as well as the driving force behind HP's Linux useage) and he gave a really great talk.&amp;nbsp; Of course the first have of the day seemed to be "Let's Bash Oracle, screw the fact (or maybe because of the fact) that they are the #1 sponsor of this years event."&amp;nbsp; The worst part though was that Oracle was there, and they have yet to truly defend themselves.&amp;nbsp; Oh well!&amp;nbsp; So we had a great track on the new Apache 2.3 and alot of the stuff they are doing to adjust for cloud computing needs.&amp;nbsp; The MySQL talk seemed to be a geared towards "What Oracles has done with MySQL since we got it" and painted a very biased (and I felt slightly skewed) view on the positive movements.&amp;nbsp; After the days session was over, we had a little networking event with beer (what can I say, we open source folk love free beer!) and during the course of the evening I got a chance to talk a bit with the MySQL community rep and he really seems like a nice guy, so I hope that Oracle will take a more positive stance in the Open Source communities in the future.&amp;nbsp; Also talked with the Sugar CRM rep, which was cool since my session tomorrow and my workshop will have me talking just a little bit about SugarCRM.&amp;nbsp; Also meet and spent some time talking to a great rep for Source Forge.&amp;nbsp; All in all, I think it was great day.&amp;nbsp; Good times with old friends and great opportunities to network and make new ones in the industry!&lt;/p&gt;

&lt;img src="http://feeds.feedburner.com/~r/Weatheredwatcher/~4/QoFu_HcPpuM" height="1" width="1"/&gt;</content>
  <feedburner:origLink>http://weathered-watcher.heroku.com/blog/blog/2011/03/24/posscon-day-1/</feedburner:origLink></entry>
  <entry>
    <title>A breather and a Blog post</title>
    <link href="http://feedproxy.google.com/~r/Weatheredwatcher/~3/SyyhSiI_UJM/" rel="alternate" />
    <id>http://weathered-watcher.heroku.com/blog/blog/2011/03/15/a-breather-and-a-blog-post/</id>
    <published>2011-03-15T00:00:00Z</published>
    <updated>2011-03-15T00:00:00Z</updated>
    <author>
      <name />
    </author>
    <summary type="html">&lt;p&gt;Lately I have been working like I don't know what!&amp;nbsp; It's been crazy.&amp;nbsp; But, I have a few minutes to spare and thought that I'd write another post.&lt;/p&gt;


&lt;p&gt;Komodo crashed on my so much that I have deemed it a lost cause.&amp;nbsp; I have had similar luck on the post Oracle Netbeans builds.. so I have switched to Eclipse for my IDE needs.&amp;nbsp; Emacs still rocks, but if I need a little bit more power, I have Eclipse.&amp;nbsp; I use it with the Aptana and RadRails plugins.&amp;nbsp; So, it makes a great html editor....but I still prefer emacs for rails work.&lt;/p&gt;

</summary>
    <content type="html">&lt;p&gt;Lately I have been working like I don't know what!&amp;nbsp; It's been crazy.&amp;nbsp; But, I have a few minutes to spare and thought that I'd write another post.&lt;/p&gt;


&lt;p&gt;Komodo crashed on my so much that I have deemed it a lost cause.&amp;nbsp; I have had similar luck on the post Oracle Netbeans builds.. so I have switched to Eclipse for my IDE needs.&amp;nbsp; Emacs still rocks, but if I need a little bit more power, I have Eclipse.&amp;nbsp; I use it with the Aptana and RadRails plugins.&amp;nbsp; So, it makes a great html editor....but I still prefer emacs for rails work.&lt;/p&gt;


&lt;p&gt;Over the weekend I installed Debian Squeeze.&amp;nbsp; It is the first totally free kernel.&amp;nbsp; No non-free drivers or modules.&amp;nbsp; I like.&amp;nbsp;&lt;/p&gt;


&lt;p&gt;Here is a cool screenshot:&lt;/p&gt;


&lt;p&gt;&lt;a href="http://img858.imageshack.us/i/workspace1001.jpg/" title="ImageShack - Image And Video Hosting" target="_blank"&gt;&lt;img src="http://img858.imageshack.us/img858/8107/workspace1001.jpg" border="0" alt="" /&gt;&lt;/a&gt; Uploaded with &lt;a href="http://imageshack.us" target="_blank"&gt;ImageShack.us&lt;/a&gt; &lt;br /&gt;By &lt;a href="https://launchpad.net/shutter"&gt;Shutter&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Anyway.  Good times.  What else is going on right now?  Finishing up one hell of a project.  Not hard my nature...hard by the folks I have to deal with.  I have another major contract coming up (but can't say too much about it yet) and I am preparing for my session and workshop at &lt;a href="http://posscon.org/"&gt;POSSCON&lt;/a&gt;.&amp;nbsp; It's getting closer!&amp;nbsp; If you are not signed up yet, you should!&amp;nbsp; I'll be giving a talk on using OSS to help run your business on the cheap.&amp;nbsp; My workshop will be a great time where we go over how to use most of the software that I talk about in my session.&amp;nbsp; This is my first time talking a major conference and I am excited about it!&lt;/p&gt;


&lt;p&gt;Well, that's all for right now.&amp;nbsp; I'll try and have some cool stuff for you all soon!&lt;/p&gt;

&lt;img src="http://feeds.feedburner.com/~r/Weatheredwatcher/~4/SyyhSiI_UJM" height="1" width="1"/&gt;</content>
  <feedburner:origLink>http://weathered-watcher.heroku.com/blog/blog/2011/03/15/a-breather-and-a-blog-post/</feedburner:origLink></entry>
  <entry>
    <title>Developing on Dropbox , Cloude9IDE and Komodo Edit 6</title>
    <link href="http://feedproxy.google.com/~r/Weatheredwatcher/~3/71q3bm05s2s/" rel="alternate" />
    <id>http://weathered-watcher.heroku.com/blog/blog/2011/02/24/developing-on-dropbox--cloude9ide-and-komodo-edit-6/</id>
    <published>2011-02-24T00:00:00Z</published>
    <updated>2011-02-24T00:00:00Z</updated>
    <author>
      <name />
    </author>
    <summary type="html">&lt;p&gt;Recently, I've been working on a project remotly that needs me to keep the rest of the team up to date.&amp;nbsp; So we started by using a shared Dropbox folder.&amp;nbsp; When you don't need serious versioning, this is the way to go!&amp;nbsp; I use the Dropbox Shared Folder for developing and whatever I do is automatically synced.&amp;nbsp; And the rest of the team knows.&amp;nbsp; To take this a step higher, use the Public folder.&amp;nbsp; As long as you are only messing with HTML and JavaScript, you can get real live previews of what you are working on, on a real server ('cause some stuffin js dosen't work properly simply out of the Dropbox folder).&amp;nbsp; Of course, if you need serious versioning control, you can use github and Cloud9ide.&amp;nbsp; Cloud9ide is essentially what happen to Mozilla's Bespin project.&amp;nbsp; It's a great way to code and collaborate in the cloud.&amp;nbsp;&lt;/p&gt;

</summary>
    <content type="html">&lt;p&gt;Recently, I've been working on a project remotly that needs me to keep the rest of the team up to date.&amp;nbsp; So we started by using a shared Dropbox folder.&amp;nbsp; When you don't need serious versioning, this is the way to go!&amp;nbsp; I use the Dropbox Shared Folder for developing and whatever I do is automatically synced.&amp;nbsp; And the rest of the team knows.&amp;nbsp; To take this a step higher, use the Public folder.&amp;nbsp; As long as you are only messing with HTML and JavaScript, you can get real live previews of what you are working on, on a real server ('cause some stuffin js dosen't work properly simply out of the Dropbox folder).&amp;nbsp; Of course, if you need serious versioning control, you can use github and Cloud9ide.&amp;nbsp; Cloud9ide is essentially what happen to Mozilla's Bespin project.&amp;nbsp; It's a great way to code and collaborate in the cloud.&amp;nbsp;&lt;/p&gt;


&lt;p&gt;Recently, I've been giving Komodo Edit and Komodo IDE a run.&amp;nbsp; Honestly, the full IDE is so NOT worth the$300+ price tag they put on it.&amp;nbsp; At least not on a Linux/Unix environment where we have so many great command line tools...:)&lt;/p&gt;


&lt;p&gt;But honestly, I really like Komodo Edit.&amp;nbsp; It reminds me a lot of Coda for the Mac (albeit not as pretty!)&amp;nbsp; Plus, they have a Open Source project now with the base Source of Komodo Edit.&amp;nbsp; It looks like a promising project for a much needed area of Development in Linux. (At least imho).&amp;nbsp; I can't stand running shit on the JVM!&amp;nbsp; Netbeans (which I didn't mind using) seems to have gone to hell since Oracle took over.&amp;nbsp; Once I've used it a little bit longer, I'll give it a good one over review.&amp;nbsp; For now, I gotta go.&amp;nbsp; Deadlines, deadlines and more deadline!&lt;/p&gt;

&lt;img src="http://feeds.feedburner.com/~r/Weatheredwatcher/~4/71q3bm05s2s" height="1" width="1"/&gt;</content>
  <feedburner:origLink>http://weathered-watcher.heroku.com/blog/blog/2011/02/24/developing-on-dropbox--cloude9ide-and-komodo-edit-6/</feedburner:origLink></entry>
  <entry>
    <title>My new Nokia N900</title>
    <link href="http://feedproxy.google.com/~r/Weatheredwatcher/~3/IXPt1oN3eb0/" rel="alternate" />
    <id>http://weathered-watcher.heroku.com/blog/blog/2011/02/15/my-new-nokia-n900/</id>
    <published>2011-02-15T00:00:00Z</published>
    <updated>2011-02-15T00:00:00Z</updated>
    <author>
      <name />
    </author>
    <summary type="html">&lt;p&gt;Well folks, last night I managed to get my hands on a (slightly) used Nokia N900.&amp;nbsp; I am very excited about this.&amp;nbsp; I have wanted one since they first came out!&amp;nbsp; Compared to the iPhone or the Xperia that I had most recently, it is a brick of a phone...but I like that.&amp;nbsp; The keyboard is a lot easier to type on than I thought it would be...(much easier than the god awful touch screen on the Xperia!) Expect more updates as I learn more about it.&amp;nbsp; In a side note, we got rid of both my Xperia and Arina's at the same time.&amp;nbsp; She is using my old 1st gen iPhone until we can get our hands on something newer.&amp;nbsp; If anyone reading this has a 3gs for sale, let us know!&lt;/p&gt;

</summary>
    <content type="html">&lt;p&gt;Well folks, last night I managed to get my hands on a (slightly) used Nokia N900.&amp;nbsp; I am very excited about this.&amp;nbsp; I have wanted one since they first came out!&amp;nbsp; Compared to the iPhone or the Xperia that I had most recently, it is a brick of a phone...but I like that.&amp;nbsp; The keyboard is a lot easier to type on than I thought it would be...(much easier than the god awful touch screen on the Xperia!) Expect more updates as I learn more about it.&amp;nbsp; In a side note, we got rid of both my Xperia and Arina's at the same time.&amp;nbsp; She is using my old 1st gen iPhone until we can get our hands on something newer.&amp;nbsp; If anyone reading this has a 3gs for sale, let us know!&lt;/p&gt;

&lt;img src="http://feeds.feedburner.com/~r/Weatheredwatcher/~4/IXPt1oN3eb0" height="1" width="1"/&gt;</content>
  <feedburner:origLink>http://weathered-watcher.heroku.com/blog/blog/2011/02/15/my-new-nokia-n900/</feedburner:origLink></entry>
  <entry>
    <title>Factory Design Pattern in Ruby</title>
    <link href="http://feedproxy.google.com/~r/Weatheredwatcher/~3/CGAr2bfjfCs/" rel="alternate" />
    <id>http://weathered-watcher.heroku.com/blog/blog/2011/01/30/factory-design-pattern-in-ruby/</id>
    <published>2011-01-30T00:00:00Z</published>
    <updated>2011-01-30T00:00:00Z</updated>
    <author>
      <name />
    </author>
    <summary type="html">&lt;p&gt;Ok, so here is a return to my absolutly favorite language...ruby.&amp;nbsp; This is a modification of my js Factory Method.&amp;nbsp; It's a good little bit of code.&amp;nbsp; I decided to make it a bit of useful code.&amp;nbsp; I am waiting for keyboard input.&amp;nbsp; A B and C will create pizzas and Q will end the program&lt;/p&gt;




&lt;p&gt;The first part of this code is actually identical to the implementation of a Strategy Method.  It is the addition of the case statement that helps turn it into a Factory Method&lt;/p&gt;

</summary>
    <content type="html">&lt;p&gt;Ok, so here is a return to my absolutly favorite language...ruby.&amp;nbsp; This is a modification of my js Factory Method.&amp;nbsp; It's a good little bit of code.&amp;nbsp; I decided to make it a bit of useful code.&amp;nbsp; I am waiting for keyboard input.&amp;nbsp; A B and C will create pizzas and Q will end the program&lt;/p&gt;




&lt;p&gt;The first part of this code is actually identical to the implementation of a Strategy Method.  It is the addition of the case statement that helps turn it into a Factory Method&lt;/p&gt;




&lt;script src="https://gist.github.com/803254.js?file=factory_method.rb"&gt;&lt;/script&gt;

&lt;img src="http://feeds.feedburner.com/~r/Weatheredwatcher/~4/CGAr2bfjfCs" height="1" width="1"/&gt;</content>
  <feedburner:origLink>http://weathered-watcher.heroku.com/blog/blog/2011/01/30/factory-design-pattern-in-ruby/</feedburner:origLink></entry>
  <entry>
    <title>New Site Design Coming Soon!</title>
    <link href="http://feedproxy.google.com/~r/Weatheredwatcher/~3/ykoFAmD9BGs/" rel="alternate" />
    <id>http://weathered-watcher.heroku.com/blog/blog/2011/01/26/new-site-design-coming-soon/</id>
    <published>2011-01-26T00:00:00Z</published>
    <updated>2011-01-26T00:00:00Z</updated>
    <author>
      <name />
    </author>
    <summary type="html">&lt;p&gt;I am redesigning my site now. &amp;nbsp;It's gonna have a brand new look as well as be rewritten in Rails 3. &amp;nbsp;The blog will still be posted through Posterous. &amp;nbsp;But I'm working to make it even more transparent than it is now. &amp;nbsp;Also, I am working on a slightly more professional look for it all. &amp;nbsp;Not so much black! &amp;nbsp;Also working on a Rails Picasa Web plugin. &amp;nbsp;Keep your eyes peeled for updates!&lt;/p&gt;


&lt;p&gt;In other news, I am waiting on a Thinkpad t60 to arrive..my hackintosh! &amp;nbsp;Also, getting ready to get back into iPhone development. &amp;nbsp;Trying to find someone to buy or trade my Sony Ericson Xperia x10a so I can get at least a 3GS. &amp;nbsp;I really am not all that fond of Android. &amp;nbsp;I have already reverted back to my old iPhone whilst I wait for a new one. &amp;nbsp;But, more on that later. &amp;nbsp;Needs an entire post on that and I really need to sit down and articulate my dislike before I do that. :)&lt;/p&gt;

</summary>
    <content type="html">&lt;p&gt;I am redesigning my site now. &amp;nbsp;It's gonna have a brand new look as well as be rewritten in Rails 3. &amp;nbsp;The blog will still be posted through Posterous. &amp;nbsp;But I'm working to make it even more transparent than it is now. &amp;nbsp;Also, I am working on a slightly more professional look for it all. &amp;nbsp;Not so much black! &amp;nbsp;Also working on a Rails Picasa Web plugin. &amp;nbsp;Keep your eyes peeled for updates!&lt;/p&gt;


&lt;p&gt;In other news, I am waiting on a Thinkpad t60 to arrive..my hackintosh! &amp;nbsp;Also, getting ready to get back into iPhone development. &amp;nbsp;Trying to find someone to buy or trade my Sony Ericson Xperia x10a so I can get at least a 3GS. &amp;nbsp;I really am not all that fond of Android. &amp;nbsp;I have already reverted back to my old iPhone whilst I wait for a new one. &amp;nbsp;But, more on that later. &amp;nbsp;Needs an entire post on that and I really need to sit down and articulate my dislike before I do that. :)&lt;/p&gt;

&lt;img src="http://feeds.feedburner.com/~r/Weatheredwatcher/~4/ykoFAmD9BGs" height="1" width="1"/&gt;</content>
  <feedburner:origLink>http://weathered-watcher.heroku.com/blog/blog/2011/01/26/new-site-design-coming-soon/</feedburner:origLink></entry>
</feed>

