The Enemy is the Media

With few exceptions, the so-called mainstream American media is so corrupt, so villainous that it defies description.  The constitutional protections afforded those in the press corps were placed there by the founding fathers to ensure that the people remained informed and apprised of any malfeasance on the part of their representatives.  That is not the case with today’s media, but I find it difficult to articulate my thoughts in a coherent manner when discussing their antics.  On those (all too frequent) occasions, one of the people to whom I refer for insight is Pamela Geller.  The recent outrage-du-jour of the media pertains to the video of our U.S. Marines purportedly urinating on the bodies of some of the dead Taliban terrorists.  I encourage you to read the full article, but I wanted to include a paragraph that I felt was particularly incisive and far too accurate:

Our boys and girls are coming home from Iraq and Afghanistan after ten years of battling an enemy so evil and bloodthirsty that most Americans would weep if they had any idea what these savages do, how they “live” and die. The people haven’t a real clue, because an enemedia obfuscates and either under-reports or doesn’t report at all the actual news — and when they do, they speak affectionately of an enemy so brutal and bloodthirsty that it defies the Western mind. Jihadis did far worse to American corpses in Fallujah and Somalia, and it was excused, downplayed, denied, forgotten. But this?  The coverage is nonstop.

Posted in Liberalism, Politics | Leave a comment

GDB Tutorial

I needed to debug a C program over the weekend that was beyond the scope of printf.  So, obviously, I went directly to Peter Jay Salzman’s superlative GDB tutorial.  In my opinion, this is, hands-down, the best GDB tutorial available.

Finally, when using the print command, simply re-executing  the command will output the results of the prior command.  If the value of the variable has changed, you must execute print followed by the variable name in order to see the most recent value:

print str_buffer

I wasted several hours trying to determine why the compiler was “optimizing out my variable modification code.”

Posted in C, Programming, Uncategorized | Leave a comment

How Long Will a Bigserial Sequence Last?

I was curious about how long I could use a bigserial sequence before having it rollover, so I decided to investigate it.

As a reminder, the range of the bigserial datatype is 1 to 9,223,372,036,854,775,807 (that’s nine quintillion two hundred twenty-three quadrillion three hundred seventy-two trillion thirty-six billion eight hundred fifty-four million seven hundred seventy-five thousand eight hundred seven) or, roughly, 1018.96.  Given the following:

  • Number of inserts per second: 1,000
  • Number of seconds per year: 365 * 24 * 60 * 60 (365 days per year, 24 hours per day, 60 minutes per hour, 60 seconds per minute) = 31,536,000

It would take:

9,223,372,036,854,775,807 / 1,000 / 31,536,000 = 292,471,208.678 years

Loosely translated, that’s 292.5 million years.  If this were going to happen to your database today, you would have had to begin your 1,000 inserts per second sometime between the time when the plants, vertebrates, and invertebrates had all left the oceans and began living on land and when the dinosaurs inhabited the planet.

If you’re worried about exhausting your bigserial sequence, I hope this information will put your mind at-ease.

Posted in PostgreSQL | 1 Comment

PostgreSQL C Function Interface to GNU pwgen

I’ve written a PostgreSQL C set-returning function (SRF) to generate passwords using the GNU pwgen utility.  It’s a simple example of incorporating an external library (pwgen 2.06 in this case) that, to me, isn’t worth the effort of writing in any of the other procedural languages (i.e. reinventing the wheel).  It can be installed as a PostgreSQL 9.1 extension, if you’re able to do so.  Feel free to grab the source code at git://git.sumdelta.com/gwc/pgpwgen.git.

Posted in C, Database, PostgreSQL, Programming | Leave a comment

“The Donald” For President — Or Not!

One of the few things worse than John McCain as Republican presidential candidate in 2008 would be Donald Trump as the Republican presidential candidate in 2012.  Let’s hope that “The Donald’s” presidential aspirations are short-lived because it would all but guarantee another four years of an atrocious Obama “administration.”  All that being said, let’s have a laugh at the expense of “The Donald.”

Let’s hope that this is all we see of this egomaniac.  He may be smart, but all Trump cares about is what can best serve Trump and his colossal ego.

Posted in Politics | Tagged | Leave a comment

Glory Satellite Fails To Reach Orbit

What a fitting end to a colossal waste of time, money, and human resources.  The launch of the satellite dubbed Glory, a project described by NASA to “understand the Earth’s energy balance and the effect on climate [by] measuring black carbon soot and other aerosols, and the total solar irradiance” is a total loss due the launch vehicle’s failure to reach orbit. It’s a project that exemplifies what government has become: a huge waste of taxpayer’s money to “combat” non-existent problems.

Posted in Liberalism | Leave a comment

Worst. President. Ever.

