The importance of backups

February 29th, 2008

My hard drive on my macbook failed a few weeks ago. I’ve resurrected the original hard drive (not the failed one) till I get around to buying a new one. Luckily I had backed up my photos the night before (yay for rsync!), so I didn’t lose anything really important.

I’m seriously considering getting a Time Capsule, since I need a wireless router anyway, and automatic wireless backups would be awesome.

Deleting locked files from a USB drive in OS X

February 22nd, 2008

I ran into the following dialog when trying to “Empty Trash” in OS X (10.4)


dialog showing locked files

The problem was caused by a couple of hundred locked files on the USB drive, which OS X happily sent to the trash but would not let me delete. Normally you can just restore a file from the Trash to a normal file, and then alter the properties (File -> Get Info in the Finder). But since the files were on a USB drive I couldn’t see them in the Trash.
So the files were effectively stuck, and I couldn’t empty the Trash without hitting “continue” a couple of hundred times (and the locked files would still be there, so that would happen every time).

After a quick google, and a look at man chflags, I found a solution. Open terminal, and run the following commands (replacing DRIVE with the volume name of your USB drive)

NOTE: run the following command at your own risk!


find /Volumes/DRIVE/.Trashes -type f -exec chflags nouchg {} \; -print

After than, “Empty Trash” worked as normal.

Mount Takao in Autumn

January 25th, 2008

Bron and I went to 高尾山 (Mount Takao) during autumn.
高尾山 is about 45 minutes west of Tokyo by train, so it’s really easy to get to. There were lots of people there, but most of them took the cable-car to near the top so at least the trail wasn’t too crowded. We took the side trail up and the main path down, which was a good move as the side path had some nice spots to rest and enjoy the view, and also has some variation in incline (the main path is uphill all the way).

The rest of the photos are in this album (or click the photo).


Mount Takao during Autumn (click for album)

Home-Sweet-Home in Tokyo

January 11th, 2008

My apartment in Yotsuya

In Yotsuya, only 4 minutes from the nearest subway station, 30 minutes from my work, and about 25 minutes walk from Shinjuku.

The rent sure isn’t cheap, but it’s quite big and gets plenty of sun, and I didn’t have to pay key money. The landlord also provided a refridgerator and a washing machine, and curtains - yes, you usually need to buy your own! And it includes free broadband internet as a nice little bonus.

Updated:
A photo of the lounge after finally getting a table and rug.

The lounge in my apartment

Hello Kitty 2

January 4th, 2008

It seems that walking cats is a not-so-uncommon past-time in Japan.
First I saw the following (while walking in the forest down from the top of Mount Takao (高尾山) no less):

Japanese man walking a cat - on his shoulders

Then spotted in Shijuku a few weeks later:

Japanese man walking a cat - on his shoulders

Hello Kitty

October 15th, 2007

Seen on the way to my first day of work in Tokyo:

hello kitty 2

hello kitty 1