Friday, September 2, 2011

Oh, My...

This is what Rush Limbaugh is talking about when he rails about “environmentalist wackos”.




There certainly are many people who are both concerned about the environment and are simultaneously more familiar with the issues and the underlying science. I like to think of myself as one of them. But we're not in the majority...

TileMill...

Here's a new open source map editing program.  I haven't used it myself (yet!), but it sure looks interesting...

Software State Machines...

I've long been a fan of state machines implemented in software.  Most of my colleagues roll their eyes when I display my enthusiasm for them.  I've generally considered this to be symptomatic of my slightly odd background in digital hardware design, where state machines are the norm.  Most software developers know state machines only from school, if at all.  I use them fairly often, even for very small and simple problems.  Generally I roll my own state machine from scratch, though for more complex state machines I've used libraries like this one.

Alan Skorkin has some ideas about why state machines are infrequently used.  And why they're fluffy bunnies...

Thursday, September 1, 2011

Poster of the Day...


Randomness via Metastability...

Ordinarily metastability is something digital hardware designers go out of their way to avoid.  Intel has come up with a way to harness metastability for, of all things, generating random numbers.  If you're a digital geek, then you already know that generating high quality (in the cryptographic sense) random numbers is surprisingly difficult.  Intel's system, to my knowledge, hasn't yet been vetted by the cryptographic professionals – but knowing what its basis is, the notion looks pretty solid to me. 

High quality random numbers in every CPU.  Cool...

A Pleasant Fantasy...

Tony Blankley has some lovely ideas about what President Obama could say in his upcoming jobs speech:
He could decide to embrace all the major Republican, Tea Party, free market ideas: marginal business and personal tax rate cuts (leading to a net tax cut); big discretionary spending cuts to be implemented before the 2012 election; genuine long term reductions in Medicare, Medicaid and Social Security costs written into law now; major deregulation -- including the U.S. Environmental Protection Agency, Dodd-Frank financial burdens and nanny-state consumer regulations; unlimited oil- and gas-drilling, and shale-fracking authorization; permanent extension of the Bush tax cuts, repeal of the double tax on American corporations' foreign profits, limits on unemployment insurance extensions; and withdrawal of his big union initiatives, such as the National Labor Relations Board's opposition to Boeing Co. building a factory in South Carolina. 
Of course, none of this is likely to happen.  Dang it.

Read the whole thing...

Catch 22...

Courtesy of your government, of course.  The latest: a trucking company can't refuse to hire a driver with a history of alcohol abuse – but if that driver causes an accident, the company is still liable.

At times like this, it surely seems that the socialists in charge of our country's government are trying to destroy us...

Wednesday, August 31, 2011

Soviet History, a Little Differently...

Six minutes of pure fun for anyone who enjoys Tetris or is a history buff:


No Powa! New England Rap...

Via Frankie T., a colleague whose sister (Nora W.) lives in Northboro, Massachussets (about 25 miles west of Boston).  Her area was hard hit by hurricane Irene, and her rap song tells the story:
We got no powa
We got no showa

We got no stove or oven too
We got no cable
I'm not stable
What the hell am I gonna do?

It's very dark out
There is no light
I'm gonna shout
I'm gonna fight
gonna blow like dynamite

Dear national grid
This here ain't right
I bet you have lots of powa on tonite

This really sucks,
What the f#&$ck!!!!!!!!

Tuesday, August 30, 2011

The Microsoft Way...

Much of the software engineering world mercilessly mocks Microsoft for their many violations of all that is good and right.  Here's yet another example of what makes them so eminently mockable...

Morning...

The sky was beautifully clear and moonless.  The dogs did their usual things; the brown dogs smelling everything, the border collie consumed with pine cone play.  Orion was well up over the horizon in the east, and the Milky Way brilliant straight overhead.  Dogs across the valley were howling; probably coyotes or perhaps a mountain lion within their ken.  The temperature was down a bit from the past week; there was a refreshing coolness that we haven't felt for a while.  It was a very pleasant walk.

Last night we brought little Jahar (our new Savannah Cat kitten) home from the breeder.  This is a traumatic transistion for the little fellow – coming from a home with dozens of fellow Savannah Cats (and mom, of course) and going to a strange place where he's all alone (as we have him in isolation for a while).  We brought him into our bedroom in a carrier, which we plopped on the bed.  Door closed to exclude the rest of the menagerie, we opened the carrier door.  Jahar blinked, laid down, and stayed quiet and still – and still in his carrier.  This went on for a couple of hours, but finally he got to the point where he decided that being in the crook of Debbie's arm wasn't so bad.  He ended up spending the night on the bed with us, mostly right between us, always quiet and still.  But around midnight Debbie got up and showed where all the vital things were (water, food, and litter box) and Jahar did a bit of tentative exploring.  There was a pitiful kitten cry every once in a while, but he did all right.  Then back to sleep for all of us...

Monday, August 29, 2011

Good News for Jamul...

Jamul is in a hot zone.  Not for temperatures, but for real estate prices:
A standout was Jamul, where the median price for a single-family resale home shot up 15.2 percent, rising from $375,000 last year to $432,000 this year, based on about the same number of sales during both time periods.
Sounds good to me!

Jet Man...

This guy is just crazy:


Libyan Revolutionary War of 2011...

Austin Bay summarizes the Libyan War of 2011:


Overlearning the Game?

Some interesting thoughts on software patents (and some other things)...

The Terrorists Have Won...

Otherwise known as an airport security fail...

Saturday, August 27, 2011

Congress, Explained...

Via my mom:
The English language has some wonderfully anthropomorphic collective nouns for the various groups of animals.

We are all familiar with a Herd of cows, a Flock of chickens, a School of fish and a Gaggle of geese.

However, less widely known is a Pride of lions, a Murder of crows (as well as their cousins the rooks and ravens), an Exaltation of doves and, presumably because they look so wise, a Parliament of owls.

Now consider a group of Baboons. They are the loudest, most dangerous, most obnoxious, most viciously aggressive and least intelligent of all primates. And what is the proper collective noun for a group of baboons? Believe it or not ... a Congress!

I guess that pretty much explains the things that come out of Washington!

Debt Ceiling Logic...

Via reader Jim M.:
If you can answer this correctly, you can answer the question on what action to take on raising the Federal debt ceiling.

You come home from work and find there has been a sewer backup and you have sewage up to your ceilings.  What do you do, raise the ceilings, or pump out the crap?

Badass of the Week...

...and my hero of the moment!

Wednesday, August 24, 2011

Stupidest C Bug Ever?

Can you spot the bug in this code fragment?
if (code == 200) {     // Downloading whole file
    /* Write new file (plus allow reading once we finish) */
    // FIXME Win32 native version fails here because Microsoft's version of tmpfile() creates the file in C:\
    g = fname ? fopen(fname, "w+") : tmpfile();
}
Explanation here...