September 2011

Su Mo Tu We Th Fr Sa
 1   2   3 
 4   5   6   7   8   9   10 
 11   12   13   14   15   16   17 
 18   19   20   21   22   23   24 
 25   26   27   28   29   30 

Recent Comments

Hier ein bisschen Werbung in eigener Sache. Meine Schwester und ihr Freund (oder besser: meiner Schwester sein Freund und ebendiese) haben ein Fitness-Studio in Stans eröffnet. Ich weiss, es ist nicht grad am Weg, aber für die, die in der Innerschweiz wohnen, soll es Abhilfe schaffen.

logo chraftwaerch

Es ist nämlich so, dass es im ganzen Kanton Nidwalden nur ein einziges Fitness-Studio gibt, beziehungsweise gab, das Panthera in Stans. Und es gibt eine Menge Leute, die nicht zufrieden sind damit, aber mangels Alternative halt trotzdem hingehen. Das soll sich nun ändern, denn das Chraftwärch bietet in stilvollem Ambiente (kein Werbegefasel, meine Schwester hat Geschmack!) mit Ausblick auf den Pilatus eine Oase, um seine Muskeln zu stählen und ihre Rundungen zu formen.

(Anmerkung der Redaktion: für Geographische Korrektheit und politische Fauxpas übernehmen wir keine Verantwortung.)

Wie dem auch sei: www.chraftwärch.ch und am besten gleich selber vorbeischauen, das gibt den besten Eindruck!

Keywords: chraftwaerch kraftwerk fitness bodybuilding training center stans

On the 21st of December the party holding the majority of the Hungarian parliament voted in favor of a new media law that is a collection of some of the most oppressive and undemocratic laws from all over Europe and with some worrying changes.

To show our concern for fundamental rights and free speech we black out our online presence on the 5th January 2011 for 24 hours.

See the site blackout4hungary.net for more information.

26 T-Shirts
16 Hosen
13 Pullover
12 Sweatshirts
11 Hemden
6 Taschen
6 Gürtel
3 Vestons
3 Paar Schuhe
3 Jacken
1 Anzug
1 Kissen
1 Schlafsack
1 Teppich und 4 Papiertüten mit Gläsern sind jetzt unterwegs zur Brockenstube. Zusammen mit sonst noch etwas Krimskrams.

Der nächste Umzug ist bald in Sicht, und den letzten habe ich noch nicht wirklich verdaut. Mir war erst beim Ausziehen aufgefallen, wie viel Sachen ich überhaupt habe. Darum habe ich mir gesagt, dass das so nicht weitergehen kann. Wie recht hatte Leonardo DaVinci doch: Simplicity is the highest sophistication. Einfachheit ist die höchste Vollkommenheit.

Zusätzlich bin ich inspiriert von der 100 Thing Challenge bei der sich ein Ami zum Ziel gesetzt hat, nur noch 100 Dinge zu besitzen. Ich fange mal an, hundert Dinge zu entsorgen. Weiteres wird folgen...

view from hotel

This is my advice to enjoy your holidays more - or at least longer.

When I was on a business trip in Curaçao two years ago I was sheltered in a nice hotel with great view and good room service. One thing I especially liked were the small portions of douche and shampoo they put in the bathroom. So while I was there, I always used the products from the hotel.

Once I was back in switzerland, I felt like the smell of those products was a little to girlish, and didn't use them any more. Instead my girlfriend used them sometimes. The interesting part comes now: Whenever she used one of the products, I had a complete flashback to Curaçao. I remembered the hotelroom, the view, the people, the sounds, the atmosphere. In short, I was there.

The most astonishing thing about it was that my girlfriend must have used the products more than a dozen times, where as myself in Curaçao I've used it like five or six times. This means the memories I made initially were not erased by a superior number of experiences afterwards.

So here is my advice: When you go on holiday, buy some local shower gel. And when you feel tired of daily life and ready for vacations, take the express lane to your memories with your special shower gel!

It might work fine with some perfume or eau de toilette too, I haven't tried this one yet. I'm not sure the effect will be the same because once you applied it, the smell will stick longer to you so the experience is not as punctual and might wear off more easily. But it might work when you only smell the bottle instead of applying it.

Eine kleine Geschichte über die unverfrorenen Methoden der Immobilienverwaltungen und wie man ihnen auch ohne Rechtshilfe beikommt.

