First Crack 36. The First Home Roast of the Spring

Toddy Maker Cold Brew Coffee Maker Coffee by Kenneth Davids

In celebration of the first great day of spring, I dust off the West Bend Poppery and roast up some Aged Sumatra. Then brew up some iced coffee in my Toddy Maker Cold Brew Coffee Maker.

Things mentioned:

Listen to the First Home Roast of the Spring [12 min]

Got questions about coffee or comments about the show? Call: 206-20-BEAN-1

Like the show? Support the First Crack Podcast

Historical Political Drama Double Feature

Last night, Jen and I watched All the President’s Men, off the Netflix. It’s the screen adaptation of the Watergate investigation starring Robert Redford and Dustin Hoffman as Woodward & Bernstein, or “Woodstein”.

Considering the whole thing went down months before I was born, my understanding of Watergate is ethereal at best. The movie is more than a retelling of one of America’s low points, it helped form the basic language of our cloak-and-dagger stereotypes; the smoking informant that will only meet the dark of night, hints just falling into your lap, and a nondescript enemy foiling you at every step. Or maybe that’s just Washington politics.

The dynamic between Hoffman and Redford was remarkable, the Washington Post’s office furniture stylish, and the intrigue kept me on the couch and away from the laptop for more than 2 hours.

As Redford was searching through a stack of big, heavy telephone books, I couldn’t help but wonder how different this same investigation would be today. With Google, weblogs, and 24 hour news, would it be easier or more difficult to uncover the conspiracy?

I vote for the same.

On the subject of enlightening historical political dramas, The Fog of War – Eleven Lessons from the Life of Robert S. McNamara. McNamara was Kennedy & Johnson’s Secretary of Defense, putting the subject of this movie just a few years ahead of All the President’s Men.

This movie gave Errol Morris an Oscar for best documentary and he deserves it. Walking into it, Jen and I had no idea who McNamara was – just that Morris is a brilliant documentary filmmaker.

By the end, I was stunned. Stunned at how little I knew about; the Cuban Missle Crisis, the Vietnam War, and how the Cold War wasn’t so much.

Learning Ruby – Day 11

Day 11 – Program organization, Part 3 of 3.

Today, Slagell clarifies the difference between classes and modules. As I mentioned back in my review of The Object-Oriented Thought Process, a ‘class’ in object-oriented programming is a noun, a Thing. Like a chair, a sweater, or Slartibartfast. Modules are like adjectives. All the nouns I mentioned above could, in fact, be furry. So, if the chair, sweater, and Slartibartfast were classes, they could be all include the same Furry module.

He also offers an solution for the deck of cards exercise. Rather than creating a ‘collection’ class, Slagell subclassed Ruby’s own Array class for Deck. Fine enough. He starts with the shuffle method within the Deck class, finally moving it to the Array class (as made more sense to me) before wrapping up the chapter.


This post documents my journey through Sam’s Teach Yourself Ruby in 21 days. I’ll be joining Al Abut in his effort to learn Ruby and blog along the way.


Learning Ruby – Day 10

Day 10 – Program organization, Part 2 of 3.

As an experienced information architect, I’m familiar with the challenges of declaring an organizational structure. Whether its for books, furniture, clothing, or software, every structure has it’s biases – somethings are easier, others more difficult. With this in mind, the goal is always to net a more sustainable, maintainable, self-evident state.

Ruby’s include (for modules) and require (for files) commands make organizing code into separate files for easier maintenance possible. The question is how.

Jen once quipped about working in retail, “I can’t sell it, if I can’t see it.”

The same is true in programming, Slagell reminds us, “…for Ruby to include a module, it has to be able to see that module.”

Therefore, the chunk of code to be included should either be in the same file as the include command or the appropriate file should be required. Otherwise, mixing metaphors, the product isn’t really on the floor.

In today’s exercises, Slagell asks us to think about how to organize a program that shuffles a deck of cards.

Here are my initial thoughts:

  • Both “deck” and “hand” are collections of “cards”, differing by the specific number of “cards” contained. Therefore, “deck” and “hand” should be subclasses of a larger “collection” class.
  • It maybe desirable to reorder both the “deck” and a “hand”. So, the action of “shuffle” should be applied at the “collection” level.
  • “Card” should be it’s own class with “suit” and “rank” properties.

