Friday, April 13, 2012

Your Morning Smile...

This is completely cool...


Daily Governor Awesome...


There's a Tax for That...

Remember this when you vote in November:

The Doolittle Raid...

April 18th, just a few days from now, is the 70th anniversary of Jimmy Doolittle's raid on Tokyo, in carrier-launched B-25 bombers.  This raid was a turning point in the war from the American perspective – the first time we hit back at the Japanese after their attack on Pearl Harbor and other Pacific targets.  The story of this raid is an incredible story of derring-do and ingenuity. 

This morning I was very surprised to read that five of the aviators on Doolittle's raid are still alive.  It's amazing that any of them survived the mission at all.  Many of the survivors had harrowing experiences after the raid: crash landings, shoot-downs, being taken prisoner, escaping through Japanese-held territory, grievous injuries.  Somehow I never expected that any of them would live into their 90s, but a few of them have.

The story of this raid was captured in a then-famous book (and subsequent movie) called Thirty Seconds Over Tokyo, written by Captain Ted Lawson (one of the participants in the raid).  My parents had a copy of that book, and it happens to be the first first-person historical account I ever read.  It kindled a lifelong interest in reading history, and to this day especially of World War II...

Thursday, April 12, 2012

A Little Drama, Please...

Start with a quiet little square in Belgium, a place where nothing really happens.  Then add a little drama...

Greatest Closing Paragraph Evah?

Scientific papers are not generally noted for their literary qualities (or even for their readability!).  So to see a such a science paper end like this is quite unusual:
An 
implication
 from
 this 
work 
is 
that 
elsewhere 
in
 the 
universe
 there 
could 
be 
life
 forms 
based 
on 
D 
amino
 acids 
and 
L
 sugars, 
depending 
on
 the 
chirality 
of 
circular
 polarized
 light 
in 
that 
sector 
of 
the 
universe or 
whatever 
other
 process 
operated 
to
 favor
 the 
L
α‐methyl 
amino acids 
in 
the 
meteorites 
that 
have 
landed 
on Earth.

 Such
 life
 forms
 could
 well
 be
 advanced
 versions
 of
 dinosaurs,
 if
 mammals
 did
 not
 have the
 good 
fortune
 to 
have 
the 
dinosaurs 
wiped
 out 
by 
an 
asteroidal 
collision, 
as 
on
 Earth. 

We 
would 
be 
better 
off 
not 
meeting 
them.
Via io9, where you can read more about it...

Pot Pie Night...

Wednesday night is “pot pie night” at the Descanso Junction Restaurant, and we were there last night.  At right is the chicken pot pie they served up for me: crosshatch puff pastry over a dish of curried chicken with just the right mix of chicken, sauce, and vegetables. 

For close to ten years now, the Descanso Junction Restaurant has been our favorite place to eat out.  We love the food, the generous portions, and the wonderful cast of characters who make us feel right at home there.  And they just keep getting better and better!

A Refreshing “Terms of Service”...

It's not often that your reaction to reading a legal document is “Hey, that was pleasant!”  Check out the right-hand column in the linked terms of service for the site 500px...

Wednesday, April 11, 2012

Cat's Paw...

Ptilotus spathulatus, aka “cat's paw” or ”pussytails”.  I saw this while in Australia, back in the '70s.  They feel just like they look like they'd feel.  I had no idea what it was, but I sure enjoyed it.  As always, click to enlarge.  Via BPOD...


Race: His First Competition...

This past weekend Debbie ran both Miki and Race in an agility competition.  This was Race's very first such competition.  In the video below you can see Race make some “newbie” errors (like knocking down the bar on a jump, or missing the weave poles).  But you can also see some fantastic speed – he looks like he's roughly twice the speed of Miki.  Several times you can see him leaving Debbie far behind.  The numbers bear this out: this course was rated at 44 seconds, and he did it in about 20 seconds.  Watch out, world!  Race is on the way!

Geostationary Satellites...

Look closely at this time-lapse movie and you'll see a line of “stars” that don't move as the real stars rotate.  Those are geostationary satellites – mostly telecommunications satellites – all orbiting about 25,000 miles high.  Their orbits take 24 hours, so they appear to be motionless in the sky above us.  They're all very close to the Earth's equatorial plane; if they were off this plane, they would appear to make a figure-eight pattern in the sky.  From APOD, of course.

The Demise of the Low-Level Programmer...

