<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<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/"
	>

<channel>
	<title>assorted pieces of random gobbledygook</title>
	<link>http://pragmat.org/blog</link>
	<description>Ralf's scratch space</description>
	<pubDate>Mon, 21 Jan 2008 09:53:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Safari hangs / locked PubSub sqlite3 database</title>
		<link>http://pragmat.org/blog/2008/01/21/safari-pubsub-hang/</link>
		<comments>http://pragmat.org/blog/2008/01/21/safari-pubsub-hang/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 09:53:17 +0000</pubDate>
		<dc:creator>Ralf</dc:creator>
		
		<category><![CDATA[apple]]></category>

		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://pragmat.org/blog/2008/01/21/safari-pubsub-hang/</guid>
		<description><![CDATA[I just spent 15 minutes of my limited life chasing a frigging Safari bug. Apparently on my last logout, Safari didn&#8217;t close the PubSub [that&#8217;s Apple&#8217;s framework for dealing with RSS feeds] sqlite3 database properly. This led to a hang upon the next startup, and every subsequent startup. After a little bit of fun with [...]]]></description>
			<content:encoded><![CDATA[<p>I just spent 15 minutes of my limited life chasing a frigging Safari bug. Apparently on my last logout, Safari didn&#8217;t close the PubSub [that&#8217;s Apple&#8217;s framework for dealing with RSS feeds] sqlite3 database properly. This led to a hang upon the next startup, and every subsequent startup. After a little bit of fun with gdb and lsof, I figured out that it was lock that was held on the PubSub database (located in <tt>~/Library/PubSub/Database</tt>). I simply moved that heap of bitrot away and everything is dandy again. As expected, Safari recreated it.</p>
]]></content:encoded>
			<wfw:commentRss>http://pragmat.org/blog/2008/01/21/safari-pubsub-hang/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Power outlets at airports</title>
		<link>http://pragmat.org/blog/2008/01/21/power-outlets-at-airports/</link>
		<comments>http://pragmat.org/blog/2008/01/21/power-outlets-at-airports/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 08:03:46 +0000</pubDate>
		<dc:creator>Ralf</dc:creator>
		
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://pragmat.org/blog/2008/01/21/power-outlets-at-airports/</guid>
		<description><![CDATA[I just ran across the following gem [via BoingBoing, yeah I know it&#8217;s old, I just saw it now though]: AirPower, a wiki dedicated to documenting power outlets at airports all around the world. I usually start scouring the airport for power outlets on multi-leg flights once I&#8217;ve completed a leg. The scariest story happening [...]]]></description>
			<content:encoded><![CDATA[<p>I just ran across the following gem [via <a href="http://www.boingboing.net/2006/07/26/power-outlets-in-air.html">BoingBoing</a>, yeah I know it&#8217;s old, I just saw it now though]: <a href="http://wiki.jeffsandquist.com/default.aspx/AirPower/AirPower%20Home.html">AirPower</a>, a wiki dedicated to documenting power outlets at airports all around the world. I usually start scouring the airport for power outlets on multi-leg flights once I&#8217;ve completed a leg. The scariest story happening to me was circa 1998, travelling back from Melbourne through Hong Kong. Guards/military armed with submachine guns scared me away from the power outlet I was using. I don&#8217;t actually know what they said to me as they didn&#8217;t speak English, I just unplugged and got the fuck away from the outlet. Maybe it was just a friendly question, I don&#8217;t feel like taking chances in the presence of guns though.</p>
]]></content:encoded>
			<wfw:commentRss>http://pragmat.org/blog/2008/01/21/power-outlets-at-airports/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Recently acquired accessories starting with the letters &#8216;BR&#8217;.</title>
		<link>http://pragmat.org/blog/2008/01/19/recently-acquired-accessories-starting-with-the-letters-br/</link>
		<comments>http://pragmat.org/blog/2008/01/19/recently-acquired-accessories-starting-with-the-letters-br/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 03:04:14 +0000</pubDate>
		<dc:creator>Ralf</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pragmat.org/blog/2008/01/19/recently-acquired-accessories-starting-with-the-letters-br/</guid>
		<description><![CDATA[Two accessories I recently bought which I can heartily recommend:
Bräda, a laptop support cushion which makes having your laptop sitting on your lap really comfortable. No more frying my balls!



Also, after having dropped my iPhone two times in the first two days already, I went to Media Markt in Berlin and bought a crystal hard [...]]]></description>
			<content:encoded><![CDATA[<p>Two accessories I recently bought which I can heartily recommend:</p>
<p><a href="http://www.ikea.com/us/en/catalog/products/80115790">Bräda</a>, a laptop support cushion which makes having your laptop sitting on your lap really comfortable. No more frying my balls!</p>
<div align="center">
<img src="http://pragmat.org/pics/braeda.jpg"/>
</div>
<p>Also, after having dropped my iPhone two times in the first two days already, I went to Media Markt in Berlin and bought a crystal hard case as well as a rubberized soft case. I didn&#8217;t like both very much. I&#8217;ve now settled on a Brando aluminium (aluminum, for our Amerikkkkkan readers) case. Tough, sturdy, flippable cover. Yeah, you can&#8217;t use the touch screen through the plastic protective screen, that bugged me at first. There&#8217;s a model without the protective cover as well, but buying that wasn&#8217;t an option since the screen will be the first thing my phone drops on if I decide not to protect it.</p>
<div align="center">
<img src="http://pragmat.org/pics/brando.jpg"/>
</div>
]]></content:encoded>
			<wfw:commentRss>http://pragmat.org/blog/2008/01/19/recently-acquired-accessories-starting-with-the-letters-br/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DNS tunneling on the iPhone</title>
		<link>http://pragmat.org/blog/2008/01/10/dns-tunneling-on-the-iphone/</link>
		<comments>http://pragmat.org/blog/2008/01/10/dns-tunneling-on-the-iphone/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 17:45:43 +0000</pubDate>
		<dc:creator>Ralf</dc:creator>
		
		<category><![CDATA[apple]]></category>

		<category><![CDATA[travel]]></category>

		<category><![CDATA[geekery]]></category>

		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://pragmat.org/blog/2008/01/10/dns-tunneling-on-the-iphone/</guid>
		<description><![CDATA[I just set up a cross-compiling environment for the iPhone and compiled dns2tcp for the iPhone. Dns2tcp is a DNS tunnel written in C that I can heartily recommend, it however could be a little bit more stealthy. Using DNSSEC KEY RRs clearly is NOT stealthy. If you trust me somewhat, you can download the [...]]]></description>
			<content:encoded><![CDATA[<p>I just set up a cross-compiling environment for the iPhone and compiled <a href="http://www.hsc.fr/ressources/outils/dns2tcp/index.html.en">dns2tcp</a> for the iPhone. Dns2tcp is a DNS tunnel written in C that I can heartily recommend, it however could be a little bit more stealthy. Using DNSSEC <a href="http://tools.ietf.org/html/rfc2535">KEY RRs</a> clearly is <u>NOT</u> stealthy. If you trust me somewhat, you can download the iPhone binary for <a href="https://pragmat.org/iphone/bin/dns2tcpc">dns2tcpc</a>. I should roll that in a package, but I&#8217;m too lazy to do that at the moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://pragmat.org/blog/2008/01/10/dns-tunneling-on-the-iphone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPhone</title>
		<link>http://pragmat.org/blog/2008/01/04/iphone/</link>
		<comments>http://pragmat.org/blog/2008/01/04/iphone/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 12:04:16 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://pragmat.org/blog/2008/01/04/iphone/</guid>
		<description><![CDATA[I really have to say: from a usability perspective, this baby rocks. Putting my security researcher hat on, I however have to say: Shame on you, Apple! I&#8217;m taking bets as to how long it takes till we see the first worm for the iPhone. What&#8217;s interesting is that the baseband firmware of this phone [...]]]></description>
			<content:encoded><![CDATA[<p>I really have to say: from a usability perspective, this baby rocks. Putting my security researcher hat on, I however have to say: Shame on you, Apple! I&#8217;m taking bets as to how long it takes till we see the first worm for the iPhone. What&#8217;s interesting is that the baseband firmware of this phone is one of the few that I&#8217;m aware of that is ARM-based and which largely seems to be written in C. In my opinion this phone is an ideal platform for the <a href="http://wiki.thc.org/cracking_a5">A5/1 cracking project</a>.</p>
<p>As for <a href="http://dev.c99.org/MobileScrobbler/">MobileScrobbler</a>: yes, it really rocks. It actually far exceeds my expectations! Overall, I fear a decline of software quality with the release of the iPhone SDK. Thus far, every piece of third party software I tried simply was a pleasant experience&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://pragmat.org/blog/2008/01/04/iphone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MobileScrobbler</title>
		<link>http://pragmat.org/blog/2007/12/21/mobilescrobbler/</link>
		<comments>http://pragmat.org/blog/2007/12/21/mobilescrobbler/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 13:06:11 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
		<category><![CDATA[apple]]></category>

		<category><![CDATA[audio]]></category>

		<guid isPermaLink="false">http://pragmat.org/blog/2007/12/21/mobilescrobbler/</guid>
		<description><![CDATA[Fuck. I so want this! And I don&#8217;t even have an iPhone yet.  last.fm on your MP3 player! And I want that A2DP profile to work, dammit! Apple, hear me?
]]></description>
			<content:encoded><![CDATA[<p>Fuck. I so want <a href="http://dev.c99.org/MobileScrobbler/">this</a>! And I don&#8217;t even have an iPhone yet. <img src='http://pragmat.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> last.fm on your MP3 player! And I want that A2DP profile to work, dammit! Apple, hear me?</p>
]]></content:encoded>
			<wfw:commentRss>http://pragmat.org/blog/2007/12/21/mobilescrobbler/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New toy arrived: Sony Ericsson HBH-DS980</title>
		<link>http://pragmat.org/blog/2007/11/24/new-toy-arrived-sony-ericsson-hbh-ds980/</link>
		<comments>http://pragmat.org/blog/2007/11/24/new-toy-arrived-sony-ericsson-hbh-ds980/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 02:14:02 +0000</pubDate>
		<dc:creator>Ralf</dc:creator>
		
		<category><![CDATA[audio]]></category>

		<guid isPermaLink="false">http://pragmat.org/blog/2007/11/24/new-toy-arrived-sony-ericsson-hbh-ds980/</guid>
		<description><![CDATA[My new A2DP headset/headphones arrived today and I have to say: I&#8217;m stoked! Although the headphones part is not quite as good as the AKG headphones I own, they sound alright.

Pairing with my Nokia E61 with the HBH-DS980 worked almost flawlessly (the first pairing attempt failed, but after I reset the phone everything was alright). [...]]]></description>
			<content:encoded><![CDATA[<p style="color: #000000">My new A2DP headset/headphones arrived today and I have to say: I&#8217;m stoked! Although the headphones part is not quite as good as the AKG headphones I own, they sound alright.</p>
<p style="color: #000000; "></p>
<p style="color: #000000">Pairing with my Nokia E61 with the HBH-DS980 worked almost flawlessly (the first pairing attempt failed, but after I reset the phone everything was alright). Since OSX 10.5 (aka Leopard) now supports A2DP devices as sound devices globally, I can use them both for listening to Last.FM and (as a headset) in Skype.</p>
]]></content:encoded>
			<wfw:commentRss>http://pragmat.org/blog/2007/11/24/new-toy-arrived-sony-ericsson-hbh-ds980/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apple releases 10.5 source tree</title>
		<link>http://pragmat.org/blog/2007/11/01/apple-releases-105-source-tree/</link>
		<comments>http://pragmat.org/blog/2007/11/01/apple-releases-105-source-tree/#comments</comments>
		<pubDate>Thu, 01 Nov 2007 18:00:21 +0000</pubDate>
		<dc:creator>Ralf</dc:creator>
		
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://pragmat.org/blog/2007/11/01/apple-release-105-source-tree/</guid>
		<description><![CDATA[Apple just released the Darwin 9.0 source tree!
]]></description>
			<content:encoded><![CDATA[<p>Apple just released the <a href="http://www.opensource.apple.com/darwinsource/10.5/">Darwin 9.0 source tree</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://pragmat.org/blog/2007/11/01/apple-releases-105-source-tree/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mail-Act-On and GPGMail under Leopard</title>
		<link>http://pragmat.org/blog/2007/10/31/mail-act-on-and-gpgmail-under-leopard/</link>
		<comments>http://pragmat.org/blog/2007/10/31/mail-act-on-and-gpgmail-under-leopard/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 14:47:58 +0000</pubDate>
		<dc:creator>Ralf</dc:creator>
		
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://pragmat.org/blog/2007/10/31/october-31-2007-mail-act-on-and-gpgmail-under-leopard/</guid>
		<description><![CDATA[So I was quite heartbroken about my favourite Mail plug-ins, GPGMail and Mail-Act-On being disabled after the Leopard upgrade. Turns out there&#8217;s a very easy way to fix this (found in the MAO forum). Simply move the bundles back from the Bundles (Disabled) directory to the Bundles directory (in $HOME/Library/Mail, I had to create the [...]]]></description>
			<content:encoded><![CDATA[<p>So I was quite heartbroken about my favourite Mail plug-ins, GPGMail and Mail-Act-On being disabled after the Leopard upgrade. Turns out there&#8217;s a very easy way to fix this (found in the <a href="http://www.indev.ca/forum/viewtopic.php?t=1052">MAO forum</a>). Simply move the bundles back from the <tt>Bundles (Disabled)</tt> directory to the <tt>Bundles</tt> directory (in <tt>$HOME/Library/Mail</tt>, I had to create the <tt>Bundles</tt> directory first) and change the following defaults:</p>
<pre>
defaults write com.apple.mail EnableBundles 1
defaults write com.apple.mail BundleCompatibilityVersion 3
</pre>
<p>Great. The world is in order again <img src='http://pragmat.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>
<b>Update:</b> Not quite. GPGMail is still broken (no content is shown for PGP encrypted and/or signed mails), but apparently the author is already working on an update. Mail-Act-On is working fine thus far.</p>
]]></content:encoded>
			<wfw:commentRss>http://pragmat.org/blog/2007/10/31/mail-act-on-and-gpgmail-under-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Converting FileVault images for OS X 10.5.</title>
		<link>http://pragmat.org/blog/2007/10/30/converting-filevault-images-for-os-x-105/</link>
		<comments>http://pragmat.org/blog/2007/10/30/converting-filevault-images-for-os-x-105/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 22:33:33 +0000</pubDate>
		<dc:creator>Ralf</dc:creator>
		
		<category><![CDATA[apple]]></category>

		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://pragmat.org/blog/2007/10/30/converting-filevault-images-for-os-x-105/</guid>
		<description><![CDATA[Just upgraded to Leopard doing a clean reinstall. Before I copied my sparseimage FileVault container (/Users/$USER/$USER.sparseimage) to an external USB drive, after the reinstall I copied it back. Then I remembered that FileVault in OS X 10.5 uses a new format (as reported in FileVault doesn’t use Sparse-Images anymore) and thought better of it. The [...]]]></description>
			<content:encoded><![CDATA[<p>Just upgraded to Leopard doing a clean reinstall. Before I copied my sparseimage FileVault container (<tt>/Users/$USER/$USER.sparseimage</tt>) to an external USB drive, after the reinstall I copied it back. Then I remembered that FileVault in OS X 10.5 uses a new format (as reported in <a href="http://themachackers.com/2006/12/20/filevault-doesnt-use-sparse-images-anymore/">FileVault doesn’t use Sparse-Images anymore</a>) and thought better of it. The new format apparently splits the image into 8MB big chunks, called <em>bands</em> which should make deallocation of free space much easier.</p>
<p>After a look into the man page of <tt>hdiutil(1)</tt> I had located the name for the new <tt>SPARSEBUNDLE</tt> format and converted the container into the new format using the following command:</p>
<pre>
hdiutil convert /mnt/$USER.sparseimage -encryption CEncryptedEncoding -format UDSB -o /Users/$USER/$USER.sparsebundle
</pre>
<p>Note well: your data no longer is accessible with the system-wide FileVault recovery certificate/private key. If this feature is of importance to you (it is to me, in the opposite way: I&#8217;m glad that the recovery key now is invalid), look into the <tt>-recover</tt> and <tt>-certificate</tt> options of <tt>hdiutil(1)</tt>.</p>
<p>Upon the next login I realized that my UID had changed, meaning I could no longer access the data contained in the FileVault. Argh! Turns out that there&#8217;s no more messing around with <tt>niutil(1)</tt> under Leopard. <em>NetInfo</em> is gone, replaced by <em>Directory Services</em>. The command line utility for Directory Services is surprisingly pleasant: As simple as 1,2,3, I changed my uid&#8230;</p>
<pre>
dscl -change . /Users/$USER UniqueID
<olduid> <newuid>
</newuid></olduid></pre>
]]></content:encoded>
			<wfw:commentRss>http://pragmat.org/blog/2007/10/30/converting-filevault-images-for-os-x-105/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
