Archive for the ‘misc’ Category

The importance of backups

Friday, 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

Friday, 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.

Trishaw

Sunday, April 8th, 2007

Trishaw in front of Cheong Fatt Tze Mansion in Penang

Taken at the same location as my rickshaws photo, and also available in my redbubble portfolio.

Rickshaws

Thursday, March 8th, 2007

Rickshaws in front of Cheong Fatt Tze Mansion in Penang

This photo was taken at Cheong Fatt Tze Mansion in Penang on my (not-so-recent) trip to Singapore/Malaysia/Thailand in November last year. The blue color was created using the crushed petals of a local flower, in an attempt to match the original 19th century color. The mansion was recently restored, and is now a functioning guest house and is open for tours. It was also used as a setting for the movie ‘Indochine’.

PS: I know the photo is small. I will eventually get a photo gallery set up with a larger version (and some more photos!).

Update:A full-size version of this photo is now available for purchase!

Picasso at NGV

Sunday, January 14th, 2007

Last year Bron and I went to see the Picasso exhibition at the NGV International. I didn’t know much about Picasso, but the exhibition was pretty interesting. A large part of it was actually about Picasso’s muse Dora Maar. They even had ipods with an audio guide available for hire.

Here’s a couple of pictures I took that night.

Picasso at NGV.

witch

Update:Full-size versions of these photos are now available for purchase!

How do you like my chair?

Wednesday, August 23rd, 2006

A few weeks ago I saw this boxer sitting in the sun on the front porch of a house.

A boxer in the sun
How do you like my chair?

She was quite content to ignore me as I stopped, took the photo, and went on my way laughing :-)