Skip to content

Archive for July, 2009

comment

fog intersection

2009 July 15
 

2009-07-15 - fog intersection

morning traffic moves through the thick (for Calgary) surreal fog.

cleaning up my Aperture library

2009 July 14
 
by dnorman

ApertureThumbnailFilesMy Aperture library tends to grow much larger than it should. It seems as though Aperture does not delete the thumbnails for photographs even when deleting the originals, leaving several gigabytes of orphaned kruft behind, accumulating bits, filling up volumes. I delete most of the photos I shoot, so the majority of thumbnails in my library are orphaned. But there’s a quick and easy way to clean it up. After backing up the entire library, I did this (after a blog post by Brett Gross):

First, find out how many petabytes of space have been sucked up on your drive by thumbnails:

find ~/Pictures -name "AP.Thumbnails" -print0 | xargs -0 du -ch
find ~/Pictures -name "AP.Minis" -print0 | xargs -0 du -ch
find ~/Pictures -name "AP.Tinies" -print0 | xargs -0 du -ch

Then, after backing stuff up, this’ll clean out the kruft:

find ~/Pictures -name "AP.Thumbnails" -delete
find ~/Pictures -name "AP.Minis" -delete
find ~/Pictures -name "AP.Tinies" -delete

After running it, Aperture will have to generate new thumbnails for all of the photos in the library – but it won’t generate thumbnails for the photos that were deleted, obviously. On my desktop box at work (with only 4535 photos), this cleared up a couple of GB of space. Thumbnail regeneration took almost an hour. I’ll try it on my home laptop tonight, with over 30,00017,000 photos on it. It’ll probably take several hours to regenerate thumbnails.

Of course, it’d be nicer for Aperture to properly clean up after itself – the whole point of abstracting file management behind the library interface is to make this kind of mundane maintenance stuff unnecessary.

Update: I ran it on my main Aperture library, with 17,371 photos. After letting Aperture rebuild thumbnails overnight, I saved 2GB of disk space from orphaned thumbnails. That may not seem like a lot with today’s gigantor-sized drives, but that’s a LOT of kruft that could have been easily cleaned up by properly removing thumbnails when deleting photos from the library. Leaving them behind to fill up drive space is just lazy and sloppy.

spingear

2009 July 14
 

2009-07-14 - spingear

a kinetic sculpture of a gear spins in the Engineering foyer

★GO★DAD★

2009 July 13
 
by dnorman

2009-07-13 - ★GO★DAD★

I was finally able to bring the sign that Evan made for the finish line of the Ride to Conquer Cancer. I hung it above the posterboard in my office.

new

2009 July 12
 
by dnorman

2009-07-12 new

we spent much of the day stimulating the local and global economies. someone’s gotta do it.

seen

2009 July 11
 
by dnorman

2009-07-11 seen

an owl watches me inside the enclosure, letting me get within 5 feet of it to get this shot with my 50mm prime lens.

rolling towers

2009 July 10
 

2009-07-10 rolling towers

clouds build and roll over Canada Olympic Park on a warm summer afternoon

one million views

2009 July 10
 
by dnorman

Sometime this morning, while I was riding to work, someone viewed a photo of mine on Flickr, rolling the “total views” odometer over 1 million. That’s a lot of views. There aren’t many other venues where I could put my photos on display and have them seen a million times. Granted, there’s no “unique viewers” stat – so it could be 10 people clicking reload repeatedly. But still…

oneMILLION

And I know there are LOTS of people with WAY more people viewing their stuff, but I still think this is pretty mindblowing. That’s a lot of exposure for, what? $30 a year?

scienceballs

2009 July 9
 

2009-07-09 scienceballs

Evan and I made some superballs from a science kit this evening. They’re still drying, but it looks like they turned out great!

testing geotagging

2009 July 8
 
by dnorman

ignore this post. I’m playing with a plugin, to see if I can add geotagging of posts and pages. It appears to work perfectly under standalone WP, but seems to fall over under WPMU (or, perhaps, under Multi-DB?)

[gmap zoom='18']