Skip to content Skip to navigation

programming

Automated Snapshots on Mac OS X Lion Server

The problem: creating "TimeMachine-like" snapshots of changed files to a NAS device that is not TimeMachine-compatible.

Caveats with this solution: file permissions will not be maintained in the backup copies.

Overview: uses find and rsync in a shell script called with a launchd daemon.


BASH script for removing JPEG sidecar files

When shooting for the nightclub photo booth areas I run, I have to shoot JPEG because my printer will not deal with camera raw files, however, for reasons that should be obvious to any serious digital photographer, I prefer to have to raw files to work with after the fact. This necessitates shooting RAW+JPG, but I have no use for the JPEGs in post-processing.


Life as a Programmer

"You know, when you have a program that does something really cool, and you wrote it from scratch, and it took a significant part of your life, you grow fond of it. When it's finished, it feels like some kind of amorphous sculpture that you've created. It has an abstract shape in your head that's completely independent of its actual purpose. Elegant, simple, beautiful.


I was absent, now I am back.


Some of you may have noticed I went unusually long without posting here, wasn't responding to messages on Facebook, mySpace, deviantART, etc. More of you probably noticed it took me unusually long to getting around to posting last week's Sin City pictures.

Pretty much every spare moment I had this past week went into writing a new upload interface for Gothic BC. The old one was slapped together over five years ago and was mediocre in 2002. I've been wanting to do a proper drag-and-drop control for a long time now and the opportunity was ripe since I needed to being the upload control in line with the new design anyway.

I "cheated" to a certain extent and bought a Java control to handle the drag-and-drop ("Hey, look, a wheel. Guess I don't need to reinvent that.") - what sucked up all my time for a week was *doing* something with the files that was better than the old upload. I'm pretty happy with what I've got going (especially a spiffy progress indicator while it builds the editing page). Much like when I first put the new gallery up there are still some problems: if you try to upload more than 75 or so photos in M$IE it takes forever to render the editing page

Nonetheless what I've got going now is as easy to use as Flickr, Facebook etc. which isn't too shabby since my budget is about five million times smaller.


We should elect politicians this way.

Where N is the set of responses in the range -5 to -1 (one to five stars) and P is the set of responses in the range 1 to 5 (six to ten stars).

Subscribe to RSS - programming