Andy Firth talks about a topic I've posted on several times:
It depresses me that so much of what I consider to be essential is simply not being taught anymore. I’m not talking about assembly language per se; even those of us who used to spend hours writing assembly now more often opt to use intrinsics built into compilers to avoid the stress and complication. What I’m talking about is simply the understanding of WHAT is happening when someone does i++ and not ++i, why one might opt to stripe a memory copy/set in certain circumstances.
The gist of my earlier posts: I'm serially astounded just how productive it is possible for programmers to be without a well-rounded understanding of how computers work.   The understanding of floating point vs. fixed point arithmetic that Andy mentions is one of my favorite examples.  Though I work in a team packed with more-than-just-competent programmers, I doubt that one in ten of them actually understands IEEE-754 floating point representation.  Perhaps one in five could do a decent job of explaining two's complement arithmetic – and far less would have even heard of one's complement arithmetic.  I've had the same experience as Andy – many times – with respect to bit shifting (and bit twiddling in general). 

I won't say all this depresses me, as Andy says.  But it certainly worries me, especially with my experience working with Soviet-trained developers in Estonia who understood these things far better than my American colleagues.  Also, as I mentioned above, it surprises me that it is possible for programmers to become very good indeed without having this backdrop of deep understanding...

Tuesday, April 10, 2012

Mosh, the Mobile Shell...

A replacement for SSH?  Better than SSH?  I haven't tried Mosh yet, but I have to say that it looks interesting.  I wonder about it's security, though...

Programming Language FAIL!

Eevee at Fuzzy Notepad really, really doesn't like PHP – and he details the reasons why is great detail.  I was already convinced of PHP's lameness, so I found it quite amusing to see a masterful analysis leading to the same conclusion I'd already reached.  Here's the analogy Eevee uses to set the stage for his thoughtful takedown:
I can’t even say what’s wrong with PHP, because— okay. Imagine you have uh, a toolbox. A set of tools. Looks okay, standard stuff in there.

You pull out a screwdriver, and you see it’s one of those weird tri-headed things. Okay, well, that’s not very useful to you, but you guess it comes in handy sometimes.

You pull out the hammer, but to your dismay, it has the claw part on both sides. Still serviceable though, I mean, you can hit nails with the middle of the head holding it sideways.

You pull out the pliers, but they don’t have those serrated surfaces; it’s flat and smooth. That’s less useful, but it still turns bolts well enough, so whatever.

And on you go. Everything in the box is kind of weird and quirky, but maybe not enough to make it completely worthless. And there’s no clear problem with the set as a whole; it still has all the tools.

Now imagine you meet millions of carpenters using this toolbox who tell you “well hey what’s the problem with these tools? They’re all I’ve ever used and they work fine!” And the carpenters show you the houses they’ve built, where every room is a pentagon and the roof is upside-down. And you knock on the front door and it just collapses inwards and they all yell at you for breaking their door.

That’s what’s wrong with PHP.
Oh, go read the whole thing. You know you want to!

The Wheel of History...

As I was reading this excellent post (at Sultan Knish by David Greenfield) musing on the patterns in human history, one paragraph caught my attention:
That is the thing about America that most Americans don't realize. For all the hopeful speeches made by American leaders about exporting the Des Moines way of life to Baghdad or Kandahar, what people in those parts of the world see when they look at America isn't democracy and freedom, it's wealth and power. Those are the things they want, and they don't understand why American leaders keep chattering on about democracy and freedom, no more than we understand why Muslims keep going on about the Koran.
Yes. That's exactly right, and exactly what so many Americans get wrong when they try to imagine what the people in other countries envy about America. 

I remember well my first explorations in Estonia, in the early '90s, when I met quite a few Estonians who had never before met an American.  Rarely did any of them evince interest in our freedoms or our government.  What were they interested in?  Hollywood stars (especially when they learned that I hailed from California, upon which they assumed I rubbed elbows with all of them).  Jeans.  Cars.  The first Gulf war.  In other words, the trappings of wealth and the evidence of power.

I've traveled in a lot of countries; had lots of conversations with people interested in America.  The few conversations I've had with people curious about our government and what it's like to live in freedom really stand out – for their rarity, mostly...

Mama!

Via my lovely bride:

Monday, April 9, 2012

Computing Trend...

The graph at right (click to enlarge) shows computations/kilowatt-hour on the vertical axis (logarithmic), and time on the horizontal.  When I got started in computing, one could do about 10 million (10^7) computations with a kilowatt-hour of power.  Today one can do about 1 quadrillion (10^15) computations with that same power.  In other words, one can do 100 million (10^8) times as many computations today for a given amount of power as could be done in 1970.  100 million!