Bei meinem kürzlichen Wohnungswechsel bekam ich von der Verwaltung eine "Ausgangsabrechnung" zugesandt, die mir komisch vorkam.

Ausserordentliche Kündigungskosten       150.00
Total zu unseren Gunsten nach Abzug der Garantie     150.00

Das ganze mit der Bitte, das Schreiben unterschrieben an sie zurückzusenden, damit "... die Bank Ihre Mietzinsgarantie auflösen kann." Sie wollten, dass ich die Kündigungskosten akzeptiere und dies schriftlich bestätige, damit sie das dann direkt von der Mietzinsgarantie abziehen können. Das stinkt doch zum Himmel - wenn diese Rechnung gerechtfertigt wäre, könnten sie einfach eine normale Rechnung schicken, ohne die Koppelung an die Mietzinsgarantie.

Durch diese Ungereimtheit misstrauisch geworden, habe ich auf der Webseite des Mieterverbands Freiburg folgende Passage gefunden:

Mieter haben nach Art. 264 OR das Recht, ihr Mietobjekt ohne vertragliche Termine und Fristen zu beachten abzugeben, sofern sie einen Nachmieter stellen, der zumutbar und solvent ist. Es gibt für den Vermieter keine Rechtsgrundlagen, nach denen er die Mieter bei der Ausübung gesetzlicher Rechte mit einer Rechnung belasten könnte. Die Verwaltung hat die Umtriebe, welche Mieterwechsel mit sich bringen, genauso, wenn sich die Mieterschaft an die vertraglichen Termine und Fristen halten. Es entsteht der Verwaltung somit kein zusätzlicher Arbeitsaufwand.

Durch diese Bestätigung ermutigt habe ich (mit etwas Hilfe meiner persönlichen Juristin - merci Chlini) einen eingeschriebenen Brief mit folgendem Inhalt aufgesetzt. Glücklicherweise war ich nicht auf eine baldige Überweisung der Kaution angewiesen und konnte eine Wartefrist in Kauf nehmen:

Vielen Dank für Ihr Schreiben vom (...). Ich bin jedoch mit den „Ausserordentlichen Kündigungskosten" nicht einverstanden und betrachte sie als nicht gerechtfertigt.

Die durch meine ausserordentliche Kündigung entstandenen Kosten sind dieselben, wenn ich ordentlich gekündigt hätte. Schlussendlich hatten Sie sogar weniger Aufwand, da ich selbst Ihnen einen zumutbaren Nachmieter vorgeschlagen hatte.

Ich erwarte die Überweisung der geleisteten Mietzinsgarantie von Fr. (...) inkl. Zinsen ohne Abzug auf das besprochene Konto innert 30 Tagen, ansonsten werde ich gezwungen sein, rechtliche Schritte einzuleiten.

Wie zu erwarten war, verstrich die 30-Tage-Frist ohne Reaktion. Als ich mich dann telefonisch erkundigt habe, hiess es erst, es müsse abgeklärt werden, sie würden sich anfangs nächste Woche wieder melden. Was natürlich nicht geschah.

Als ich wieder anrief, wussten sie von nichts und wollten das Schreiben unterschrieben zurückhaben. Dann erklärte ich, dass ich nicht einverstanden sei, worauf mir gesagt wurde, ich müsse das schriftlich einreichen. Erst als ich sie darauf hinwies, dass es bereits geschehen war, lenkte sie plötzlich ein und erklärte, in dem Falle würde ich entweder nochmals kontaktiert, oder den Betrag gleich überwiesen bekommen.

Drei Tage später erhielt ich tatsächlich einen Brief mit folgendem Inhalt:

Wir sind ausnahmsweise bereit den Umkostenbeitrag von 150.- zu annullieren und senden Ihnen im Anhang eine Kopie unseres heutigen Schreibens an die Bank. Diese wird Ihnen die Mietzinsgarantie in den nächsten Tagen auf Ihrem Konto gutschreiben.

Na also, geht doch.

Wie Büne Hueber sagen würde: "Löht ech nüt la gfaue!"

file browser screenshot

The best way I've found to access files on a HFS+ formatted drive when running windows is the HFSExplorer by catacombae. It is small, no installation needed, and easy to use. Select files to extract, select target, go.

