Friday, January 4, 2013

A Win on Two Counts!

Via my mom, who declares it a winner for (a) the cinematography, and (b) the score (Kenny G.):

The Right Point...

Why would a train (carrying biofuel) cross the U.S.-Canada border 24 times without unloading?  Why, because they could make millions of dollars that way, of course!  Read about it here. 

The author makes exactly the right point: this only happened because of central economic planning.  In a free market, this wouldn't have made any sense at all.  With the unintended (I'm willing to presume) consequences of central planning, these sorts of outcomes are almost inevitable.  Given the opportunity, people will game the system.  It's in our selfish genes...

2012 Win/Luck Compilation...

48 Hours in Tallinn...

I love seeing articles like this pop up in the mainstream press.  Little Estonia is being discovered!  I miss visiting there...it's been eight years now...

Tycho's Central Peak...

Tycho is a large, relatively young crater on Earth's moon, easily spotted with the naked eye (see photo with red location dot at right).  Tycho has a prominent set of central peaks (as seen in the photo at far right) that can be seen even with binoculars. 

APOD is featuring a photo of those central peaks today, taken a year and a half ago by the Lunar Reconnaissance Orbiter (LRO) – another one of NASA's largely unsung scientific robotic exploration heroes.  Even better, APOD links to this interactive high-resolution photo viewer, which shows the same photo in spectacular 1.5 meter per pixel resolution.  Awesome!


What Explains the Rise and Fall of Violent Crime?

In the years since 1960 in the U.S., the rate of violent crime rose dramatically from about 3 per year per million people, to over 15 in 1988, and then back down to 8 last year (and still falling fast).  Why such large swings?

Kevin Drum (a journalist) reports on a theory proposing a very simple cause: environmental lead (Pb), primarily from leaded gasoline.  Before my more rabidly conservative readers explode in apoplexy: yes, I know this is in Mother Jones.  Yes, I know who Kevin Drum is.  Those two facts don't mean the man's wrong - read it; don't just reflexively dismiss it because of its source.

It's an interesting idea with some compellingly suggestive evidence (though less than proof positive at the moment).  This also suggests that renewed efforts to reduce environmental lead would be very beneficial...

Curiosity: Looking Around...

Curiosity is still exploring things in the bottom of Gale Crater.  Almost every day there's a new set of imagery to beguile anyone curious about Mars.  I love the way (these days) NASA just throws all the raw images out there for us to peruse...

Thursday, January 3, 2013

UFO Lands in New Mexico...

Straight Out of Science Fiction...

NASA is actually considering capturing an asteroid, hauling it back toward Earth, and parking it in lunar orbit.  Wow!  That's straight out of a pulp magazine's space opera of the '50s!

It gets a little less exciting as you examine the details...

First, we're talking about a really little asteroid - just twenty feet or so in diameter.  Secondly, NASA really doesn't have much interesting in mind for this thing.  They want to study it (which could be done anywhere, of course), and (wait for it!) they want to land astronauts on it.  Why?  Because that's one of their goals, given to them by Obama.  And it's too damned hard to go out and land astronauts on asteroids in their native milieu - so of course, we need to bring the asteroids to us.  So we can land on it, plant a little flag, do a little brag, and then knock a few rocks off with a rock hammer.

Once again, for what these combined missions would cost (the robotic mission to capture an asteroid, plus the manned mission to the asteroid once it's parked in orbit around the moon), we could make 10 or so Cassini missions, sending capable robotic explorers on long, complex missions in the outer solar system.  Such missions would return vastly more science data than this single manned mission.

Naturally, we won't do it.  The political optics for the robotic missions suck, unfortunately.  It's apparently only a few curmudgeons like me who support them.  Everyone else wants the drama and romance of the manned missions, even if there's nothing particularly useful about them...

Do Armed Citizens Actually Succeed in Stopping Criminals?

Here's one case where an armed citizen stopped a robbery, with the incident captured on video:



My progressive friends love to find ways of dismissing the abundant examples of such things.  They're pretty tricky about it, too.  For example, one statistic trotted out again after the Sandy Hook shooting was the dearth of examples of mass murders in the U.S. that were stopped by armed citizens.  A mass murder is defined (by the FBI) as a murder with four or more victims.  So the statistic cited is that very few (3, to be precise, since 1970) cases are on record where an armed citizen stopped a murderous shooter after the murderer had already killed 4 or more people.  However...there are dozens of cases (150 to 200, depending on the source, since 1970) where armed citizens stopped murderous shooters after they shot at least one person, but before they killed 4 or more people. 

Well, all righty then, progressives.  You go right ahead and cite your statistic, and go right ahead disarming yourselves.  I'll think of it another way.  Would I rather be (a) in an unarmed crowd, or (b) an armed crowd, when some nutcase opens fire toward me?  That's a pretty easy question for me to answer!

Here's some more reading about mass killings stopped by armed citizens and the general effects of armed citizens on crime rates.

Debbie and I are going to go live in a state with “must issue” concealed carry laws...

Regular Expression Visualizer...

Here's a nice little web-based regular expression visualizer (IPv4 address matcher example shown at right).

I'd have killed for something this like 15 years or so ago, when I was first learning how to construct regular expressions.  They were so darned hard to read!  What the heck would

      \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}