I was saying this back in 2009, I’ve said it every day since then, and I’m saying it (again) today. Barack Hussein Obama is not only weak and petulant, he is grotesquely unqualified to hold the office of the most powerful human being on earth.  I am confident that history will be unkind to this president and it’s gratifying to not only have my feelings validated by a congressman, but to hear one with the courage and testicular fortitude to go on record about it:

Posted in Liberalism, Politics | Leave a comment

Union Bile Runneth Over

Michael Goodwin of the New York Post accurately, eloquently, and articulately (much more so than I could ever dream of doing) describes the behavior of the unions and their democrat toadies.

Published February 27, 2011 | New York Post

The Boiling Over of the Liberal Mind is on full display these days, and it is not a pretty sight.

Union protesters in Wisconsin compared Gov. Scott Walker to former Egyptian President Hosni Mubarak and other tyrants. A sign showed him in a Nazi salute and screamed, “Heil Walker.” Another said, “Hitler, Stalin, Walker.” Still another showed a swastika next to his name.

New York unions also reached back to World War II, although with a twist. “Wisconsin: Our Pearl Harbor,” wrote John Samuelson, president of the local Transport Workers Union, which represents transit workers. He railed against “enemies of labor and democracy.”

But Paul Krugman proved himself the master of disaster comparisons. The bid to trim union power reminds the excitable New York Times columnist of the invasion of Iraq.

His argument, as best I can follow it, is that privatizing services and weaning people off government is exactly what Iraq was about, and we did it in Chile 40 years ago, too. Or something.

Wherever you look, the bile runneth over. Beyond making fools of themselves with juvenile comparisons, the “social justice” crowd is inadvertently proving that public-sector unions are a privileged class. Touch them and you die from a thousand insults.

One Democratic congressman wanted the real thing. Rep. Michael Capuano of Boston said Wisconsin protesters should “get a little bloody” to protect bargaining rights.

He later apologized, but too late to rescue the era of civility President Obama urged after the Tucson shooting. Civility doesn’t stand a chance against the entitlement culture of unions and their political puppets.

What makes the responses so irrational is that there is an obvious problem. Many states and cities are dangerously deep in debt, thanks in part to union payrolls and pensions. Washington hangs on by virtue of its printing press.

It’s not as though American governments don’t spend enough. Taxes go up nearly every year in most jurisdictions, yet it’s never enough to keep pace with the spending.

The emergence of the Tea Party movement was precisely on this point. Demonized by the mainstream media, which trolled rallies for signs of racism and Hitler, members took their wrath to the ballot box and won a historic victory.

Instead of accepting that verdict, the unions and others seek to delegitimize new governors like Walker by calling him a fascist and a Nazi. The running and hiding by Dem lawmakers adds an element of farce, their empty chairs a potent symbol of their impotence.

Such nonsense is not likely to stop the movement to put the “public” back in public servant. Poll after poll across the country shows most people understand the relation between government bloat and expensive union contracts, which give workers a richer life than the taxpayers they supposedly serve.

There is a danger that Republicans will repeat the mistakes of Democrats and overreach. But Obama and his allies in Congress and states like Wisconsin don’t have much standing to demand compromise after they acted on straight partisan votes.

Had they exercised a modicum of restraint, Washington and the states would be in a better fiscal position and Dems could have created a model of bipartisanship that Republicans would be pressed to follow.

But they didn’t, and now are finding that payback is a bitch. The least they could do is take their medicine like adults.

  • Click to read Michael Goodwin’s complete column in the New York Post
  • Click to read this article on the FoxNews web site
  • Posted in Liberalism, Politics | Tagged | Leave a comment

    A Touch Of Class

    This “Touch of Class,” though unreported by “mainstream media,” is an example of sincere patriotism.  I don’t recall any other former president doing this.  Some may have done it but I don’t think I saw any evidence of it.

    There’s a group of ladies in the Dallas area who make and stuff neck pillows for soldiers coming through the Dallas-Fort Worth (DFW) airport.  They go to the airport and meet the incoming planes every week and greet the soldiers coming back for a few weeks R&R, give them a pillow, tell them they pray for them, and thank them for their service.  The lady who took the pictures said everyone was so surprised to see George and Laura Bush recently just standing quietly in the waiting area with others who come to meet the troop planes.  She said it was amazing to watch the faces of the soldiers light-up in recognition when they spotted them and that many came over to speak and shake hands.

    Hat tip: Eric E.

    Posted in American Exceptionalism | Leave a comment

    Education And Teacher Unions Aren’t About The Children

    If you don’t believe me, hear it for yourself from the former general counsel of the National Education Association (NEA), who spent over 40 years with them.  Revolting!

    It doesn’t matter what the rank-and-file or, especially, the union leadership say.  The only things that unions care about are power, fleecing the taxpayers and businesses forced to deal with them, and lining their corrupt, racketeering pockets with the looted cash.  They are disgusting, reprehensible, and contemptible organizations that have long outlived their usefulness.

    Hat tip: Moonbattery (via Michelle Malkin)

    Posted in Liberalism, Politics | Leave a comment