<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss version="2.0">
  <channel>
    <title>Norbauer.com</title>
    <description>norbauer.com</description>
    <link>http://norbauer.com/</link>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/norbauer" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
      <title>code - Storing IP addresses as integers</title>
      <description>&lt;p&gt;Tying long sessions to an IP address is a good way to ensure some security for your users. But inevitably, you&amp;#8217;ll want to store that IP. While you could, of course, store it as a string, such as &lt;code&gt;"123.125.126.127"&lt;/code&gt; (called a &amp;#8220;dotted quad&amp;#8221;), some developers might prefer saving some space and storing it as a compact integer. There&amp;#8217;s a right way and a wrong way to do this. The wrong way is as follows:&lt;/p&gt;
&lt;pre&gt;'12.34.56.78'.sub('.', '').to_i&lt;/pre&gt;
&lt;p&gt;This is a bad idea because two IP addresses can result in the same integer: 12.34.56.78 and 123.4.56.78 are both valid IPs. The correct way is as follows:&lt;/p&gt;
&lt;pre&gt;'12.34.56.78'.split('.').collect(&amp;amp;:to_i).
              pack('C*').unpack('N').first&lt;/pre&gt;
&lt;p&gt;To understand this seemingly obfuscated train wreck, let&amp;#8217;s look at the data in this chain after each method call:&lt;/p&gt;
&lt;pre&gt;'12.34.56.78'.split('.'). #=&amp;gt; ['12', '34', '56', 78']
  collect(&amp;amp;:to_i).        #=&amp;gt; [12, 34, 56, 78]
  pack('C*').             #=&amp;gt; "\f\"8N"
  unpack('N').            #=&amp;gt; [203569230]
  first                   #=&amp;gt; 203569230
&lt;/pre&gt;
&lt;p&gt;Many developers are unfamiliar with pack and unpack. These allow you to create and extract data into and out of binary-packed strings. In the third method call, you&amp;#8217;ll see the result is &lt;code&gt;"\f\"8N"&lt;/code&gt;. This strange-looking string is really just 4 bytes of data, the numbers 12, 34, 56, and 78 in binary form, put into a string. We then unpack that 4-byte string into a 4-byte integer (with network byte order).&lt;/p&gt;
&lt;p&gt;This is also the same problem solved by the C library method &lt;code&gt;inet_aton&lt;/code&gt;, which is implemented as part of &lt;a href="http://www.ruby-doc.org/stdlib/libdoc/ipaddr/rdoc/classes/IPAddr.html"&gt;Ruby&amp;#8217;s &lt;code&gt;IPAddr&lt;/code&gt; class&lt;/a&gt;. Thus, there is a much simpler alternative:&lt;/p&gt;
&lt;pre&gt;require 'ipaddr'
IPAddr.new('12.34.56.78').to_i   #=&amp;gt; 203569230&lt;/pre&gt;
&lt;p&gt;But what fun is that!&lt;/p&gt;
&lt;p&gt;PS. Yes, you can have multi-line method chains simply by leaving the dot at the end of the line. Ruby then knows to look for a method call on the next line. Both snippets are valid Ruby! You should, of course, indent appropriately.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/K4i01QlUA9s" height="1" width="1"/&gt;</description>
      <pubDate>Fri, 25 Sep 2009 21:44:45 +0000</pubDate>
      <link>http://norbauer.com/notebooks/code/notes/storing-ip-addresses-as-integers</link>
      <guid>http://norbauer.com/notebooks/code/notes/storing-ip-addresses-as-integers</guid>
    </item>
    <item>
      <title>code - Snow Leopard: Upgrading for Rails Developers</title>
      <description>&lt;p&gt;Upgrading to Snow Leopard is not as easy as Apple would lead you to believe; at least not if you&amp;#8217;re a Rails developer. Here are a few select errors you might have encountered:&lt;/p&gt;
