The Black Donnellys is the best show on TV

I currently watch four TV shows semi-regularly… Scrubs, My Name is Earl, 30 Rock, and 24.  I try really hard not to get sucked in to watching other shows, because for the most part TV is a waste of time.  I do occasionally also watch CNBC and random news.  But last Monday I caught the premier of The Black Donnellys.  And last night I watched episode 2.  And tonight, episode 3 (online)… I’m hooked.

If you like The Sopranos, you’ve gotta check out The Black Donnellys… episode 1, episode 2, episode 3 (NBC puts each week’s show online a week early).

It is about four Irish brothers, probably in their 20s, who live in a rough New York neighborhood.  The storyline so far appears to be about how they will eventually become mobsters, starting in episode 1 with a chain of events that ended with them killing all of their neighborhood’s Italian mobsters.  Kind of similar to the storyline in Godfather 2, but set in present day and with an Irish twist.  You can tell NBC is setting this show up to fill the mobster-show void that The Sopranos will leave behind when the last episode airs on HBO this summer.

This show really feels like another great HBO drama, but it’s not.  It is an NBC network show.  It is already very dramatic and it gives us the violence that was desperately lacking from most Sopranos episodes.  But it took me until the end of the second episode to realize that there wasn’t any cursing in The Black Donnellys.  The story is just that good and doesn’t need it.

It airs Mondays on NBC from 10pm to 11pm Eastern.

Berkeley DB, CentOS 4.4 and Xen/Amazon EC2

I am trying to get a CentOS 4.4 image running on Amazon EC2, and hit a helluva bug.  A time consuming bug at least…  CentOS comes with Berkeley db4 compiled with ‘–enable-posixmutexes’.  But this doesn’t work under Xen.  When installing the perl BerleleyDB package I get a bunch of this:

Berkeley DB library configured to support only DB_PRIVATE environments

The BerkeleyDB README mentions this Red Hat bug.  So I compiled my own copy of db-4.4.20 with ‘–disable-posixmutexes’ and installed it to /usr/local/BerkeleyDB.4.4 and linked it from /usr/local/BerkeleyDB.  Then while installing perl BerkeleyDB, I started getting a bunch of this crap:

Can't load '/var/tmp/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so' for
module BerkeleyDB: libdb-4.4.so: cannot open shared object file: No such file or
directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.

I was stuck at this point for a while, then a google search for "libdb-4.4.so: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230." (no quotes) turned up exactly one match – this site.

So the entire solution is:

  tar -zxvf db-4.4.20.tar.gz
  cd db-4.4.20/build_unix/
  ../dist/configure --disable-posixmutexes
  make
  make install
  cd /usr/local
  ln -s BerkeleyDB.4.4 BerkeleyDB
  echo "/usr/local/BerkeleyDB/lib" > /etc/ld.so.conf.d/BerkeleyDB.conf
  /sbin/ldconfig

  FTP_PASSIVE=1 LANG=en_US LC_CTYPE=en_US perl -MCPAN -e shell
  >  install BerkeleyDB

60 push-ups

Month 2 is over, and this morning I had to do 60 push-ups and 60 sit-ups.  I can’t do the push-ups in one set anymore.  That stopped shortly after my month 1 post.  But I still do the sit-ups in one set, and that will probably continue until I start having to break the push-ups into three and four sets.

Anyway, I’m still at it.  Who else is still with me?

Carbon neutral email

I watched An Inconvenient Truth last weekend.  Aside of learning how great of a person Al Gore is (according to himself), it got me thinking about how much power our data center uses, the carbon dioxide that is released into our atmosphere to produce the power and how much it would cost to offset that CO2.  So I ran some numbers…

My assumptions:

  DEVICE               WATTS
  Motherboard           25
  AMD Athlon 64 3200+   89
  AMD Opteron           85
  PC133 SDRAM           12
  IDE Hard Drive        25
  SATA Hard Drive       25
  NIC                    4
  CPU Fan                3
  System Fan             2

We have several different server hardware configurations, but with a few shortcuts they can all be classified into three types…

  Type A: 191 Watts
  Type B: 272 Watts
  Type C: 241 Watts

