Archive for the ‘Computers and co.’ Category

Aperture Places

Monday, May 31st, 2010

Having returned from our trip to South Tyrol, I grabbed my GPS tracks off my Columbus V900, piped them through GPS Babel and loaded them into Aperture. After placing the first photo on the track to set the time offset, I was shocked. All images were misplaced, some images did not receive GPS coordinates at all… something very strange was going on. After a odyssey through the Internet (where I stumbled across BT747, a nice program to convert track formats), countless conversions from one format to another (via a third format), which all lead to the same crappy result, I found out what was the problem: the time zone which Aperture quietly assumes the track files have. One click here:

…and (amlost) everything was ok – if you place the cursor over a different zone before clicking „ok“, Aperture will also notice that it should apply the changes. Very buggy behavior indeed – and since last time the GPS placement worked fine (which was before daylight savings time), there’s a major bug on the loose here. Here’s the workflow I had to use:

  1. convert Columbus-CSV-files to  GPX (use whatever you like most here, BT747, GPS Babel or anything else but TimeAlbum which causes Aperture to crash repeatably)
  2. Read track into Aperture
  3. Set track time zone to UTC
  4. Place first photo (Caution: use the correct offset to UTC here – in my case, that was MESZ-UTC= -60 min.)
  5. Let Aperture place the rest of the photos along your track.

Preseeding Ubuntu Karmic

Tuesday, November 10th, 2009

So you want to preseed Ubuntu? Fine. You’ve probably read this article. Maybe you’ve seen the scripts, too. However, there are still some gaps wide enough to stumble into. Here’s a quick overview over how to create an unattended install CD. If you want to add customized packages, you’re a bit more adventurous than I was – but this might give you a head start, anyway.

Getting the files out of the ISO

Here’s your first stop. Go grab everything that’s on the original CD image (no need to burn it, the is is just fine if you do this):

mkdir loopdir
mount -o ubuntu_whatever.iso loopdir
# you might need a "modprobe loop" first

Now, grab everything inside and copy it to a place where you can modify it:

