Friday, February 29, 2008

Rush in where angels fear to tread

Well this seems interesting . . .
rush is a replacement for the unix shell (bash, zsh, etc) which uses pure Ruby syntax. Grep through files, find and kill processes, copy files - everything you do in the shell, now in Ruby.

Well, why not? Immerse yourself in Ruby 24x7. Dive into it so deeply your fingers forget tab completion or the funny way that csh uses vi keystrokes. Get into that sucker, do a zen thing and snuggle right up to the machine.

briandunbar_natasha-2_~:rush
rush> myrails = home['rails/']
=> localhost:/Users/briandunbar/rails/
rush> myrails.ls
/Users/briandunbar/rails/
ais.bak+
asset+
azure+
azure.bak+
camping+
cookbook2+
cookbook2.10_20_07+
Cookbook_mII+
nanoc_test+
shovell+
cookbook2_09_09_2007.zip
tut_setup.sql
rush>

Who you gonna call?

Hillary commercial:
It's 3:00 a.m. and your children are safe and asleep. Who do you want answering the phone at the White House?

Excellent! Hillary is going to cut costs at the White House by eliminating the overnight answering service. What about those times when she's away from the office: will she carry a pager?

But, seriously? I want Batman picking up the phone.



Okay, yes; Bruce Wayne is a head case. But he is highly functional and he kicks ass.

Yeah, baby. Let's see Yelstin harass our Navy when Bats is Commander in Chief.

Thursday, February 28, 2008

Comment of the day

From Marc Gunn's LJ ...
one weekend we were at a Celtic Music Festival, and DH was decked out in his kilt. he had to make a quick trip by the property where he works. one of the tenants saw his attire and stopped to talk to him. when DH explained he was wearing the kilt to listen to bagpipe music, the guy nodded and said "I understand, that's one of those things white people do."

Wednesday, February 27, 2008

Time to move!

Thanks God for the legal system.
Sea ice traditionally protected the community, whose economy is based in part on salmon fishing plus subsistence hunting of whale, seal, walrus, and caribou. But sea ice that forms later and melts sooner because of higher temperatures has left the community unprotected from fall and winter storm waves and surges that lash coastal communities.

In the old days if you found you couldn't maintain your village on a sandbar you'd have to pack up your crap in wagons and sleds and move yourself.

Now you can sue about eight thousand public corporations [1] and use the loot from your raid to hire someone to do it for you.

Don't tell me there isn't progress.

[1] Companies named in the lawsuit include Exxon Mobil, BP PLC, BP American, BP Products North America, Chevron, Chevron USA, ConocoPhillips, Royal Dutch Shell PLC and Shell Oil, Peabody Energy, AES, American Electric Power, American Electric Power Services, DTE Energy, Duke Energy, Dynegy Holdings, Edison International, MidAmerican Energy Holdings, Mirant Corp., NRG Energy, Pinnacle West Capital, Reliant Energy, The Southern Co. and Xcel Energy. Odds are good if you have a 401k you've been sued - congratulations!

Command line calculator

I'm not the only person who fires up irb to perform basic math, am I?

briandunbar_natasha_~:irb
irb(main):001:0> 53 - 20
=> 33
irb(main):002:0> exit
briandunbar_natasha_~:

Am I?

Tuesday, February 26, 2008

And there will be stories, and statues, and a song about honey

Well, gawd-damn this story is a bit of a tear-jerker.

“Do you know what’s happened to the children?”

Edward swallowed. Suddenly, he wanted to cry. “Yes. They’re…sleeping?”

He hoped and hoped and hoped and hoped, grimacing as he did. He looked around.

Makeshift beds lined the room. Small hands gripped blankets, small eyes stared at the ceiling.

“No.” The boy frowned. “They’ve died.”

“Because of Something Very Bad?”

“Yes. And I need you to be a Very Brave Bear. Can you do that?”


This story is why I read Sci-Fi, why I read the more than occasional 'meh' story, why I search through stacks of books about dragons, fairies, elves and sexy vampires at Barnes and Noble [1] to find the one gem from a literary tradition that is hopeful and looks at the future and is not beholden to a dead past. [2]

'Edward Bear and the Very Long Walk' by Ken Scholes, read by Stephen Eley. Not for young children. It's 45-minutes of recorded audio and worth every minute.


Update: Text of the story here, at RevolutionSF.

[1] Would it kill you guys to separate the dragons and fairies books from real literature?

[2] Every gosh-damned fantasy novel published since 1960 owes it's existence to a humble Oxford scholar with a nerdly passion for language. Would it kill you guys to innovate?

Monday, February 25, 2008

mathralon

David Louis Edelman wrote a really good short story called mathralon.

Along the way [possible spoiler] he became excited by the idea behind the story ..

So what was this idea I got so excited about?