&lt;pre&gt;uninitialized constant MysqlCompat::MysqlRes
dlopen(/Library/Ruby/Gems/1.8/gems/nokogiri-1.3.3/lib/nokogiri/nokogiri.bundle, 9): no suitable image found&lt;/pre&gt;
&lt;p&gt;These errors seems to stem because OS X is now fully 64-bit, and unfortunately, all your compiled libraries are 32-bit. Whoops!&lt;/p&gt;
&lt;p&gt;So, let&amp;#8217;s fix them.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt;: These instructions are tailored for Intel 64-bit machines, as only 64-bit machines should have these issues. Any Intel Core 2 machines including recent Macbooks, Macbook Pros, and iMacs, and all Mac Pros should work fine with these instructions.&lt;/p&gt;
&lt;h4&gt;Install 64-bit MySQL&lt;/h4&gt;
&lt;p&gt;To fix the MySQL problem, you need install the &lt;a href="http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.35-osx10.5-x86_64.dmg/from/pick#mirrors"&gt;x86_64 version of MySQL&lt;/a&gt;. This will uninstall your old MySQL version, but will not migrate your databases. In order to migrate your data, first make sure MySQL is not running, then:&lt;/p&gt;
&lt;pre&gt;$ sudo mv /usr/local/mysql/data /usr/local/mysql/data.default
$ sudo mv /usr/local/mysql-oldversion/data /usr/local/mysql/data&lt;/pre&gt;
&lt;p&gt;Start up MySQL and your databases should be in tact.&lt;/p&gt;
&lt;h4&gt;Reinstall the MySQL gem&lt;/h4&gt;
&lt;p&gt;Now that you have the correct version of MySQL, you need to reinstall the latest MySQL gem. Make sure to uninstall your current MySQL gem first:&lt;/p&gt;
&lt;pre&gt;$ sudo gem uninstall mysql
$ sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config&lt;/pre&gt;
&lt;h4&gt;Re-install MacPorts&lt;/h4&gt;
&lt;p&gt;To fix nokogiri (and other gems with external dependencies), you&amp;#8217;ll need to fix your Macports install. Unfortunately, the only way to fix Macports is to completely reinstall it. You need to completely delete (or at least move) your /opt/local directory. Once that is done, download and install the latest version of &lt;a href="http://distfiles.macports.org/MacPorts/MacPorts-1.8.0-10.6-SnowLeopard.dmg"&gt;MacPorts for Snow Leopard&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You&amp;#8217;ll probably want to install two things pretty quickly: libxml2 for nokogiri and git-core:&lt;/p&gt;
&lt;pre&gt;$ sudo port install libxml2
$ sudo port install git-core +bash_completion +doc&lt;/pre&gt;
&lt;h4&gt;Re-install nokogiri (and other gems)&lt;/h4&gt;
&lt;p&gt;Any gem that has a compiled component will need to be reinstalled. nokogiri is just one of the libraries; others include ruby-debug, ruby-prof, and a lot of others. To fix them, just run this command:&lt;/p&gt;
&lt;pre&gt;$ sudo gem pristine --all&lt;/pre&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/pHBeJR-ITKs" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 29 Aug 2009 00:36:26 +0000</pubDate>
      <link>http://norbauer.com/notebooks/code/notes/snow-leopard-upgrading-for-rails-developers</link>
      <guid>http://norbauer.com/notebooks/code/notes/snow-leopard-upgrading-for-rails-developers</guid>
    </item>
    <item>
      <title>code - Symbol vs String performance</title>
      <description>&lt;p&gt;A more interesting metric to this discussion is the use of strings versus symbols. Fortunately, these types of discussions can easily be solved by benchmarks:&lt;/p&gt;
&lt;script src="http://gist.github.com/114989.js"&gt;&lt;/script&gt;&lt;p&gt;Results under Ruby 1.8.6:&lt;/p&gt;
&lt;pre&gt;
                           user     system      total        real    less no op
String instanciation   9.050000   0.010000   9.060000 (  9.057162)   5.921219
Symbol use             5.130000   0.000000   5.130000 (  5.131844)   1.995901
new String#to_sym     14.550000   0.020000  14.570000 ( 14.567466)   11.431523
const String#to_sym   11.960000   0.010000  11.970000 ( 11.967217)   8.831274
String const lookup    6.350000   0.010000   6.360000 (  6.358697)   3.222754
Symbol const lookup    6.400000   0.010000   6.410000 (  6.416395)   3.280452
No op                  3.130000   0.010000   3.140000 (  3.135943)   n/a
&lt;/pre&gt;
&lt;p&gt;Results under Ruby 1.9.1:&lt;/p&gt;
&lt;pre&gt;
                           user     system      total        real    less no op
