<?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>Zen and the Art of Programming &#187; Zenbits</title>
	<atom:link href="http://programmingzen.com/category/general/zenbits/feed/" rel="self" type="application/rss+xml" />
	<link>http://programmingzen.com</link>
	<description>Meditations on programming, startups, and technology</description>
	<lastBuildDate>Wed, 09 May 2012 07:52:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Merb, Rails Myths, Language Popularity and other Zenbits</title>
		<link>http://programmingzen.com/2008/11/14/merb-rails-myths-language-popularity-and-other-zenbits/</link>
		<comments>http://programmingzen.com/2008/11/14/merb-rails-myths-language-popularity-and-other-zenbits/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 23:50:53 +0000</pubDate>
		<dc:creator>Antonio Cangiano</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Merb]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby Benchmark Suite]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Zenbits]]></category>

		<guid isPermaLink="false">http://antoniocangiano.com/?p=381</guid>
		<description><![CDATA[Zenbits are posts which include a variety of interesting subjects that I&#8217;d like to talk about briefly, without writing a post for each of them. Merb: A few days ago Merb 1.0 was released. Congratulations to Ezra Zygmuntowicz on this important milestone, the Merb community and Engine Yard (who finances the project). Merb 1.0 wasn&#8217;t [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p><em><strong>Zenbits</strong> are posts which include a variety of interesting subjects that I&#8217;d like to talk about briefly, without writing a post for each of them.</em></p>
<p><strong>Merb:</strong> A few days ago <a href="http://brainspl.at/articles/2008/11/08/merb-1-0">Merb 1.0</a> was released. Congratulations to Ezra Zygmuntowicz on this important milestone, the Merb community and <a href="http://engineyard.com">Engine Yard</a> (who finances the project). Merb 1.0 wasn&#8217;t even out yet when some people had already started commenting on the fracturing of the Ruby community that this new framework might bring with this, and the impact that this high visibility &#8220;competitor&#8221; might have on Rails. I believe that having more than one widely adopted web framework will only benefit the Ruby community. Furthermore, it&#8217;s important to remember that this is not a zero-sum game. Ruby programmers are perfectly capable of learning two frameworks and using one or the other, depending on the project at hand. This is particularly true if we consider that Merb, for all of its advantages &#8211; and disadvantages &#8211; when compared to Rails, is not totally different from its forerunner. If you are an expert Rails programmer, you should be able to become proficient in Merb in very little time. To help with this process, the Merb community needs to concentrate on the documentation now, given that the API is finally stable.</p>
<p><strong>Rails Myths:</strong> David Heinemeier Hansson began <a href="http://www.loudthinking.com/posts/29-the-rails-myths">a series of posts about Rails Myths</a>. I like the idea of seeing common myths addressed straight from the horse&#8217;s mouth. Over the past two years, Rails has received quite a bit of backslash and old fashion FUD, so it&#8217;s important to set the record straight, whether the myths are entirely fabricated or if there is some element of truth to them. Whether you agree with David or not, it&#8217;s also nice to hear two sides of the same story. In fact, at the beginning of <a href="http://antoniocangiano.com/my_ruby_on_rails_book.php">my book</a> I debunk a few myths, just to set the record straight regarding what some readers may have heard surrounding the framework. It was a fun part to write.</p>
<p><strong>My Book:</strong> Speaking of my book, <a href="http://antoniocangiano.com/my_ruby_on_rails_book.php">Ruby on Rails for Microsoft Developers</a>, I&#8217;m getting closer to the finish line. I&#8217;m about to complete Chapter 9 (out of eleven chapters). The initial schedule I was provided with has been extended slightly so that there will be sufficient time to properly review the content and ensure that it&#8217;s up to date with the final release of Rails 2.2. Some people wondered what the &#8220;Microsoft Developers&#8221; part means. Is it for people that work at Microsoft? Is it for .NET programmers? Is it for people who develop on Windows?</p>
<p>The truth is that &#8220;Microsoft Developers&#8221; is probably just a marketing term that Wrox selected as a catch-all for of the aforementioned categories of programmers. As an author I&#8217;m trying to serve all of them well, by providing a guide that sneaks in much of the Rails culture and softens the migration path by using an Operating System, and to a certain extent, tools that they&#8217;re already familiar with. In my opinion one of the major obstacles when switching to, or trying, Rails when coming from the Microsoft world, is the culture shock. The documentation and most books assume that you are familiar with *nix systems and tools, and this can be frustrating for those who are forced not only to learn a new language and framework, but also an entirely new set of tools. As it&#8217;s targeted at Microsoft developers, the book obviously makes quite a few references and comparisons to the .NET world, where they fit. This is done so that the many .NET programmers amongst the group of so called &#8220;Microsoft Developers&#8221; will find the book particularly useful. Yet the book remains generic enough so that it can be used by any programmer (particularly Windows users), even those without any knowledge of the Microsoft .NET Framework or ASP.NET.</p>
<p><strong>Python books:</strong> While on the subject of books, I wanted to mention that the final version of the <a href="http://pylonsbook.com/alpha1/toc">Pylons book</a> is available online. Despite the much less fancy UI, the book pretty much does what the <a href="http://djangobook.com/en/1.0/">Django Book</a> did in the past. And both are available in print as well (<a href="http://www.amazon.com/gp/product/1590597257?ie=UTF8&#038;tag=zenruby-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1590597257">The Definitive Guide to Django: Web Development Done Right</a> and <a href="http://www.amazon.com/gp/product/1590599349?ie=UTF8&#038;tag=zenruby-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1590599349">The Definitive Guide to Pylons</a>). <a href="http://pylonshq.com/">Pylons</a> is a Python web framework that can be viewed as a Ruby on Rails clone, in a far greater way than Django could ever be considered.</p>
<p>Another thing I want to mention is that I received a copy of <a href="http://www.amazon.com/gp/product/184719494X?ie=UTF8&#038;tag=zenruby-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=184719494X">Expert Python Programming</a>. I haven&#8217;t gotten to far into it yet, but from what I&#8217;ve seen so far, things look good. I hope to be able to read it through, over a weekend in the near future and then provide a proper review. Stay tuned.</p>
<p><strong>Language Popularity:</strong> If you take a look at the <a href="http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html">TIOBE Index</a>, you&#8217;ll notice a few interesting things: Ruby has dropped two positions since last year, and it&#8217;s now the 11th most popular language in the world. This shouldn&#8217;t be cause for concern though, as shown by this <a href="http://www.tiobe.com/index.php/paperinfo/tpci/Ruby.html">Ruby graph</a>. Python on the other hand is increasing in popularity and moved from the 7th to the 6th most popular language. Interestingly, according to the index (the results of which are educated guesses only), Python would seem to be more popular than C#. I find this to be true, in terms of online activity within an increasingly vibrant community, but in my opinion, the job market hasn&#8217;t caught up yet. In fact, at least in Toronto, when there&#8217;s a Python opening it&#8217;s pretty much an event that&#8217;s worthy of being discussed on the local Python mailing list. C# openings are much more common. This may be different in Silicon Valley, of course. It would also seem that Delphi has experienced a huge come back, moving from the 11th position last year to the 8th one this time around. It&#8217;s hard to imagine that Delphi has had a similar level of adoption as C# and thus has become more popular than Perl, JavaScript and Ruby. Delphi is a great solution for Win32 programming, but I don&#8217;t quite believe this overly optimistic outlook. And if this is the case, where are all the Delphi jobs and buzz?</p>
<p><strong>DB2:</strong> <a href="http://www.youtube.com/watch?v=W69zLWjpzEo">This interview</a> shows a few good reasons why even smaller and medium sized companies are increasingly adopting DB2. And while the video doesn&#8217;t mention it, IBM is coming out with <a href="http://www.ibm.com/software/data/db2/express/download.html?S_CMP=ECDDWW01&#038;S_TACT=ACDB201">an updated version of DB2 Express-C 9.5</a>. This new version, 9.5.2 or 9.5 FixPack 2, is going to introduce exciting new features, including an engine for full text search.</p>
<p><strong>The Great Ruby Shootout</strong> These days you hear a lot of talk about parallel programming. Intel <a href="http://software.intel.com/en-us/blogs/2008/10/22/sequential-programming-is-dead-so-stop-teaching-it/">promotes it</a> and despite their bias, it&#8217;s plausible that parallel programming will become important as the CPU market heads towards an increasingly larger number of cores, as opposed to focusing on the frequency of said CPUs. In the world of Ruby, this translates into <a href="http://www.igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/">multiprocessing, as opposed to multithreading</a> due to the infamous GIL (Global Interpreter Lock). This means that Ruby will most likely approach the problem similarly to how Python 2.6 did with the <a href="http://docs.python.org/dev/library/multiprocessing.html">multiprocessing module</a>, which is a process-based interface. The obvious exceptions are JRuby and IronRuby, which establish a 1 to 1 relationship between green threads and OS threads.</p>
<p>For the shootout, it would be interesting to see some multithreaded code, so as to get a better sense of how well JRuby and IronRuby compare to MRI and 1.9, when more cores are available. In fact, the long-promised shootout will be performed on a quad-core machine with 8GB of RAM. If Charles Nutter, John Lam, or any of their team members would like to contribute some programs that are able to take advantage of &#8220;native&#8221; multithreading, I&#8217;d be very happy to include them in the <a href="http://groups.google.com/group/ruby-benchmark-suite?pli=1">Ruby Benchmark Suite</a>, to be used for my shootout.</p>
<p>The repository requires some love and refactoring, since it needs to be split in two types of benchmarks. The simpler one will evaluate the execution time minus the startup time, while the more advanced benchmark will also exclude the time required for parsing and loading modules, classes and methods in the AST. It would also be nice to test each program with variable input sizes and report these results accordingly. Right now I&#8217;m very busy with the book, but as I become more available, I&#8217;ll start working on this.</p>
<p>Finally, I want to point out <a href="http://unweary.com/2008/11/specifying-performance.html">a very interesting article</a> about performance and UIs. Slow is indeed a very relative concept, and it&#8217;s important to understand how to analyze and respond to the user requirements when it comes to the responsiveness of an application as a user interacts with it.</p>
<p><strong>Hardware:</strong> I finally bought a <a href="http://www.amazon.com/gp/product/B00006B9CR?ie=UTF8&#038;tag=zenruby-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B00006B9CR">Trackball made by Logitech</a> and the <a href="http://www.amazon.com/gp/product/B000OOY4S6?ie=UTF8&#038;tag=zenruby-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B000OOY4S6">Microsoft Ergonomic Keyboard</a> (Microsoft makes great hardware). I don&#8217;t have wrist problems, but I&#8217;d like to see how these two affect my extensive computer usage. I plan to report my experience as soon as I&#8217;ve had a chance to use these input devices for a while, since I know this is a topic that interests lots programmers (many of whom end up being victims of <a href="http://en.wikipedia.org/wiki/Repetitive_strain_injury">RSI</a>, and some of the IRS <img src='http://programmingzen.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> ). I also bought <a href="http://www.amazon.com/gp/product/B000XZ79ME?ie=UTF8&#038;tag=zenruby-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B000XZ79ME">a bad-ass color laser printer</a> which is quite handy when you&#8217;re a programmer and you are writing a book. I&#8217;ll let you know how it goes. What I didn&#8217;t buy, but still think is awesome, is the <a href="http://www.amazon.com/gp/product/B001HSOFI2?ie=UTF8&#038;tag=zenruby-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B001HSOFI2">Flip minoHD</a>. It&#8217;s the equivalent of an iPod for the world of camcorders. $235 for a camcorder that&#8217;s so perfectly compact, and yet that can record in HD, is a pretty sweet deal. I&#8217;m considering it for Christmas, assuming it reaches Canada by then.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://programmingzen.com/2008/11/14/merb-rails-myths-language-popularity-and-other-zenbits/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RailsConf, Arc, Apple and other Zenbits</title>
		<link>http://programmingzen.com/2008/01/30/railsconf-arc-apple-and-other-zenbits/</link>
		<comments>http://programmingzen.com/2008/01/30/railsconf-arc-apple-and-other-zenbits/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 07:34:34 +0000</pubDate>
		<dc:creator>Antonio Cangiano</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Zenbits]]></category>

		<guid isPermaLink="false">http://antoniocangiano.com/2008/01/30/railsconf-arc-apple-and-other-zenbits/</guid>
		<description><![CDATA[Zenbits are posts which include a variety of interesting subjects that I’d like to talk about briefly, without writing a post for each of them. Ruby and Rails Videos Blip.TV is now hosting the videos of RailsConf 2007. The audio and video quality is very good even though no slides are shown (but you can [...]
Possibly related posts:<ol>
<li><a href='http://programmingzen.com/2007/12/07/ruby-on-rails-20-has-been-released-and-other-zenbits/' rel='bookmark' title='Ruby on Rails 2.0 has been released and other Zenbits'>Ruby on Rails 2.0 has been released and other Zenbits</a></li>
<li><a href='http://programmingzen.com/2007/06/27/the-apple-approach-aka-first-impressions-of-the-macbook-pro/' rel='bookmark' title='The Apple approach (aka first impressions of the MacBook Pro)'>The Apple approach (aka first impressions of the MacBook Pro)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><em><strong>Zenbits</strong> are posts which include a variety of interesting subjects that I’d like to talk about briefly, without writing a post for each of them.</em></p>
<p><br/><strong><br/>Ruby and Rails Videos</strong></p>
<p>Blip.TV is now hosting the <a href="http://railsconf.blip.tv/#575987">videos of RailsConf 2007</a>. The audio and video quality is very good even though no slides are shown (but you can always google them). While on the subject, you can also watch the <a href="http://rubyconf2007.confreaks.com/">videos for RubyConf 2007</a> (including slides), <a href="http://mtnwestrubyconf2007.confreaks.com/">Mountain West Ruby Conference</a>, <a href="http://rubyhoedown2007.confreaks.com/">Ruby Hoedown</a> last August, and the fourth edition of <a href="http://rejectconf4.confreaks.com/">RejectConf</a>. If you are in the mood for video learning, also check out <a href="http://railscasts.com/">Railscasts</a>, <a href="http://www.rubyplus.org/">RubyPlus</a>, and <a href="http://www.railsenvy.com/">Rails Envy</a>.</p>
<p><br/><strong><br/>RailsConf &#8217;08</strong></p>
<p>David <a href="http://weblog.rubyonrails.org/2008/1/29/railsconf-08-registration-is-open">has announced</a> that the registration for <a href="http://en.oreilly.com/rails2008/public/content/home">RailsConf &#8217;08</a> is now open. The conference will be in Portland, Oregon from May 26th till June 1st. It&#8217;s going to sell out very quickly, so book your spot while they last. I&#8217;m almost sure I won&#8217;t be able to participate since I&#8217;m still dealing with the process of getting my Canadian permanent residency (but we are finally getting really close, and then I&#8217;ll be able to travel freely).</p>
<p><br/><strong><br/>Qtrax is a disaster</strong></p>
<p>I&#8217;ve been following the (mis)adventures of <a href="http://qtrax.com/">Qtrax</a> closely. It&#8217;s a disaster, the perfect example of how not to launch a product even if they had amazing PR skills and where able to get coverage in the MSM worldwide. The premise was good: share the ad revenue with the artist, and allow users to get music for free. Something that SpiralFrog has been doing for a while. The problem is that <a href="http://www.spiralfrog.com/">SpiralFrog&#8217;s catalog</a> is rather limited as far as mainstream music goes. Qtrax claimed to have an agreement with the four major recording labels and a catalog of more than 25 million songs. That was what set them apart and what made the announcement attention worthy. The reality was much harsher. <a href="http://www.reuters.com/article/entertainmentNews/idUSN2844446320080129?pageNumber=1&amp;virtualBrandChannel=10004">They didn&#8217;t have any agreement</a> in place (they essentially lied), they didn&#8217;t make the download available when they declared it would be, and the site was unreachable or intermittent all the time. Not only this, but their software is nothing more than a skin on top of <a href="http://www.songbirdnest.com/">Songbird</a>. Downloading songs is basically impossible and the software is unusable at this stage. Don&#8217;t even bother getting it. It&#8217;s a festival of connection timeouts, 404s and &#8220;welcome to Oracle Application Server 10g&#8221; messages. A real shame.</p>
<p><br/><strong><br/>Arc: too little, too late?</strong></p>
<p>Paul Graham <a href="http://paulgraham.com/arc0.html">has finally announced</a> the release of <a href="http://arclanguage.org/">Arc</a>. Graham and Morris have made <a href="http://arclanguage.org/forum">a forum</a>, <a href="http://ycombinator.com/arc/tut.txt">a tutorial</a> and <a href="http://arclanguage.org/install">installation instructions</a> available on their official <a href="http://arclanguage.org/">ArcLanguage.org</a> site. While Paul clearly states that Arc is still incomplete and requires a lot of refinement, at least it&#8217;s out and people can start using it (Paul&#8217;s <a href="http://news.ycombinator.com/">Hacker News</a> has already been adopting it for a while). It&#8217;s not vaporware anymore, it&#8217;s here. However, amongst the enthusiasm that met this release from curious and early adopters, there are also a great number of people disappointed by Arc&#8217;s first (pre)alpha. Keep in mind that many people talked about Arc for several years and had great expectations, perhaps even something close to the mythical <a href="http://www.paulgraham.com/hundred.html">hundred year language</a>. What they found is that Arc is currently a skin on top of MzScheme (but not the latest version) that adopts a more concise syntax compared to Scheme or Common Lisp. There isn&#8217;t anything too revolutionary, it doesn&#8217;t support packages or modules, or Unicode. It uses tables for HTML libraries, and so on and so forth. Paul Graham has a strong influence on the community and I&#8217;ve no doubt that many people will put time and effort into learning Arc and will in turn improve it. Heck, even I&#8217;m going to give it a shot for fun. However right now it&#8217;s not really convincing as an alternative to CL or Scheme itself. Don&#8217;t construe this as a harsh criticism towards Arc, it is not. We are talking about a language that it&#8217;s in its infancy and that as I said, I plan to experiment with myself. I hope to see it grow rapidly and I congratulate Graham and his team for finally making it available. That said, right now I think it&#8217;s a weak release and therefore, in my opinion, the disappointment of many is justified. In any case, good luck Paul, we&#8217;ll watch this one closely.</p>
<p><br/><strong><br/>Share your DB2 success stories</strong></p>
<p><a href="http://channeldb2.ning.com/">ChannelDB2</a> is looking for DB2 success stories. If you appreciated that great piece of software that is DB2, please share your experience <a href="http://channeldb2.ning.com/lootbag/page/show?id=807741%3APage%3A4741">here</a>. If your story gets published, you will receive one of the tokens available in the loot bag: DB2 &#8220;paraphernalia&#8221;, books, Amazon.com certificates, and so on. If you have a company or a startup, it&#8217;s also a good way to get your name out there.</p>
<p><br/><strong><br/>Apple&#8217;s quote for $1348.09</strong></p>
<p>A while ago (a couple of months, perhaps) my MacBook Pro was accidentally dropped. It was an accident due to there being far too many cables in my room. It upset me of course, but it&#8217;s not the end of the world. It could happen to anyone. Thank Science, the screen is intact and the computer works perfectly. I was lucky. There are a couple of things that bug me though. Aside from a tiny dent in a corner of the top case, when closed down on the base the lid has a slightly wider gap on the left side, than it does on the right side. Also, the the latch on the bottom case must be somewhat damaged because when touched even minimally the lid pops open. These things in no way affect my usage of the laptop, and that&#8217;s part of the reason why I didn&#8217;t even bother trying to fix it for a long time.</p>
<p>Then a few days ago, for unrelated reasons, I began to question my choice of getting a Mac instead of just buying a top of the line Lenovo T series to be run with Ubuntu. I love Ubuntu and it&#8217;s becoming increasingly better with each release. With the exception of Textmate, I started to think that Ubuntu (that I currently use a lot) could easily replace Mac OS X for me. Also, the ergonomic qualities of Lenovo&#8217;s notebooks is so nice and as an IBM employee I get a decent discount on them. Okay, perhaps I made a mistake when I reached my purchase decision 7 months ago. I&#8217;d never owned a Mac before and I really wanted to. Truth be told, I think that Mac OS X is a very polished operating system and I can&#8217;t emphasize my appreciation for it enough. It&#8217;s eye-candy on top of Unix. But there are other factors to be considered, especially as a developer, and I feel that Ubuntu could have been just as good as my end choice.</p>
<p>Not only that, but I must also say that my old T42p was a much more comfortable laptop, despite costing half the price. Anyways, it came to my mind that I could either run Ubuntu as my main operating system on the MacBook Pro, or fix the cosmetic issues on the laptop and sell it to buy a nice Lenovo T61p. Cosmetic issues can usually be ignored or easily fixed, but on the second hand market they often impede the possibility of selling it for a good price.</p>
<p>Just out of curiosity I decided to call Apple and ask how much it would cost to get it fixed. The laptop is still under warranty (only 7 months old), but I caused the damage, so I pay, no issues there. The agent on the phone understood the problem very well and quoted me about $200. I specifically asked him if the lid could be replaced independently from the screen (which is in perfect shape) and he confirmed this. So Apple booked an appointment at the Genius Bar at an Apple Store downtown Toronto. I went there on Saturday, by public transportation it took me almost two hours each way. The &#8220;genius&#8221; confirmed that the latch on the base is somewhat broken and that the upper lid may or may not be slightly warped (hard to tell with the latch issue in place). After a long wait he came back with a quote&#8230; $1,348.09. I kid you not. It turns out that the lid is sold as one piece with the screen and the whole display assembly can be replaced for $809. The guy at the genius bar agreed that it&#8217;s probably only the base that needs to be replaced. But it&#8217;s still $214 dollars for the part, $170 for labour plus taxes. A whopping $437 for a little latch that is not behaving. I wasn&#8217;t too happy with being quoted $1350 given the price of the laptop and the fact that I was previously quoted an all-inclusive $200 on the phone. I wasted 4 hours of my Saturday. I&#8217;m not repairing an Aston-Martin here for Darwin&#8217;s sake.</p>
<p>If you drop an Apple laptop and you break the screen (not my case) you may as well just get a new laptop because it&#8217;s going to be cheaper. This is sort of true for any laptop, but I feel that just like Apple makes you pay a premium to get their hardware, they still charge you plenty for any minimal repair. To change the lid they wanted to replace the whole screen. To change a broken latch, they needed to replace the entire base. And $170 plus tax for carrying out the repair!? I&#8217;m aware of sites that sell parts and instructions on how to perform the replacement myself and may consider it in the future (changing only the base assembly). For now I&#8217;m fine, given that the latch issue doesn&#8217;t cause too many problems for me. I must say though that my experience at the yuppie Apple Store made me even more convinced that my choice of getting a Mac in the first place may have been the wrong one. I wonder how long it will take before I&#8217;ll follow <a href="http://diveintomark.org/archives/2008/01/17/of-canaries-and-coal-mines">Mark</a> and <a href="http://www.boingboing.net/2006/06/29/mark-pilgrims-list-o.html">Cory</a> and switch back to Ubuntu full-time. The thought both excites and saddens me. Time will tell.</p>
<p>Possibly related posts:<ol>
<li><a href='http://programmingzen.com/2007/12/07/ruby-on-rails-20-has-been-released-and-other-zenbits/' rel='bookmark' title='Ruby on Rails 2.0 has been released and other Zenbits'>Ruby on Rails 2.0 has been released and other Zenbits</a></li>
<li><a href='http://programmingzen.com/2007/06/27/the-apple-approach-aka-first-impressions-of-the-macbook-pro/' rel='bookmark' title='The Apple approach (aka first impressions of the MacBook Pro)'>The Apple approach (aka first impressions of the MacBook Pro)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://programmingzen.com/2008/01/30/railsconf-arc-apple-and-other-zenbits/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails 2.0 has been released and other Zenbits</title>
		<link>http://programmingzen.com/2007/12/07/ruby-on-rails-20-has-been-released-and-other-zenbits/</link>
		<comments>http://programmingzen.com/2007/12/07/ruby-on-rails-20-has-been-released-and-other-zenbits/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 10:22:10 +0000</pubDate>
		<dc:creator>Antonio Cangiano</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Zenbits]]></category>

		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/07/ruby-on-rails-20-has-been-released-and-other-zenbits/</guid>
		<description><![CDATA[Zenbits are posts which include a variety of interesting subjects that I&#8217;d like to talk about briefly, without writing a post for each of them. A few hours ago Rails 2.0 was finally (quietly) released. Unfortunately if you try &#8216;gem update&#8217; or &#8216;gem install rails&#8217; you will get the following error: ERROR: Error installing rails: [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p><strong><em>Zenbits</em></strong><em> are posts which include a variety of interesting subjects that I&#8217;d like to talk about briefly, without writing a post for each of them.<br />
</em><br />
A few hours ago Rails 2.0 was finally (quietly) released. Unfortunately if you try &#8216;gem update&#8217; or &#8216;gem install rails&#8217; you will get the following error:</p>
<pre class="errorcode"><code>ERROR: Error installing rails:
              rails requires activeresource (= 2.0.0)</code>
</pre>
<p>To solve this problem, assuming you are installing, simply run:</p>
<pre class="rubycode"><code>$ gem install rails --source http://gems.rubyonrails.org</code>
</pre>
<p>For details about this new release wait for the official announcement by <a href="http://www.loudthinking.com/">DHH</a> and <a href="http://weblog.rubyonrails.org/">his team</a>.<br />
<br/><br />
On the subject of announcements, the IBM_DB Python driver for DB2 version 0.2.0 was released. This includes a Python egg for Linux and (finally) for Windows. You can download both of them from <a href="http://cheeseshop.python.org/pypi/ibm_db/0.2.0">Cheeseshop</a>.<br />
<br/><br />
A few days ago <a href="http://sunmicro.vo.llnwd.net/c1/netbeans/6.0/final/">NetBeans 6.0</a> was released. Its support for Ruby and for Rails is stellar. Its editor seems to be refined to provide developers with a comfortable environment for programming Ruby and Rails applications in. The code auto-completion (with documentation on the fly) alone makes it extremely valuable. From what I&#8217;ve seen so far it&#8217;s a solid, well thought out IDE that sets the bar high when it comes to the world of Ruby/Rails editors. Now we need Aptana IDE to implement similar features, for those of us who use and prefer (at least on Windows and Linux) an Eclipse based IDE. Between NetBeans&#8217; support for Ruby and the active development of JRuby, one can only conclude that Sun is very serious about Ruby and that they really &#8220;get it&#8221;. We can wish for the same kind of commitment from Microsoft, but so far I get the impression that projects like IronRuby are seen by Microsoft as little more than pet projects just like IronPython is. But I&#8217;d be happy if my first impression was to be proved wrong. That said, Microsoft is receiving a huge wake up call from their research division, as shown by <a href="http://channel9.msdn.com/">excellent videos</a> which cover non-mainstream and research topics as well. They&#8217;ve also proved this by incorporating advanced features from research languages in C# 3.0. We&#8217;ll see how it goes, but it looks like there might be some hope after all.<br />
<br/><br />
Speaking of videos, I recommend a fantastic interview with E.W.Dijkstra, recorded a few years ago. It&#8217;s called <em>Discipline in Thought</em> and deals with the subject of the nature of programming. I highly suggest that you watch <a href="http://youtube.com/watch?v=EL97C8C53ZM">part 1</a>, <a href="http://youtube.com/watch?v=uW3keAPJqU8">part 2</a> and <a href="http://youtube.com/watch?v=jvMLM5nM30g">part 3</a>. After that, you can dig further by reading some of his manuscripts in <a href="http://www.cs.utexas.edu/users/EWD/">this archive</a>.<br />
<br/><br />
On a different topic, I&#8217;d like to thank everyone who commented and posted about my <a href="http://antoniocangiano.com/2007/12/03/the-great-ruby-shootout/">Ruby shootout</a>. We made the front page of, among others, Del.icio.us. Its popularity is important to me, because it gives the proper exposure to these projects and their authors and debunks the myth that we are all happy with Ruby&#8217;s status quo in terms of speed. The next run will add extra benchmarks (in order to provide less of an advantage to Ruby 1.9). Performance is not everything, but it can be an important aspect. I like Charles Oliver Nutter&#8217;s (of JRuby) <a href="http://groups.google.com/group/jruby-developers/browse_thread/thread/304bebc590b8bc35">approach</a>:</p>
<blockquote><p>If you run across benchmarks of any kind that show JRuby running slower than Ruby 1.8.x, we&#8217;d appreciate you filing them as bugs.</p></blockquote>
<p>That&#8217;s the right attitude, it shows serious commitment in terms of resolving this issue. Kudos to him and his team. As far as commitment goes, I can&#8217;t praise <a href="http://engineyard.com/">Engine Yard</a> enough, as they&#8217;ve just hired two excellent hackers (<a href="http://blog.zenspider.com/">Ryan &#8220;zenspider&#8221; Davis</a> and <a href="http://blog.segment7.net/">Eric &#8220;drbrain&#8221; Hodel</a>) to work full time on <a href="http://rubini.us/">Rubinius</a> along with <a href="http://blog.fallingsnow.net/">Evan Phoenix</a> (who started the project in the first place). From January onward, Engine Yard will also pay  <a href="http://metaclass.org/">Wilson &#8220;Defiler&#8221; Bilkovich</a> and <a href="http://blog.brightredglow.com/">Brian &#8220;brixen&#8221; Ford</a> to do work on Rubinius. That&#8217;s a ridiculously high IQ potential to have working on Rubinius. We can only expect great results and undoubtedly say that Engine Yard really gets it.<br />
<br/><br />
Finally, for those of you who requested it, please find here the results of my benchmarks in <a href="/files/Ruby-Shootout.xls">Excel</a> and <a href="/files/Ruby-Shootout.pdf">PDF</a> format.</p>
<p><b>Update</b></p>
<p>The released (through rubygems) but not announced Rails 2.0 has now been <a href="http://dev.rubyonrails.org/changeset/8330">upgraded</a> to 2.0.1, and that&#8217;s what you&#8217;d get if you ran &#8216;gem install rails&#8217; or &#8216;gem update&#8217;. The error reported above still exists, so you can update by specifying the source as mentioned in this post.</p>
<p><b>Update 2</b></p>
<p>For those of you who didn&#8217;t believe in my &#8220;scoop&#8221;, <a href="http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done">here is the official announcement</a> with all the glorious details. Awesome! <img src='http://programmingzen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><b>Update 3</b></p>
<p>The gems should be properly propagated now, so that error shouldn&#8217;t be there anymore.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://programmingzen.com/2007/12/07/ruby-on-rails-20-has-been-released-and-other-zenbits/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

