Monday, June 30, 2008

Lithuania Bleg - revisted

I wrote
Anyone here speak or write Lithuanian? I've got a translation question.
Thanks to Chris Gerrib, Liudas Volodka, and Gintautas Kaminskas. Special runner-up thanks to Erica for having Lithuanian ancestors.

bash history hack

History in the bash shell is an awesome thing but .. dayum .. it saves everything. Do you really need every 'clear', 'ls' and 'exit'?

You know you don't.

With this you have a variable that suppresses duplicate commands, 'ls', 'clear' and the shell built-ins bg, fg, and exit:

# cat $HOME/.bash_profile | grep HISTIGNORE
export HISTIGNORE="&:ls:clear:[bf]g:exit"


Isn't that a slick bit of awesome? From 'Using Bash's History Effectively' by Jason Bechtel.

The Website is Down

Are you moving my mouse? That's awesome. How are you doing that?

It's remote desktop. What's your password?

Just the letter 'a'. Hey this is all my work, don't close all my windows! I need AOL.

You don't need AOL, we have a corporate OC3.


Can you carry over my hours?

It's pretty funny, if you're into chaos, confusion and chipmunk voices.


Update:

Pasty asked me if that's what I do all day.

Of course not.  We don't play games.  And we label our gear so Dorkus in the data center won't power off the wrong server.

All that really means is that the failures - when they happen - are even more awesome, unexpected and deadly than restarting the wrong server.

Sunday, June 29, 2008

Bird Call

A few things the bird has learned to 'say' since he arrived here a last fall.





He barks like a toy fox terrier.


Little Monkey and Pixie


He makes a quiet, long whistle like the tea kettle.

Tea kettle

Friday, June 27, 2008

Lithuania Bleg

Anyone here speak or write Lithuanian? I've got a translation question.

What? 3.13 million speakers worldwide - someone is going to know someone.

Shoot me an email at brian.dunbar@gmail.com - and thanks!

Watch your back

[2008.05.05+Griffon.JPG]


He (Patton) rammed a submachine gun into the belly of a soldier collapsed from exhaustion on a North African beach, waking him suddenly to his explanation.
I know you're tired. We're all tired. That makes no difference. The next beach you land on will be defended by Germans. I don't want one of them coming up behind you and hitting you over the head with a sockful of shit.
That "sockful of shit" brought reality home more certainly than any other weapon he could have mentioned.

From 'The American Tradition' by John Greenway

From the always interesting Military Motivators.

Cross Posted to The Daily Brief.

On Regular Expressions

Jeff Atwood loves him some regular expressions.
You may find it a little odd that a hack who grew up using a language with the ain't keyword would fall so head over heels in love with something as obtuse and arcane as regular expressions. I'm not sure how that works. But it does. Regular expressions rock.They should absolutely be a key part of every modern coder's toolkit.

Okay, fine. I've used regular expressions, but not a whole bunch. I'm not even a coder but I can use them for my job. I should really get down and dirty with them.

The above link led me to this

Used responsibly, regular expressions are a huge net positive. What seperates regex use from regex abuse? Take a gander at this 6.2kb monster for validating RFC822 email addresses:

(code block omitted to prevent explodey heads)

The author comments that [this] somewhat pushes the limits of what it is sensible to do with regular expressions, to which I respond: somewhat? This is a 6,343 character pattern. How many more characters does it take to reach the limit of sensibility? It's abusive. I pity the poor developer who has to troubleshoot this behemoth.


Me, I wonder at the mind that could produce something like that without clapping a grenade to the side of his head.

Whip it good

District of Columbia v. Heller (pdf) is providing moments of hilarity: Dumbass journalist on why rifles are good and handguns bad.

A handgun can be concealed easily, and it can be tossed down a sewer drain without attracting much notice. The barrel can be used to break a snitch's jaw. (There's no such thing as "rifle whipping.")

A butt stroke is part of bayonet drill.

1. You run up to the bad guy while screaming your ass off (presumably so the bad guy will think you are nuts) and carrying your rifle with, “fixed bayonet,” in front of you at a forty-five degree angle (the “on guard” position).

2. When you reach the bad guy, you swing your right foot towards him while simultaneously thrusting the butt of the rifle upward into the bottom of his chin (the goal being to knock his head off).

3. With the rifle now shoulder high (and if the bad guy is still standing), you cross your left leg in front of your right leg while thrusting the butt of the rifle horizontally and forward aiming at the bad guy’s face (this should definitely knock the bad guy down).

4. You now bring your right forward while slashing the bad guy with the bayonet aiming to cut a line from the right side of his throat to his left groin (by now, the bad guy had better be on his back).

5. You now bring your left leg forward while simultaneously thrusting the bayonet into the bad guy’s chest.


