Saturday, March 22, 2014

Shazzam!

Shazzam!  While cleaning my office today, I stumbled across a fun piece of memorabilia...

About four years ago, when I was still working for ServiceNow, I wrote a piece of software that I called “Shazzam” as a sort of code name while I was developing it.   Shazzam turned out to be one of the more successful improvements I made to the Discovery product, making one particular aspect significantly faster and more reliable than it was (technical details below for the 3.5 readers who might care).  When the time came to actually ship Shazzam, we never changed the name – so Shazzam became part of the released product.  And I became known throughout the company (and many of its customers) as the guy who wrote Shazzam.

When I retired last year, someone photoshopped my head onto the graphic below, and used it for the cover of a card my colleagues signed (the “good riddance!” card):


So what does Shazzam do?  Its job is to probe a range of IP addresses to see which ones have a device active on it.  The result of running Shazzam is a list of active IP addresses that need to be investigated more deeply.

Prior to Shazzam, the Discovery product accomplished this by “pinging” each IP address.  In order to keep the code as pure Java, it did this by invoking the “ping” utility for the particular platform it was running on.  Using ping has several disadvantages, not least of which is that some devices have ICMP (which ping runs on) disabled.  It's also outrageously slow, because a separate process has to be started for the ping of each address being scanned.

Shazzam takes a completely different approach: it checks to see if each IP address responds to any of the TCP or UDP ports used for the deeper investigation.  For example, it checks for SSH ports being listened on (because that's how a UNIX server would be investigated) and for SNMP ports responding (because that's how a piece of network gear would be investigated).  It makes all those tests using Java's NIO package, which is designed for high-speed I/O while consuming just one thread.  All of this worked very well, even for customers with very large scale deployments (many thousands of devices).

I don't mind being known as the Shazzam guy :)

Dogs meet magician...

Dogs meet magician...  Hilarity ensues!

These Russians are completely insane...

These Russians are completely insane...

What's this?

What's this?  Why, it's one page from a notebook used by Isaac Newton while he was studying at Trinity College, Cambridge University in 1664 and 1665.  The entire notebook has been scanned at high resolution and is available online.

Geek: an interview with Donald Knuth...

Geek: an interview with Donald Knuth...  I'd not seen this interview from 2008 before.  The interviewer is Andrew Binstock, and it's full of interesting stuff.  Here's one sample:
To me, it looks more or less like the hardware designers have run out of ideas, and that they’re trying to pass the blame for the future demise of Moore’s Law to the software writers by giving us machines that work faster only on a few key benchmarks! I won’t be surprised at all if the whole multithreading idea turns out to be a flop, worse than the "Itanium" approach that was supposed to be so terrific—until it turned out that the wished-for compilers were basically impossible to write.
To programmers of a certain age (that would include me!), Donald Knuth has a status approaching that of a living god.  His monograph The Art of Computer Programming was recommended to me by Don Tarbell in 1976.  I bought the three volumes that were then available, and practically wore them out as I studied them from front to back.  Prior to reading these volumes, I had absolutely no idea that algorithms and data structures had been so well studied and understood; in that sense Knuth's volumes were revelatory for me, as well as providing a solid foundation of knowledge and understanding for me to build a career on...

California leads the way!

California leads the way!  In government-sponsored credit card information breaches.  I guess we really shouldn't be surprised that an agency staffed primarily by union members, whose contracts are overseen by all-too-corruptible professional bureaucrats, and whose IT department must surely be the least desirable entry on the resume of every geek whose ever worked there, would have IT security issues...

Every day I find reasons to be glad that we're escaping this lunatic asylum...

Friday, March 21, 2014

Our story...

Our story...  In a two minute YouTube video...

Steel building (20' x 60') kit for sale...

