<?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>Bananaranha</title>
	<atom:link href="http://bananaranha.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bananaranha.com</link>
	<description>Rants and raves. Mostly rants.</description>
	<lastBuildDate>Tue, 21 Dec 2010 19:13:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>TextMate</title>
		<link>http://bananaranha.com/2010/12/21/textmate/</link>
		<comments>http://bananaranha.com/2010/12/21/textmate/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 19:13:20 +0000</pubDate>
		<dc:creator>bananaranha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bananaranha.com/?p=75</guid>
		<description><![CDATA[The missing in action editor for OS X.]]></description>
			<content:encoded><![CDATA[<p>The <strong>missing in action</strong> editor for OS X.</p>
]]></content:encoded>
			<wfw:commentRss>http://bananaranha.com/2010/12/21/textmate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSS &#8220;sexual harassment&#8221;</title>
		<link>http://bananaranha.com/2010/12/03/oss-sexual-harassment/</link>
		<comments>http://bananaranha.com/2010/12/03/oss-sexual-harassment/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 21:18:32 +0000</pubDate>
		<dc:creator>bananaranha</dc:creator>
				<category><![CDATA[Crap Spotting]]></category>

		<guid isPermaLink="false">http://bananaranha.com/?p=71</guid>
		<description><![CDATA[LWN runs a story about &#8220;sexual harassment&#8221; in open source conferences. Now, we all know using some OSS software amounts to sexual harassment, but apparently the problem is more widespread in OSS culture in general. And not only because someone &#8230; <a href="http://bananaranha.com/2010/12/03/oss-sexual-harassment/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>LWN runs a story about &#8220;sexual harassment&#8221; in open source conferences. </p>
<p>Now, we all know using some OSS software amounts to sexual harassment, but apparently the problem is more widespread in OSS culture in general. And not only because someone made a pass to a woman at a conference, and another guy made a sexual joke at another (things that never, ever, happen outside OSS conferences). For some women it has been a truly frightening experience. This first person account, for example, reminds me of the time I have strayed into this Blue Oyster bar, in Castro:</p>
<blockquote><p>She says of a conference in the mid-1980s: &#8220;Male attendees would walk up to you &#8211; even if you were in a group &#8211; and ask &#8216;How much for a (sex act)?&#8217; You tried hard not get in an elevator in the convention center alone.&#8221; </p></blockquote>
<p>Admittedly, staging that particular conference in a hostel in the middle of Amsterdam&#8217;s Red Light District probably gave some people the wrong signals. That, and naming it &#8220;touch&#8221;, from the GNU command line tool of the same name.</p>
<p>And, let&#8217;s not forget this horrible, horrible, incident:</p>
<blockquote><p>Mackenzie Morgan says: &#8220;a  presenter had a title slide followed by a slide of bikini-clad women holding laptops, which he said was just to get people to pay attention. I&#8217;m not sure if we were supposed to pay attention to the women or to what he was saying though&#8221;.</p></blockquote>
<p>(Morgan probably never heard of the &#8220;bait-and-switch&#8221; technique).</p>
<p>Read <a href="http://lwn.net/SubscriberLink/417952/bf6a55b67170ff0e/">the article</a>, for more white people problems&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://bananaranha.com/2010/12/03/oss-sexual-harassment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Douche of the week: David S.</title>
		<link>http://bananaranha.com/2010/11/24/douch-of-the-week-david-s/</link>
		<comments>http://bananaranha.com/2010/11/24/douch-of-the-week-david-s/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 22:22:07 +0000</pubDate>
		<dc:creator>bananaranha</dc:creator>
				<category><![CDATA[Douche of the week]]></category>

		<guid isPermaLink="false">http://bananaranha.com/?p=65</guid>
		<description><![CDATA[You can scout the whole of the intertubes, but you&#8217;ll be hard pressed to find a biggest sense of entitlement than that of a certain “David S.”, Dropbox customer. In a tedious, autistic, monotone, comment after comment, the guy rants &#8230; <a href="http://bananaranha.com/2010/11/24/douch-of-the-week-david-s/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You can scout the whole of the intertubes, but you&#8217;ll be hard pressed to find a biggest sense of entitlement than that of a certain “David S.”, Dropbox customer.</p>
<p>In a tedious, autistic, monotone, comment after comment, the guy rants against the Dropbox team for not launching a &#8220;release&#8221; version of their client. </p>
<p>Mind you, he raises no specific quality issues with the development builds, except of the fact that they are not &#8220;release builds&#8221;, as if an arbitrary version tag makes all the difference for the user of a software.</p>
<p>If you are easily amused, and have 10 minutes to spare, <a href="http://forums.dropbox.com/topic.php?id=27724&#038;replies=1#post-173170">go through the thread</a>, it&#8217;s quite entertaining.  </p>
]]></content:encoded>
			<wfw:commentRss>http://bananaranha.com/2010/11/24/douch-of-the-week-david-s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Marketing BS right out of Blackberry&#8217;s Playbook</title>
		<link>http://bananaranha.com/2010/11/16/marketing-bs-right-our-of-blackberrys-playbook/</link>
		<comments>http://bananaranha.com/2010/11/16/marketing-bs-right-our-of-blackberrys-playbook/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 20:45:55 +0000</pubDate>
		<dc:creator>bananaranha</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Junk]]></category>

		<guid isPermaLink="false">http://bananaranha.com/?p=59</guid>
		<description><![CDATA[The Blackberry guys posted a video comparing the iPad to the Blackberry Playbook. According to the video, the Blackberry Playbook “renders web pages faster”, has “richer content” and “supports web standards better&#8221;. Besides the “richer content” angle, which basically translates &#8230; <a href="http://bananaranha.com/2010/11/16/marketing-bs-right-our-of-blackberrys-playbook/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Blackberry guys posted a video comparing the iPad to the Blackberry Playbook.</p>
<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/s72rGDUn2uo?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/s72rGDUn2uo?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
<p>According to the video, the Blackberry Playbook “renders web pages faster”, has “richer content” and “supports web standards better&#8221;.</p>
<p>Besides the “richer content” angle, which basically translates to “we do this Flash junk”, the other stuff is complete marketing BS.</p>
<p>The Playbook will be released somewhere around early 2011 ― around the same time everyone expects Apple to launch the iPad 2.0. Still, they compare the performance of the *demo* version of the Playbook to the eight month old version of the original iPad, as if this will mean something for the future consumer.</p>
<p>For example, the only reason the Playbook is faster, is because it uses a newer CPU. Well, the next iPad will also use a newer CPU. Problem solved (and they will probably add some more hardware features to keep RIM engineers and Android tablet makers busy for another year copying them).</p>
<p>As for the “better supporting web standards” part, they base this on a single glitch the iPad has with the Acid test (on which both machines score 100/100). Well, iPad&#8217;s webkit version is not the latest one the Playbook uses. It takes some marketing spin to present using a slightly newer version of Webkit, a project started and primarily maintained by your competitor, as your device&#8217;s “advantage”.</p>
<p>Hey, RIM, how about comparing the Playbook to the iPad available when it *does* comes out?</p>
]]></content:encoded>
			<wfw:commentRss>http://bananaranha.com/2010/11/16/marketing-bs-right-our-of-blackberrys-playbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recommendation of the week: Sinatra web microframework</title>
		<link>http://bananaranha.com/2010/11/16/recommendation-of-the-week-sinatra-web-microframework/</link>
		<comments>http://bananaranha.com/2010/11/16/recommendation-of-the-week-sinatra-web-microframework/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 14:22:34 +0000</pubDate>
		<dc:creator>bananaranha</dc:creator>
				<category><![CDATA[Recommendation]]></category>

		<guid isPermaLink="false">http://bananaranha.com/?p=51</guid>
		<description><![CDATA[If you are building RESTful services or even small web apps, you could do a lot worse than check out Sinatra, a Ruby based web framework written in under 1500 lines of code. Sinatra is utterly simple and doesn&#8217;t get &#8230; <a href="http://bananaranha.com/2010/11/16/recommendation-of-the-week-sinatra-web-microframework/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are building RESTful services or even small web apps, you could do a lot worse than check out <a href="http://www.sinatrarb.com/">Sinatra</a>, a Ruby based web framework written in under 1500 lines of code.</p>
<p>Sinatra is utterly simple and doesn&#8217;t get in the way. Not so many conventions imposed on you either, not even MVC: you can work in any way you like. You can also use Rack middleware with Sinatra, and extend it with, (duh!), extensions.</p>
<p>Here&#8217;s a &#8220;hello world&#8221;:</p>
<pre>
require 'sinatra'
get '/hi' do
  "Hello World!"
end
</pre>
<p>It has a fairly complete <a href="http://www.sinatrarb.com/documentation">documentation</a> (here&#8217;s a small <a href="http://www.sinatrarb.com/intro.html">condensed version</a>) and is used in several big professional projects already, including the GitHub API. </p>
]]></content:encoded>
			<wfw:commentRss>http://bananaranha.com/2010/11/16/recommendation-of-the-week-sinatra-web-microframework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beatles catalog launches on iTunes; world yawns&#8230;</title>
		<link>http://bananaranha.com/2010/11/16/beatles-catalog-launches-on-itunes-world-yawns/</link>
		<comments>http://bananaranha.com/2010/11/16/beatles-catalog-launches-on-itunes-world-yawns/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 14:09:42 +0000</pubDate>
		<dc:creator>bananaranha</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://bananaranha.com/?p=49</guid>
		<description><![CDATA[As if anyone even remotely interested in the Beatles doesn&#8217;t already have those albums in several formats already, digital included.]]></description>
			<content:encoded><![CDATA[<p>As if anyone even remotely interested in the Beatles doesn&#8217;t already have those albums in several formats already, digital included.</p>
]]></content:encoded>
			<wfw:commentRss>http://bananaranha.com/2010/11/16/beatles-catalog-launches-on-itunes-world-yawns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Apple&#8217;s stuff is not a la carte&#8230;</title>
		<link>http://bananaranha.com/2010/11/14/why-apples-stuff-is-not-a-la-carte/</link>
		<comments>http://bananaranha.com/2010/11/14/why-apples-stuff-is-not-a-la-carte/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 14:44:53 +0000</pubDate>
		<dc:creator>bananaranha</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://bananaranha.com/?p=46</guid>
		<description><![CDATA[Marco Arment, on an entirely unrelated topic: Removing choice is often beneficial for everyone if those making the choice are likely to choose against their best interests. It&#8217;s funny how this could also be applied to Apple&#8217;s product line.]]></description>
			<content:encoded><![CDATA[<p>Marco Arment, on an <a href="http://www.marco.org/1568881426">entirely unrelated topic</a>:</p>
<blockquote><p>Removing choice is often beneficial for everyone if those making the choice are likely to choose against their best interests.</p></blockquote>
<p>It&#8217;s funny how this could also be applied to Apple&#8217;s product line.</p>
]]></content:encoded>
			<wfw:commentRss>http://bananaranha.com/2010/11/14/why-apples-stuff-is-not-a-la-carte/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tumblr&#8217;s &#8220;like&#8221; lists considered idiotic</title>
		<link>http://bananaranha.com/2010/11/02/tumblrs-like-lists-considered-idiotic/</link>
		<comments>http://bananaranha.com/2010/11/02/tumblrs-like-lists-considered-idiotic/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 20:02:07 +0000</pubDate>
		<dc:creator>bananaranha</dc:creator>
				<category><![CDATA[Crap Spotting]]></category>

		<guid isPermaLink="false">http://bananaranha.com/?p=44</guid>
		<description><![CDATA[How exactly is this useful to me, the reader of the blog post?]]></description>
			<content:encoded><![CDATA[<p><img style="display:block; margin-left:auto; margin-right:auto;" src="http://bananaranha.com/blog/wp-content/uploads/2010/11/silly_tumblr_lovelist.jpg" alt="silly_tumblr_lovelist.jpg" title="silly_tumblr_lovelist.jpg" border="0" width="402" height="600" /></p>
<p>How exactly is this useful to <em>me</em>, the reader of the blog post?</p>
]]></content:encoded>
			<wfw:commentRss>http://bananaranha.com/2010/11/02/tumblrs-like-lists-considered-idiotic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A cup of hot Chocolate&#8230;</title>
		<link>http://bananaranha.com/2010/11/02/a-cup-of-hot-chocolate/</link>
		<comments>http://bananaranha.com/2010/11/02/a-cup-of-hot-chocolate/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 18:18:16 +0000</pubDate>
		<dc:creator>bananaranha</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[What If]]></category>

		<guid isPermaLink="false">http://bananaranha.com/?p=39</guid>
		<description><![CDATA[Leopard and Snow Leopard brought a lot of enhancements, new features and under the hood goodies for Cocoa development. From garbage collected Objective-C 2.0 to Grand Central Dispatch and blocks, programmers sure got a lot of shiny new toys to &#8230; <a href="http://bananaranha.com/2010/11/02/a-cup-of-hot-chocolate/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Leopard and Snow Leopard brought a lot of enhancements, new features and under the hood goodies for Cocoa development. From garbage collected Objective-C 2.0 to Grand Central Dispatch and blocks, programmers sure got a lot of shiny new toys to play with. We also know since WWDC that they are working on a revamped version of the XCode IDE, probably scheduled for release along with OS X 10.7, Lion.</p>
<p>Well, according to well informed sources inside 1 infinite loop, that might not be all. Apple has been secretly (duh!) working on a next generation computer language, code-named “Chocolate”, with the intension to bring OS X development well into the 21st Century.</p>
<p>Mac pundits have been <a href="http://arstechnica.com/staff/fatbits/2005/09/1372.ars">asking</a> for just such a thing for <a href="http://arstechnica.com/apple/news/2010/06/copland-2010-revisited.ars">years</a> ― and Jesper nearly <a href="http://waffle.wootest.net/2010/06/19/surpass/">spilled the beans</a>. After all, powerful as Objective-C is, it is still essentially a 30 year old technology from the glory days of NeXT. Even though it holds up wonderfully, the C heritage constraints it a great deal, not so much in power (C can do <em>anything</em>) but in convenience, expressiveness and safety. Now that the kids are used to all the fancy stuff that languages like C#, Ruby, Scala, et al provide, Objective-C seems a little stale. Not the best foundation for the next 25 years of OS X coding. </p>
<p>Enter <strong>Chocolate</strong>.</p>
<p>(Chocolate, btw, is the internal codename of the project, obviously a pun on “Cocoa”. My sources don&#8217;t know whether Apple plans to keep it for the public launch of the language, but it sure sounds nice and friendly).</p>
<p>Chocolate is a modern, high performance, object oriented language primarily targeting OS X. The aim of the Chocolate project was to rethink Objective-C in terms of contemporary programming languages and idioms.</p>
<p>The main goals of the project are:</p>
<p>- Chocolate should be compatible with Objective-C frameworks (such as Cocoa). This includes calling and subclassing Objective-C code.<br />
― Chocolate utilizes the Objective-C 2.0 runtime for messaging, garbage collection, etc.<br />
- Chocolate should provide automatic memory management.<br />
- Chocolate should support major Objective-C features such as Messaging, Protocols, Categories.<br />
- Chocolate should streamline Objective-C&#8217;s syntax dropping the C compatibility requirement.<br />
- Chocolate should support reflective and dynamic programming and provide modern language facilities.<br />
- Chocolate is designed to be compiled into native code but can also run in a VM with JIT compilation (though no such VM currently exists).</p>
<p>So it&#8217;s not an evolutionary step to the unknown, but mainly a pragmatic building upon the strengths of the existing infrastructure. I&#8217;m told that Chocolate leverages LLVM heavily.</p>
<p>Among the exciting new features is first class support for namespaces (finally!), annotations, blocks, generators, out parameters, and a whole lot more. In Chocolate, everything is a pointer ―and garbage collected. (There are provisions, though, for writing “unsafe” code, either by dropping to Objective-C/C or by marking a specific code segment, a la C#. The new language keeps the familiar selector naming scheme and data types such as String are compatible and interoperable with their NS counterparts. Chocolate, btw, also does away with header files. </p>
<p>Apple does not seem to want to deprecate Objective-C (at least not for a couple of years), so the lineup of languages for OS X development should probably read like this:</p>
<p>ObjectiveC (generic programming, legacy codebases)<br />
Chocolate (generic programming, new codebases)<br />
C (systems programming, base frameworks)<br />
C++ (systems programming, base frameworks)<br />
MacRuby (scripting)</p>
<p>As of yet, there is no information about whether Chocolate will run on the iOS, but I think it&#8217;s a no-brainer that it will.</p>
<p>For a small taste of the language&#8217;s syntax, consider the following snippet:</p>
<style>
.hl-string {
	color: gray;
}
.hl-keyword {
	color: brown;
}</p>
</style>
<pre style="background-color:#f8f8f8; color:#083433; font-weight:bold;">
import Foundation;
import NSDate;

<span class="hl-keyword">public class</span> CustomObject <span class="hl-keyword">extends</span> MyCompany.Writable {

    <span class="hl-keyword">public</span> CustomObject(){
    }

    <span class="hl-keyword">public static</span> hello(){
        NSLog(@<span class="hl-string">"Hello World. The date is {0}"</span>, NSDate.date());
    }

    <span class="hl-keyword">public</span> writeMessage(<span class="hl-keyword">string</span> msg, times:<span class="hl-keyword">int</span> times){
        times.repeat{
            NSLog(@<span class="hl-string">"{1}"</span>, msg);
        };
    }
}

CustomObject o = <span class="hl-keyword">new</span> CustomObject();
CustomObject.hello();
o.writeMessage(<span class="hl-string">"This text will be repeated"</span>, times: 3);
</pre>
<p>Other stuff or interest is the inclusion of the elvis operator (a curiosity adopted from Groovy), and a LINQ like language that can be used to work with Core Data or any Chocolate collection. There&#8217;s also first class support for debugging statements (no need to use preprocessing commands to turn them on or off), assignments that not yield boolean results, the “and”, “or” and “unless” operators (!) and indexed properties (classes that work like an array).</p>
<p>For another basic insight into the language, take a look at the category this post is assigned to.</p>
]]></content:encoded>
			<wfw:commentRss>http://bananaranha.com/2010/11/02/a-cup-of-hot-chocolate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Douche of the week</title>
		<link>http://bananaranha.com/2010/11/02/douche-of-the-week/</link>
		<comments>http://bananaranha.com/2010/11/02/douche-of-the-week/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 01:17:47 +0000</pubDate>
		<dc:creator>bananaranha</dc:creator>
				<category><![CDATA[Douche of the week]]></category>

		<guid isPermaLink="false">http://bananaranha.com/?p=37</guid>
		<description><![CDATA[There are many nominations, but Rémi Denis-Courmont wins hands down. This french VLC &#8220;contributor&#8221; has filed a copyright complaint with Apple over the VLC&#8217;s iOS port, with the hope of having the application removed from the App Store. Apparently he &#8230; <a href="http://bananaranha.com/2010/11/02/douche-of-the-week/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are many nominations, but <a href="http://lwn.net/images/conf/ms2009/maemosummit3.jpg">Rémi Denis-Courmont</a> wins hands down.</p>
<p>This french VLC &#8220;contributor&#8221; has filed a copyright complaint with Apple over the VLC&#8217;s iOS port, with the hope of having the application removed from the App Store. Apparently he believes that VLC&#8217;s GPL licence is too good for the App Store, despite the code of the app being open (and the app itself being free as in beer).</p>
<p>This weeks&#8217; douche has managed to singlehandedly piss on the free volunteer work of the VLC team and of the porting company, on the wishes of the majority of VLC contributors (including VideoLAN&#8217;s association president Jean-Baptiste Kempf) and on iOS users. And all that over some misguided sense of entitlement over the project and with the worst aspects of OSS zealotry in mind. VLC people better rewrite away his contributions as soon as possible and revoke his cvs access. </p>
<p>Ars has a nice <a href="http://arstechnica.com/apple/news/2010/11/the-vlc-ios-license-dispute-and-how-it-could-spread-to-android.ars?comments=1#comments-bar">write-up</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bananaranha.com/2010/11/02/douche-of-the-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

