2009-01-23

thinking about objects

A chi square distribution with ν degrees of freedom is a gamma distribution with shape ν/2 and scale 2. So in a mathematical sense, a chi square distribution “is a” gamma distribution. But should a class representing a chi square distribution inherit from a class representing a gamma distribution? The surprising answer is “no.” A rule called the “Lyskov Substitution Principle” (LSP) says this is a bad idea.

2009-01-22

A tray of ugly cinnamon rolls

We had a bunch of cream cheese icing left over from having made Obama-logo cookies for inauguration day. I quickly designated it for cinnamon rolls and asked Jon, an excellent baker, what his favorite recipe for such a dough would be. He said he uses Reinhart’s 50% hydrated brioche dough and gave me approximate volumes since I lack a suitable scale. The dough was a very wet mess. But, it is stuffed with deliciousness, and when covered with icing, you would never know how ugly it is underneath. And, if Ugly Dolls can achieve such popularity, why not ugly cinnamon rolls?

Ugly cinnamon rollsCinnamon Roll

2009-01-19

two food lists

Stuff I want to make soon, or before I leave

  • cinnamon rolls (to use up the cream cheese frosting from the Obama cookies)
  • lamb biryani
  • chicken paella
  • crack pepper beef
  • nasi goreng (curry fried rice)
  • broiled fish with sweet potato purée
  • long island cheese squash: soup & ravioli
  • kolhapuri eggplant [660, p.493], also finishes the masala from Aai

Things in the Pantry or Freezer (notes for Scott)