I believe it started with a friend of mine who writes mathematical models for automated stock trading. There’s no human being there reading the Wall Street Journal and making informed decisions about what to buy and sell on any particular day; it’s just a computer program making these decisions based on past performance and current market conditions and the arrangements of chicken entrails and who knows what else. Thinking about this, I wondered: what if all the entities on the other end of these transactions were automated computer programs too? Hell, what if the actual companies represented by these stocks were run by automated computer programs?

Take this out to loony, science fiction extremes and you start to reach some very interesting philosophical territory. You could have automated General Motors factories building cars, based on specs determined by automated computer programs that study market trends. They glean those market trends by reading publications that are also generated by automated computer programs, based on purchases by companies who are also run by automated computer programs, and so forth and so on.

What if over thousands of years you built an automated economy that functioned so well that it outlasted the people who built it? Eventually you would get to the point where the remaining human cogs are servicing a machine that’s become more important than the thing the machine was built for.

Interesting because a lot of our jobs have automated components to them - computer models, inventory ...

Sunday, February 24, 2008

What's wrong writh the precautionary principle

Wretherd is talking about end of the world scenarios ...

The first question that arises in connection with these observations is why the 'precautionary principle' beloved of environmentalists does not apply to all possible disasters, just some. After all, if the earth is doomed to encounter a hydrogen cloud in 40 million years, which is a short time in comparison to the life of the planet and its biosphere, isn't it time to accelerate our technological development so that we can develop the starships to get away? After all 40 million years may not be enough lead time, given the engineering challenges that must be faced to evacuate from the vastness of the threat. Admittedly extinction by hydrogen cloud is an unlikely, or at least incalculable danger. But the precautionary principle says that if some danger exists you have to prepare for it. My guess is the precautionary principle is always trumped by opportunism principle. Dangers which can't be used as opportunities to advance a political agenda are not covered by the precautionary principle. And therefore there won't be a UN Conference on Hydrogen Clouding any time soon.

Saturday, February 23, 2008

Han shot first

Look out Obama!



Before Lucas reimagined this film Hillary shot first ..

From the always interesting American Digest.

Friday, February 22, 2008

Rebellion - Supervision


Paper by kelly zen-yie tsai

paper 
by kelly zen-yie tsai

i love tupac shakur and william
shakespeare equally. i love
alice walker and courtney love.

i love poems crossing
my consciousness like the
opening credits of “star wars”

(or stretches of ocean
crashing below
grey-bellied seagulls)

i love the solitude of wrapping
myself in blank paper, covering
my fingers to pluck a
thorn from its wound –

i use paper to sop up blood as it spills,
inking kaleidoscope blots of
grotesque beauty
from unhonored pain

rows of letters
trace subterraneans
unknown in me

ones unregistered on my skin,
their bulk lopes like a long necked
monster wading in the deep

each poem, a photograph
snapped by the child whose faith
cannot be torn from what lies beneath

she camps out yawning
past the midnight hour

blinks her eyes
unsure of what she sees

she widens the aperture
slows the camera’s speed

shutter falls and captures
before she nods off to sleep

In which

I re-discover the power of checklists and standards and the saying 'If you don't have time to do it right, when will you have the time to fix it?'

I had a task - on short notice [1] - to move a local zone [2] to a new host. Couldn't migrate the sucker using the cunning shell scripts [1] we've deveoped so I did it the hard way - create a new zone, create the local users, mount points, startup scripts and then turn it all on.

I like to create checklists for situations like this. The act of creating a checklist forces logic on the task, and nothing beats having a rote list of steps to follow when you're in a hurry; it saves 'thinking' for exceptions to the process.

But I didn't have time so I scribbled out a rough list of steps in a text file and called it good.

This reinforced the value of a properly done checklist because I spent (or so it felt) nearly as much time going back and forth on basic tasks [3] as I did getting anything done and thinking way too much.

This exercise also reinforced the value of standards.

We have a reasonably smart way to shortcut hardware fail over [4] but one directory, with one script was the sole exception on this host.

I spent 90 minutes on the failover. I spent 60 minutes tracking that bug down and fixing it.

I wonder what the time code is for 'flailed around like a dumb ass but a valuable habit was reinforced'?


[1] For a variety of reasons that are tedious and not worthy of discussion.
[2] Solaris-speak for a virtual machine.
[3] Couldn't create the users without the mount points for their home directories. Couldn't mount the directories without editing vfstab. Etc.
[4] Mounting everything but the OS on NFS mounts.

Thursday, February 21, 2008

Spy satellite - now with more BLAM

BOOM

"A network of land-, air-, sea- and space-based sensors confirms that the U.S. military intercepted a non-functioning National Reconnaissance Office satellite which was in its final orbits before entering the Earth's atmosphere," a Department of Defense statement said.


Ethical considerations of defense aside, for a Navy ship to reach up and touch something in orbit is stomp-down cool.

Wednesday, February 20, 2008

They were men - with great big cold ones