String instanciation   9.170000   0.010000   9.180000 (  9.174451)   4.736163
Symbol use             4.920000   0.010000   4.930000 (  4.930031)   0.491743
new String#to_sym     18.080000   0.030000  18.110000 ( 18.087386)   13.649098
const String#to_sym   13.940000   0.030000  13.970000 ( 13.954099)   9.515811
String const lookup    4.920000   0.000000   4.920000 (  4.927497)   0.489209
Symbol const lookup    4.910000   0.020000   4.930000 (  4.921151)   0.482863
No op                  4.440000   0.000000   4.440000 (  4.438288)   n/a
&lt;/pre&gt;
&lt;p&gt;What do these results mean? Well, first you need to subtract out the &amp;#8220;no op&amp;#8221; results from all the others, which I&amp;#8217;ve added as a column above. We can now see that string instantiation takes about 90 nanoseconds, which means about 11000 string instantiations per millisecond. Are symbols faster? Considerably so. But the real lesson here is that these numbers are so small that no one in there right mind should spend time worrying about them.&lt;/p&gt;
&lt;p&gt;So please, &lt;a href="http://www.randomhacks.net/articles/2007/01/20/13-ways-of-looking-at-a-ruby-symbol"&gt;use symbols when you should use symbols, and otherwise use strings.&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/MTedlU-3GDw" height="1" width="1"/&gt;</description>
      <pubDate>Sun, 15 Feb 2009 23:00:20 +0000</pubDate>
      <link>http://norbauer.com/notebooks/code/notes/symbol-vs-string-performance</link>
      <guid>http://norbauer.com/notebooks/code/notes/symbol-vs-string-performance</guid>
    </item>
    <item>
      <title>code - Garbage collection thresholds in Ruby</title>
      <description>&lt;p&gt;I&amp;#8217;ve put together a &lt;a href="http://gist.github.com/64453"&gt;somewhat extensive&lt;/a&gt; collection of scripts and results from looking at how often objects get garbage collected in Ruby 1.8 and Ruby 1.9. Performance metrics are also provided running the script under various different environments, which I found quite fascinating. irb, for instance, is ridiculously slow. Granted, the vast majority of these scripts times are spent performing the very inefficient ObjectSpace calls, so the raw numbers should be taken with a grain of salt. The metrics are only interesting for comparison, and are of questionable use.&lt;/p&gt;
&lt;p&gt;This was instigated by a String versus Symbol discussion in #ruby on Freenode. The individual was primarily worried about memory usage, and these scripts confirm that strings will get garbage collected often and quickly.&lt;/p&gt;
&lt;p&gt;One thing to note is how Ruby 1.8 changes its thresholds for garbage collection under each environment, which may be based on the amount of objects in global space that it cannot garbage collect. Under Ruby 1.9, the results are bit more consistent, although this may be due to better metrics being available in Ruby 1.9.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/-RexnrNChFg" height="1" width="1"/&gt;</description>
      <pubDate>Sun, 15 Feb 2009 22:39:31 +0000</pubDate>
      <link>http://norbauer.com/notebooks/code/notes/garbage-collection-thresholds-in-ruby</link>
      <guid>http://norbauer.com/notebooks/code/notes/garbage-collection-thresholds-in-ruby</guid>
    </item>
    <item>
      <title>code - Now shipping internationally</title>
      <description>&lt;p&gt;By popular demand, we&amp;#8217;ve added shipping support for 32 additional countries to &lt;a href="http://rubyrags.com"&gt;RubyRags&lt;/a&gt;:&lt;/p&gt;