One downside is it's read only, and you need Java installed on your machine. Therefore don't forget to download JRE (look for the button "download JRE" and select your platform (eg. Windows).

Today I integrated a small but non-neglectable optimisation for my MT blog. In the era of again slow internet connections (on mobile phones for instance) a faster access to the menu can save you precious seconds and bytes. Therefore remember to place the the menu in the HTML structure before the content.

Now there might be some issues with the layout since the order changed. Fortunately MT integrates several standard layouts, thus I had to

  1. inverse the placement of the alpha and beta div
  2. change the beta div to delta in order to float right instead of left, and subsequently the beta-inner div to delta-inner too.

Note: alpha, beta and gamma are float:left; and only delta is float:right;

Simple and effective.

bananenschachteln
  • cd /usr/damian
    gehe nach Hause
  • ls -alR
    schaue nach, was du alles besitzt (auch in den Schubladen und Schränken)
  • ls -alR | grep " 2005 " | rm
    schmeisse zu alte Sachen weg
  • tar -cf * banana.tar
    packe alles in Bananenschachteln
  • mv banana.tar /dev/usb1/
    verschiebe die Bananenschachteln in ein Vehikel
  • mkdir /usr/newdamian | cd /usr/newdamian
    kreiere ein neues Heim und fahre dorthin
  • tar -xpf /dev/usb1/banana.tar
    packe die Bananenschachteln im neuen Heim aus
  • shutdown -k now
    schmeisse alle anderen hinaus und hol dir ein Bier

I had to remove a complicated file from an external hard drive. When I tried to delete it via Finder / Trash, it said, unable to remove, file in use. Nevertheless it was possible to unmount the volume without errors, which means none of the current processes actually used that file.

No big deal I thought, let's just force delete it. And use the superuser command just in case it's an access rights problem:

$ sudo rm -f /Volumes/sams186/App.dmg

But this time it did not help: unable to remove. So I found that the resource fork could prevent files from being deleted. The resource fork is a file system structure which allows the system to store additional information to a file that does not belong to the file itself, but isn't a file system attribute either.

Open parenthesis:
File system attributes are properties of a file such as file name, block address, file size, etc. The number of file system attributes available and the constraints who apply vary from one file system format to another, which means HFS+ does not store exactly the same information as FAT32 or EXT3.

In the long listing of a directory, the existence of a resource fork is indicated with an @ after the access rights:

$ ls -al /Volumes/sams186/
-rw-r--r--@   1 damian  damian  224395264 16 Nov  2006 App.dmg

To show more information about the resource forks in the folder listing, use the @ parameter:

$ ls -al@ /Volumes/sams186/
-rw-r--r--@   1 damian  damian  224395264 16 Nov  2006 App.dmg
    com.apple.FinderInfo           32

To display the content of a resource fork:

$ xattr -l /Volumes/sams186/App.dmg

And finally, to delete a part of a resource fork:

$ xattr -d "com.apple.FinderInfo" /Volumes/sams186/App.dmg

Having removed that FinderInfo resource fork, the file could be removed without any problems.

aperture menu

After the aforementioned library hack I couldn't see any thumbnails from about 30-45 images, and some had the even the wrong thumbnail instead. (This might be due to an error in importing from the flash card, as some images ended up having the same file name.)

Even the right-click menu entries "Delete Preview" and forced "Generate Preview" wouldn't help. The correct image appeared on double click or entering fullscreen mode, but the preview won't change. I was always looking for an option in the mouse menu, I guess I'm working too much with windows at work -- the option I sought was placed in the "Images" menu and is called - surprise - "Generate Thumbnails".

This did solve the problem with the missing thumbs, but not with the wrong thumbs. Immediately after generating a new thumb from the image it helped. But somehow it seemed to me, generating new thumbs only postponed the problem. And I could observe files having a different original name mix up thumbs repeatedly, it was the same image that got the same wrong thumbs.

So what I tried to do

  • Generate Preview on all images
  • Generate Thumbnails on all images
  • Delete .approject/AP.Thumbnails and other AP.* files

but nothing helped. Until I found that thread in the apple forum, where the user "firstlaunch" suggests to rebuild the database. His advice is to hold [Alt][Cmd] at startup, and then rebuild. In my case, a simple "Consistency Check" did do the trick.

Compare the screenshot below:

aperture boot dialogue