Archive for June 2009

Now On Kindle: Programming Category Highlights

David Beazley’s Python Essential Reference, 4e

Jason Venner’s Pro Hadoop

Very High-Res Moon Image

Amateur astrophotographers recorded more than 1TB of data in the creation of this high-res image of the surface of the moon. Pretty.

Let He Who Has Never Compiled Untested Cast The First Stone

Tim Bray has a good post about “Test-Driven Heresy,” in which he admits failing to live up to the ideal of writing tests firsts and only writing enough code to pass a test.

I’m Catholic in my test-driven beliefs, which is to say that I am a terrible sinner, but I like to think that I can be forgiven if I just confess my lapses. They are many and varied and far out-strip my actual adherence to test-driven development. The spirit is strong, though.

Why is it so hard, even for believers, to keep things test-driven (or even test-in-the-passenger-seat-but-navigating)? Bray points out that when you’re writing prototype / spike code, it’s difficult to write tests because (a) part of prototyping is being wildly wrong in your expectations and (b) when the codebase is very small, the effort of separating concerns is relatively high.

I agree. To make sinning easier still, it is also the case that refactoring towards test-driven is difficult with large, “ball of mud” codebases (exactly the ones that would most benefit).

So there’s a “window” in which initiating test-driven development is relatively easy. Unfortunately, that window is not a very large part of a software code-base’s lifetime.

tdd_window

ASP.NET MVC: The Way to Move Forward on the Microsoft Stack

My first-gen iPhone seems to be falling apart…

In the past week, my first-gen iPhone seems to have decided that the time has come for me to move on to a new 3GS. First my Wi-Fi stopped working. Then I upgraded to 3.0. When I try to activate “Find my iPhone” it doesn’t work (but maybe that’s because I don’t have a built-in GPS). But now, it seems not to ring when I’m called (yes, I checked to make sure my ringer is turned on).

Big Island, Bad Politics

The Big Island of Hawaii is a single county whose spending is controlled by a 9-person county council. The problem is that our local government is ridiculously petty, with an “East side vs. West side” dynamic that flies in the face of the needs and sentiment of the people who live here. Additionally, our young state is still very much dominated by “machine” politics, with patronage, old boy networking, and back-room deal-making.

Yesterday, the worst of local politics played out, with a series of committee re-structuring resolutions that stripped power from the West-side council members. The follow-up to such a blatant power grab will undoubtedly be a return to the worst of us vs. them council decisions that favor the in-power districts over the other districts.

The winner-take-all mentality makes me reluctantly agree with those who think the only solution is to divide the island into two counties.

Intentional Software’s Chrome (If Not Silver) Bullet

Intentional Software will change the way business software is developed.

Update: For those having trouble following the link, it’s http://www.sdtimes.com/WINDOWS__NET_WATCH_INTENTIONAL_S_CHROME_IF_NOT_SILVER_BULLET/By_Larry_O_Brien/About_DOMAINSPECIFICLANGUAGES_and_MICROSOFT/33526

Coffee

I promised Jon Galloway that I would send him some “geek acres” coffee. I thought I’d write a post about growing and processing coffee as a hobby…

Step 1: Live on the Big Island of Hawaii
200906091313.jpg

Step 2: Have some coffee trees

200906091314.jpg

Step 3: Pick the cherry by hand (better yet, have your wife do the picking):

200906091316.jpg

Kona coffee has to be hand-picked, as our trees are a little more delicate than some and because the cherry comes ripe at different times. So you might visit the same tree three or four times over the course of a season.

200906091317.jpg

Sadly-no-longer-possible-step: Transport the cherry from the trees to the house using a pack animal

200906091325.jpg

(Oh what a beautiful dog she was…)

Step 3: Depulp the cherry

200906091323.jpg

Step 4: Ferment the inner shell for 24 hours in order to remove the sticky mucilage

200906091324.jpg

Step 5: Dry the seeds on window screens for several weeks until they become “parchment”

200906091328.jpg

Step 6: Remove the parchment

200906091330.jpg

6a — separate the chaff from the green by using a hair blower and a colander

Step 7: Program your coffee roaster using custom roasting curves perfected over the years

200906091413.jpg 200906091414.jpg

Step 8: Take a whiff…

200906091414.jpg

And that’s how you can avoid paying $2 for a cup of coffee at Charbucks!

Kindle Gets A Slew of $0.99 Programming Titles

div>