Steel building (20' x 60') kit for sale...  This kit was made by U.S. Buildings about 10 years ago, and has never been assembled.  It's in excellent condition, almost like new.  Once assembled, my kit would look much like the building in the photo at right, except that my kit includes two solid steel end-walls and an extra-large hinged steel door (not a roll-up) for one end.  These end-walls can be easily modified for whatever kind of openings you want.  My kit also includes three fiberglass skylights that replace three of the steel roof panels.

The kit is currently sitting in my yard (see photos below), in Lawson Valley (about 5 miles east of Jamul town).  The manufacturer is still in business, and still offers the same model (so support and parts are readily available).  My kit is for a model “A”, and it is 20' wide and 12'3" high in the center.  The building comes in any length that's an increment of 2', and my kit is for a 60' length.  You could purchase more sections from the manufacturer to make it even longer.

The building is designed to be mounted on a concrete pad, and California-approved engineering drawings and a construction manual are included.  There's also several buckets of special neoprene-gasketed nuts and bolts (more than should be needed).  The photos below show all the parts stacked on two racks I built for the purpose (they're included if you buy the kit from me).

The kit originally cost me just over $12,000 ten years ago.  The first offer over $8,000 takes the kit immediately; otherwise the highest offer we receive before June 30 gets it.  American cash only, please, unless we already know you.

If you're interested, contact me by email: tom-at-dilatush-dot-com.



Layered rocks on Mars...

Layered rocks on Mars...  The Curiosity rover recently sent back the photo at right (click to embiggen), showing clearly layered rocks.  These look to me like shale (or possibly slate, which is a metamorphic rock derived from shale), a rock typically formed at the bottom of bodies of still water, like lakes or lagoons.  I haven't seen any commentary on the Curiosity site about this yet, but if I'm right, it's even more evidence that Mars was once a watery body...

The Glassmaker Who Sparked Astrophysics...

The Glassmaker Who Sparked Astrophysics...  A great article on another fascinating bit of science history.  It's features characters (especially Joseph Fraunhofer) whom I thought I knew well, but about whom I clearly have much to learn (that's a frequently repeated theme in my life :). 

Wherein I rant about the decline of writing skills...

Wherein I rant about the decline of writing skills...  Here's a headline I happened upon this morning:
Assassin bug uses a 'slight of leg' to deceive and subdue physically superior prey
I'm sure the clever headline writer actually meant to say “sleight of leg” – but just wasn't clever enough to spell it correctly.

