Friday, August 14, 2009

RIP: Les Paul (1915-2009) -- The Man Who Changed Popular Music

Les Paul has died at age 94. Musician and inventor who changed the face of popular music forever.

"I learned a long time ago that one note can go a long way if it's the right one,and it will probably whip the guy with 20 notes." -- Les Paul

Here he is at age 90:

You can also check out the video obituary at the New York Times.

Thanks for the memories!

Tuesday, August 11, 2009

Sometimes, Humor is the Best Alternative Medicine

Comedian Dara O'Briain was unknown to me until this clip began showing up.  Obviously, I've been missing quite a bit.  Here's his take on homeopathy and related looniness.  (Warning: the clip contains industrial strength language so children may wish to cover their parents' ears.)

You can find more of his work on YouTube.

Monday, August 10, 2009

The Most Frustrating Bug I Ever Tracked Down

In PreviousLifeTheLast, I was responsible for developing a wide range of marketing software with a financial bent (student loans, repayments, electronic applications with calculators, etc.)  For one client, the calculation side was much more prominent than usual.  But we had to do it in MacroMedia Director because it had to be pretty.  And, because we could use a Designer rather than a Real ProgrammerTM.

The designer we chose was really good.  He even became a pretty good programmer.  But after he was gone, we had to do the final cleanup before distribution.  Then, The Bug was found!  I don't even remember who found it -- the client, our testers, our tech review?  In any case, everything ground to a halt so we could get it fixed.

What was it? Sometimes, when clicking to leave an entry field or to go to another field, nothing would happen or the cursor would go to the wrong field.  It took us hours to even come close to isolating the behavioral coditions, let alone diagnose the problem.  Eventually, I put in debugging code to dump coordinates (because single-stepping wouldn't work since the problem code and the debugger both used the mouse!)

Finally, we saw it.  In essence, the code was doing the following (in pseudo-code, I don't remember Director syntax anymore):



if (onMouseClick()) {
where = getMousePosition() ;
[ do additional processing ]
}


Looks like a pretty foolproof way to detect a mouse click and find out where on the screen it occurred, right?

Obviously, FAIL!

One would think that an event like a mouse click would trap some pertinent information such as time, right/left/middle, position, etc., to then be used by the calling application.  But, nooooooo .......

The program gets the information that a click has occurred and then has to ask for the current mouse position.  So Director returns the information of the position at the time of requesting the position (or, worse yet, once Director gets done with whatever overhead and interrupts it may be processing.)  So, if the button is clicked while the mouse is moving, the program gets the position of where the mouse/cursor has moved by the time the program gets around to asking for it.

Of course, if the position isn't anywhere close to where the click happened (even a few pixels may make a difference between a button hit/non-hit), it was anybody's guess what might happen.

I don't remember how we fixed the problem.  But I do remember that a system should not be designed with that kind of object/event sloppiness.

Sunday, August 9, 2009

Listening For The Music -- Pop & Other

I didn't go to many Pop concerts unless they were free -- like getting tickets because I worked in a record store.  But, occasionally I did, and usually enjoyed them but they were often unmemorable.  Some of the others, though, still stay with me.

Listening For The Music -- Introduction

For many of us from the Baby Boomer Generation, music was an important part of life.  Fortunately, some of the music has lived on so we can even occasionally hear it on the radio -- if we know the right stations.  Records (this was pre-CD) were crucial but so was the concert experience.  I've decided to do a series of categorized posts recollecting many of the concerts I remember going to.  They were an important part of shaping my musical aesthetic (several thousand LPs also contributed).  Sometimes the extra-musical element was more important than the sounds -- when important, I'll talk about that, too.

As Frank Zappa said, "Music is the best."  And live music is often the best of the music.

Saturday, August 8, 2009

Bobby McFerrin Brings Out Our Inner Pentatonic

Although Tom Hanks dancing on a keyboard in Big was kind of fun, jazz singer Bobby McFerrin's fancy feet help show how fundamental the pentatonic scale is to us human critters.  Just a little prodding and the whole audience gets it right.



World Science Festival 2009: Bobby McFerrin Demonstrates the Power of the Pentatonic Scale from World Science Festival on Vimeo.

What I've Learned Since Kindergarten

Many years ago, Robert Fulgham wrote "All I Really Need to Know I Learned in Kindergarten".

It wasn't very long but seemed to capture most of the important stuff.

In the same spirit, I've put together a list of what else I've learned.  Again, it's the important stuff, not the trivia like multiplication tables or calculating the present value of a future stream of income or the structure of sonnets or the historical development of the sonata form.

I hope some of it will be useful to my kids now that they are on their own (or will be way too soon.)  Each bullet is probably worth a post of its own -- maybe if I can find the time I will do that.

  • There will always be bullies.
  • Ignorance is curable; stupid is forever.
  • Saying "Goodbye" is harder than making new friends.
  • Learning something is easy; becoming good at something requires lots of hard work.
  • Some people replace meddling in their siblings' lives with meddling in other peoples' lives.
  • Many things in life are not fair -- but not everything.
  • The complexity and wonder of the universe is an expanding revelation that cannot be equalled.
  • Carrying a few dollars, some change, a couple of pens and a good Leatherman® multi-tool makes one very self-reliant.
  • Knowing what you do not know is usually more important than what you know.
  • Sturgeon's Law: Ninety percent of everything is crap.
  • "Stop and smell the roses" only works if you like roses; figure out what you really like and do that.
  • Critical issues require critical thinking. Unfortunately, there is a surplus of the former and a deficit of the latter.
  • I could not be a Boy Scout or a church-goer anymore because of what I learned from them.
  • Showing up on time, doing a good job, and being nice are all you can really control.
  • There is no such thing as "The Good" or the "Best."
  • Understanding and debating the question about the tree falling in the forest with nobody around is the best introduction to almost all the important issues in philosophy and language as communication.
  • TANSTAAFL: There Ain't No Such Thing As A Free Lunch

Your mileage may vary.

The Out Campaign: Scarlet Letter of Atheism
free debate