This post documents my journey through Sam’s Teach Yourself Ruby in 21 days. I’ll be joining Al Abut in his effort to learn Ruby and blog along the way.


True Thai is Our New Thai Place.

Last night, Jen and I ate at True Thai down on the south side of Minneapolis.

This was our second attempt at dining there. Attempt #1 was trying to seat a party of 6 on a Saturday night, without calling ahead = bad idea.

I haven’t been real pleased with the Minneapolis’ Thai offerings. Sawatdee‘s offerings are fair and their locations are many, and their staff is sharp. Like Dunn Bros.

There’s a bad place just north of us. Bad. Awkward service, bland offerings, bizarre staff. Like bad milk, I don’t see a need to share. Anyway – that’s not True Thai.

The only odd thing about True Thai is, well:

“I am assuming he is the owner, but, I sometimes wonder what restaurant owners do. Well, at least, what was he doing at the front desk if he was incapable of seating us? Better off letting the staff, who knows what is going on, run the show while he plays with the books. Anyway, aside from the owner who rudely passed us off to a staff member, our time at True Thai was enjoyable.”

Scott McGerik wrote this back in November of 2003, Jen and I had the exact same experience – 18 months later. Something to be said for consistency.

My side of the table was their Spinach Curry in Peanut Sauce with Mock Duck. Yes, spicy – to 11. Initially, it was exactly what I was looking for. In the end, it was a little too sweet. Jen enjoyed her bite of it. On her side of the table was the Calamari Pad Thai. You can’t go wrong with that. Can’t.

Learning Ruby – Day 9

Day 9 – Program organization, Part 1 of 3.

Back in my review of The Object-Oriented Thought Process, I talked about the difference between is a and has a in programming world. Dave was then kind enough to clarify.

Today’s chapter was that. In practical, We’re-Writing-Code terms, rather than the abstract, This-is-How-To-Think-About-It way of the previous book.

Here’s a quick background in Object-Oriented Design for the non-programmer:

  • Methods are chunks of code that do Useful Things.
  • Classes are collections of, among other things, Methods.
  • Rather than rewriting a Method to reuse it in another class, it can be imported into both Classes – as a Module.
  • Multiple Modules can be imported into a single Class
  • If 2 Modules imported into the same Class contain 2 different Methods with the same name, Ruby says the last one imported is the default.

Sometimes, the only way to stay responsive and relevant is to process things on a ‘last in, first out’ manner. I’m glad Ruby feels the same way.


This post documents my journey through Sam’s Teach Yourself Ruby in 21 days. I’ll be joining Al Abut in his effort to learn Ruby and blog along the way.


Learning Ruby – Day 8

Day 8, What are regular expressions?

If you don’t know about regular expression matching, or regex, it’s basically a language to find the useful needles in haystacks of text and code. Think ‘find and replace’ turned to 11.

I do just enough regular expression matching to forget how it works. I always end up googling for a quick reference, not quit finding what I need. My text editor of choice, SubEthaEdit has a nicely-formatted pattern reference in the Help menu, though it lacks ‘How RegEx Works’ documentation.

Enter Day 8 of Teach Yourself Ruby in 21 days. Everything about regex is covered; groupings, greediness, repetition, alternators, everything. A while back, I was thinking of picking up one of the many books specifically covering Regex. Now, I’m sure this one chapter will serve me well as that reference.


This post documents my journey through Sam’s Teach Yourself Ruby in 21 days. I’ll be joining Al Abut in his effort to learn Ruby and blog along the way.


First Crack 35. Honey Wine Tasting with Christopher Hadden

We’re tasting honey wine, or mead, with homebrewer-extraordinaire Christopher Hadden. We taste the Dry Mead from White Winter Winery and discuss mead’s history, brewing process, where you can pick some up.

Listen to Honey Wine Tasting with Christopher Hadden [32 min]

Got questions about coffee or comments about the show? Call: 206-20-BEAN-1

Like the show? Support the First Crack Podcast