java..python..eclipse..and whatever else interests me.

Wednesday, May 31, 2006

The Nose Knows

Titus has written a nice intro to nose with examples. I emphatically agree:

the most important part of having unit tests is that they can be run quickly, easily, and without any thought

Thus, I was suprised not to see something like Nosy, to automagically run tests when code changes. To me, running tests by hand requires thought, and a context switch. Nosy keeps me in the flow.

 Pinocchio is an extension to filter out long-running tests so tests may be run quickly. This leads me to believe his test suite was too big to run automatically.

(What is it about nose that inspires bad puns? This blog title, nosy, pinocchio...well, what do expect in a language named after comedy troupe :)

Tuesday, May 30, 2006

Olive Oil (ELOO) - one of the World's Healthiest Foods?

For those of us who are swigging olive oil daily, here's some background on olive oil.

Olive oil is rich in Vitamin E, a fat-soluble antioxidant:

"It turns out that people who use olive oil regularly, especially in place of other fats, have much lower rates of heart disease, atherosclerosis, diabetes, colon cancer, and asthma."

This is a pretty technical article. The most interesting and relevant bit concerns storage: it should be in a dark place, away from heat. Most olive oil is in glass bottles, so that means I shouldn't store mine by the stove but in a closed cupboard :)

Monday, May 29, 2006

8 Dollar Steak Dinner for Two

I'm finally making good on my promise to do more cooking. Part of this involves signing up the the Cooks Illustrated site, and having an EVDO connection to surf with the laptop.

 Following the recipe from Cooks Illustrated - Great Cheap Steaks-Sept/2005, we got a pound of Top Sirloin steak, $5.95 a pound, and a couple pounds of Yukon Gold potatos for Buttermilk Mashed Potatoes.

 The potatoes were fluffy and sweet, and the steak tasty and tender. We also whipped up a pan sauce with green onions, port and mustard. Three tablespoons of Grey Poupon was far too vinegary. I assume mustard is used for the sauce because it's a good emulsifier...next time we should use a sweeter brown mustard.

 This is an great value, and ready in a half hour- with leftover potatoes to nosh on for the rest of the week.  This is a recipe to learn and get good at.

Saturday, May 20, 2006


Bruce Springsteen did a live concert for the BBC in support of his new Seeger album.

We got the CD/DVD a couple weekends ago, and enjoyed it on Mother's Day.

The concert is up for a limited time, streaming in Real format at rtsp://rmv8.bbc.net.uk/radio2/r2_springsteen.ra. It sounded great streaming through the XBox.

To capture it, I downloaded an eval version of NetTransport. It downloaded the 15 Meg, hour concert in a mere 3 minutes.

Friday, May 19, 2006

Seth Roberts ShangriLa Diet Mp3 Interview

Interview with the book author - in MP3. The interview seems a little disjointed, but good content. The name "ShangriLa" and simplicity (tablespoon of oil) seem too simple and alluring, but it's clear from the interview Roberts is a serious, thoughtful scientist building on previous research.

Kudos to MSNBC for posting MP3, not some annoying streaming DRM'd format.

Saturday, May 13, 2006

Neil Young - Living with War

Listen to the full album.

I tried to buy this last weekend, but it wasn't out yet. Here's the story in Rolling Stone.

The most rousing song is Impeach the President (the Miserable Failure). Lyrics here.

Wednesday, May 10, 2006

Improv Everywhere - Best Buy

"Wearing clothing almost identical to the store's uniform, the agents would not claim to work at the store but would be friendly and helpful if anyone had a question."

Thursday, May 04, 2006

ShowMeDo vids are up

Using pyWinAuto to Control a Windows Application - this is an enhanced version of the animated GIF on the pyWinAuto Wiki. (The filename is currently 64 characters long, rename if it doesn't play).

Using Nosey for Python Testing - this is a movie of Nosy, which uses Nose to automatically run unit tests.

Ian makes a good editor... luckily my mistakes were minor enough not to have to re-record.

Wednesday, May 03, 2006

Icons of Colbert's Speech


Someone has done up the quotes as icons. My favorite-


International Flava

 My readership seems to be pretty well distributed..cool!

Netherlands Almelo, Overijssel
United States Waltham, Massachusetts
Germany Koeln, Nordrhein-Westfalen
Greece Athens, Attiki
Canada Oakville, Ontario
United States Astoria, New York
France Nanterre, Ile-de-France
United States Laguna Beach, California
United States Cambridge, Massachusetts
Germany Rimpar, Bayern
Italy Campolattaro, Campania
Canada Ottawa, Ontario
United States Flushing, New York
Czech Republic Praha, Hlavni Mesto Praha

KVM's and Synergy

Mark Watson writes about using a KVM switch to share screens between monitors.

Even better, if you have the desk space, is Synergy which allows the mouse to move between machines (Windows/Linux/Mac). You can even copy text between OS's!

This way, there is no context switch... you can keep reference/email up on different machines. Most folks have spare screens as the move to flatscreens continues.. why not use them?

ClearType makes bloated Screencasts

I've been making movies for ShowMeDo about Nose and PyWinAuto.  As a matter of course, I turn off Windows ClearType rendering. It looks pretty, but I don't think it's worth the bits.

I recorded the same movie with and without ClearType, capturing to Microsoft Video 1 at 100% (lossless) quality:

  • ClearType ON : 31,157 KB
  • ClearType OFF: 11,263 KB

The movie had audio, and things get even more interesting when looking at it with GSpot:

  • Cleartype ON Bitrate: 11743 kb/s
  • Cleartype OFF Bitrate: 3219 kb/s

So: Cleartype makes the video 264% bigger.  Is it really worth it?