Archive for November, 2008

11/29/2008: 2:00 am: RobertEntertainment, Oakland, Reviews, Travel

Main Auditorium at Grand Lake Theatre

I went to the gorgeous Grand-Lake Theatre in Oakland tonight with wife and friends to see Quantum of Winter Solstice. I was totally expecting an educational film on astronomy, so the guns, car chases and boring villains were quite the surprise. However, I did take solace in the kick-out-the-jams performance of the organ player who rises up from the orchestra pit with his Mighty Wurlitzer Organ and then descends again just before the movie starts. That’s something you don’t get at the 38-screen multi-megaplex at the suburban mall.

Spoiler Alert:

I accidentally wrote Soiler Alert, at first. But that would be more apropos to the Baby Brigade at the Parkway Speakeasy.

Bond movies often have intriguing villains and well thought out storylines that meaningfully build to a climactic conclusion. Well, before the bit where Bond gets busy with the beauty pageant contestant, martial arts expert, nuclear physicist, gun/knife toting woman he’s been fighting/flirting with for most of the movie. Quantum Solace, in contrast, seemed to primarily be about Bond’s quest for revenge over a dead girlfriend being played out indirectly against a poorly explained pack of bad guys who seemed to be wedged sideways into the plot because there simply “has” to be an evil cabal in every Bond flick.

And usually the axis of evil has cooked up some plan that will result in the annihilation of huge numbers of people unless they get paid a huge ransom. Or will simply result in the annihilation of huge numbers of people because the bad guys are unrepentant misanthropes. However, Dominic Greene of the bashful evil supergroup Quantum has his sights set a bit lower. In the midst of arranging for a military coup in Bolivia, he tricks the new dictator into agreeing to pay double the going rate for municipal water.

WTF??? That’s the frickin’ evil plan? Is Quantum the secret name of EBMUD? After all, they raised our rates. I don’t think it was double, though. Heck, the real life Aguas del Tunari consortium in Bolivia raised rates by 35% after taking control of the water supply.

There’s has been a long history of water issues in Bolivia. In fact, when the little bit of a plot that was there played out and revealed a dictator trying to come back to power, I immediately thought of General Hugo Banzer.

An amusing aside for me was that Greene ends up being left by Bond to die in the Atacama desert (footage was shot in Chile rather than Bolivia) with a can of motor oil to drink when he gets thirsty. Many years ago Sandra and I were stranded in the Atacama desert when the truck that our guide was driving completely broke down before dawn on the way to the geysers near San Pedro de Atacama. Fortunately, the driver’s thermos of hot tea was more refreshing than motor oil. We also had to walk only about 7 miles before being picked up and brought back to town.

11/24/2008: 9:43 am: RobertFood and Drink, The Unusual and the Weird

Happy Pork Luncheon Meat

Some of my vegetarian friends say they won’t eat anything with a face, thus allowing them to opt out of fish, but still snack on oysters and clams. Well, I will eat things with a face, but not if the face is still smiling at me. Maybe I’m crazy, but doesn’t this look like a ploy to convince kids that cannibalism is okay? Eating clowns, sure, but other kids? I don’t think that’s right.

[Via TreeHugger via Green as a Thistle]

11/21/2008: 12:27 am: RobertEverything Else, Hurricane Katrina

For the last month or so I’ve been playing around with Arduino (“open-source electronics prototyping platform “) and Processing (“open source programming language and environment for people who want to program images, animation, and interactions”). Both are very, very cool. The Arduino programming environment is based on Processing, so learning both isn’t much extra effort.

Processing book cover

So far with Processing I’ve mostly been working with existing code examples to talk to code I’ve written that runs on the Atmel microcontroller on the Arduino board. I’ve lately been hacking with the Minim library for working with audio, inspired by a link on someone’s Twitter feed to someone else’s experiment with Minim and an Arduino. I’ve cleaned up and reformatted his code in my own fetishistic manner, and now I’m looking to extend it. After all, I’ve got a pile of LEDs begging to be soldered to something.

Arduino Diecimila board

On the Arduino front, I’ve been working my way through Ladyada’s tutorial and the first couple of chapters of Tom Igoe’s book, Making Things Talk. At first I was kind of annoyed when I realized how incomplete the explanations where for some of the projects. But then I decided that that just motivated me more to figure things out for myself. And they’re really not that incomplete, anyway.

Arduinos are quite inexpensive, so if you’re the least bit motivated to combine your programming experience with some basic electronic hardware hacking, I highly recommend checking them out. I bought most of my gear from Adafruit and Spark Fun.

11/16/2008: 6:29 pm: RobertBicycling, Travel

In September when we were in Bled, Slovenia, I spotted this ramp at the main intersection in town. While I’m, of course, happy to see that the main shopping area is accessible to people in wheelchairs, I was equally happy that bicycle racers are also welcome and accommodated for. Hopefully everyone queues up single file, though.

11/6/2008: 3:51 pm: RobertJava, Mac

After using the built-in self upgrade feature of Eclipse to go from 3.4 to 3.4.1, I was no longer able to launch Eclipse. Instead of the happy Ganymede splash screen, I got a poorly formatted dialog saying “The Eclipse executable launcher was unable to locate its companion shared library.” I discovered that the problem was that eclipse.ini had not been updated to point to the updated launcher library. Here’s how to fix it.

  1. Open a Finder Window to the Applications directory, or wherever you installed Eclipse
  2. Expand the plugins directory
  3. Scroll down to the directory starting with the name “org.eclipse.equinox.launcher.carbon.macosx_”
  4. Copy the text of the name following “carbon.”. After the update, mine was 1.0.101.R34x_v20080731.
  5. Right click Eclipse.app and select Show Package Contents
  6. Expand the Contents and MacOS directories
  7. Open eclipse.ini in a text editor
  8. Look for two lines that look like
  9. --launcher.library
    ../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.100.v20080509-1800
  10. Change the part after “_” to the text you copied above
  11. Close and save changes to eclipse.ini
  12. Restart Eclipse

In case you weren’t aware of this, you can also edit eclipse.ini to change the vmargs Java will use when launching Eclipse. For example, if Eclipse itself is running out of heap, you might want to boost the min and max heap size with something like:

-Xms64m
-Xmx512m

Of course, you should also click “Show heap status” in the General section of the Preferences dialog so you can monitor how much heap is being used and can force a GC before a big compile. You shouldn’t boost the min heap size from the default, though, unless you blow past it pretty quick and experience initial sluggishness as the heap keeps getting expanded.