It's a heckuva cardio workout. I wonder if the folks at my gym would consider a class on Saturday involving bayonet dummies and M16s . . .

Dumbass then publishes a correction revealing he's tone deaf with respect to his own sense of humor.

Update, 4 p.m. EDT: At the request of several readers, I should clarify that while there's no such term as "rifle-whipping," it's fairly common to use rifle butts as a club. The term of art is the misleadingly pornographic phrase "butt stroking," the butt in this instance referring to the flat end of a rifle. It would be far preferable to call this activity "rifle-whipping," but that term has virtually no currency.

Because 'whip' has absolutely no sexual overtones whatsoever. Nope, and you're a perv if you think so.

Calling it 'art' is lame: smashing the butt end of a seven pound rifle into a fellow's jaw and face is a violent act; the goal is to kill the guy. Done right he's on the ground with a fucking knife in his gut. Done slightly wrong he's got the knife stuck in his ribs. Then the attacker has to wiggle it around to get it out, which makes things really gross. By this time the guy on the ground is also doing a lot of screaming and bleeding and so forth, which would add a really disturbing tone to the proceedings.

My instructor said it would be easier at that point to discharge a round in his chest. Which would, yes, free the rifle. It would also make an incredible mess.

Yes, we all wondered why, if we had a round in the chamber, we were screwing around with a bayonet. I don't recall that he had a good answer for that.

Where were we? Oh yes - Energy Dome!





Also - Whip It!

Via.

Thursday, June 26, 2008

Money

Nick Szabo is a fascinating writer.

How contracts became 'money'.

In the middle of the Darby century came the important decision of Miller v. Race. Surprisingly, no copy of this case is to be found online save in the syllabus of Professor Gregory Maggs. So with his permission I've appended his edited version of the case (with some additional very minor edits of my own) below.

Cmmodities (might) be turning into money.
We may be seeing only the first stages of a switch from floating currencies, which may be proving to be unworkable, to commodity-backed currencies. Floating currencies were and are a great historical experiment, and there is no guarantee that such experiments will work out in the long run. By serving monetary functions such as stores of value and hedges against currency-denominated debt, commodity index ETFs and ETNs are starting to serve as monetary substitutes.

The Google Defense

What is sexually explicit material?

That's tricky - it's a great big ol' diverse country. What's merely tacky in San Francisco (lotsa average looking nekkid people at the link - you have been warned)is going to get you a ticket, jail and rode out on a rail in my home town.

Community standards is the answer. Thanks to a creative lawyer, Google may be changing the way we define those standards.

In a novel approach, the defense in an obscenity trial in Florida plans to use publicly accessible Google search data to try to persuade jurors that their neighbors have broader interests than they might have thought.

In the trial of a pornographic Web site operator, the defense plans to show that residents of Pensacola are more likely to use Google to search for terms like “orgy” than for “apple pie” or “watermelon.” The publicly accessible data is vague in that it does not specify how many people are searching for the terms, just their relative popularity over time. But the defense lawyer, Lawrence Walters, is arguing that the evidence is sufficient to demonstrate that interest in the sexual subjects exceeds that of more mainstream topics — and that by extension, the sexual material distributed by his client is not outside the norm.

Well that's about - pardon my simplicity - damned dumb. People do a lot of stuff in private they'd rather not see in the community - that's why they do it inside.

Une voix de l'homme un

About the Irish no vote to the Lisbon Treaty ...

“The fight for Europe is not over, Europe has powerful enemies with deep pockets, as we have seen during the Irish referendum. They come not from Europe, but from the other side of the Atlantic.”

“The role of the American neo-conservatives in the Irish referendum was very important,” he went on, to applause.


That pesky 'one man, one vote' thing is really chaffing Monsieur Jouyet it seems.

Via.
Cross Posted to The Daily Brief.

Out, damn'd spot!

Why ... what's this? It's a server that has had it's RAM upgraded from 4GB to 8GB.

Stats at one day view.



Stats at the three day view.



The vertical gray line is the period the server was down. Note the vast improvement across the board after the installation. Yes, you can't see the gray 'outage' bar in the bottom graphic - but you can tell where it is by the way the Evil Red colors fall off the cliff.

It's the simple things, done well and in a timely fashion in the broad light of day that make the job a fun one.

Wednesday, June 25, 2008

More Dog

Not our dog, but our shepherd exhibits the same motherly mother instinct to the cat.

Download is not for download

Fitzgerald was wrong. The rich are like you and me: In 2003 Bil Gates had serious issues and wrote a long-ish email to his staff about it.

Windows update, the way Windows stacks garbage under the Add/Remove Software dialog,the utter failure that is the search function at microsoft.com,[1] Mr. Gates had the same usability experience that the rest of us poor saps have.