As recently as 10 or 15 years ago, finding such an obvious error on the pages of a commercial publication was a rare event.  Today it seems to happen nearly every day.  It may simply be that the failures of American public education are now making it into the “professional” workplace.  Whatever the cause, it makes me crazy – my eyes jump right to the error, and my brain has to worker harder (and I'm lazy, dammit!) to understand it.

Like so many times before, I fired off a complaining email.  Only rarely have these complaints been answered by an actual human.  Once (with Scientific American) my complaint netted me a free one year extension on the magazine – which was nice, but then the magazine turned into a lefty mouthpiece and I dropped my subscription, free or not.  So really all my ranting and complaining has achieved nothing at all.

Maybe I should just give up :(

Geek: Cryptographic “right answers”...

Geek: Cryptographic “right answers”...  This is a series of common questions about using cryptography with direct answers that are briefly explained.  Though it was written (by Colin Percival, a well-known guy in the security world) over four years ago, it still looks like good advice to me, jibing with more modern advice I've read.  This post is referenced from hundreds of web sites, but somehow I've never stumbled across it before...

America has a corruption problem...

America has a corruption problem...  It's not as blatant as the corruption in Russia, China, India, or even Italy.  But it's there, it's insidious, and it's affecting American innovation.

Corruption:  Perversion or destruction of integrity in the discharge of public duties by bribery or favour; the use or existence of corrupt practices, especially in a state, public corporation, etc.
For quite a few years now, I've been paying more attention to historians, economists, and political scientists who theorize that systems of government inevitably accumulate the elements of corruption over time, eventually becoming so dysfunctional, evil, or sclerotic that they are conquered or overthrown.  I am becoming increasingly convinced that they are correct about inevitability, and that even the grand experiment that is America will eventually succumb.  The only thing that gives me hope of escaping this fate is that it is at least theoretically possible for Americans to have a peaceful revolution through the ballot box.  The 2012 election cycle just about wiped out that hope for me.  The 2014 cycle is looking a bit better, but then the 2012 cycle looked pretty good 9 months before the election, too.  If the 2016 election cycle fails to look even remotely like a revolution, then I think the last vestiges of my hope will have been stomped into the ground.

And if the American experiment is doomed to fail, what then for someone living in these times?

Stagnant toilet of pseudo-justice...

Stagnant toilet of pseudo-justice...  Ah, that Mark Steyn certainly has a gift for a turn of phrase.  In a single post, he lampoons the American systems of criminal and civil justice, and the “over-lawyerization” of foreign policy and national security.  And somehow makes you grin while he delivers the bitter verdict!

If you'd like to support Mark Steyn's one man war on the Mann, he's got some ways to do it that are more amusing than simply dropping a few bills on him (though I'm sure he wouldn't mind that, either!)...

Obamacare bites prominent leftie...

Obamacare bites prominent leftie...  Will Pitt is a notorious flaming liberal of the activist variety.  His resume includes such things as a stint as Press Secretary for perennial presidential hopeful Dennis Kucinich, membership in Progressive Democrats of America, and columnist at TruthOut.  In other words, he's a certifiable loony leftist.  Here's what he has to say about Obamacare, in a post on Democratic Underground:
What I've learned after a three-month war with these fiends: the ACA says the insurance companies cannot deny coverage to those with pre-existing conditions, which is true as far as it goes. But they can deny coverage for the life-saving medications necessary to treat those conditions. The insurance company I signed up with through the ACA exchange just denied coverage of my wife's multiple sclerosis medication. We're "covered," to the tune of $700 a month...just not for what she really needs.

A cozy loophole, that.

Fuck you, insurance industry.

Fuck you, Mr. President, you piece of shit used-car salesman.

From my heart and soul, fuck you.
Then in the comments to that post, he says:
I helped, in my own small way, to promote this thing, because of the pre-existing conditions aspect that would benefit my wife. I feel like a fucking dupe.

On edit: I AM a fucking dupe. Last time that happens.
On the whole, that doesn't sound like someone still enchanted with his former hero, Barack Hussein Obama.  Much more from Mr. Pitt here.

Being a dyed-in-the-wool leftie, his solution of choice is a government-run single-payer system.  Like his fellow lefties, he completely ignores the conspicuous lack of a successful example of such a system anywhere in the world, at any time in history.  It will be right when we do it, they say.  But at least he's woken up to the disaster otherwise known as Obamacare...

The race to absolute zero...

The race to absolute zero...  A fascinating tale of science history in Victorian times...

A crack in the hockey stick?

A crack in the hockey stick?  All over the warmist world, heads are exploding because of the news that the American Physical Society has decided to conduct a high-level review of its position on anthropomorphic global warming (AGW) – and the six member committee appointed to do the review includes three prominent AGW skeptics (including a favorite scientist of mine, Judith Curry).

For some reason, the mainstream media isn't trumpeting this story.  But you can read all about it here, there, and (with actually exploding heads) over here.

Russia and Estonia...

Russia and Estonia...  Estonian President Toomas Hendrick Ilves: “Era of peace is over.”  The article makes it clear that he and other Eastern European leaders are deeply worried about the wimpy NATO and EU response to Putin's Ukraine incursion...


Obama & Putin phone call...

Obama & Putin phone call...  “In Russia, we have word for this...”

Thursday, March 20, 2014

Erythronium revolutum...

Erythronium revolutum...  Also known as the pink fawn-lily.  We've seen these growing in small meadows within a forest, in very dense groups.  At a distance they can look like small ponds nestled in the lowest part of a meadow.  Via BPOD, of course...