&lt;p style="text-align:center;"&gt;&lt;img src="http://norbauer.s3.amazonaws.com/6/rubyrags-shipping-map.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;Our full country list is: Argentina, Australia, Austria, Belgium, Brazil, Canada, Denmark, Finland, France, Germany, Hungary, Iceland, India, Ireland, Italy, Japan, Luxembourg, Malaysia, Mexico, Netherlands, New Zealand, Norway, Poland, Portugal, Romania, Russian Federation, Singapore, Slovakia, Spain, Sweden, Switzerland, UK, &lt;span class="caps"&gt;USA&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If your country isn&amp;#8217;t on the list, &lt;a href="http://norbauer.com/contact"&gt;contact us&lt;/a&gt; and let us know of your dissent!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/MFbJZ7X94dU" height="1" width="1"/&gt;</description>
      <pubDate>Sun, 15 Feb 2009 22:23:25 +0000</pubDate>
      <link>http://norbauer.com/notebooks/code/notes/now-shipping-internationally</link>
      <guid>http://norbauer.com/notebooks/code/notes/now-shipping-internationally</guid>
    </item>
    <item>
      <title>code - Remembering lighttpd, nginx, and the Internet as a pipe</title>
      <description>&lt;p&gt;We asked ourselves &lt;a href="/notebooks/code/notes/lighttpd-1-5-0-vaporware"&gt;a year ago&lt;/a&gt; if lighttpd 1.5.0 was vaporware. It seems that was nearly true. At that time, nginx, apache&amp;#8217;s mod_proxy_balancer, and haproxy were flourishing as Rails proxy solutions. The more recent introduction of Phusion Passenger (mod_rails) and Ruby Enterprise Edition, both excellent, free, and open-source products, has now driven most deployments (including our own) away from proxying altogether.&lt;/p&gt;
&lt;p&gt;There is&amp;#8212;or was&amp;#8212;generally two counter-arguments to Passenger. The first is the stability and performance argument, which is well understood and has been discussed at length. I believed it was well summarized by &lt;a href="http://blog.engineyard.com/2008/12/05/apache-passenger-vs-nginx-mongrel"&gt;Engine Yard&amp;#8217;s discussion on the topic.&lt;/a&gt; But this is not the argument I&amp;#8217;m not interested in.&lt;/p&gt;
&lt;p&gt;My early argument against mod_rails was complexity: first, by using Apache instead of a smaller, simpler web server, and second, using a platform that I don&amp;#8217;t comprehend and can&amp;#8217;t debug. This argument relates to an old article I wrote: that Rails applications&amp;#8212;and applications in general&amp;#8212;should &lt;a href="http://norbauer.com/notebooks/code/notes/acts_as_pipe-web"&gt;act like a pipe&lt;/a&gt;. (The original article, by James Duncan Davidson, is so old its only accessible through &lt;a href="http://web.archive.org/web/20060706054938/http://duncandavidson.com/essay/2006/06/webaspipe"&gt;archive.org&lt;/a&gt;). My presumption was that the same argument should apply to a 3rd-party mod_rails solution: I don&amp;#8217;t know anything about the app server, so if I have problems, I&amp;#8217;m screwed. How is this better than FastCGI?&lt;/p&gt;
&lt;p&gt;It is ironic, then, to note the success of Passenger in light of Rails&amp;#8217; history with FastCGI. The reason, as it turns out, basically comes down to two answers:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Passenger is easy to set up under Apache, and requires less configuration than under nginx&lt;/li&gt;
	&lt;li&gt;Passenger &lt;em&gt;always works&lt;/em&gt;, in my experience, and thus debugging problems is non-existent.&lt;/li&gt;
	&lt;li&gt;As a bonus, if you&amp;#8217;re using something like monit to ensure your app stays up, monitoring apache2 is a lot easier than individual mongrel processes.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So, better products are better, and users (including myself) will flock to them once they realize it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Future&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I do wonder, though, whether history will continue to repeat itself in this regard. Where will the next improvements be? What will be our theory (or justifications, as it seems to turn out) behind those improvements? Personally, I&amp;#8217;ve been &lt;a href="http://norbauer.com/notebooks/code/notes/why-threading-matters"&gt;eying threaded solutions&lt;/a&gt; for a long time, and given that mod_rails is a multi-process solution, perhaps threads will move things forward in the future. However, given that Ruby 1.9 is &lt;a href="http://www.igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/"&gt;still limited by the Global Interpreter Lock&lt;/a&gt;, we might not see a threaded answer for a while. The closest we&amp;#8217;ll come in the short term is JRuby. Could it be possible that JRuby is the future? Only time will tell.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/XNbI3hYrqd4" height="1" width="1"/&gt;</description>
      <pubDate>Sun, 15 Feb 2009 09:44:37 +0000</pubDate>
      <link>http://norbauer.com/notebooks/code/notes/remembering-lighttpd-nginx-and-the-internet-as-a-pipe</link>
      <guid>http://norbauer.com/notebooks/code/notes/remembering-lighttpd-nginx-and-the-internet-as-a-pipe</guid>
    </item>
    <item>
      <title>ideas - Vitamin article on working with web developers in India</title>
      <description>&lt;p&gt;My latest article is up at Vitamin Magazine.  It&amp;#8217;s about &lt;a href="http://www.thinkvitamin.com/features/biz/working-with-web-developers-in-india-why-whom-and-how"&gt;working with web developers in India&lt;/a&gt;, and why we should look to hire people without respect to the flag that happens to fly over their heads.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/-gv--y-0G-E" height="1" width="1"/&gt;</description>
      <pubDate>Tue, 01 Jul 2008 15:25:29 +0000</pubDate>
      <link>http://norbauer.com/notebooks/ideas/notes/vitamin-article-on-working-with-web-developers-in-india</link>
      <guid>http://norbauer.com/notebooks/ideas/notes/vitamin-article-on-working-with-web-developers-in-india</guid>
    </item>
    <item>
      <title>ideas - Dining on Charles St last night, overheard at the neighboring table</title>
      <description>&lt;p&gt;Interlocutor 1:  I&amp;#8217;m convinced that we&amp;#8217;re going to have to do some vaporware in the mobile space by Q4.&lt;br /&gt;
            &lt;br /&gt;
            Interlocutor 2:  Yeah, I&amp;#8217;ll divert a couple FTEs.  We&amp;#8217;ll put out a press release. It&amp;#8217;ll be good.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/buaUFPV_N5I" height="1" width="1"/&gt;</description>
      <pubDate>Thu, 19 Jun 2008 18:18:00 +0000</pubDate>
      <link>http://norbauer.com/notebooks/ideas/notes/dining-on-charles-st-last-night-overheard-at-the-neighboring-table</link>
      <guid>http://norbauer.com/notebooks/ideas/notes/dining-on-charles-st-last-night-overheard-at-the-neighboring-table</guid>
    </item>
    <item>
      <title>code - ls, colors, and Terminal.app</title>
      <description>&lt;p&gt;This isn&amp;#8217;t a Ruby thing but many of us spend a lot of time in Terminal.app, and I suspect few of you have taken the time to both enable colors and change your &lt;span class="caps"&gt;LSCOLORS&lt;/span&gt;, the setting which affects what colors &lt;code&gt;ls&lt;/code&gt; uses when in color mode.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Enable Colors in ls&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In order for ls to use colors at all, you need to set up an alias to turn colors on. To do this, open (or create) &lt;code&gt;.profile&lt;/code&gt; file in your home directory using your favorite text editor and add:&lt;/p&gt;
