<?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>Lonely Lion &#187; Ruby</title>
	<atom:link href="http://weblog.lonelylion.com/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://weblog.lonelylion.com</link>
	<description>Chris McAvoy likes kites</description>
	<lastBuildDate>Fri, 03 Sep 2010 19:02:16 +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>Server Side Javascript</title>
		<link>http://weblog.lonelylion.com/2009/04/09/server-side-javascript/</link>
		<comments>http://weblog.lonelylion.com/2009/04/09/server-side-javascript/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 16:09:41 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[appengine]]></category>

		<guid isPermaLink="false">http://weblog.lonelylion.com/?p=814</guid>
		<description><![CDATA[Remember that whole Appengine got the JVM link I posted yesterday?  I forgot to add one thing.  Rhino is on that list.  Meaning, you can write really awesome Javascript applications on the Google-server.  In Ted Leung&#8217;s Pycon talk he specifically points out the performance gains that several big companies have baked into Javascript, how Javascript is [...]]]></description>
			<content:encoded><![CDATA[<p>Remember that whole <a href="http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine?pli=1">Appengine got the JVM</a> link I posted yesterday?  I forgot to add one thing.  Rhino is on that list.  Meaning, you can write really awesome Javascript applications on the Google-server.  In <a href="http://blip.tv/file/1947412/">Ted Leung&#8217;s Pycon talk</a> he specifically points out the performance gains that several big companies have baked into Javascript, how Javascript is one of the most &#8220;known&#8221; languages, and how Python &amp; Ruby folks should know that as soon as Javascript becomes an accepted server side language, they&#8217;re probably going to have to join or die.</p>
<p>Obviously, I&#8217;m paraphrasing.</p>
<p>That said, picture Ted as a crazy prophet saying that when the sky rains blood, it means the end of Python.  Then picture Google Appengine raining blood.  See where this is going?  Google totally released server side javascript on Tuesday.  The prophecy is coming true!</p>
<p>(If you watch the video, feel free to skip over the Q&amp;A period, in which I ask a batshit crazy question and blame democracy for the inability of Python to feed more families.)</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.lonelylion.com/2009/04/09/server-side-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yes Simon, We Need a Queue</title>
		<link>http://weblog.lonelylion.com/2008/03/19/yes-simon-we-need-a-queue/</link>
		<comments>http://weblog.lonelylion.com/2008/03/19/yes-simon-we-need-a-queue/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 11:47:47 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Agile]]></category>
		<category><![CDATA[Erlang]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://weblog.lonelylion.com/2008/03/19/yes-simon-we-need-a-queue/</guid>
		<description><![CDATA[Simon Wistow asks whether or not we need a better open source queuing system. My answer is yes. I&#8217;ve built two one-off hackish queuing systems for $work in the past three years, both of which used database tables as queues, both of which were only accessible by a language-locked api, neither of which was accessible [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://deflatermouse.livejournal.com/145533.html">Simon Wistow asks whether or not we need a better open source queuing system.</a>  My answer is yes.  I&#8217;ve built two one-off hackish queuing systems for $work in the past three years, both of which used database tables as queues, both of which were only accessible by a language-locked api, neither of which was accessible by any sort of neutral service.  Both had very specific tasks, hold tasks in a queue for offline (read: outside of a web transaction) processing.</p>
<p>Both jobs could have been fulfilled by a nice message queue service, but it didn&#8217;t seem like the effort was worth the payoff.  That said, now that I&#8217;ve built two of <i>exactly the same thing</i>, I&#8217;m 100% of the belief that I&#8217;d love to have a easy to install web service-y queue (that isn&#8217;t owned by Amazon).</p>
<p>So, why the need?  It&#8217;s sort of like the evolution of <a href="http://weblog.lonelylion.com/2007/12/14/amazon-simpledb-couchdb-dbslayer-is-this-the-future/">CouchDB &amp; friends</a> I wrote about back in December, all web programmers eventually are expected to be programmers, then they start examining the tools the traditionalists have built, and they question, &#8220;why can&#8217;t this be better?&#8221;  Relational databases <i>might</i> not be best for web apps (I&#8217;m still not convinced, but for the sake of argument, go for it.)  Full featured queue services <i>might</i> not be best for web apps.  If for no other reason than they introduce a complicated system into your ecosphere for what is actually a very simple problem.  I like Simon&#8217;s pointing at memcache and saying, &#8220;make a queue that works like that.&#8221;  That would be pretty cool.  I&#8217;m voting +1.</p>
<p>That said, like a good American I&#8217;m making this vote without fully examining all the candidates.  Maybe the existing queues are simple enough&#8230;educate me lazy-web.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.lonelylion.com/2008/03/19/yes-simon-we-need-a-queue/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Amazon SimpleDB, CouchDB, DBSlayer &#8211; is this the future?</title>
		<link>http://weblog.lonelylion.com/2007/12/14/amazon-simpledb-couchdb-dbslayer-is-this-the-future/</link>
		<comments>http://weblog.lonelylion.com/2007/12/14/amazon-simpledb-couchdb-dbslayer-is-this-the-future/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 13:12:33 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Erlang]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://weblog.lonelylion.com/2007/12/14/amazon-simpledb-couchdb-dbslayer-is-this-the-future/</guid>
		<description><![CDATA[Amazon is starting a limited beta of an online database they&#8217;re calling SimpleDB. It&#8217;s functionally very similar to CouchDB, in that it uses REST for queries and inserts, stores data in flat &#8220;schema-less&#8221; pages, and is generally geared towards web-app-like data. The NYTimes DBSlayer takes a half-fast approach by layering a JSON REST API on [...]]]></description>
			<content:encoded><![CDATA[<p>Amazon is starting a limited beta of an online database they&#8217;re calling <a href="http://www.amazon.com/b/ref=sc_fe_c_1_3435361_1?ie=UTF8&amp;node=342335011&amp;no=3435361&amp;me=A36L942TSJ2AJA">SimpleDB</a>.  It&#8217;s functionally very similar to <a href="http://couchdb.org/CouchDB/CouchDBWeb.nsf/Home?OpenForm">CouchDB</a>, in that it uses REST for queries and inserts, stores data in flat &#8220;schema-less&#8221; pages, and is generally geared towards web-app-like data.  The NYTimes <a href="http://code.nytimes.com/projects/dbslayer">DBSlayer</a> takes a half-fast approach by layering a JSON REST API on top of an existing relational database.</p>
<p>Although these three projects each take a different stab at the same problem, they all agree on one thing, &#8220;you should really put DB in your name&#8230;somewhere.&#8221;</p>
<p>Amazon SimpleDB solves the problem that a lot of EC2 explorers end up running into the minute they want to have persistent data across sessions.  Because EC2 is a fresh slate on each reboot, typical databases aren&#8217;t really usable, unless you spend an awful lot of time figuring out how to off-load your data to Amazon S3 on a regular basis.</p>
<p>I wish I had some sort of pithy analysis of the recent leanings by web-visionaries away from SQL databases and towards these sort of REST db&#8217;s.  The timeline in my head goes something like this:</p>
<p>Raw SQL <em>begat</em> ORMs <em>begat</em> full stack web frameworks <em>begat</em> wrapping a REST interface around an ORM <em>begat</em> &#8220;hey, let&#8217;s have our controllers talk to the REST interface, rather than the ORM&#8221; <em>begat</em> &#8220;hey, why do we need an ORM, or a traditional database?  Let&#8217;s just make a REST accessible database!&#8221;</p>
<p>I guess that&#8217;s relatively pithy.</p>
<p>Really though, I&#8217;m not entirely sure what to make of this &#8220;trend.&#8221;  I&#8217;ve yet to build even a trivial project using any of the three (Amazon is a closed beta, so I&#8217;m not sure if it&#8217;ll even be a possibility anytime soon).  Maybe it&#8217;s time I take a crack at one of them.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.lonelylion.com/2007/12/14/amazon-simpledb-couchdb-dbslayer-is-this-the-future/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Django Will Cap Your Ass</title>
		<link>http://weblog.lonelylion.com/2007/09/11/django-will-cap-your-ass/</link>
		<comments>http://weblog.lonelylion.com/2007/09/11/django-will-cap-your-ass/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 11:59:12 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://weblog.lonelylion.com/2007/09/11/django-will-cap-your-ass/</guid>
		<description><![CDATA[[youtube=http://www.youtube.com/watch?v=PLUS00QrYWw] Django and Rails are friends. At first Django is irritating and aggressive. Rails is up tight, but Django teaches him how to have a good time. Then they drink 40&#8242;s and pour some out &#8220;for their homies.&#8221; Just a bit of technical correction though, no one pours their beer out for their homies in [...]]]></description>
			<content:encoded><![CDATA[<p>[youtube=http://www.youtube.com/watch?v=PLUS00QrYWw]</p>
<p>Django and Rails are friends.  At first Django is irritating and aggressive.  Rails is up tight, but Django teaches him how to have a good time.  Then they drink 40&#8242;s and pour some out &#8220;for their homies.&#8221;</p>
<p>Just a bit of technical correction though, no one pours their beer out for their homies in the sink.  They do it on the ground.  Because their homies are in the ground.  So, unless your homies drowned in the sewer system, make sure you pour it out&#8230;<i>on the ground.</i>  Peace.  Also, Django is pronounced <i>Django*</i>.</p>
<p>Regardless, Django and Rails are friends!  How great!</p>
<p>* Intentionally unhelpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.lonelylion.com/2007/09/11/django-will-cap-your-ass/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Offline</title>
		<link>http://weblog.lonelylion.com/2007/05/31/google-offline/</link>
		<comments>http://weblog.lonelylion.com/2007/05/31/google-offline/#comments</comments>
		<pubDate>Thu, 31 May 2007 14:07:21 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://weblog.lonelylion.com/2007/05/31/google-offline/</guid>
		<description><![CDATA[Google jumped into the crowdening [sic] arena of ways-to-make-your-web-app-work-offline with Google Gears. I&#8217;m pretty excited about the whole concept. Just last night, me and Mrs. McAvoy were heard to exclaim, &#8220;I really like Google Docs, I wish it worked offline.&#8221; Clearly, the Google bugging of my home has finally paid off for the Googineers. Glad [...]]]></description>
			<content:encoded><![CDATA[<p>Google jumped into the crowdening [sic] arena of ways-to-make-your-web-app-work-offline with <a href="http://gears.google.com">Google Gears</a>.  I&#8217;m pretty excited about the whole concept.  Just last night, me and Mrs. McAvoy were heard to exclaim, &#8220;I really like Google Docs, I wish it worked offline.&#8221;</p>
<p>Clearly, the Google bugging of my home has finally paid off for the Googineers.  Glad the McAvoy&#8217;s could help you out guys.  Good luck with your Gears.</p>
<p>I want to start messing with this offline stuff.  Lots of fun ideas come to mind.</p>
<p>Edited to add: <a href="http://radar.oreilly.com/archives/2007/05/google_releases.html">O&#8217;Reilly Radar explains the whole thing a lot better than me.</a>  We live in the future folks.  This is really neat stuff.</p>
<p>Edited (again) to add: <a href="http://ajaxian.com/archives/audible-ajax-episode-21-dojo-offline-on-google-gears">Holy cow!  Dojo offline is now built on top of Gears!  This is the greatest!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.lonelylion.com/2007/05/31/google-offline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deployable Rails Stack</title>
		<link>http://weblog.lonelylion.com/2007/05/23/deployable-rails-stack/</link>
		<comments>http://weblog.lonelylion.com/2007/05/23/deployable-rails-stack/#comments</comments>
		<pubDate>Wed, 23 May 2007 14:02:44 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://weblog.lonelylion.com/2007/05/23/deployable-rails-stack/</guid>
		<description><![CDATA[From what I&#8217;ve gathered, deployment was a big theme at this year&#8217;s Railsconf. There&#8217;s a handful of groups targeting different virtualization platforms for easy-instant Rails deployments. DHH started a mailing list for the discussion, kicking it off with a succinct explanation of the goals. It&#8217;s a great idea. Virtualization allowed me to work around a [...]]]></description>
			<content:encoded><![CDATA[<p>From what I&#8217;ve gathered, deployment was a big theme at this year&#8217;s Railsconf.  There&#8217;s a handful of groups targeting different virtualization platforms for easy-instant Rails deployments.  DHH started a mailing list for the discussion, kicking it off with a <a href="http://groups.google.com/group/rubyonrails-stack/browse_thread/thread/d3edf6c1a533b13f">succinct explanation of the goals</a>.</p>
<p>It&#8217;s a great idea.  Virtualization allowed me to work around a lot of rules as $last_job, and has the potential for easy deployment and at $new_job.  Given the ease of use of a variety of virtualization options out there in the world, the idea of deploying your Rails / Django / Whatever app to a pre-built container is a really good one.  It&#8217;s not a trivial exercise to get a nice LAMP stack approved by a stodgy sysadmin infrastructure.  It&#8217;s way easier to say, &#8220;let me drop this vmware instance into your great big awesome vmware machine.&#8221;</p>
<p>Good idea Railsconf attendees.  Attention everyone else: <em>begin stealing this idea immediately</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.lonelylion.com/2007/05/23/deployable-rails-stack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hackety Hack gets a Blog, olpc-chicago Gets an Idea</title>
		<link>http://weblog.lonelylion.com/2007/05/06/hackety-hack-gets-a-blog-olpc-chicago-gets-an-idea/</link>
		<comments>http://weblog.lonelylion.com/2007/05/06/hackety-hack-gets-a-blog-olpc-chicago-gets-an-idea/#comments</comments>
		<pubDate>Sun, 06 May 2007 14:54:11 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[olpc]]></category>

		<guid isPermaLink="false">http://weblog.lonelylion.com/2007/05/06/hackety-hack-gets-a-blog-olpc-chicago-gets-an-idea/</guid>
		<description><![CDATA[_why opened up the Hackety Blog, apparently shutting down his redhanded blog. So far, he&#8217;s taken a look at a handful of potential programming as education tools. I&#8217;m glad that talented programmers are evaluating education tools. We have a little boy due this August, so programming as education is on my mind. In other news, [...]]]></description>
			<content:encoded><![CDATA[<p>_why opened up the <a href="http://hackety.org/">Hackety Blog</a>, apparently shutting down his <a href="http://redhanded.hobix.com/cult/hacketyOrg.html">redhanded blog</a>.  So far, he&#8217;s taken a look at a handful of potential programming as education tools.  I&#8217;m glad that talented programmers are evaluating education tools.  We have a little boy due this August, so programming as education is on my mind.</p>
<p>In other news, <a href="http://mailman.laptop.org/pipermail/olpc-chicago/2007-May/000012.html">Ian came up with a good first olpc-chicago project</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.lonelylion.com/2007/05/06/hackety-hack-gets-a-blog-olpc-chicago-gets-an-idea/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Whoah. Pilgrim on the Parade</title>
		<link>http://weblog.lonelylion.com/2007/05/02/whoah-pilgrim-on-the-parade/</link>
		<comments>http://weblog.lonelylion.com/2007/05/02/whoah-pilgrim-on-the-parade/#comments</comments>
		<pubDate>Wed, 02 May 2007 19:06:05 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[cranky]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://weblog.lonelylion.com/2007/05/02/whoah-pilgrim-on-the-parade/</guid>
		<description><![CDATA[I&#8217;ve been pleasantly watching the releases of Apollo and Silverlight over the past few days, and just sort of thinking, &#8220;oh, nice, new things to play around with.&#8221; Then comes Mark Pilgrim with a dose of cranky, yet wildly accurate ranting. Meanwhile, I&#8217;m really enjoying my new found need of Javascript. I&#8217;m doing lots of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been pleasantly watching the releases of <em>Apollo</em> and <em>Silverlight</em> over the past few days, and just sort of thinking, &#8220;oh, nice, new things to play around with.&#8221;  Then comes Mark Pilgrim with a dose of <a href="http://diveintomark.org/archives/2007/05/02/silly-season">cranky, yet wildly accurate ranting</a>.</p>
<p>Meanwhile, I&#8217;m really enjoying my new found need of Javascript.  I&#8217;m doing lots of neat AJAX&#8217;y things, the sorts of stuff that everyone else was doing months ago, so I&#8217;m sort of primed for the argument of, &#8220;don&#8217;t buy into these corporate re-do&#8217;s of the web, stick with the open web&#8230;stick&#8230;with&#8230;the&#8230;open&#8230;web.&#8221;</p>
<p>Sounds good to me, I guess.  Yet, at the same time, everytime M$ &amp; Company say the words Ruby or Python, it gets that much easier to say the same words in front of a somewhat backwards potential tech customer and not get booted out the door.  So, the tally so far: big companies reinventing the web &#8211;, big companies putting good words in press releases ++.</p>
<p>As an aside, please never trim your fingernails at your desk during work hours within earshot of me.  It&#8217;s really goddamn gross.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.lonelylion.com/2007/05/02/whoah-pilgrim-on-the-parade/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Microsoft Hits and Misses</title>
		<link>http://weblog.lonelylion.com/2007/05/01/microsoft-hits-and-misses/</link>
		<comments>http://weblog.lonelylion.com/2007/05/01/microsoft-hits-and-misses/#comments</comments>
		<pubDate>Tue, 01 May 2007 14:46:43 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://weblog.lonelylion.com/2007/05/01/microsoft-hits-and-misses/</guid>
		<description><![CDATA[So, Vista is languishing (no links provided, seriously you&#8217;ve heard this as well as I have). At the same time, Microsoft just released some really cool sounding stuff for dynamic language enthusiasts in the form of some sort of mysterious &#8220;Dynamic Language Runtime.&#8221; Jon Udell interviewed John Lam about it, as well as how it [...]]]></description>
			<content:encoded><![CDATA[<p>So, Vista is languishing (no links provided, seriously you&#8217;ve heard this as well as I have).  At the same time, Microsoft just released some really cool sounding stuff for dynamic language enthusiasts in the form of some sort of mysterious &#8220;Dynamic Language Runtime.&#8221;  <a href="http://blog.jonudell.net/2007/04/30/a-conversation-with-john-lam-about-the-dynamic-language-runtime-silverlight-and-ruby/">Jon Udell interviewed John Lam</a> about it, as well as how it will integrate with Silverlight.</p>
<p>So, on the one hand, you&#8217;ve got the Microsoft that&#8217;s sort of doing big dumb things, and on the other hand, you&#8217;ve got some really bright types putting out neat stuff that has a lot of potential.  Recent neat stuff by Microsoft list: Xbox 360, XNA game dev framework, Robot dev tools, Iron Python, RubyCLR, Silverlight.  Nice work good part of Microsoft.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.lonelylion.com/2007/05/01/microsoft-hits-and-misses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Alphabetical Sorting Without &quot;The&quot;</title>
		<link>http://weblog.lonelylion.com/2007/04/30/sql-alphabetical-sorting-without-the/</link>
		<comments>http://weblog.lonelylion.com/2007/04/30/sql-alphabetical-sorting-without-the/#comments</comments>
		<pubDate>Mon, 30 Apr 2007 20:33:47 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[cranky]]></category>

		<guid isPermaLink="false">http://weblog.lonelylion.com/2007/04/30/sql-alphabetical-sorting-without-the/</guid>
		<description><![CDATA[Hey Lazyweb, is there some clever pattern that addresses passing an &#8216;order by&#8217; to a database and getting an alphabetically sorted list where &#8220;the&#8221; doesn&#8217;t factor into the sort? Look at this gigantic list of bands. It&#8217;s annoying to have to remember that &#8220;The&#8221; screws everything up. Do I create a field &#8220;name_without_the&#8221; and select [...]]]></description>
			<content:encoded><![CDATA[<p>Hey Lazyweb, is there some clever pattern that addresses passing an &#8216;order by&#8217; to a database and getting an alphabetically sorted list where &#8220;the&#8221; doesn&#8217;t factor into the sort?</p>
<p>Look at this <a href="http://victimoftime.com/bands/">gigantic list of bands.</a>  It&#8217;s annoying to have to remember that &#8220;The&#8221; screws everything up.</p>
<p>Do I create a field &#8220;name_without_the&#8221; and <code>select * from bands order by name_without_the</code>?  I&#8217;m assuming this is a common alpha-issue that&#8217;s been solved millions of times, but I can&#8217;t find a best-practice suggestion via two minutes of Googling.</p>
<p>Please suggest clever ways to do this without sorting in-memory or some junk like that.  Let&#8217;s keep it in the database folks.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.lonelylion.com/2007/04/30/sql-alphabetical-sorting-without-the/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
