<?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>refugium virtuale ofi</title>
	<atom:link href="http://olaf-fiedler.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://olaf-fiedler.de</link>
	<description>...quod erat scribendum ceterum.</description>
	<lastBuildDate>Sat, 15 Jan 2011 18:24:39 +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>Updateproblem auf TomTom GO 730 (mal wieder) &#8211; diesmal aus Speichermangel</title>
		<link>http://olaf-fiedler.de/updateproblem-auf-tomtom-go-730-diesmal-aus-speichermangel/58/</link>
		<comments>http://olaf-fiedler.de/updateproblem-auf-tomtom-go-730-diesmal-aus-speichermangel/58/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 17:56:43 +0000</pubDate>
		<dc:creator>ofi</dc:creator>
				<category><![CDATA[Mobile Navigation]]></category>
		<category><![CDATA[navi]]></category>
		<category><![CDATA[tomtom]]></category>

		<guid isPermaLink="false">http://olaf-fiedler.de/?p=58</guid>
		<description><![CDATA[Letzte Woche war es wieder so weit: TomTom verkündete per E-Mail voller Stolz, dass nun die neuen Karten zum Update bereit stünden. Ich weiß nicht, wie es Ihnen geht, aber ich persönlich erwarte als Mac-Anweder nach meinen bisherigen Erfahrungen mit &#8230; <a href="http://olaf-fiedler.de/updateproblem-auf-tomtom-go-730-diesmal-aus-speichermangel/58/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Letzte Woche war es wieder so weit: TomTom verkündete per E-Mail voller Stolz, dass nun die neuen Karten zum Update bereit stünden. Ich weiß nicht, wie es Ihnen geht, aber ich persönlich erwarte als Mac-Anweder nach meinen bisherigen Erfahrungen mit der TomTom-Software schon nicht mehr, dass es &#8220;einfach so&#8221; funktioniert. Meine Erwartungen wurden nicht enttäuscht:</p>
<p>Nach dem Herunterladen der knapp 1,9 GB Kartenmaterial für &#8220;Western and Central Europe&#8221; brach die Aktualisierung des Gerätes mit einem Fehler ab &#8220;&#8230; error writing cnames.dat&#8221;, wobei der Dateiname vermutlich an der Stelle eher Zufall ist. Im Ergebnis lässt sich die neue Karte nicht nutzen; in meinem Fall meldete das GO, dass die Karte erst aktiviert werden müsse. Als Abo-Kunde dachte ich da nur: &#8220;Ja, nee &#8211; is klar.&#8221; Die Untersuchung des Speicherinhaltes offenbarte dann eine Restkapazität von 0 Bytes. Das erklärte Einiges, wenn auch nicht die Fehlermeldung mit der Aktivierung, aber denen glaube ich ohnehin nicht mehr. Irgendwo auf den TomTom-Seiten habe ich auch gelesen, dass der Kartenbestand für 2 GB &#8220;optimiert&#8221; sei, was eine schnellere Routenfindung ermögliche. Jeder Datenheini weiß, dass sich Zeitersparnis meistens nur mit mehr Platz erkaufen lässt, mit anderen Worten: Die 2 GB werden auch gebraucht.</p>
<p>Die Recherche nach den Platzfressern auf der Karte brachte dann Folgendes zu Tage:</p>
<ul>
<li>Spotlight hatte unter der Wurzel ein Verzeichnis mit mehreren MB Inhalt zur Indizierung angelegt, weil ich vergessen hatte in den Systemeinstellungen das Volume &#8220;INTERNAL&#8221; (so der Name nach Anmeldung auf meinem Rechner) von der Indizierung auszunehmen. Das habe ich dann sofort nachgeholt und in einem Terminalfenster mit <code>/bin/rm -rf .Spotlight*</code>das Verzeichnis gelöscht.</li>
<li>À propos Löschen: Verträumterweise habe ich irgendwann einmal mit dem Finder Dateien auf dem GO gelöscht. Das Ergebnis war ein Verzeichnis .Trashes mit den vermeintlich gelöschten Dateien. Also weg damit, und zwar in der oben beschriebenen Weise aus dem Terminal heraus.</li>
</ul>
<p>Um das System in einem definierten Zustand zu haben, hatte ich vor den Löschaktionen erst einmal alles gelöscht, dann mein letztes manuelles Backup (eines, das mit <code>cp -a /Volumes/INTTERNAL/* "Zielverzeichnis"</code> entstanden ist) zurück gespielt.</p>
<p>Um diese Mac-Besonderheiten bereinigt sollte das Update jetzt ja funktionieren &#8211; dachte ich. Fail. Der Fehler tauchte wieder auf, die Karte war wieder voll. Erst als ich auch noch die mitgelieferten MP3-Dateien entsorgt und die Lösch- und Rückspielprozedur wiederholt hatte, lief das Update durch. Ersatzweise hätte ich vielleicht auch meine POI-Daten wegwerfen können, aber die sind mir wichtiger als die Muzak-Dreingabe, die sowieso nicht nach meinem Geschmack war.</p>
<p>Eine Beobachtung des erst anwachsenden und wieder leicht abnehmenden Platzbedarfs während der Installation durch TomTom HOME lässt mich vermuten, dass es die Archivdateien auf dem Gerät auspackt, was natürlich zwischendurch mehr Platz beansprucht als der Datenbestand nach abgeschlossener Installation. Inzwischen erwartungsgemäß waren meine Favoriten sowie der Heimatstandort und weitere Einstellungen nach dem Update gelöscht, aber das wundert mich bei der vorliegenden Softwarequalität schon lange nicht mehr.</p>
<p>Fazit: Wer tatsächlich seinen GO 730 in der angebotenen Weise nutzt und ihn mit weiteren Daten befüllt als &#8220;nur&#8221; dem Kartenmaterial, insbesondere wenn er/sie die Daten für West- und Zentraleuropa erworben hat, sollte sich dringend eine größere Speicherkarte kaufen. Ich werde das wohl tun müssen.</p>
<p>Epilog: Den TMC-Empfang werde ich erst morgen ausprobieren können (siehe den <a title="Problem mit TMC-Empfang auf TomTom GO 730" href="problem-mit-tmc-empfang-auf-tomtom-go730-nach-update-beheben/45/" target="_blank">letzten Eintrag</a> aus dieser Reihe); die zugehörigen Dateien sehen bis jetzt jedenfalls ganz gesund aus.</p>
<p>Gute Fahrt!</p>
]]></content:encoded>
			<wfw:commentRss>http://olaf-fiedler.de/updateproblem-auf-tomtom-go-730-diesmal-aus-speichermangel/58/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Problem mit TMC-Empfang auf TomTom GO730 nach Update beheben</title>
		<link>http://olaf-fiedler.de/problem-mit-tmc-empfang-auf-tomtom-go730-nach-update-beheben/45/</link>
		<comments>http://olaf-fiedler.de/problem-mit-tmc-empfang-auf-tomtom-go730-nach-update-beheben/45/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 19:14:48 +0000</pubDate>
		<dc:creator>ofi</dc:creator>
				<category><![CDATA[Mobile Navigation]]></category>
		<category><![CDATA[navi]]></category>
		<category><![CDATA[tomtom]]></category>

		<guid isPermaLink="false">http://olaf-fiedler.de/?p=45</guid>
		<description><![CDATA[Nach einem Update auf das neueste Kartenmaterial (West- und Zentraleuropa) auf dem TomTom GO730 am 10.09.09 hatte ich folgendes Symptom: Der TMC-Empfänger wurde zwar erkannt, aber es wurde nichts empfangen. Der Status in den Verkehrsinfo-Einstellungen meldete dauerhaft, dass nach einem &#8230; <a href="http://olaf-fiedler.de/problem-mit-tmc-empfang-auf-tomtom-go730-nach-update-beheben/45/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nach einem Update auf das neueste Kartenmaterial (West- und Zentraleuropa) auf dem TomTom GO730 am 10.09.09 hatte ich folgendes Symptom: Der TMC-Empfänger wurde zwar erkannt, aber es wurde nichts empfangen. Der Status in den Verkehrsinfo-Einstellungen meldete dauerhaft, dass nach einem Radiosender gesucht werde.</p>
<p>Ein freundlicher Mitarbeiter des lokalen Elektro-Großmarktes (der mit den vielen Ringen) äußerte, dass ihm kein Zusammenhang mit dem Update bekannt sei und riet mir, das Gerät einzuschicken.</p>
<p>Unser aller Internet war aber mal wieder schlauer als der Einzelne, und deshalb stieß ich dann auf die Lösung anhand eines <a title="Posting auf meintomtom.de" href="http://www.meintomtom.de/forum/index.php?s=&amp;showtopic=34142&amp;view=findpost&amp;p=297934" target="_blank">Forum-Postings</a>: Bei der Installation des Kartenmaterials wurden auf dem GO im Verzeichnis <code>Western_and_Central_Europe_2GB</code> die Dateien <code>tmccodes.dat</code> und <code>traffic.dat</code> auf 0 Bytes gekürzt. Sollte das bei Ihnen nicht so sein, ist dieser Artikel vermutlich nicht die Lösung Ihres Problems. Da die Dateien im heruntergeladenen ZIP-Archiv des Kartenmaterials aber vollständig sind, ist das Vorgehen zur Behebung wie folgt:</p>
<ol>
<li>Das TomTom mit dem Rechner als Laufwerk verbinden.</li>
<li>Vorsichtshalber ein manuelles Backup (Kopie aller Dateien und Verzeichnisse aus dem Wurzelverzeichnis) anlegen.</li>
<li>Im Verzeichnis <code>Western_and_Central_Europe_2GB</code> auf dem GO die Dateien <code>tmccodes.dat</code> und <code>traffic.dat</code> löschen.</li>
<li>Auf dem Rechner mit dem Download-Material im TomTom-Verzeichnis (<code>~/Documents/TomTom</code> unter Mac OS, <code>C:\Dokumente und Einstellungen\TomTom</code> unter Win XP) befindet sich im Unterverzeichnis <code>HOME/Download/complete/map/West-_und_Mitteleuropa_2GB-1</code> (bzw. ohne die &#8220;-1&#8243; oder mit einer anderen Zahl, je nachdem ob das Ihr erster oder n-ter Download des Materials war) die Datei<code> Western_and_Central_Europe_2GB.zip</code>. Entpacken Sie diese in ein anderes Verzeichnis.</li>
<li>Kopieren Sie aus diesem Verzeichnis die Dateien <code>tmccodes.dat</code> und <code>traffic.dat</code> in das Verzeichnis aus Schritt 3 auf den GO, aus welchem Sie die Dateien gelöscht haben.</li>
<li>Trennen Sie den GO sicher vom Computer (Auswerfen!) und starten Sie ihn neu. Auf meinem Mac tut er das von selbst.</li>
</ol>
<p>Der TMC-Empfang sollte wieder gehen. So war es jedenfalls bei mir.</p>
<p>Angesichts der Tatsache, dass dies nicht das erste Mal war, dass ein Update Probleme verursachte, stellt sich abschließend nur die Frage, wann TomTom endlich seine Qualitätsprobleme in der Software-Verteilung in den Griff bekommen will.</p>
]]></content:encoded>
			<wfw:commentRss>http://olaf-fiedler.de/problem-mit-tmc-empfang-auf-tomtom-go730-nach-update-beheben/45/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting TiddlyWiki Syntax into DokuWiki Markup with TextMate</title>
		<link>http://olaf-fiedler.de/converting-tiddlywiki-syntax-into-dokuwiki-markup-with-textmate/21/</link>
		<comments>http://olaf-fiedler.de/converting-tiddlywiki-syntax-into-dokuwiki-markup-with-textmate/21/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 23:16:36 +0000</pubDate>
		<dc:creator>ofi</dc:creator>
				<category><![CDATA[IT (en)]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://olaf-fiedler.de/?p=21</guid>
		<description><![CDATA[I like TiddlyWikis. They are my electronic counterpart of a notepad. All notes, thoughts and code snippets with the interface for editing and searching in one single file to be carried around and used everywhere, I have a web browser &#8230; <a href="http://olaf-fiedler.de/converting-tiddlywiki-syntax-into-dokuwiki-markup-with-textmate/21/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I like <a title="TiddlyWiki Homepage" href="http://tiddlywiki.com/" target="_blank">TiddlyWikis</a>. They are my electronic counterpart of a notepad. All notes, thoughts and code snippets with the interface for editing and searching in one single file to be carried around and used everywhere, I have a web browser at hands. But after heavy usage during at least three years I had collected too much of them and encountered the drawbacks: orphanhood and redundancy. Dozens of chunks of information I could not remember the path to the TiddlyWiki file I have put them into, and some other notes in several TiddlyWikis partly doubled and partly scattered without a link between the pieces.</p>
<p>Hence it was time to clean up things and put together what was living in the virtual diaspora of my hard disks. My remedy of choice is <a title="DokuWiki home wiki" href="http://www.dokuwiki.org/dokuwiki" target="_blank">DokuWiki</a>, a wiki software with an active community and few requirements, because the storage is based on plain old text files. Shortly: It needs a running web server with a PHP installation. The main disadvantage: It is not as easy to move back and forth to memory gadgets as it is with TiddlyWikis.</p>
<p>Unfortunately the markup notations used by both wikis differ in quite a lot of the typographic idioms. First I edited some of the tiddlers (as the tidbits of content are called in a TiddlyWiki) manually to make them fit into DokuWiki&#8217;s markup grammar, just to get a feeling for the process and quickly let the programmer&#8217;s layziness in me take over. The result was a command for my favourite and on macs very popular text editor <a title="the missing editor" href="http://macromates.com/" target="_blank">TextMate</a>, written in Ruby:</p>
<pre>#!/usr/bin/env ruby -w
# Tiddly2DokuWiki - Converting TiddliWiki markup into DokuWiki markup
# [03.03.09:ofi]
$KCODE = 'U'
# Method of simple simultaneous conversion taken from
# "Ruby Cookbook, Recipe 1.18"
class String
  def mgsub (key_value_pairs=[].freeze)
    regexp_fragments = key_value_pairs.collect { |k,v| k }
    gsub( Regexp.union( *regexp_fragments ) ) do |match|
      key_value_pairs.detect{ |k,v| k =~ match } [1]
    end
  end
end
def simple_convert (text)
  text.mgsub([
    [/''/, '**' ],  #bold
    [/^\*[^*]/, '  * '],  # unordered lists 1st level
    [/^\*\*[^*]/, '    * '],  # unordered lists 2nd level
    [/^\*\*\*[^*]/, '      * '],  # unordered lists 3rd level
    [/^#[^#]/, '  - '],  # ordered lists 1st level
    [/^##[^#]/, '    - '],  # ordered lists 2nd level
    [/^###[^#]/, '      - '], # ordered lists 3rd level
    [/\|\!/, '^ '],  # table header
    [/\|\|/, '| |'],  # empty cell to blank cell, because...
    [/\|\~/, '| '],  # row span not supported in DokuWiki, use blank
    [/^\{\{\{$/, '&lt; code&gt;'], [/^\}\}\}$/, '&lt; /code&gt;']  # code paragraphs
# ATTENTION!       ^----- these blanks -----^  have to be removed!!!
# They are here only not to screw up the code output within WordPress!
  ])
end

text = simple_convert( STDIN.read ) # simple substitutions

text.gsub!( /\~(\w+)/, '\1' )  # remove WikiWord escapes
text.gsub!( /--(.+?)--/, '&lt; del&gt;\1&lt; /del&gt;' )  # strike thru
# ATTENTION! these blanks -^-------^  have to be removed!!!
# They are here only not to screw up the code output within WordPress!
text.gsub!( /^\!\s*(\w.*)/, '===== \1 =====' )  # h1 --&gt; h2
text.gsub!( /^\!\!\s*(\w.*)/, '==== \1 ====' )  # h2 --&gt; h3
text.gsub!( /^\!\!\!\s*(\w.*)/, '=== \1 ===' )  # h3 --&gt; h4
text.gsub!( /\[\[(.+?)\|(.+?)\]\]/, '[[\2|\1]]' ) # links with text
text.gsub!( /\{\{\{(.+?)\}\}\}/, '\'\'\1\'\'' )  # code inline literals
# now the "master piece": converting column spanning table cells:
text.gsub!(/\|((&gt;\|)+)([^|]+)\|/) {|m| '|' +$3 + '|'*($1.length/2) + '|' }
print text</pre>
<p>This code is to be saved as a new command with the options <em>Input: &#8220;Selected Text&#8221; or &#8220;Document&#8221;</em> and <em>Output: &#8220;Replace Selected Text&#8221;</em>, allowing you to choose between only converting the selected part of text or all of it when nothing is selected. As always you can assign a key for activation if you like, but more important: <strong>Don&#8217;t forget to remove the spaces after the opening angular brackets in the &#8220;code&#8221; and &#8220;del&#8221; tags as indicated in the source!</strong> I had to insert them to not confuse the WordPress markup.</p>
<p>Disclaimer: This code is provided as is. It may serve as a tool for the purpose described here but I deny any fitness of it for any kind of usage. If  you use it, you agree that I am not responsible for any consequences following of its use.</p>
<p>That said, it does work well for me, but has some weaknesses:</p>
<ul>
<li>The conversion is stateless, meaning that it does not distinguish if a conversion takes place wihtin a &#8220;code&#8221; or a &#8220;text&#8221; section. Thus it will convert strings within code snippets as well.</li>
<li>Hard line breaks will not be converted to the DokuWiki pendants (double backslash before newline or whitespace) for the same reason.</li>
<li>Conversion rules for superscript and subscript are missing. If you need them you may take the rule for the &#8220;strike through&#8221; format as a template and roll your own.</li>
</ul>
<p>To transfer the code between the textareas of a wiki page and TextMate I use the <a title="It's All Text! add-on page " href="https://addons.mozilla.org/de/firefox/addon/4125" target="_blank">It&#8217;s All Text!</a> add-on for Firefox, but copy and paste will do as well.</p>
<p>Definitely I will continue using TiddlyWikis, and with this command snippet I can do the housekeeping as long as I can keep track of all these tiddlers &#8211; hopefully.</p>
]]></content:encoded>
			<wfw:commentRss>http://olaf-fiedler.de/converting-tiddlywiki-syntax-into-dokuwiki-markup-with-textmate/21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing the Broken Gem Update Chain on Mac OS X 10.5</title>
		<link>http://olaf-fiedler.de/fixing-the-broken-gem-update-chain-on-mac-os-x-105/16/</link>
		<comments>http://olaf-fiedler.de/fixing-the-broken-gem-update-chain-on-mac-os-x-105/16/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 12:15:51 +0000</pubDate>
		<dc:creator>ofi</dc:creator>
				<category><![CDATA[IT (en)]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rubygems]]></category>

		<guid isPermaLink="false">http://olaf-fiedler.de/fixing-the-broken-gem-update-chain-on-mac-os-x-105/16/</guid>
		<description><![CDATA[After a long time when I had no chance working on rails projects I wanted to update Rails for diving into the changes and new features of the new 2.2 version. Because of Rails now needs gem version 1.3.x and &#8230; <a href="http://olaf-fiedler.de/fixing-the-broken-gem-update-chain-on-mac-os-x-105/16/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After a long time when I had no chance working on rails projects I wanted to update Rails for diving into the changes and new features of the new 2.2 version. Because of Rails now needs gem version 1.3.x and I still had 1.1.0 running, I started a gem update:</p>
<pre>$ sudo gem update --system</pre>
<pre>Updating RubyGems
Bulk updating Gem source index for: http://gems.rubyforge.org/
Updating rubygems-update
ERROR:  While executing gem ... (Gem::GemNotFoundException)
    could not find rubygems-update locally or in a repository</pre>
<p>Oops. After reading some posts on the net that mainly covered the problem of gem erroneously stating that there is nothing to update, and which was not the case here, I stumpled upon a <a href="http://newsgroups.derkeiler.com/Archive/Comp/comp.lang.ruby/2008-06/msg02404.html" target="_blank">posting</a>, which led me to the recipe described here (at least for my own further reference).</p>
<p>Working on Mac OS X 10.5.5 (at the time of writing) it goes like this:</p>
<ol>
<li>Download the rubygems-update gem of the desired target version, e. g. from <a href="http://gems.rubyforge.vm.bytemark.co.uk/gems/" target="_blank">http://gems.rubyforge.vm.bytemark.co.uk/gems/</a>, to a directory of Your choice.</li>
<li>In a Terminal window (or iTerm or whatever Your preferred shell CLI is) cd into the directory and issue the following commands:</li>
<li>
<pre>$ sudo gem install -l rubygems-update-1.3.1.gem
# actual version's name of file You downloaded</pre>
</li>
<li>
<pre>$ sudo update_rubygems
# important!! (NOT gem update --system)</pre>
</li>
<li>Check version:
<pre>$ gem --version</pre>
<pre>1.3.1</pre>
</li>
</ol>
<p>Afterwards a &#8220;gem update&#8221; should behave as usual. Although described for the mentioned operating system this should work on Ubuntu Linux (and others using the sudo mechanism) as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://olaf-fiedler.de/fixing-the-broken-gem-update-chain-on-mac-os-x-105/16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL on Mac OS X 10.5 and Some Mysteries</title>
		<link>http://olaf-fiedler.de/postgresql-on-mac-os-x-105-and-some-mysteries/15/</link>
		<comments>http://olaf-fiedler.de/postgresql-on-mac-os-x-105-and-some-mysteries/15/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 20:33:44 +0000</pubDate>
		<dc:creator>ofi</dc:creator>
				<category><![CDATA[IT (en)]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://olaf-fiedler.de/postgresql-on-mac-os-x-105-and-some-mysteries/15/</guid>
		<description><![CDATA[To use my favourite open source database, I installed PostgreSQL version 8.2.5 from the source code on my mac. In doing so I followed these instructions, taking into account what suited best my personal preferences: http://evang.eli.st/blog/2007/10/28/ installing-postgres-8-2-on-leopard-includes-system-account http://acts-as-blog.net/2007/11/4/postgresql-auf-mac-os-x-10-5 (in german) &#8230; <a href="http://olaf-fiedler.de/postgresql-on-mac-os-x-105-and-some-mysteries/15/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To use my favourite open source database, I installed PostgreSQL version 8.2.5 from the source code on my mac. In doing so I followed these instructions, taking into account what suited best my personal preferences:</p>
<ul>
<li><a href="http://evang.eli.st/blog/2007/10/28/installing-postgres-8-2-on-leopard-includes-system-account">http://evang.eli.st/blog/2007/10/28/<br />
installing-postgres-8-2-on-leopard-includes-system-account</a></li>
<li><a href="http://acts-as-blog.net/2007/11/4/postgresql-auf-mac-os-x-10-5">http://acts-as-blog.net/2007/11/4/postgresql-auf-mac-os-x-10-5</a> (in german)</li>
</ul>
<p>Both articles reflect the  changes in Leopard concerning the runtime administration of system services:</p>
<ul>
<li>The directory /etc/rc.d is now definetely deprecated. For starting and stopping system services launchd(8) and its controlling-facility launchtl(1) are the tools of choice.</li>
<li>The NetInfo database and its manager are history as well (at least as far as Leopard is concerned). Hence users and groups which are virtual and only of some system specific interest, and therefore should not show up on the  login screen, have to be created and maintained in <a href="http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/additionalfeatures/chapter_10_section_9.html">Leopard&#8217;s Open Directory</a> with the dscl(1) command.</li>
</ul>
<p>The second article offers a script for having PostgreSQL started automatically by launchd, but it doesn&#8217;t work for me: After rebooting the machine postmaster (the database server process) didn&#8217;t start again. The logfile said, that it could be running already because the lockfile postmaster.pid in PostgreSQL&#8217;s data directory was still there. I had it installed under /usr/local/pgsql with the subdirectory data therein. So I deleted the .pid file (via sudo), but postmaster did not start, this time complaining about insufficient rights in the directory. In fact as the user _postgres I was not allowed to create any file in the directory although the rights mask said &#8220;drwx&#8212;&#8212;&#8221; as it should be with the directory belonging to user _postgres. Funny. Finally I worked around the problem by initializing a new data directory under /Users/Shared/PostgreSQL (and hence created a mixture of the two above mentioned recipes). Then postmaster could start again, but the problem remains that in case of a system shutdown the process seems not to be able to clean things up. Hence I wrote two simple scripts to start and stop PostgreSQL on demand (giving only the first here):<br />
<code>sudo -u _postgres pg_ctl -D /Users/Shared/PostgreSQL/data start</code><br />
So, if someone could enlighten me, what went wrong &#8211; especially with the missing rights phenomenon, and on gracefully stopping system serivces by launchd, please do. I would appreciate it very much.</p>
<p>[Update]: Just after finishing the post, I found the following link in the first cited article&#8217;s comments: <a href="http://www2.russbrooks.com:8080/2007/11/4/install-postgresql-on-mac-os-x-10-5-leopard">http://www2.russbrooks.com:8080/2007/11/4/ install-postgresql-on-mac-os-x-10-5-leopard</a> which in turn includes a link to <a href="http://www.postgresqlformac.com/">http://www.postgresqlformac.com/</a> (for those behind a firewall not allowing access to port 8080), offering an installer with a precompiled binary and taking the burden of installing from the sources.</p>
]]></content:encoded>
			<wfw:commentRss>http://olaf-fiedler.de/postgresql-on-mac-os-x-105-and-some-mysteries/15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrating Ruby GetText with ActiveScaffold</title>
		<link>http://olaf-fiedler.de/integrating-ruby-gettext-with-activescaffold/14/</link>
		<comments>http://olaf-fiedler.de/integrating-ruby-gettext-with-activescaffold/14/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 23:15:20 +0000</pubDate>
		<dc:creator>ofi</dc:creator>
				<category><![CDATA[IT (en)]]></category>
		<category><![CDATA[gettext]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[l10n]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://olaf-fiedler.de/integrating-ruby-gettext-in-activescaffold/14/</guid>
		<description><![CDATA[About half a year ago I wrote a snippet of code to make the GetText package for the Ruby programming language to work with ActiveScaffold, a highly configurable dynamic editing facility for Ruby On Rails applications. I published this as &#8230; <a href="http://olaf-fiedler.de/integrating-ruby-gettext-with-activescaffold/14/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>About half a year ago I wrote a snippet of code to make the <a href="http://www.yotabanana.com/hiki/ruby-gettext.html" title="Ruby-GetText Homepage" target="_blank">GetText package</a> for the <a href="http://ruby-lang.org" title="Ruby Homepage" target="_blank">Ruby programming language</a> to work with <a href="http://activescaffold.com/" title="ActiveScaffold Homepage" target="_blank">ActiveScaffold</a>, a highly configurable dynamic editing facility for Ruby On Rails applications.</p>
<p>I published this as a <a href="http://wiki.activescaffold.com/wiki/published/Integrating+Ruby-GetText" title="Integration Ruby-GetText original article" target="_blank">contribution</a> on <a href="http://wiki.activescaffold.com/wiki/published/HomePage" title="ActiveScaffold Wiki" target="_blank">ActiveScaffold&#8217;s project wiki</a>. Since then there had been at least one supplement by another user. One day the wiki was not availabe, and the link structure changed afterwards and the wiki became read-only. I guess this was the final brake against comment spam, being a plague everywhere on the net by turning community features into an annoying mess of crap.</p>
<p>Today I decided to duplicate my former article here for backup reasons and for getting back the  opportunity to have changes added by myself or others, paying the price of redundancy:<br />
<span id="more-14"></span><br />
(begin of original article)</p>
<p><em>Update 06-27-07 (added missing varargs handling)</em><br />
<em>Update 06-28-07 (enforced signature conformance in #[N]_())</em><br />
<em>Update 09-12-07 (changed to use the <span class="newWikiWord">Action Controller</span> textdomainname and removed setting single locale: <span class="caps">NOTE YOU MUST NOW REQUIRE</span> localize_active_scaffold.rb in the body of your application controller)</em></p>
<p>Integrating the <a href="http://www.yotabanana.com/hiki/ruby-gettext.html">Ruby GetText Package</a><br />
(V &gt;= 1.2.0) with Active Scaffold (V &gt;= 1.1) took me almost the whole yesterday.</p>
<p>The problems I encountered are already mentioned in the forum, so I won’t repeat them here. I came to a solution which is by no means “perfect”, but it works with bearable effort. It developed (more by itself than by me <img src='http://olaf-fiedler.de/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' /> out of the “old” <a href="http://wiki.activescaffold.com/wiki/published/ActiveScaffold" class="existingWikiWord">Active Scaffold</a> Localization Plugin sources, I had consulted for a clue.</p>
<p>The core of the solution is the following module to be placed in your app’s lib subdirectory:</p>
<pre>
#  localize_active_scaffold.rb
#  Created by ofi on 2007-06-24.
#  Published under MIT license (like RoR).
#
module LocalizeActiveScaffold

  include GetText

  # [09-12-07] changed to use the ActionController textdomainname
  # and removed setting single locale
  bindtextdomain(ActionController::Base.textdomainname, :path =&gt;
    File.join(RAILS_ROOT, "locale"))

  GT_LOG = Logger.new("#{RAILS_ROOT}/log/gettext.log")
  GT_LOG.level = Logger::WARN
  GT_LOG.error "**** Started log at #{Time.new.to_s}"

  # [06-27-07] no varargs parameter anymore
  # [07-12-07]:(anonymous) use GetText.s_ when column name is specified
  def self.translate(string_to_localize)
    if string_to_localize.include?('|')
      res = s_(string_to_localize)
      GT_LOG.debug "translate() called for: #{string_to_localize} =&gt; #{res}"
      if GT_LOG.warn? and (res == string_to_localize.split(/\|/).pop)
        GT_LOG.warn "No translation for &lt;#{string_to_localize}&gt;!"
      end
    else
      res = _(string_to_localize)
      GT_LOG.debug "translate() called for: #{string_to_localize} =&gt; #{res}"
      if GT_LOG.warn? and (res == string_to_localize)
        GT_LOG.warn "No translation for &lt;#{string_to_localize}&gt;!"
      end
    end
    return res
  end

  # [06-27-07] no varargs parameter anymore
  def self.dont_translate(string_to_localize)
    N_(string_to_localize)
  end

private

  # The following strings contained in the ActiveScaffold plugin in various
  # files serve as a proxy for rgettext (driven by the rake task updatepo)
  # for making them appear in the po files.
  def dummy
    N_('Open')
    N_('Close')
    N_('close')
    N_('Edit')
    N_('Delete')
    N_('Show')
    N_('Search')
    N_('Search Terms')
    N_('No Entries')
    N_('Found')
    N_('Create New')
    N_('Are you sure?')
    N_('Cancel')
  end

end

# The following methods delegate ActiveScaffold's call to as_() as well as
# gettext's calls to _() to the above translate() method:
class Object

  # [06-28-07]: enforce single argument signature
  def _(*args)
    LocalizeActiveScaffold.translate(args[0].to_s)
  end

  # [06-28-07]: enforce single argument signature
  def N_(*args)
    LocalizeActiveScaffold.dont_translate(args[0].to_s)
  end

  # coupling ActiveScaffold to gettext by declaring this
  # method, which will be called by AS:
  # [06-27-07]: now calling the insertion operator on the
  # varargs parameters (if any). CAVEAT: Too few parameters
  # will deliver nil as the method's result!
  # [06-28-07]: less is more: removed redundant cond. expr.
  def as_(loc_string, *args)
    LocalizeActiveScaffold.translate(loc_string) % args
  end

end

# following method replaces column labels into 'ClassName|Attribute name' forms.
# gettext returns column name as that's form.
# [07-12-07]:(anonymous)
module ActiveScaffold::DataStructures
  class Column
    def initialize_with_gettext(name, active_record_class)
      initialize_without_gettext(name, active_record_class)
      self.label = active_record_class.name.demodulize + '|' +  self.label.humanize
    end
    alias_method_chain :initialize, :gettext
  end
end</pre>
<p>What it does:</p>
<ul>
<li>The enhancements to Object take care for the appropriate calls at runtime. I first tried without N_(), but saw in the log, that all strings in a “dclarative” context like in arrays or the AS config blocks triggered at least two calls, meaning that translation may happen too early, and in a real multi-language application with possible locale switches between requests, the user will be presented with the wrong translation.</li>
</ul>
<ul>
<li>The private dummy method only flags terms for rgettext which appear in the AS sources in various files.</li>
</ul>
<ul>
<li>The logger GT_LOG in the tranlsate() method when set to <span class="caps">WARN</span> will note down phrases not translated into log/gettect.log, so you can add these terms to dummy(), do the “rake updatepo; edit &lt;&#8230;&gt;; rake makemo” dance (see the Ruby Gettext pages for details), et voilà.</li>
</ul>
<p>To use the module You will need to “require” it in your application.rb file after init_gettext like:</p>
<pre><code>...
class ApplicationController &lt; ActionController::Base
  init_gettext 'your_app'
  require "localize_active_scaffold"
...</code></pre>
<p>Of course I won’t win a programming-elegance award with this, but as long as it can save someone some time I wish I had spent with something else, this is all I’d like to achieve.</p>
<p>(end of original article)</p>
]]></content:encoded>
			<wfw:commentRss>http://olaf-fiedler.de/integrating-ruby-gettext-with-activescaffold/14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Die Katze schnurrt wieder &#8211; wenn auch mit Schluckauf</title>
		<link>http://olaf-fiedler.de/die-katze-schnurrt-wieder-wenn-auch-mit-schluckauf/13/</link>
		<comments>http://olaf-fiedler.de/die-katze-schnurrt-wieder-wenn-auch-mit-schluckauf/13/#comments</comments>
		<pubDate>Sun, 02 Dec 2007 13:07:47 +0000</pubDate>
		<dc:creator>ofi</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[macosx]]></category>

		<guid isPermaLink="false">http://olaf-fiedler.de/die-katze-schnurrt-wieder-wenn-auch-mit-schluckauf/13/</guid>
		<description><![CDATA[Seit nunmehr Wochen läuft die erste Rundum-Überholung vom Leoparden auf meinem Gerät, und das Ensemble läuft nun auch deutlich harmonischer. Dennoch: Die Sicherheitslücken sind noch nicht ganz ausgeräumt und wichen in Teilen eher eine Re-Definition der Sicherheitsfrage als einer wirklichen &#8230; <a href="http://olaf-fiedler.de/die-katze-schnurrt-wieder-wenn-auch-mit-schluckauf/13/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Seit nunmehr Wochen läuft die erste Rundum-Überholung vom Leoparden auf meinem Gerät, und das Ensemble läuft nun auch deutlich harmonischer. Dennoch: Die Sicherheitslücken sind noch nicht ganz ausgeräumt und wichen in Teilen eher eine Re-Definition der Sicherheitsfrage als einer wirklichen Lösung, wie jedenfalls ich durch Vermissen der zugehörigen Seiten auf dem Apple-Support-Portal den Eindruck gewann. In der Gemeinde weiß man zu berichten, dass der Netzwerkzugriff auf externe Laufwerke am Air Port noch nicht wieder reibungslos funktioniert, wie überhaupt die Verbindung zu den WiFi-Büchsen noch durch sporadische Abbrüche geprägt zu sein scheint. Bisweilen verzichte ich auf das Netzlaufwerk, und der reine Netzwerkverkehr läuft hier zufrieden stellend.</p>
<p>Auch die Firma Guillemot (die mit der Hercules DJ Console) hat sich gemeldet und beschrieb, wie man die (fehlerhafte) Prüfroutine auf die OS-Version außer Kraft setzt. Schon geht&#8217;s.</p>
<p>Bleibt einzig noch das Geplänkel mit SWSoft. Denn wie schon im letzten Beitrag zum Thema beschrieben, funktioniert der neueste Update von Parallels Desktop nur mit der Version 3.0. Schlimmer noch: Erst nach dem elektronischen Erwerb des Updates auf die Version 3.0 durfte ich feststellen, dass Versionen unterschiedlicher Lokalisation nicht update-kompatibel sind. Vor dem Kauf war da nirgends ein Warnhinweis. Das zeigt mal wieder: Man sollte sich doch dringend vor einer Anschaffung in den Foren informieren. Die Rückabwicklung des Kaufs ging dann problemlos, aber einen Distributor, bei dem ich online die passende deutsche Version des Updates beziehen könnte, habe ich immer noch nicht. Hinweise nehme ich dankend entgegen.</p>
<p>Fazit: Im Apple-Kern läuft das Mac OS wieder rund. Wer die volle Air-Port-Funktionalität nutzen möchte/muss oder auf den Anschluss spezieller Hardware angewiesen ist,  sollte immer noch mit dem Update warten. Bei neuen Erfahrungen zu weiteren Updates wird hier mehr zu lesen sein.</p>
]]></content:encoded>
			<wfw:commentRss>http://olaf-fiedler.de/die-katze-schnurrt-wieder-wenn-auch-mit-schluckauf/13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vorl&#228;ufige &quot;Warnung vor dem Leoparden&quot;</title>
		<link>http://olaf-fiedler.de/vorlaeufige-warnung-vor-dem-leoparden/11/</link>
		<comments>http://olaf-fiedler.de/vorlaeufige-warnung-vor-dem-leoparden/11/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 20:43:43 +0000</pubDate>
		<dc:creator>ofi</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[macosx]]></category>

		<guid isPermaLink="false">http://olaf-fiedler.de/vorlaeufige-warnung-vor-dem-leoparden/11/</guid>
		<description><![CDATA[Also das neue Mac OS 10.5 ist noch nicht der Hit, zumindest hinsichtlich dessen, was stabilitätsverwöhnte Apple-User so erwarten. Derzeit läuft Einiges an peripherer Hardware noch nicht. So warte ich derzeit auf die Firma Guillemot (die mit dem Markennamen Hercules), &#8230; <a href="http://olaf-fiedler.de/vorlaeufige-warnung-vor-dem-leoparden/11/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Also das neue Mac OS 10.5 ist noch nicht der Hit, zumindest hinsichtlich dessen, was stabilitätsverwöhnte Apple-User so erwarten. Derzeit läuft Einiges an peripherer Hardware noch nicht. So warte ich derzeit auf die Firma Guillemot (die mit dem Markennamen Hercules), bei der ich mal fragte, wann ich damit rechnen kann, dass meine DJ-Console wieder funktioniert, oder ob jemals. Die User-Foren sind voll mit <a href="http://www.apfeltalk.de/forum/leopard-kompatible-inkompatible-t103600.html">Problemberichten</a> zu mangelnder Kompatibilität der einen oder anderen Software, und in diversen <a href="http://www.heise.de/security/artikel/98090/Ein-zweiter-Blick-auf-die-Firewall-in-Mac-OS-X-Leopard">Fachbeiträgen</a> und <a href="http://www.spiegel.de/netzwelt/tech/0,1518,514860,00.html">solchen nicht vom Fach</a> müssen wir erfahren, dass sich die Firma Apple in puncto Sicherheit sich nicht gerade mit Ruhm bekleckert.</p>
<p>Ich persönlich habe es jetzt seit vier Tagen installiert und empfehle noch zu warten, bis die Apfel-Leute sich mal wieder von ihrem Telefon abwenden und Ihrem Betriebssystem zuwenden können. Das erste Update nach Erscheinen des Leoparden war ein dringender Fix der Login-Komponente. Bezeichnenderweise widmete sich das zweite Update schon wieder der besseren Integration des iPhones in iTunes &#8211; oder umgekehrt. Wie ich es sehe ist Apple gerade dabei mit Hochgeschwindigkeit seine Vorschuss-Lorbeeren zu verbrennen.</p>
<p>Hinzu kommt, dass z. B. die Firma SWSoft &#8211; Hersteller der Virtualisierungssoftware Parallels &#8211; die Gelegenheit nutzt, mit der neuen Mac-OS-Version auch gleich Ihre eigenen Updates zu verkaufen: Der Fix, damit Parallels auch unter dem Leoparden (oder hinter ihm her <img src='http://olaf-fiedler.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ) rennt, funktioniert nur mit der neuesten Version 3.0 des Parallels Desktop. Das mag ja technische Gründe haben, aber die Gelegenheit ist natürlich zu verlockend, als dass man geneigt wäre allein daran zu glauben.</p>
<p>In Summe lässt sich festhalten, dass wohl erst einmal drei Monate ins Land gehen werden, bis sich die Dünung der doch rauhen Umstellung wieder gelegt hat und dem plätschernden Gedümpel softwaretechnischer Unaufgeregtheit weicht, das man als Mac-User so liebt.</p>
]]></content:encoded>
			<wfw:commentRss>http://olaf-fiedler.de/vorlaeufige-warnung-vor-dem-leoparden/11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X Leopard: A Collection Of Pitfalls And Workarounds</title>
		<link>http://olaf-fiedler.de/leopard-pitfalls-workarounds/10/</link>
		<comments>http://olaf-fiedler.de/leopard-pitfalls-workarounds/10/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 19:38:31 +0000</pubDate>
		<dc:creator>ofi</dc:creator>
				<category><![CDATA[IT (en)]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[macosx]]></category>

		<guid isPermaLink="false">http://olaf-fiedler.de/leopard-pitfalls-workarounds/10/</guid>
		<description><![CDATA[This post describes the problems I encountered while upgrading to Mac OS X 10.5 "Leopard" and their solutions (where possible) in the order encountered, which may be of significance for a certain problem to be reproducable or not. <a href="http://olaf-fiedler.de/leopard-pitfalls-workarounds/10/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This post describes the problems I encountered while upgrading to Mac OS X 10.5 &#8220;Leopard&#8221; and their solutions (where possible) in the order encountered, which may be of significance for a certain problem to be reproducable or not.</p>
<p>First of all I had made a backup of all relevant files on my notebook, which is strongly encouraged even for typical mac users accustomed to enhanced stability, which should not be taken for granted as we will see. The hardware was a MacBook with a dual core Intel processor and 2 GBytes of RAM.</p>
<p><span id="more-10"></span></p>
<h3>Installation:</h3>
<p>After inserting the installation DVD and switching to German as my preferred language, I had chosen the &#8220;Update&#8221; option from the menu, which yielded a &#8220;blue screen&#8221; with no interaction possibilites after the first reboot, and after the second, and so on. Apple has confirmed this problem, stating that third party &#8220;application enhancing software&#8221; causes this behaviour. After skimming about 100 posts in various forums I came to the conclusion that any installed software being in some sort &#8220;near&#8221; to the system is sufficient to get this phaenomenon. In my case it was either the ClamXav virus scanner or the  GlowWorm firewall. But becaus I didn&#8217;t know exactly I decided to undergo the general solution suggested by Apple to make at least an &#8220;Archive And Install&#8221;:</p>
<p>When I managed to remember pressing the option key while booting and entering the open firmware password, I booted from the DVD and this time I chose &#8220;Archive And Install&#8221;, which copies all programs, user accounts and settings to a directory &#8220;/Previous Systems&#8221;, if the box for remembering the network settings had been marked.  This time it worked.</p>
<h3>OpenFirmware Password Utility:</h3>
<p>By the way: The open firmware program for changing the password was not as easy to find as it was on the Tiger disc, although the directory still is &#8220;/Volumes/Mac OS X Install DVD/Applications/Utilities/&#8221;. The directory is hidden in the finder. To copy it to Your harddrive You should either use the Terminal, or when the Leopard dis is mounted type Command+Shift+G in the Finder (or Desktop), enter the above mentioned path and You may drag a copy to where You want (mostly /Applications/Utilities).</p>
<h3>KeePassX:</h3>
<p>Now I needed my passwords for connecting to the rest of the world. There is an issue with the former KeePassX version, but thankfully there was a <a href="http://www.keepassx.org/news/2007/10/41" title="KeePassX blog">hotfix version for Leopard</a> as well, which worked out of the box for me.</p>
<h3>Problems with AirPort and attached drive(s):</h3>
<p>Being always short on disk space on my notebook&#8217;s hard drive I decided to back up the above mentioned &#8220;/Previous Systems&#8221; folder. My standard tool is rync although this perhaps was a little bit overdosed, because rsync has got its strengths for repeated backups, but first You never know and second I am accustomed to its synopsis. For some time rsync was syncing, the disk was spinning and rain was falling (on the outside) when all of a sudden I was to experience my first kernel panic on Mac OS ever (&#8220;ever&#8221; refeers to somewhat in the middle of 2003). After reboot I found in the crash log a line telling me that rsync was trying to write a &#8220;corrupt node&#8221; to an HFS+ volume. And I couldn&#8217;t mount the remote disk again. After installing Apple&#8217;s Update of the &#8220;login and keychain components&#8221;, I could not even talk to the AirPort in general although it routed my internet traffic without distortion. After Resetting the AirPort (unplug, some whistling, re-plug) I was able to read the AirPort settings and mount the volume again, which now was empty! After releasing the drive and plugging it into the local USB port I got the message that the volume could not be repaired and I should reformat it. A second repair trial with the HD tool was aborted due to a &#8220;corrupt node in the tree structure&#8221; which now sounded familiar. Thanks to my paranoia I have more than one backup for really important files, but I still dont know how to make time which in turn means that I was not amused. So I dumped the old volume and had it reformatted for my first test of Leopard&#8217;s new backup feature, the &#8220;Time Machine&#8221;.</p>
<h3>Time Machine:</h3>
<p>Because I could not find any information in advance whether Time Machine needs the whole external drive exclusively or could use an image on that drive, I simply had to give it a try: No, you cannt use an image on that drive, and it does not require the drive to be used exclusively by itself. It creates a subdirectory under the drive&#8217;s root and in it a hierarchiy of directories of machines, volumes and timestamps. It will use the drive until it is full, and there are no hidden files, directories or whartever &#8211; according to the help files. So one should be able to use it for other purposes as well. The throughput is reported to be around 8 to 10 MB/s in several forums, which I have not measured myself, but I can tell that it takes some time, especially and not surprisingly for the inital backup made.</p>
<p>Most important: It worked. But: The intervals of the snapshots taken are fixed (every hour, every day, and so on). Until now I did not find a facility to specify excludes by a pattern, or even a name for repeated subdirectories, e. g. like &#8220;vimbackup&#8221; or &#8220;Caches&#8221;. An ongoing time machine run may be interrupted from the corresponding subpanel in system controls. I have tested unmounting the backup volume, which caused the backups to be paused as excpected. After mounting the corresponding volume again Time Machine resumed the backups, and I recovered a directory from a snapshot two days old.  I did not make a complete system recovery from some point in the past; there are reports in the net, that this may cause to corrupt the whole installation (sorry, I have not saved the link).</p>
<h3>NeoOffice:</h3>
<p>Because this is my general purpose office package I installed the 2.2.2 version with german language pack and an <a href="http://www.neooffice.org/neojava/en/patch.php">offered</a> &#8220;0-Patch&#8221; with Leopard support. The promised QuickLook feature then worked with OpenOffice files, although I still don&#8217;t see the use of an overview consisting of a black outline in front of a black background. Maybe it&#8217;s tweakable somewhere; I dont&#8217; know yet.</p>
<h3>Developer Tools:</h3>
<p>Nothing special here; the default installation (without WebObjects but including the CLI tools) worked for me. Any specialties and pitfalls arising from the new version will be covered later if appropriate. Only one remark: I am sure to have read in some kind of document I cannot remember anymore that die CLI tools are not part of the default installation, but they are.</p>
<h3>(Lack Of) Security:</h3>
<p>After installation Leopard&#8217;s firewall is open (!) allowing incoming connections to any running service. The settings for the firewall are located in &#8220;System Settings&#8221; -&gt; &#8220;Security&#8221; under the firewall tab. Before you switch on application dependant filtering, which usually is a fine mechanism to control outgoing traffic, beware! There are issues known, leading to applications not working anymore. For a concise reading about the whole thing I recommend <a href="http://securosis.com/2007/11/01/investigating-the-leopard-firewall/">this article on securosis.com</a>.  At the time of this writing the best compromise seems to be to disallow incoming connctions and enable the stealth mode by checking the box in the enhanced options dialog.</p>
<h3>PostgreSQL:</h3>
<p>To install a current version of this database I obtained the source files from the <a href="http://www.postgresql.org/">PostgreSQL</a> download area and generally followed the instructions of <a href="http://acts-as-blog.net/2007/11/4/postgresql-auf-mac-os-x-10-5">this article</a> which unfortunately is written in german, but an <a href="http://evang.eli.st/blog/2007/10/28/installing-postgres-8-2-on-leopard-includes-system-account">alternate source</a> will get You to a running database as well, although the latter does not include an example for a new launch daemon control file. For those (like me) who experience warning of short shared memory or other kernel ressources when starting the database, this <a href="http://forums.realsoftware.com/viewtopic.php?p=93638">very short but sufficient posting</a> may help.</p>
<h3>MySQL:</h3>
<p>If You were already runnning a MySQL of version 5.0.45, You can get along with more or less just copying Your old installation following <a href="http://blog.tomatocheese.com/archives/2007/11/1/migrating_mysql_to_mac_os_x_leopard/" title="TomatoCheese Blog" target="_blank">these instructions</a>. I had no luck in using this procedure, maybe because I was still using version 5.0.41. So I installed the 5.0.45 binary from the MySQL website, but did not install the System Preferences pane. Instead I used the <a href="http://developer.apple.com/macosx/launchd.html">launchd</a> configuration from the above linked post.</p>
<h3>Concluding remark:</h3>
<p>This was all I needed for having my development stack working again. Of course there are several additional issues to be solved and I have not yet touched iPhoto or iTunes yet. By the way, since last night there are updates available: Better iPhone integration of iTunes and Quicktime. Facing the bugs of leopard one tends to wonder who at Apple is setting priorities.</p>
]]></content:encoded>
			<wfw:commentRss>http://olaf-fiedler.de/leopard-pitfalls-workarounds/10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Navigationsger&#228;te sind wohl eher (noch) Spielzeug</title>
		<link>http://olaf-fiedler.de/navi-spielzeug/9/</link>
		<comments>http://olaf-fiedler.de/navi-spielzeug/9/#comments</comments>
		<pubDate>Sun, 04 Nov 2007 00:10:30 +0000</pubDate>
		<dc:creator>ofi</dc:creator>
				<category><![CDATA[Mobile Navigation]]></category>

		<guid isPermaLink="false">http://olaf-fiedler.de/navi-spielzeug/9/</guid>
		<description><![CDATA[Gestern bin ich von unserem einwöchigen Toskana-Ausflug zurückgekehrt, und bei der Gelegenheit habe ich zum ersten Mal eines dieser kleinen Wegstrecken-Helferlein ausprobiert. Es war ein Navigon 3110, aber das ist eigentlich unerheblich und nur insofern von Belang als dass ich &#8230; <a href="http://olaf-fiedler.de/navi-spielzeug/9/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Gestern bin ich von unserem einwöchigen Toskana-Ausflug zurückgekehrt, und bei der Gelegenheit habe ich zum ersten Mal eines dieser kleinen Wegstrecken-Helferlein ausprobiert. Es war ein Navigon 3110, aber das ist eigentlich unerheblich und nur insofern von Belang als dass ich den Kartenbestand von ganz Westeuropa einschl. der Städte zur Verfügung haben wollte.<span id="more-9"></span></p>
<p>Am Anfang ging noch so weit alles gut. Das Gerät war einigermaßen fix eingerichtet, auch wenn die Behelfsmontage mit Saugfuß an der Frontscheibe, Stromzuführung über die ZA-Buchse, Zwischenkabel mit TMC-Empfänger, daran angeschlossener Wurfantenne und deren eigener Befestigung mittels zweier weiterer Saugfüßchen das Cockpit schon etwas unaufgeräumt wirken ließ. Die Führung über die Autobahnen bis nach Italien war unproblematisch, und bis Südtirol gab es auch einen TMC-Empfang, also die Informationen, die dem Gerät eine automatische Stauumfahrung ermöglichen sollen. Ob das funktionieren würde, weiß ich nicht, weil die Gelegenheit fehlte.  Wenn ich dann die vorgeschlagene Route verlassen musste, weil die Straße gesperrt war, merkte das Gerätchen das auch meistens recht schnell und rechnete eine Alternative aus. Diese war nur manchmal nicht den Gegebenheiten entsprechend, weil die Sperrung länger war als nur bis zur nächsten Rückführungsmöglichkeit. Das hätte ich ja eingeben können, wenn ich es nur selbst gewusst hätte. Außerdem passierte es, dass wenn man der gesperrten Strecke geografisch zu nahe kam, der elektronische Copilot annahm, dass man wieder auf die ursprünglich vorgesehene Straße zurück gekehrt wäre. Die Frauenstimme mit dem moralischen Unterton verlangte dann &#8220;Bitte wenden&#8221;. Wegen der leichten Quängeligkeit hat mein Herzblatt das Gerät dann Susi getauft, nach unserer ähnlich quängeligen Nachbarskatze, wenn man dieser verwehrt, mitten in der Nacht bei ihrem Frauchen zu klingeln, damit sie eingelassen wird.</p>
<p>In den folgenden Tagen häuften sich dann die Unzulänglichkeiten, die den Nutzwert eines solchen Gerätes nach meinen wohl etwas verwöhnten Ansprüchen stark mindern:  Straßenverläufe und Verkehrsführungen, die sich &#8211; nach dem Straßenzustand zu urteilen &#8211; schon länger geändert haben müssen, waren im Datenbesatand nicht berücksichtigt. Es fehlten Straßennamen, was lästig ist, wenn nach den &#8220;80 Metern&#8221;, nach denen abzubiegen ist, in kurzer Folge vier Querstraßen folgen, und man im Display nicht erkennen kann, welche nun gemeint ist. Wollte man in der Kartenübersicht nachvollziehen, wo man sich jetzt hin &#8220;vernavigiert&#8221; hatte, musste man erst auf eine bestimmte Stufe hinaus zoomen, um überhaupt den Ortsnamen angezeigt zu bekommen.</p>
<p>Die Routenplanung ist auch im Vorfeld auch kaum möglich: Eine errechnete Route kann man nicht anhand einer Liste überfliegen, man muss sich dem vorgezeichneten Verlauf entlang hangeln und dabei dann hinein und hinaus zommen, um an die schriftlichen Informationen zu gelangen. Eine Änderung der Route ist nur umständlich über künstliche Zwischenziele möglich, wenn man z. B. inzwischen weiß, dass eine Ortschaft oder eine bestimmte Straße (s. o.) gesperrt ist.</p>
<p>Als einen Stadtführer habe ich nur einmal versucht, den Wegerechner zu benutzen. Meistens wusste er nicht, in welche Richtung ich stehe, weil ich vermutlich zu langsam laufe, und an der Übersichtlichkeit mangelte es ja ohnehin, insbesondere wenn man an der Kreuzung zweier Gassen steht, die zwar auf dem Display zu sehen sind, nicht aber ihre Namen.</p>
<p>Diese Hemmnisse  sind nicht gerätespezifisch. In der Zwischenzeit habe ich mit anderen Navi-Usern gesprochen, und mir auch andere Geräte angesehen, die ich auf meine Malus-Liste hin abgeklopft habe. In dem einen oder anderen Punkt ist ein beliebiges anderes Gerät möglicherweise besser, hat dann aber wieder größere Mängel an anderer Stelle. Das Kartenmaterial betreffend war keines der anderen von mir betrachteten Geräte besser, wie ich aufgrund ausgewählter Adressen überprüft habe, zu denen ich in der letzten Woche nicht mit Susis Hilfe, sondern nur mit der von Einheimischen gelangt war.</p>
<p>Somit hatte es auch keinen Sinn für mich, das Gerät umzutauschen, denn ein Besseres war nicht in Sicht. Vielleicht versuche ich es nächstes Jahr mal wieder &#8211; hoffentlich mit einer &#8220;Lucy&#8221; oder einer &#8220;Clementine&#8221;, die für alle Wegstreckenprobleme eine Lösung haben.</p>
]]></content:encoded>
			<wfw:commentRss>http://olaf-fiedler.de/navi-spielzeug/9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