My daughter - she's fifteen - was excited. A lunar eclipse! Her teacher had made a big deal about it.

Dad! You didn't tell me it was nine o'clock! It's happening!

She threw on her coat, gloves, ran outside.

And was back in about that quick. It's cold outside.

Astronomers in the days before central heating were manly men.

Ol' Yeller

Dude works for a big company. Blogs. Gets noticed. Gets fired. It happens.

Now, he claims he's never seen an employee manual, which I find really hard to believe - those guys in HR are really into making sure people read those things. But, whatever.

Naw - my problem is his usage of metaphor ..
... that is until the day she was taken out into the figurative woods without any warning and given the Old Yeller treatment.

Dude. Ol' Yeller wasn't taken into the woods. Yeller was confined to a pen when he turned rabid and that's where Travis did the deed.

That and .. Ol' Yeller had to die - he was rabid. I don't think the fellow is trying to make the point that his friend acquired rabies defending her boy against a wolf, and then had to be shot by his best friend.

Unless that's really where he's going; his friend got all weird in the course of her work so her corporate masters had to tearfully execute her. Naw, that's just too weird.

I call a metaphor penalty.

Infernal Contraption

Infernal Contraption™ is the stand-alone card game where goblin mechanics race to assemble nigh-uncontrollable magical machines.

Through the strategic placement of arcane components like arcantric funnels, chthonic grinders, and entropic processors just to name a few, these crazy goblins risk life and limb to overcome the competition with the ultimate Infernal Contraption.

Let that race around in your brain: goblin .. mechanics. The mind reels.

Interesting bits from the site ...

Bodging Tip: Never touch an unshielded Core. Remember there is an "Ow!" in "power"!

Bodging Tip: remember there's no throttle like full throttle. If it won't go, then give it more power!

Bodging Tip: The best things in life are often the small things. You know, the ones that are likely to melt, explode, disintegrate, or all three at once.

Via the always interesting Command Line Podcast.

Truth

Krep

The foolish, soft-headed and obstructive elements are heard from [1] ..

The planned Pentagon shoot down of the wayward U.S. military satellite is nothing more than an opportunity to test new Star Wars anti-satellite weapons (ASAT) technology says the Global Network Against Weapons & Nuclear Power in Space.

Well no screaming eagle shit, Ace. Did you have to pull out your Dick Tracy Crime Stoppers book to figure that one out?

It's also a notice to China that we can blow apart a target on short notice without a ton of prep time, from a mobile platform that can deploy anywhere in the world and spend months on station. Without creating a cloud of debris that lasts for years. Just because we feel like it.

It's also a message to Russia (with love) that however frisky they want to get with their bombers and our Navy they've got a lot of catch-up to do before they can play with the big boys. Hey, Ivan: we can do the Cold War again, but you won't like it.

“At the time when we need to be constraining space debris-creating ASAT testing, this test will throw open the door to a new arms race in space.”

There won't be any space debris, not that lasts longer than a few days, at best. That bird is coming down, we're just taking steps to make it come down in smaller chunks.

These same Aegis ships are now being home ported by the Navy throughout the Asian-Pacific region giving the U.S. the ability to encircle China’s coast.

I don't think that you can encircle a coast.

These Aegis ships could give the U.S. the ability to intercept China’s twenty nuclear missiles that today are capable of reaching the west coast of the continental U.S.

That sounds absolutely fan-fucking-tastic to me.

Interceptor rockets are a defensive tool. The only thing you can destroy with them are .. other weapons. The only situation you can conceive of them being used as a means of offense involves scenarios so unlikely that a person who would seriously advance them must think the people he's talking to are absolute morons or children.

You'd have to be a morally bankrupt tool to think that it's a good idea to deprive your nation of the means of defense.

Krep.

[1] I would not even bother but he issued this as a press release and I'm irritated and pissy tonight thanks to the foolish and obstructive elements in the state legislature and the Gov's office.

Monday, February 18, 2008

Scolding Lenin

The stars were never made for those who refuse to look up; nor are they vouchsafed to those enslaved by ancient hatreds. ~Wretcherd



Sunday, February 17, 2008

Roy Rogers - now there is some good eatin'

Jordan179 quotes an Obama-gets-assassinated fantasy done by Earl MacRae in The Ottowa Sun.
"They do not want to hear that he is a better American than they are, these right-wing extremist fascists in the land of America who no doubt believe it's God's will Barack Obama not get to the White House, no method of deterrence out of bounds, in their zealotry to protect and perpetuate Roy Rogers, John Wayne, Mom's apple pie and the cross of Jesus in every home."

Among the funniest aspect of this is that MacRae apparently does not know the meaning of "deterrence," and imagines "Roy Rogers" and "John Wayne" to be symbols of racist assassinations (to the younger among you Gentle Readers: they were cowboy movie actors!!!)

Not to mention that for many people on the East Coast 'Roy Rogers' is the name of a really good fast-food restaurant.