mean to any normal person?  Now, after years and years of practice, the symbolic equivalent of this is kind of “built in” to my brain, just as with Java or JavaScript constructs...

I Would Love to Do This...

But I suspect Debbie would kill me if I did...

Wednesday, January 2, 2013

Preparing for Possible New Gun Laws...

Obama and the Democrats have announced that they intend to pass strict new gun laws, with the precise restrictions they're seeking remaining unspecified.  There are lots of ways one might prepare for such an eventuality.  Colleague and reader Doug S. sends along one of these:


Debbie and I will be taking another route: this month, while we still can, we're going to visit our local gun shop and stock up on basic weaponry – and some ammo...

Great. A “Fiscal Cliff” Deal...

What a deal!  Taxes going up. Spending going up.  Deficit reduction?  Kicked that can down the road again.

I've given up on any hope of either current major party making any significant changes to our government – and especially any actual spending reductions.  We need a new party (or the equivalent), or a revolution.  I don't care which one, either will do just fine.

I have seen the future, and it looks like Greece.  Doom...

Tuesday, January 1, 2013

Holiday Safety Warning...

Via reader Bob F.:
A recent joint study conducted by the Department of Health and the Department of Motor Vehicles indicates that 23% of traffic accidents are alcohol related.

This means that the remaining 77% are caused by assholes who drink bottled water, Starbucks, soda, juice, energy drinks, and shit like that.

Therefore, beware of those who do not drink alcohol. They cause three times as many accidents.

This message is sent to you by someone who worries about your safety.

Only in America!

Via reader Jim M:
Only in America could the rich people - who pay 86% of all income taxes - be
accused of not paying their "fair share" by people who don't pay any income taxes at all.

Only in America could people claim that the government still discriminates against black Americans when they have a black President, a black Attorney General, and roughly 18% of the federal workforce is black while only 12% of the population is black.

Only in America could they have had the two people most responsible for our tax code, Timothy Geithner, the head of the Treasury Department and Charles Rangel who once ran the Ways and Means Committee, BOTH turn out to be tax cheats who are in favor of higher taxes.

Only in America can they have terrorists kill people in the name of Allah and have the media primarily react by fretting that Muslims might be harmed by the backlash.

Only in America would they make people who want to legally become American citizens wait for years in their home countries and pay tens of thousands of dollars for the
privilege while we discuss letting anyone who sneaks into the country illegally just 'magically' become American citizens.

Only in America could the people who believe in balancing the budget and sticking by the country's Constitution be thought of as "extremists."

Only in America could you need to present a driver's license to cash a check or buy alcohol, but not to vote.

Only in America could people demand the government investigate whether oil companies are gouging the public because the price of gas went up when the return on equity
invested in a major U.S. oil company (Marathon Oil) is less than half of a company making tennis shoes (Nike).

Only in America could the government collect more tax dollars from the people than any nation in recorded history, still spend a Trillion dollars more than it has per year - for total spending of $7-Million PER MINUTE, and complain that it doesn't have nearly enough money.

Only in America could politicians talk about the greed of the rich at a $35,000.00 a plate campaign fund-raising event.

Dave Barry's Blog...

Friend and reader Doug W. let me know that Dave Barry is actually not in hiding – and he has a blog that he posts on frequently (and hilariously).   This is now on my daily reading list!

Great Quotes...

Passed along by blog friend Jim M:
In my many years I have come to a conclusion that one useless man is a shame, two is a law firm, and three or more is a congress.
-- John Adams

If you don't read the newspaper you are uninformed, if you do read the newspaper you are misinformed.
-- Mark Twain

Suppose you were an idiot. And suppose you were a member of Congress. But then I repeat myself.
-- Mark Twain

I contend that for a nation to try to tax itself into prosperity is like a man standing in a bucket and trying to lift himself up by the handle.
--Winston Churchill

A government which robs Peter to pay Paul can always depend on the support of Paul.
-- George Bernard Shaw

A liberal is someone who feels a great debt to his fellow man, which debt he proposes to pay off with your money.
-- G. Gordon Liddy

Democracy must be something more than two wolves and a sheep voting on what to have for dinner.
--James Bovard, Civil Libertarian (1994)

Foreign aid might be defined as a transfer of money from poor people in rich countries to rich people in poor countries.
-- Douglas Case, Classmate of Bill Clinton at Georgetown University.

