<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>David&apos;s World</title>
<link>http://www.davids-world.com/</link>
<description>... looms large and daunting.</description>
<copyright>Copyright 2008</copyright>
<lastBuildDate>Thu, 10 Apr 2008 00:12:22 +0000</lastBuildDate>
<generator>http://www.movabletype.org/?v=3.34</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs> 

<item>
<title>Apple&apos;s new tutorial: writing Cocoa apps for the iPhone</title>
<description><![CDATA[<p>Apple makes a nice, <a href="https://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhone101/iPhone101.pdf">short tutorial</a> available that describes how to get started with XCode, Interface Builder and Cocoa. Apple's development model is built around the "Model-View-Controller" scheme, but it also uses the less common Objective C (2.0) language.</p>

<p>Folks familiar with C and with object oriented programming in general will soon figure things out: the tutorial is written at about the right level.</p>

<p>Nota bene: the first version of the tutorial has a few bugs, as I had to find.  At the very end, you need to declare "string" (the "model") as a member of MyViewController:</p>

<p><tt>   NSString *string;</tt></p>

<p>I also initialized the string in the init method:</p>

<p><tt> self->string = NULL; </tt></p>

<p>I also ended up using <tt>self->string</tt> rather than <tt>self.string</tt>.</p>

<p>Not sure about these things (I'm new to Cocoa), but it worked for me.</p>

<p>The next challenge is to get the sample application to work on a real iPhone.  In general, a simple</p>

<p><tt> scp -r ./build/Debug-iphonesimulator/helloworld.app \<br />
root@10.0.0.2:/Applications/ </tt></p>

<p>should do the job (having jailbroken and installed an SSH daemon on the phone). Too bad that XCode with the latest SDK will build applications against the new 2.0 (beta) Phone OS.  Switching the architecture to "iPhone OS" (rather than the iPhone Simulator) will produce ARM binaries (and complain about a missing certificate, which we'll ignore for now).  But running this on a 1.1.4 iPhone? No good. <br />
</p>]]></description>
<link>http://www.davids-world.com/archives/2008/04/apples_new_tuto.html</link>
<guid>http://www.davids-world.com/archives/2008/04/apples_new_tuto.html</guid>
<category>Tech</category>
<pubDate>Thu, 10 Apr 2008 00:12:22 +0000</pubDate>
</item>
<item>
<title>Life changes / Non, Je ne regrette rien</title>
<description><![CDATA[<p>Over the course of my twenties I've probably found some goals worth pursuing. I'd figured out what the most precious resources are. Remember: you can always make more money. That house, plane, sailing boat that you've always wanted isn't going to make you that much happier. The only finite resource in our lives is <em>time</em>. Take the words of someone who should know: Randy Pausch, Professor at CMU, 46 years of age and dying. Pausch tells us to have fun more than anything else (<a href="http://glumbert.com/media/lastadvice" >short</a> and <a href="http://www.youtube.com/watch?v=ji5_MqicxSo">long</a> video). Having fun is quite probably not the result of the quick fixes life has to offer (you know: a bungee jump, a good movie, great dinner, getting laid ...). Having fun also means to enjoy having made a difference in your job, having achieved some dreams, and having tried hard to achieve others.</p>

<p>So, I've been having fun.  I've been laughing about myself, with, about and at others. On my 30th birthday, I made one big life change.  I bought 24 pairs of black socks.  So I don't have to find vaguely matching pairs any longer.</p>

<p>I'm glad that was the only change needed.  </p>]]></description>
<link>http://www.davids-world.com/archives/2008/03/life_changes_no.html</link>
<guid>http://www.davids-world.com/archives/2008/03/life_changes_no.html</guid>
<category>Just for fun</category>
<pubDate>Sat, 22 Mar 2008 09:31:43 +0000</pubDate>
</item>
<item>
<title>Apple&apos;s new Airport Express 802.11n in client mode: no WEP for you!</title>
<description><![CDATA[<p>Steve, this wasn't funny.</p>

<p>My brand-new Airport Express doesn't like to act as a client in an WEP encrypted network. The usual tricks (entering the 40-bit hex key with a $ prefix) don't work: it says it's got an "internet problem" and misses an assigned IP address. If you give it a fixed IP, it gives you a green "thumbs up", but it still won't work. </p>

<p>Interestingly, it did work fine with the original firmware (7.3.0), until I violated the "if it ain't broken, don't fix it" rule and eagerly installed the latest 7.3.1 upgrade. Arrrghhh!</p>

<p>The Airport Express does work in client mode when WPA or no encryption at all is used. </p>

<p>Take that on top of oodles of problems with OS X 10.5 and my new Macbook Pro: external displays get screwed up, the internal screen sometimes goes black or loses its color calibration. Is this the end of "it just works" for Apple?</p>]]></description>
<link>http://www.davids-world.com/archives/2008/03/apples_new_airp.html</link>
<guid>http://www.davids-world.com/archives/2008/03/apples_new_airp.html</guid>
<category>Tech</category>
<pubDate>Fri, 21 Mar 2008 23:19:54 +0000</pubDate>
</item>
<item>
<title>Thirties</title>
<description><![CDATA[<p>I'm 30 now. Gotta get serious.</p>]]></description>
<link>http://www.davids-world.com/archives/2008/03/thirties.html</link>
<guid>http://www.davids-world.com/archives/2008/03/thirties.html</guid>
<category>Just for fun</category>
<pubDate>Thu, 13 Mar 2008 09:58:54 +0000</pubDate>
</item>
<item>
<title>The twenties</title>
<description><![CDATA[<p>Today's status: David is still in his twenties.</p>]]></description>
<link>http://www.davids-world.com/archives/2008/03/the_twenties.html</link>
<guid>http://www.davids-world.com/archives/2008/03/the_twenties.html</guid>
<category>Just for fun</category>
<pubDate>Tue, 04 Mar 2008 21:54:13 +0000</pubDate>
</item>
<item>
<title>Taking photos at an Edinburgh Ceilidh</title>
<description><![CDATA[<p>I've put together some hundred pictures taken at the Highflyer's Ceilidh 2007/08 in Edinburgh the other day. Ceilidhs, the traditional Scottish dances, are rather popular in Scotland. The Highflyer's Ceilidh is held by the three airsports clubs at Edinburgh University: Gliding, Hot-Air-Ballooning and Skydiving.</p>

<p>As every year, the Ceilidh was held in a ball room with funky lighting. That's quite the challenge for photographers, even when you have decent equipment. Most of the pictures were taken with a 50mm f1.8 Canon lens, at 800-1250 ISO, and slightly under-exposed. At f1.8 it's quite a challenge to focus on moving targets, and  1/125sec shutter speed is often not fast enough. As usual, the large Metz flash did its job quite well in the few frames when I used it (bought in the days of film photography, it's clearly overkill when used with a digital camera). In other shots I used Canon's 70-300 IS 4.0-5.6, which never fails to underwhelm me. </p>

<p>I was thankful for the white spotlights, which the technician left on by my request. I ended up staying in the same place for minutes at a time, shooting dancers as they came around to a spotlight. Last year, things were <a href="http://davids-world.com/bigtrip/_34%20Highflyers%20Ceilidh/">rather red</a> and turned the night into a black-and-white orgy.</p>

<p>Here, I'm leaving 103 pictures in the set, despite technical imperfection, because I know that people will still enjoy seeing themselves and their friends.</p>

<p><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="400" height="267" flashvars="host=picasaweb.google.com&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fdavid.reitter%2Falbumid%2F5169554920030097473%3Fkind%3Dphoto%26alt%3Drss" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></p>]]></description>
<link>http://www.davids-world.com/archives/2008/02/taking_photos_a.html</link>
<guid>http://www.davids-world.com/archives/2008/02/taking_photos_a.html</guid>
<category>Just for fun</category>
<pubDate>Thu, 21 Feb 2008 22:30:46 +0000</pubDate>
</item>
<item>
<title>George found: whistle and speak to him gently!</title>
<description><![CDATA[<p>Missing cockatiel "George" has been found and "spoken to gently". A miracle in Edinburgh!</p>

<p><img alt="IMG_5643.jpg" src="http://www.davids-world.com/archives/2008/02/20/IMG_5643.jpg" width="450" height="600" /><br />
</p>]]></description>
<link>http://www.davids-world.com/archives/2008/02/to_find_a_mocki.html</link>
<guid>http://www.davids-world.com/archives/2008/02/to_find_a_mocki.html</guid>
<category>Just for fun</category>
<pubDate>Wed, 20 Feb 2008 09:53:40 +0000</pubDate>
</item>
<item>
<title>220km of ski piste</title>
<description><![CDATA[<p>Having come back from a quick skiing trip, I discovered that the <a href="http://www.dolomitisuperski.com">website of the skiing area in the Dolomites</a> provides some cool statistics when you enter the number of your skipass. They also show a map of a day's skiing.</p>

<p><img alt="skiing-stats.png" src="http://www.davids-world.com/archives/2008/01/16/skiing-stats.png" width="552" height="57" /><br />
<a href="http://www.davids-world.com/archives/2008/01/16/DSC_6930.jpg"><img alt="DSC_6930.jpg" src="http://www.davids-world.com/archives/2008/01/16/DSC_6930-thumb.jpg" width="450" height="254" /></a><br />
</p>]]></description>
<link>http://www.davids-world.com/archives/2008/01/220km_of_ski_pi.html</link>
<guid>http://www.davids-world.com/archives/2008/01/220km_of_ski_pi.html</guid>
<category>Just for fun</category>
<pubDate>Wed, 16 Jan 2008 18:34:52 +0000</pubDate>
</item>
<item>
<title>The future, my bright black hole.</title>
<description><![CDATA[<p>Happy new year everybody. Resolutions for 2008 include
<ul>
<li>To get distracted less. In late 2007, I have canceled my RSS subscriptions for a number of news outlets (less is more!). Following the news all day yields no benefits - the news junkie isn't better informed at the end of the day. I've gotten rid of all those Apple rumor sites much earlier. 

<p><li> To listen better. Starting with a research notebook and regular note-taking in talks and meetings, I keep attention levels where they should be. It's already begun to work for me.</p>

</ul>

<p>On a personal note. I have no concrete idea where I'm going to be six months from now. Options are being discussed, further suggestions are welcome (<a href="http://www.david-reitter.com/david_reitter_cv.html">will have</a> PhD from Edinburgh. <a href="http://www.david-reitter.com/david_reitter_cv.html">Want</a> university position or an opportunity in a research/dev lab.)

<p>The future is a black hole. It's bright!]]></description>
<link>http://www.davids-world.com/archives/2008/01/the_future_my_b.html</link>
<guid>http://www.davids-world.com/archives/2008/01/the_future_my_b.html</guid>
<category>Just for fun</category>
<pubDate>Tue, 01 Jan 2008 17:11:32 +0000</pubDate>
</item>
<item>
<title>No Christmas presents</title>
<description><![CDATA[<p>Christmas can be so relaxed when you're getting rid of the presents. I didn't spend time shopping for any, and I didn't get much (too heavy to carry). I did give people something though: "time". Time to cook dinners for my family (for a change!). Time to look over my sister's CV and make it look great. Time to pick out my favorite records, to my brother has something to listen to with his new iPod. </p>

<p>Many years ago <a href="http://www.davids-world.com/archives/2004/12/thank_god_chris.html">I quit the Christian club</a> in search for better spirits. That doesn't mean you can't spend quality time with your family over Christmas. Perhaps it's the opposite - if we all try a bit less hard to make everything just perfect for the greatest feast the year, then we'll have a lot more fun in the process. </p>

<p>Take it easy!</p>]]></description>
<link>http://www.davids-world.com/archives/2007/12/no_christmas_pr.html</link>
<guid>http://www.davids-world.com/archives/2007/12/no_christmas_pr.html</guid>
<category>Just for fun</category>
<pubDate>Tue, 25 Dec 2007 23:27:00 +0000</pubDate>
</item>
<item>
<title>Gliding Grand Prix in New Zealand</title>
<description><![CDATA[<p>It's an obscure sport, it seems. In New Zealand, 18 top-notch glider pilots have just finished their second day of a week of races, trying to be the fastest to get around   tasks as long as 280 kilometers, driven by the power of thermals and wind alone. Their flying machines are highly-optimized, slick, well-polished planes with enormous, long but narrow wings.  It's a fascinating story to follow, not just for the small-time "hobbiest" glider pilot.</p>

<p>With this Gliding Grand Prix, the competition is moving towards an event that is internationally visible, with pretty pictures and fascinating live coverage. Having installed video cameras and tracking devices in the gliders, a (rather hypothetical) TV audience can follow every move. The event is broadcast live on <a href="http://video.airsportslive.com/">AirsportsLive</a>, with a free low-quality version and better, more costly videos. Unfortunately I couldn't make the videos work on my standard Mac computers. I guess this Grand Prix is more a test case for the media coverage of a gliding event, and the website simply needs (a lot more) work.</p>

<p>Thankfully, US pilot Tim McAllister gives a first-hand account of the race on his <a href="http://timmcallister.blogspot.com/">blog</a>. He managed to beat World Champion Sebastian Kawa (Poland) on one day (happens!). Watch that space!</p>

<p><img alt="IMG_5426.jpg" src="http://www.davids-world.com/archives/2007/12/20/IMG_5426.jpg" width="320" height="234" /></p>]]></description>
<link>http://www.davids-world.com/archives/2007/12/gliding_grand_p.html</link>
<guid>http://www.davids-world.com/archives/2007/12/gliding_grand_p.html</guid>
<category>Just for fun</category>
<pubDate>Thu, 20 Dec 2007 11:36:17 +0000</pubDate>
</item>
<item>
<title>Phone mom from the laptop - free SIP phones on the Gizmo network</title>
<description><![CDATA[<p>For over two years I've been using my laptop as my long-distance phone. I've been calling people around the world, to be precise, mostly my mom and dad. I used Skype initially, then the slightly-cheaper Gizmo, and now I've graduated to general SIP soft-phones. <br />
<p><br />
The last step has been necessary because Gizmo stopped working from home - it can't get through the chain of wireless routers and ADSL modems that we're using, despite various firewall-tweaking attempts. The symptom: I can't hear the people I'm calling, but they can hear me.<br />
<p><br />
However, I managed to get a free Voice-over-IP SIPphone software called <a href="http://xmeeting.sourceforge.net/">XMeeting</a> to work nicely with Sipphone.com, the same guys that make Gizmo Project. Gizmo (and Sipphone) allow you to call normal phones as well at low rates, so if you've topped up your Gizmo account, you can use any SIP Phone. XMeeting, other than Gizmo, is free as in beer and free as in freedom - it is developed by volunteers. And for me, it actually works better than Gizmo. <a href="http://www.ekiga.org/">Ekiga</a> is an alternative for Windows and GNU/Linux users.<br />
<p><br />
Here's how to configure XMeeting. First, you need your account number at Sipphone.com. You can find out by logging in to <a href="http://my.sipphone.com">my.sipphone.com</a> or by looking at your profile page in Gizmo ("SIP number"):<br />
<p><br />
<img alt="gizmo-sipphone" src="http://www.davids-world.com/archives/2007/11/25/gizmo-sipphone" width="291" height="29" /><br />
<p><br />
Under "Locations", I have set the STUN server to stun.sipgate.net, which has worked well for me (alternatively, stun01.sipphone.com works, too). Note that this STUN server thingy helps the server to talk to you. Depending on your network, you might be able to get better voice quality without this. I set the Network -> UDP Port Range to 5004-5005, but I reckon that doesn't matter much given that I've got a NAT and Leopard's firewall in between.<br />
<p><br />
I have enabled ISP, "use this proxy": proxy01.sipphone.com, with the 1747... user ID and the password):<br />
<p><br />
<a href="http://www.davids-world.com/archives/2007/11/25/xmeeting-config1"><img alt="xmeeting-config1" src="http://www.davids-world.com/archives/2007/11/25/xmeeting-config1-thumb" width="400" height="305" /></a><br />
<p><br />
Calling out then works if you enter your number like this: <tt>+4479103.....@proxy01.sipphone.com</tt> (for a UK based mobile phone).<br />
<p><br />
This will work with other SIP phones as well, also on Windows and even on PDAs (and mobile phones). Don't forget that Sipphone.com will charge you for connection attempts as well - so take care when messing around.<br />
</p>]]></description>
<link>http://www.davids-world.com/archives/2007/11/phone_mom_from.html</link>
<guid>http://www.davids-world.com/archives/2007/11/phone_mom_from.html</guid>
<category>Tech</category>
<pubDate>Sun, 25 Nov 2007 22:09:26 +0000</pubDate>
</item>
<item>
<title>Sudden encounters</title>
<description><![CDATA[<p><img alt="dr-accident-web.jpg" src="http://www.davids-world.com/archives/2007/11/20/dr-accident-web.jpg" width="148" height="200" align="right" hspace=5/>A sudden and unexpected encounter with the road forced me to take it slow over the weekend. Two sprained wrists are a wonderful excuse for not having to do dishes, but they will certainly keep me off my bike for a while (and so will some other injuries that falling off a bicycle happen to cause). Did I talk about buying a motorbike last week? Never mind. Somebody remove that oil/diesel from Edinburgh's Forrest Road though. Seems like it wasn't just the cause of my mishap.<br clear=all></p>]]></description>
<link>http://www.davids-world.com/archives/2007/11/sudden_encounte.html</link>
<guid>http://www.davids-world.com/archives/2007/11/sudden_encounte.html</guid>
<category>Just for fun</category>
<pubDate>Tue, 20 Nov 2007 00:42:23 +0000</pubDate>
</item>
<item>
<title>Good weather for some gliding at Portmoak</title>
<description><![CDATA[<p>Just two pictures I took yesterday, flying <a target="_new" href="http://gliding.tardis.ed.ac.uk/database/Photo/view/1910">Snoopy</a>, a beautiful yellow single-seater glider, which is a wooden glider made in Germany (in the 70's or so), type Ka8b.</p>

<p>I was soaring some hills and a bit of mountain wave near Portmoak in Scotland, just north of Edinburgh. The lake in the pictures is <i>Loch Leven</i>.</p>

<p> <a href="http://www.davids-world.com/archives/2007/11/12/portmoak_IMG_5427.html" onclick="window.open('http://www.davids-world.com/archives/2007/11/12/portmoak_IMG_5427.html','popup','width=1280,height=852,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.davids-world.com/archives/2007/11/12/portmoak_IMG_5427-thumb.jpg" width="450" height="299" alt="Glider SZD Pirat P19 at Portmoak, Scotland" /></a></p>

<p><a href="http://www.davids-world.com/archives/2007/11/12/portmoak_IMG_5437.html" onclick="window.open('http://www.davids-world.com/archives/2007/11/12/portmoak_IMG_5437.html','popup','width=1280,height=852,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.davids-world.com/archives/2007/11/12/portmoak_IMG_5437-thumb.jpg" width="450" height="299" alt="" /></a><br />
</p>]]></description>
<link>http://www.davids-world.com/archives/2007/11/good_weather_fo.html</link>
<guid>http://www.davids-world.com/archives/2007/11/good_weather_fo.html</guid>
<category>Just for fun</category>
<pubDate>Mon, 12 Nov 2007 11:35:37 +0000</pubDate>
</item>
<item>
<title>Paris</title>
<description><![CDATA[<p>Leaving Gare du Nord, Paris, and getting picked up on a motorbike to race across Paris on a warm fall evening (or is it still an indian summer?). Can't beat that. (Or <a alt="C'était un rendez-vous" href="http://www.youtube.com/watch?v=fLC3-BciWlk">can you</a>?)<br />
Yay to <a href="http://www.superficiel.org/joelle/">Joëlle</a> and <a href="http://myspace.com/davidkrutten">David</a>.<br />
<img alt="IMG_5312_joelle_david.jpg" src="http://www.davids-world.com/archives/2007/10/15/IMG_5312_joelle_david.jpg" width="450" height="300" /><br />
And of course there's a <a href="http://alpage.inria.fr/seminaire.fr.html">more mundane reason</a> why I'm here.</p>]]></description>
<link>http://www.davids-world.com/archives/2007/10/paris.html</link>
<guid>http://www.davids-world.com/archives/2007/10/paris.html</guid>
<category>Just for fun</category>
<pubDate>Sun, 14 Oct 2007 00:08:45 +0000</pubDate>
</item>


</channel>
</rss>