Capitol Hill Blue: Secret Service agents say Cheney was drunk when he shot lawyer

Capitol Hill Blue: Secret Service agents say Cheney was drunk when he shot lawyer

This was linked on reddit.   Lots of interesting info about the people involved and the circumstances, but the headline claim is one of those “inside sources” things that will remain completely unverifiable one way or another unless whoever leaked this to Capitol Hill Blue keeps on leaking to others.

I dunno. I think this whole “shooting an old man in the face” thing is pretty damn trivial compared to lying to start a war and setting up one’s favorite corporate old cronies for massive war profiteering.  This was clearly an accident (whether a reckless, drunk accident or not).  Nobody died.
Think though if Cheney’d actually killed the guy. Conspiracy theorists would go nuts with that.  It’d be like that whole Vincent Foster/Clinton Body Count thing.  “What did he know, that he had to be offed in a so-called ‘Hunting Accident’?”

Glad we missed out on that.

JSON article

JSON for the masses is being widely linked lately.  I find it interesting and a bit perplexing.  It purports to show you how to “program in JSON” — which boils down to using Javascript objects as namespaces to hold closely related functions and variables.

It’s a good idea.  Namespaces are helpful and clarify things.  It purports to make things “object-oriented,” which I find a kind of unfortunate claim.  There’s a brand of “object orientation” which basically is nothing but procedural programming which uses classes and/or objects as namespaces — where an object of a given class has no purpose other than as a place to hang a bunch of conceptually related methods.  Or where certain classes are never instantiated at all and just serve as namespaces for their various methods.  You see bits of this even in respectable object oriented languages, e.g. a Math class which exists only to put the sqrt() method.  But it’s kinda lame, as far as object orientedness goes.  And it’s mega-lame if you’re doing it all the time.  (Mega-lame as far as OO goodness is concerned.  Namespaces are still better than no namespaces, though.)

The other thing that seemed odd about this article was that as far as I can tell, what he’s proposing isn’t actually valid JSON.  JSON is supposed to be a data serialization language, like YAML. If you check the spec, you’ll notice function objects are not there.  So what the author is writing about is not strictly speaking even JSON.  And it’s definitely not there to do what JSON is supposed to do — serialize objects for transmission from one place to another.

So it’s a nifty thing, a good idea, but not really very object-oriented at all, and not really JSON at all.

It does kind of show off how easy it is to mold Javascript into an elegant shape though.  Worth reading for that, I think.