&lt;pre&gt;alias ls="ls -G"&lt;/pre&gt;
&lt;p&gt;Now open a new Terminal window and type &lt;code&gt;ls&lt;/code&gt;. You will see colors, hurray!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make Colors Linux-like&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;#8217;re used to Linux-like colors, you will appreciate this setting. This is what I use and it works particularly well on dark Terminal backgrounds (I use the &amp;#8220;Pro&amp;#8221; theme). I also check off &amp;#8220;Use bright colors for bold text&amp;#8221; under Terminal &amp;gt; Preferences &amp;gt; Settings. Again, add this to your &lt;code&gt;.profile&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd"&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Customize Your Colors&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The values in &lt;span class="caps"&gt;LSCOLORS&lt;/span&gt; are codes corresponding to different colors for different types of files. The letter you use indicates which color to use, and the position in the string indicates what type of file should be that color. Each color comes in pairs &amp;#8211; a foreground color and a background color. Here is a list of color values:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;a = black&lt;/li&gt;
	&lt;li&gt;b = red&lt;/li&gt;
	&lt;li&gt;c = green&lt;/li&gt;
	&lt;li&gt;d = brown&lt;/li&gt;
	&lt;li&gt;e = blue&lt;/li&gt;
	&lt;li&gt;f = magenta&lt;/li&gt;
	&lt;li&gt;g = cyan&lt;/li&gt;
	&lt;li&gt;h = grey&lt;/li&gt;
	&lt;li&gt;A = dark grey&lt;/li&gt;
	&lt;li&gt;B = bold red&lt;/li&gt;
	&lt;li&gt;C = bold green&lt;/li&gt;
	&lt;li&gt;D = yellow&lt;/li&gt;
	&lt;li&gt;E = bold blue&lt;/li&gt;
	&lt;li&gt;F = magenta&lt;/li&gt;
	&lt;li&gt;G = cyan&lt;/li&gt;
	&lt;li&gt;H = white&lt;/li&gt;
	&lt;li&gt;x = default&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And here is a list of the positions in &lt;span class="caps"&gt;LSCOLORS&lt;/span&gt;:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;directory&lt;/li&gt;
	&lt;li&gt;symbolic link&lt;/li&gt;
	&lt;li&gt;socket&lt;/li&gt;
	&lt;li&gt;pipe&lt;/li&gt;
	&lt;li&gt;executable&lt;/li&gt;
	&lt;li&gt;block device&lt;/li&gt;
	&lt;li&gt;character device&lt;/li&gt;
	&lt;li&gt;executable with setuid set&lt;/li&gt;
	&lt;li&gt;executable with setguid set&lt;/li&gt;
	&lt;li&gt;directory writable by others, with sticky bit&lt;/li&gt;
	&lt;li&gt;directory writable by others, without sticky bit&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The default is &amp;#8220;exfxcxdxbxegedabagacad&amp;#8221;, which indicates blue foreground with default background for directories, magenta foreground with default background for symbolic links, etc.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/QQrfIMKay0I" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 14 Jun 2008 21:12:21 +0000</pubDate>
      <link>http://norbauer.com/notebooks/code/notes/ls-colors-and-terminal-app</link>
      <guid>http://norbauer.com/notebooks/code/notes/ls-colors-and-terminal-app</guid>
    </item>
    <item>
      <title>ideas - Design worth caring about.</title>
      <description>&lt;p&gt;Design should always be about the humans who will be dealing with the designed object&amp;mdash;whether it be a building, a website, or a piece of furniture.&lt;/p&gt;