This trend shows no signs of slowing down, much less stopping.  Feynman's calculation of theoretical limits, so many years ago, says that we've just scratched the surface.  The theory and the track record both lend credence to the trend continuing for a long time – and that leads to some interesting things...

Granular Flows...

This is the best video of granular flows I've ever seen:

Swimming Eagle...

A bald eagle does what it takes to get his dinner. Via my mom:

Friday, April 6, 2012

Anger Management Really Does Work...

Via my mom:
Anger Management

When you occasionally have a really bad day, and you just need to take it out on someone, don't take it out on someone you know, take it out on someone you don't know, but you know deserves it.

I was sitting at my desk when I remembered a phone call I'd forgotten to make. I found the number and dialed it.

A man answered, saying 'Hello.'

I politely said, 'This is Chris. Could I please speak with Robyn Carter?'

Suddenly a manic voice yelled out in my ear 'Get the right f***ing number!' And the phone was slammed down on me.

I couldn't believe that anyone could be so rude.

When I tracked down Robyn's correct number to call her, I found that I had accidentally transposed the last two digits.

After hanging up with her, I decided to call the 'wrong' number again.

When the same guy answered the phone, I yelled 'You're an asshole!' And hung up.

I wrote his number down with the word 'asshole' next to it, and put it in my desk drawer.

Every couple of weeks, when I was paying bills or had a really bad day, I'd call him up and yell, 'You're an asshole!' It always cheered me up.

When Caller ID was introduced, I thought my therapeutic 'asshole' calling would have to stop.

So, I called his number and said, 'Hi, this is John Smith from the telephone company. I'm calling to see if you're familiar with our Caller ID Program?' He yelled 'NO!' and slammed down the phone. I quickly called him back and said, 'That's because you're an asshole!' And hung up.

One day I was at the store, getting ready to pull into a parking spot. Some guy in a black BMW cut me off and pulled into the spot I had patiently waited for. I hit the horn and yelled that I'd been waiting for that spot, but the idiot ignored me. I noticed a 'For Sale' sign in his back window, so I wrote down his number.

A couple of days later, right after calling the first asshole (I had his number on speed dial) I thought that I'd better call the BMW asshole, too. I said, 'Is this the man with the black BMW for sale?'

He said, 'Yes, it is.'

I then asked, 'Can you tell me where I can see it?'

He said, 'Yes, I live at 34 Oaktree Blvd., in Fairfax. It's a yellow ranch style house and the car's parked right out in front.'

I asked, 'What's your name?'

He said, 'My name is Don Hansen.'

I asked, 'When's a good time to catch you, Don?'

He said, 'I'm home every evening after five.'

I said, 'Listen, Don, can I tell you something?'

He said, 'Yes?'

I said, 'Don, you're an asshole!'

Then I hung up, and added his number to my speed dial, too.

Now, when I had a problem, I had two assholes to call.

Then I came up with an idea...

I called asshole #1.

He said, 'Hello'

I said, 'You're an asshole!' (But I didn't hang up.)

He asked, 'Are you still there?'

I said, 'Yeah!'

He screamed, 'Stop calling me'

I said, 'Make me.'

He asked, 'Who are you?'

I said, 'My name is Don Hansen.'

He said, 'Yeah? Where do you live?'

I said, 'Asshole, I live at 34 Oaktree Blvd., in Fairfax, a yellow ranch style home and I have a black Beamer parked in front.'

He said, 'I'm coming over right now, Don. And you had better start saying your prayers.'

I said, 'Yeah, like I'm really scared, asshole,' and hung up.

Then I called Asshole #2.

He said, 'Hello?'

I said, 'Hello, asshole,'

He yelled, 'If I ever find out who you are...'

I said, 'You'll what?'

He exclaimed, 'I'll kick your ass'

I answered, 'Well, asshole, here's your chance. I'm coming over right now.'

Then I hung up and immediately called the police, saying that I was on my way over to 34 Oaktree Blvd, in Fairfax, to kill my gay lover.

Then I called Channel 7 News about the gang war going down in Oaktree Blvd in Fairfax. I quickly got into my car and headed over to Fairfax. I got there just in time to watch two assholes beating the crap out of each other in front of six cop cars, an overhead news helicopter and surrounded by a news crew.

NOW I feel much better.

Anger management really does work.