[ Content | Sidebar ]

Archives for December, 2008

“Split” Over the Song? Unbelievable…

I think this article speaks to the disconnect between the GOP and the general public, and further, to the reason they got slaughtered in the last election… http://www.cnn.com/2008/POLITICS/12/29/saltsman.obama.song/index.html?iref=mpstoryview

The Retiring Tech Generation Leaders

Bill Gates has left Microsoft. Steve Jobs is rumored to be struggling with health problems that may force him to reduce his role at Apple. Many of their peers that emerged in the late 70′s and early 80′s are getting to that age of retirement. Thinking about this, and about leadership styles, I’m struck by [...]

Bengals Boycott

I like it.

Benchmarking Recursion Using Factorial Function

def fact(n)   (1..n).to_a.inject(1){|f,n| f*n} end def recursive_fact(n)   return n==1 ? n : n * recursive_fact(n-1) end require ‘benchmark’ Benchmark.bm do |b|   b.report(“inject”){1000.times{fact(100)}}   b.report(“recursive”){1000.times{recursive_fact(100)}} end