&lt;p&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="432" height="285" id="VE_Player" align="middle"&gt;&lt;param name="movie" value="http://static.videoegg.com/ted/flash/loader.swf"&gt;&lt;PARAM NAME="FlashVars" VALUE="bgColor=FFFFFF&amp;file=http://static.videoegg.com/ted/movies/JAMESHOWARDKUNSTLER-2004_high.flv&amp;autoPlay=false&amp;fullscreenURL=http://static.videoegg.com/ted/flash/fullscreen.html&amp;forcePlay=false&amp;logo=&amp;allowFullscreen=true"&gt;&lt;param name="quality" value="high"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="scale" value="noscale"&gt;&lt;param name="wmode" value="window"&gt;&lt;embed src="http://static.videoegg.com/ted/flash/loader.swf" FlashVars="bgColor=FFFFFF&amp;file=http://static.videoegg.com/ted/movies/JAMESHOWARDKUNSTLER-2004_high.flv&amp;autoPlay=false&amp;fullscreenURL=http://static.videoegg.com/ted/flash/fullscreen.html&amp;forcePlay=false&amp;logo=&amp;allowFullscreen=true" quality="high" allowScriptAccess="always" bgcolor="#FFFFFF" scale="noscale" wmode="window" width="432" height="285" name="VE_Player" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"&gt;&lt;/object&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/zMmAodYktJE" height="1" width="1"/&gt;</description>
      <pubDate>Sun, 18 May 2008 23:42:52 +0000</pubDate>
      <link>http://norbauer.com/notebooks/ideas/notes/design-worth-caring-about</link>
      <guid>http://norbauer.com/notebooks/ideas/notes/design-worth-caring-about</guid>
    </item>
    <item>
      <title>ideas - The Final Frontier</title>
      <description>&lt;blockquote&gt;
&lt;em&gt;I grew up on Star Trek. I believe in the final frontier.&lt;/em&gt;&lt;br /&gt;
&amp;mdash;&lt;a href=http://trekmovie.com/2008/03/09/the-next-space-frontier/'&gt;Barack Obama&lt;/a&gt;
&lt;blockquote&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/c678ew6F-qs" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 12 May 2008 22:58:19 +0000</pubDate>
      <link>http://norbauer.com/notebooks/ideas/notes/the-final-frontier</link>
      <guid>http://norbauer.com/notebooks/ideas/notes/the-final-frontier</guid>
    </item>
    <item>
      <title>code - Interview on the Ruby on Rails podcast.</title>
      <description>&lt;p&gt;The &lt;a href="http://podcast.rubyonrails.org"&gt;interview&lt;/a&gt; I did with the incredibly gracious and awesome &lt;a href="http://topfunky.com"&gt;Geoffrey Grosenbach&lt;/a&gt; (of Peepcasts) on the official Ruby on Rails podcast just went up.&lt;/p&gt;
