<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Martin Ottenwaelter</title>
	<link>http://martinottenwaelter.fr</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 05 Aug 2010 07:50:22 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0-beta1" -->

	<item>
		<title>Lighttpd, MacPorts and the SSL error</title>
		<description><![CDATA[After installing lighttpd on my Mac via MacPorts with the following command: sudo port install lighttpd +ssl +cml I get the following error: (network.c.529) SSL: error:00000000:lib(0):func(0):reason(0) The fix is to patch lighttpd before MacPorts compiles it: sudo port uninstall lighttpd +ssl +cml sudo port fetch lighttpd +ssl +cml sudo port -d extract lighttpd +ssl +cml [...]]]></description>
		<link>http://martinottenwaelter.fr/2010/08/lighttpd-macports-and-the-ssl-error/</link>
			</item>
	<item>
		<title>SC.$ doesn&#8217;t support complex selectors</title>
		<description><![CDATA[SC.$ doesn&#8217;t support complex selectors for performance reasons. For example, the following queries will return an empty or incorrect result set: SC.$('.foo .bar:first-child') SC.$(':empty') SC.$('foo > bar') If you don&#8217;t need your application to be compatible with IE 7 and Firefox 3.0, you can use the querySelectorAll method to overcome that limitation: MyApp.$ = function(str) [...]]]></description>
		<link>http://martinottenwaelter.fr/2010/07/sc-dot-dollar-doesnt-support-complex-selectors/</link>
			</item>
	<item>
		<title>Capitaine Train</title>
		<description><![CDATA[Capitaine Train is the Internet travel agency I co-founded a year ago in Paris, France. Capitaine Train only sells train tickets and is focused on providing a great user experience with a simple yet effective SproutCore-based web application. We haven&#8217;t launched yet, but here is a preview. Stay tuned!]]></description>
		<link>http://martinottenwaelter.fr/2010/06/capitaine-train/</link>
			</item>
	<item>
		<title>Testing and auto-generated ids in SproutCore</title>
		<description><![CDATA[If you’re trying to automate tests of your SproutCore application with Selenium, for example, you’ll realise that the HTML element ids are automatically generated. They change every now and then and break all your tests. To get rid of this problem, you can override the layerId method of certain view classes to generate a stable, [...]]]></description>
		<link>http://martinottenwaelter.fr/2010/01/testing-and-auto-generated-ids-in-sproutcore/</link>
			</item>
	<item>
		<title>Monkey patching SproutCore</title>
		<description><![CDATA[You can add or overwrite a class property using the mixin method on the class prototype. The following example dynamically adds a keyForParentView method on the SC.View class without modifying SproutCore’s source code: SC.View.prototype.mixin({ keyForParentView: function() { var parentView = this.get('parentView'), key; for (key in parentView) { if (this === parentView[key]) return key; } return [...]]]></description>
		<link>http://martinottenwaelter.fr/2009/11/monkey-patching-sproutcore/</link>
			</item>
	<item>
		<title>SC.Response and JSON</title>
		<description><![CDATA[SproutCore’s SC.Response was recently rewritten and I patched it to avoid an exception to be thrown when a malformed JSON string was parsed. The standard way to write your data source didFetch method is now: didFetch: function(response, params) { var results, query = params.query; if (SC.ok(response) &#038;&#038; SC.ok(results = response.get('body'))) { ... } else { [...]]]></description>
		<link>http://martinottenwaelter.fr/2009/11/sc-response-and-json/</link>
			</item>
	<item>
		<title>Alternate row colors in SC.ListViews</title>
		<description><![CDATA[This post will show you how to create a SproutCore ListView with alternate row colors. Let’s add alternate row colors to the Todos tutorial’s list view. Clone the source code, then switch to the step-5 branch. It should look like this: The code that’s actually responsible for the ListView is in main_page.js:46: middleView: SC.ScrollView.design({ hasHorizontalScroller: [...]]]></description>
		<link>http://martinottenwaelter.fr/2009/09/alternate-row-colors-in-sc-listviews/</link>
			</item>
	<item>
		<title>Safari AdBlock on Snow Leopard</title>
		<description><![CDATA[Safari AdBlock 0.4.0 RC3 now works on Snow Leopard. To make it work, though, you have to run Safari in 32-bit mode. To do so, select Safari.app in the Applications folder, hit ⌘-I to show the “Get Info” window, and check the “Open in 32-bit mode” checkbox: I’m looking into an alternative solution to allow [...]]]></description>
		<link>http://martinottenwaelter.fr/2009/08/safari-adblock-on-snow-leopard/</link>
			</item>
	<item>
		<title>Lighttpd, mod_magnet and MacPorts</title>
		<description><![CDATA[I installed lighttpd with MacPorts using the usual command sudo port install lighttpd But when I try to start it with a custom configuration file, I get the following error: (plugin.c.213) mod_magnet plugin init failed (server.c.614) loading plugins finally failed It looks like the default MacPorts installation didn’t install everything needed for mod_magnet to work. [...]]]></description>
		<link>http://martinottenwaelter.fr/2009/08/lighttpd-mod_magnet-and-macports/</link>
			</item>
</channel>
</rss>
