Archive for November, 2005

Rummicube

Friday, November 25th, 2005

Tonight’s games caught on tape!
Please allow several minutes for the movie to load!

Pumpkin movie

Monday, November 21st, 2005

here it is finally, the time lapse picture of my pumpkin ripening. It takes about a minute to download, and you’ll probably need quicktime installed to view it.
The movie does have a surpise ending though.

Adobe does Flash

Saturday, November 12th, 2005

In 2002, Adobe tried to beat Macromedia at its own game when Adobe release LiveMotion. I thought I’d play with LiveMotion 2.0 to see how it compared to Macromedia Flash. I actually like it a lot, because there are some parts of the app that remind me of AfterEffects (besides the intercap in the name).
Anyhow, here is a silly movie I made with some of the old MGROE logos.

Backup this File, but only if it changes…

Friday, November 11th, 2005

Have you ever wanted to try make a backup of a large file, or a large number of files, but didn’t want to waste the disk space and time it took to do it? For example, I recently ran iPhoto 5 for the first time, and it needed to upgrade my iPhoto library. But I still wanted to be able to run iPhoto 4 with it.
On Mac OS X, this is one task that is made easy by the UNIX underpinnings of that operating system.
You see, on a UNIX system, each file is actually simply a pointer to something called an INODE. It is possible that two files can share an inode. In that case, the files are identical. However, if one of the files is deleted or rewritten, then a new inode is created. The other file that shared the inode will be untouched.
I’ve leveraged this fact to make my “upgrade” to iPhoto 5 without modifying my original iPhoto library.
First, I renamed my iPhoto Library
mv "iPhoto Library" "old iPhoto Library"
Then I created a mirror directory structure
cd "old iPhoto Library"
find . -type d -exec mkdir -p ../iPhoto\ Library/{} ';'
Then I used the ln command to create new files pointing to the INODES of the existing files
find . -type f -exec ln {} ../iPhoto\ Library/{} ';'
This task will consume very little disk space, even if the images are really huge. If I ever want to revert to the old library, simply swap the names of the directories around.

AppleScript trick

Monday, November 7th, 2005


If you have multiple copies of the same application on your hard disk, it can be a bit unpredictable which one will launch if you say
tell application "MyApp" to activate
in AppleScript.
Here is a code snippet I figured out for making sure it is the one in the /Applications directory that gets launched.
set mypath to ""
tell application "Finder" to set mypath to path to the "apps" from system domain as string
set mypath to mypath & "MyApp.app"
tell application mypath to activate

Sunday, November 6th, 2005


In case anyone is wondering how I did it, here is a free Inkle weaving pattern for making a simple lobster.
lobster-pattern.gif
The threading couldn’t be easier

(H) W G G G G W B B B B B B B B B B W W W W W W W W W W W B B B B B B B B B B W G G G G W
(O)W G G G G W R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R W G G G G W

My Orchestra

Sunday, November 6th, 2005

The orchestra gave a concert a few weeks ago. It was recorded, and I was really pleased, especially with this track from Schindler’s list.

Maine Inspired

Sunday, November 6th, 2005

I met up with a weaver in Maine. The natural result was lots of lobster dinners, and when I got home, a lobster weaving! I’m sending it to my Maine friend as a thank-you card.
lobster-card-scan.jpg