&lt;p&gt;I talk a little bit about &lt;a href="http://norbauer.com"&gt;consulting at Norbauer Inc&lt;/a&gt;, a bit about &lt;a href="http://rubyrags.com"&gt;RubyRags&lt;/a&gt;, and I spend a bit of time kicking social networks in the nuts.&lt;/p&gt;
&lt;p&gt;Incidentally, I&amp;#8217;m proud to announce that we&amp;#8217;re now selling Peepcode shirts at RubyRags:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://rubyrags.com" style="margin:1px solid #ccc;padding:5px"&gt;&lt;img src="http://rubyrags.com/pictures/0000/0057/peepcode-tshirt.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/QsR8B5dgyFY" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 03 May 2008 02:29:31 +0000</pubDate>
      <link>http://norbauer.com/notebooks/code/notes/interview-on-the-ruby-on-rails-podcast</link>
      <guid>http://norbauer.com/notebooks/code/notes/interview-on-the-ruby-on-rails-podcast</guid>
    </item>
    <item>
      <title>ideas - Interview on The Official Ruby on Rails podcast</title>
      <description>&lt;p&gt;If you&amp;#8217;re interested in hearing me chat a bit about Rails consulting, social networks, and whatnot, &lt;a href="http://podcast.rubyonrails.org"&gt;give a listen&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/jG3JuWRUDV4" height="1" width="1"/&gt;</description>
      <pubDate>Fri, 02 May 2008 22:31:31 +0000</pubDate>
      <link>http://norbauer.com/notebooks/ideas/notes/interview-on-the-official-ruby-on-rails-podcast</link>
      <guid>http://norbauer.com/notebooks/ideas/notes/interview-on-the-official-ruby-on-rails-podcast</guid>
    </item>
    <item>
      <title>code - Alternative Ruby Implementations</title>
      <description>&lt;p&gt;Sorry to just link drop on ya&amp;#8217;ll, but if you haven&amp;#8217;t seen it, Charles Nutter of the JRuby team has published a writeup titled &lt;a href="http://headius.blogspot.com/2008/04/promise-and-peril-for-alternative-ruby.html"&gt;Promise and Perils for Alternative Ruby Impls&lt;/a&gt;. It provides an excellent analysis of 1.8, 1.9, JRuby, Rubinius, and the other Ruby interpreter projects out there, if only slightly biased for JRuby (understandably). If you have an interest in the future of Ruby, it is a recommended read.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/LYc_ZN8fR80" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 28 Apr 2008 20:17:03 +0000</pubDate>
      <link>http://norbauer.com/notebooks/code/notes/alternative-ruby-implementations</link>
      <guid>http://norbauer.com/notebooks/code/notes/alternative-ruby-implementations</guid>
    </item>
    <item>
      <title>code - Rails 2.0 development finally meets Web 2.0</title>
      <description>&lt;p&gt;I know I am late to the show, but I&amp;#8217;d just like to say it is about time that Rails move off of Trac &amp;#8211; with the move to &lt;a href="http://weblog.rubyonrails.com/2008/4/15/rails-and-family-on-lighthouse"&gt;Lighthouse&lt;/a&gt; and &lt;a href="http://weblog.rubyonrails.com/2008/4/11/rails-premieres-on-github"&gt;Github&lt;/a&gt;, Rails development itself is now hosted on awesome Rails-based services. I know such migrations are not easy for such a large project so I just want to say thanks to the Rails team, and nice choices!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/norbauer/~4/P5MPN_AybnU" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 19 Apr 2008 04:16:11 +0000</pubDate>
      <link>http://norbauer.com/notebooks/code/notes/rails-2-0-development-finally-meets-web-2-0</link>
      <guid>http://norbauer.com/notebooks/code/notes/rails-2-0-development-finally-meets-web-2-0</guid>
    </item>
  </channel>
</rss>