In our Dulles VA data center, we have 90 servers of type A, 5 of type B and 69 of type C.  That equals 35,179 Watts.  But there’s more… According to Cisco, servers account for 26% of the power consumption in a typical data center.  The remaining power is consumed by networking equipment (11%), power conversion losses (10%), lighting (3%)  and cooling (50%).

This yields…

  Servers   26%   35,179
  Network   11%   14,883
  Cooling   50%   67,652
  Lighting   3%    4,059
  Loss      10%   13,530

  Total =  135,304 Watts

  Converting to kilowatt-hours (*24*365/1000) = 1,185,263 kWh

We host 400,000 mailboxes in the Dulles data center, so that means each mailbox consumes 2.9631576 kWh each year.

So if you want to have carbon neutral email, just multiply 2.96 kWh by the number of email accounts you have with Webmail.us, and plug that number into a carbon offset calculator such as the one at Carbonfund.org.  Then donate the amount they say.  Your donation will go to the production of renewable energy, reforestation and/or energy efficiency projects.  These projects have the net effect of canceling out the CO2 produced.

According to my rough calculations (and please correct me if I made any errors or incorrect assumptions), our customers can offset the CO2 emissions created by each email account for just under $0.01 per year.

You’ll need to look at offsetting more than just your email accounts if you want to save the world.  But it’s a start.

Putting a new UI on a bad product

Today while I was eating lunch, I caught a segment on CNBC about the government trying for a third time to popularize the dollar coin.  The dollar coin has failed twice in the past and they are now trying it for a third time in hopes that this time it will finally catch on.  They have changed the design of the coin again, but other than that they are doing nothing new.  Because of this, the dollar coin will fail for a third time.  Collectors will scoop these coins up, but you won’t see people carrying them around and actually spending them.  Dollar bills work perfectly fine.  I don’t need dollar coins and neither do you.

Putting a new user-interface on a bad product isn’t enough to make it succeed.  People who have a perfectly functional product (dollar bills) aren’t going to change their habits and adopt a new product (dollar coins) unless there is a damned good reason to do so.  Sure it will save the government millions of dollars since coined money lasts longer than paper money.  But we Americans don’t care about that.

The government is only thinking about what this product will do for them.  They are not thinking about their customer.  What will this coin do for me??!!

The government needs to create a need for the dollar coin.  A fellow on the CNBC report today suggested that they eliminate the dollar bill, so that there becomes a need for the dollar coin.  That would be a good start, but I already have a ton of quarters, dimes, nickels and pennies.  I don’t want to further clutter my truck’s center console with a fifth type of coin.

After this coin fails again, and several years pass, and millions of tax dollars are wasted on trying to figure out what happened, I hope somebody in Washington starts thinking like a business and takes a look at what their customers want.  If they do this, they will discover… we hate pennies.

So how about when attempt number four comes around, they shift coins up in value, rather than just adding a new type of coin?

– Reduce the production of penny coins
– Encouraging industry to adopt 5-cent rounding in payment processing systems
– Encourage states to use 5-cent rounding for sales tax

Now I have room in my pocket for a new type of coin, so they can replace dollar bills with dollar coins.  And eventually discontinue all production of pennies and dollar bills.

But since it is the government we’re talking about here, and this won’t actually happen for many years… how about saving us all some trouble and skip 5-cent rounding and go straight to 10-cent rounding?  I don’t think I’d miss nickels all that much either.

Two updates…

Update on post “I want to merge the 2 Linux clipboards“…

Ramy posted a comment this morning that led me to autocutsel, which is now doing exactly what I wanted:

First, I had to install libxaw7, libxaw7-dev, libxaw7-headers.  Then, install autocutsel (./configure; make; make install).  Then, I start one autocutsel process that syncs PRIMARY with cutbuffer 0 on mouse-button-up events, and a second autocutsel process that syncs CLIPBOARD WITH cutbuffer 0 always.

~/.bashrc:
..
# Start syncing clipboards
autocutsel -selection PRIMARY -buttonup -fork
autocutsel -selection CLIPBOARD -fork

Update on post “Subscribe via Email“…

It has been two months since I added the Feedburner “subscribe via email” tool to my blog.  And so far I have only one person who subscribes via email – me.  I guess everybody knows how to use RSS these days… at least those who read my blog.