mkdir cd
cp -a loopdir/* cd/
cp -a loopdir/.d* cd/

(Others might find a…

rsync -a -H loopdir/ cd

…more elegant. Whatever you do, don’t miss the “.disk” directory – otherwise, you’ll end up with annoying errors when booting from the final CD – which say that it cannot find a live file system).

The preseed configuration file

Now, you’re here. That’s a lot of nice things you can configure there – but the main thing missing in the 8.xx docs is the part about Ubiquity. Here’s an excerpt from my preseed.cfg (you might use that as a quick start – but note that I’ve preseeded a German installation):

# make sure we get over page 6 of the installation questions:
ubiquity        ubiquity/summary        note
# disable this for one single click before reboot:
ubiquity        ubiquity/reboot boolean true
# the rest should be quite self-explanatory:
ubiquity        languagechooser/language-name   select  German
ubiquity        countrychooser/shortlist        select  DE
ubiquity        countrychooser/countryname      select  Germany
ubiquity        countrychooser/country-name      string Germany
debconf         debconf/language        string  de
ubiquity        console-keymaps-at/keymap       select  de
ubiquity        tzconfig/gmt    boolean false
ubiquity        time/zone       select  Europe/Berlin
ubiquity        debian-installer/country        string DE
ubiquity        debian-installer/language       string de
ubiquity        debian-installer/locale select  de_DE.UTF-8
console-setup   console-setup/layoutcode        select  de
console-setup   console-setup/modelcode select  pc105
console-setup   console-setup/layout    select  Germany
console-setup   console-setup/variant   select  Germany

ubyquity        localechooser/supported-locales multiselect\
de_DE.UTF-8 en_US.UTF-8
# this is what the "late_command" in d-i does. I prefer a trick like
# this to do some setup work on the freshly installed machine -
# this script gets pulled from 192.168.1.1 via http and should
# disable itself after execution. Comment this away if you don't
# want it!
ubiquity        ubiquity/success_command        string  wget \ http://192.168.1.1/ubuntu_deploy -O /target/etc/init.d/S99deploy; ln -s\ /etc/init.d/S99deploy /target/etc/rc2.d/S99deploy; chmod ugo+x /target/etc/init.d/S99deploy

Modify boot command line

I prefer the elegant way: I modify menu.cfg in the isolinux dir. Add these lines to the position you like (add it to text.cfg if you want to have it in between the rest of the options):

label unattended
        menu label Unattended auto install
        kernel /casper/vmlinuz
        append file=/cdrom/preseed/my.seed boot=casper initrd=/casper/initrd.lz debian-installer/locale=de_DE \
automatic-ubiquity noprompt quiet splash --

Modify the locale and name of the preseeding file. Make sure you boot into “automatic-ubiquity”. Use noprompt if you want to use ubiquity’s reboot-option in the preseed file.

Create the ISO

At this point, I don’t go any further. If you want to add packages, do so. But be warned that all the gpg stuff mentioned in the docs apply in that case.

mkisofs -o my_iso_file.iso -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat ./cd

Use Virtualbox for extensive testing. Burn at will. And: have fun!

Twitter-Clients für den Mac II

Monday, April 20th, 2009

Eigentlich ist das nur ein Verweis auf den Ursprungs-Artikel – da habe ich noch das eine oder andere angefügt – Tweetie ist der letzte Client, den ich in die Finger bekommen habe, und der mir (fast ganz) super gefällt. Also: Klick mich.

(Das finale) Update: auf Freewareosx gibt es jetzt einen Vergleich von 12 Twitter-Clients. Inklusive Feature-Vergleichstabelle. Damit stelle ich das Posten zu dem Thema ein. ;-)

Homebanking auf dem Mac

Tuesday, March 10th, 2009

Die Suche nach einem guten Homebanking-Programm auf dem Mac scheint eines der letzten Abenteuer zu sein, die es auf diesem Planeten noch gibt. Klar, da gibt es zunächst die üblichen Verdächtigen: MacGiro und BankX, die Platzhirsche. Beide in der Preislage von 100€+. Da würde man schon einen Funktionsumfang erwarten, den man auch von damals unter Windows gewohnt war; Kategorien, automatische Zuordnung von Buchungen, grafische Auswertungen und noch einigen Firlefanz mehr. (more…)

AVR-GCC-Dokumentation?

Friday, February 27th, 2009

Wau, es ist unglaublich, aber wahr. Es gibt so gut wie keine ordentliche Dokumentation für die GCC-AVR-Toolchain. Es gibt da zwar ein paar Seiten:

…aber es gibt auch klare „Fehlanzeigen“ wie diese hier – ein Verweis auf die Info-Seiten. Na klasse – und ich darf dann ausprobieren, was jetzt für den AVR-Assembler zutrifft und was nicht. *Grummel*

Twitter Clients für Mac OS X

Sunday, February 22nd, 2009

Au Mann. Das ist ja ziemlich nicht-trivial, die Suche nach einem Twitter-Client für Mac OS. Da gibt es ja Seiten mit Listen von Clients. Und noch mehr davon. Witzigerweise ist das das erste Mal, dass ich Adobe Air-Anwendungen begegnet bin. Sonderlich begeistert bin ich davon nicht, auch wenn Tweetr und TweetDeck aus dieser Kategorie momentan meine Favoriten sind – NatsuLion ist momentan auch noch im Test. Also, falls ich mich zu einer Entscheidung durchringe, sage ich Bescheid. ;-)

Update: 2009-03-21: Teste gerade Nambu – bisher ganz vielversprechend. Verkürzt URLs, kann Bilder posten, ist eine native Mac OS Anwendung.

Update 2009-04-20: So, Tweetie ist jetzt noch dazugestoßen – und rein optisch mein derzeitiger Favorit.

screenshot

Die Funktionen sind die, die ich mir wünschen würde – außer der Growl-Untersützung vielleicht, die derzeit (noch?) fehlt. URLs kürzen, Bilder hochladen, usw.