So I gave up and sent mail to Amir saying - where is this Moviemaker download? Does it exist?

So they told me that using the download page to download something was not something they anticipated.


Rockin'. I especially liked this comment from anonymous

The Steve Jobs version:

"If the MovieMaker download site isn't working by tomorrow at 6 am I will come down there at 6:01 am an choke the living ___ out of all of you."


Sometimes, brevity is enough.


[1] Someone has probably clued Bill in that the optimal way to find what you're looking for at microsoft.com is to use Google.

Tuesday, June 24, 2008

Nazis

Operations

Chuck is blowing off a little steam
I hate this job; toc bitch, S-3, Operations Officer, whatever you want to call it. I've done it everywhere from Kuwait to Kosovo and all points in between. It's a job where the boss is never happy with you, and the people who actually need your products never get them in a timely manner because a font is wrong, or a slide isn't formatted properly. Worse still, the end users never provide good feedback to tell you when your products help, how to improve to better help them, or when you are 90 degrees off true.


Lesse - I spent half my time in the service working for various '6 shops that share the same woes Chuck writes about: when the coms are bad, no one is happy. When the coms are good and the bits are flying to and fro, you're just doing your job.

For that matter, I've been a system admin for over a dozen years after I left the service - same issue. Maybe I'm a glutton for punishment - but there are compensations.

Organizations that depend on the web will die if their site crashes and they don’t recover. The longer the outage, the worse the damage often is. The same kind of Operations culture is required to effectively respond to, recover from, and prevent outages.

While this seems obvious for many people with years of experience working on the web, it is a significant and often difficult shift for those in the mainstream. This seems particularly true for executives who think of Web Operations as an extension of corporate IT. This gap becomes especially painful when people accustomed to traditional “command-and-control” management styles and models try to apply it to this new type of organization.

The CEO cannot shout or fire the website back up. The CFO cannot account, control, or audit the website back up and the Chief Counsel cannot sue it back to life. The CMO, if there is one, and their entire marketing & PR team will not spin a website back online. The CIO or CTO probably can’t recover the site either, at least not very quickly. The fate of the company frequently and acutely rests in the hands of engineers who do Web Operations.

No, not fire-fighting - putting out fires is the least rewarding aspect of the job. Barring acts-of-God, most fire-fighting happens because someone took their eye of the ball, ignored the warning lighs, failed to tighten a nut. All fire-fighting gets you is grumpy and tired and you snap at your kids in the morning when you finally get home.

Naw - it's the simple things, done well and in a timely fashion in the broad light of day that make the job a fun one.

That and I'm not sitting in the woods for the summer a thousand miles from hearth and home dealing with fug heads.

Things I learned today

Things I learned at work today:

1. The reason you properly rack and secure equipment is to prevent gear from falling out the rack and breaking into ten-thousand pieces on the floor.

Broken Blue !

Also, when stuff falls from the top space of the rack it makes a heckuva bang.



2. I'm now the proud owner of an Enterprise Integration server. Whatever in the heck that is. Something to do with shoving data from one database to another.

And also .. puppy

Not ours - but isn't she cute?


Handsome flying machine

From.



A Marine AV-8B Harrier takes off from the runway as it leaves for a mission out of Al Asad Air Base, Iraq.

Sunday, June 22, 2008

Colonel Jack D. Ripper

So ... we've got this guy.

He's a Colonel in the Air Force. He's the CO of an Air Force base. More than 2,000 hours in the F-15E and F-111D. He's been The Man at a fighter squadron. Spent a year at the Naval War College. Been on a staff position for Southern Watch, Enduring Freedom and Iraqi Freedom. And so on.

No one can know the mind of another. However, this is the biography of a man who has his stuff wired together. He's about the last guy you'd expect to call - on a Sunday, no less - a guy who bosses a middlin' important peace organization.

And if he'd call, you'd hardly expect him to launch into a Strangelovian Fit.

I tried explaining to him that I have a lifetime of experience listening to people in the military say that we should ramp up Pentagon spending. He was not in a mood to listen.

Instead the Colonel's voice escalated, similar to his desire to see the military budget take ascendancy over social progress in America. "I can see that you are not one who should be involved in deciding on our nation's priorities," he yelled at me. Then he hung up.

Gen. Jack D. Ripper
"Damn peacenik Hippies ...."

Sounds like a bunch of horse apples to me. It's so pat, so perfect, so exactly what a stereotypical war fighter is in all those cheesy Hollywood films. I suspect ...
  • Colonel Suminsby has lost his mind - he's probably mumbling about bodily essences in his office.
  • Bruce is making shit up.
  • Bruce has been prank called and doesn't realize it.

That's just my opinion. I could be wrong.

Cross Posted to The Daily Brief.