Giving money and power to government is like giving whiskey and car keys to teenage boys.
-- P.J. O'Rourke, Civil Libertarian

Government is the great fiction, through which everybody endeavors to live at the expense of everybody else.
-- Frederic Bastiat, French economist(1801-1850)

Government's view of the economy could be summed up in a few short phrases: If it moves, tax it. If it keeps moving, regulate it. And if it stops moving, subsidize it.
--Ronald Reagan (1986)

I don't make jokes. I just watch the government and report the facts.
-- Will Rogers

If you think health care is expensive now, wait until you see what it costs when it's free!
-- P. J. O'Rourke

In general, the art of government consists of taking as much money as possible from one party of the citizens to give to the other.
--Voltaire (1764)

Just because you do not take an interest in politics doesn't mean politics won't take an interest in you!
-- Pericles (430 B.C.)

No man's life, liberty, or property is safe while the legislature is in session.
-- Mark Twain (1866)

Talk is cheap, except when Congress does it.
-- Anonymous

The government is like a baby's alimentary canal, with a happy appetite at one end and no responsibility at the other.
-- Ronald Reagan

The inherent vice of capitalism is the unequal sharing of the blessings. The inherent blessing of socialism is the equal sharing of misery.
-- Winston Churchill

The only difference between a tax man and a taxidermist is that the taxidermist leaves the skin.
-- Mark Twain

The ultimate result of shielding men from the effects of folly is to fill the world with fools.
-- Herbert Spencer, English Philosopher (1820-1903)

There is no distinctly Native American criminal class, save Congress.
-- Mark Twain

What this country needs are more unemployed politicians.
--Edward Langley, Artist (1928-1995)

A government big enough to give you everything you want, is strong enough to take everything you have.
-- Thomas Jefferson

We hang the petty thieves and appoint the great ones to public office.
-- Aesop

Texas Sheriff Exam...

Via reader Jim M.:
A young Texan grew up wanting to be a lawman. He grew up big, 6' 2", strong as a longhorn and fast as mustang.  He could shoot a bottle cap tossed in the air at 40 paces. When he finally came of age, he applied to where he had only dreamed of working: the West Texas Sheriff's Department. After a series of tests and interviews, the Chief Deputy finally called him into his office for the young man's last interview.

The Chief Deputy said, "You're a big strong kid and you can really shoot. So far your qualifications all look good, but we have what you might call an 'Attitude Suitability Test' that you must take before you can be accepted.  We just don't let anyone carry our badge, son."

Then, sliding a service pistol and a box of ammo across the desk, the Chief said, "Take this pistol and go out and shoot:

six illegal aliens,
six lawyers,
six meth dealers,
six Muslim extremists,
six Democrats,
and a rabbit."

"Why the rabbit?" queried the applicant.

"You pass," said the Chief Deputy. "When can you start?"

Apparent Multi-Disk Failures...

Seven or eight years ago I worked for FutureTrade (a now-defunct electronic stock and options trading company).  I was their CTO, and our datacenter (our very own, not a co-lo) was one of my responsibilities.  The 300+ servers in that datacenter actually executed our electronic trades, so there was a lot of money riding on their proper functioning.

Most of the servers used disk only for booting and logging, and these just used locally attached disks in a mirror configuration.  Our database servers, however, had fairly large storage requirements for the day (several hundred GB) and their performance was disk-bound.  So those servers used attached RAID5 subsystems. 

One fine day fairly early in my tenure there, we had a disk failure in one of those arrays.  This failure was picked up by monitoring software, and we scheduled a replacement/rebuild (a standard RAID5 activity) for that evening, after trading hours.  When we ran the rebuild, though, we got non-recoverable errors across a total of three drives (including the one that originally failed).  WTF?  Three drives failing simultaneously?  This is so unlikely as to be dismissible, which I did.  There had to be another explanation. 

One possibility was that the RAID controller itself (or its power supply) had failed, not the drives.  So we swapped the drives into another controller - same three drives reported bad.

Another possibility was that two of the three disks had actually failed some time ago, and we never noticed – and that turned out to be the real situation.  It turns out that if bad blocks exist on rarely read sections of the disk, the RAID controller won't know about these problems until the next time the entire disk is scanned – which is something that happens during a rebuild operation, of course.  Bingo.

So we then set up a periodic disk scan on all our RAID5 systems (we had 6 of them).  To our surprise, on the first such scan all 5 of the RAID5 systems that had not failed had bad blocks on disks – bad blocks that would have caused a rebuild operation to fail.  We ended up replacing all the disks in all six of our RAID5 systems, replacing the old consumer-grade disks with enterprise-quality disks (and paying a pretty penny for them!), and then doing the full-disk scans on a weekly schedule.  That ended our multi-disk failures, but it was a bunch of work to maintain.

This post triggered my memory of this incident; the author does a fine job of explaining how these apparent multi-disk failures can occur...