Desktop Shooter, version 2

I updated the Desktop Shooter to a new version. This one includes more sounds (including ambience sounds), reloading, more realistic gun configuration etc.

Most options can be turned on/off. A, for instance, controls ambience, R controls reloading or no reloading, and…. well, that’s about it. Oh, and the M-16 has a burst mode. And the shotgun is the way it’s supposed to have been from the start.

Click here to download.

Please notice that copyright is still… uhm… shaky at best. So don’t go spreading it like wildfire, hmm? :)

“Oops”

System administration isn’t always easy.

I just read some horror stories from Unix administration, one here and another one here. And I so much share the grief and agony of the administrators who accidentially typed in the right command, in the wrong place, and wiped out the accumulated work of 100 users in one second.

You know, you sit there in your chair, typing on your keyboard, going through routine maintenance of a server, and suddenly you spot something odd. Like, “what’s that file doing there?” And you don’t see any reason for it to be there, so you delete it. Or, maybe, you’re just going to wipe out some temporary files with the “rm -rf temp*” command and accidentally put a space between the temp and *, so the command deletes not every file starting with “temp”, but rather the file “temp” and every file that matches “*”, which is… all files. In every directory.

In that way, Unix is marvellous. It adheres to a radically different concept that Windows. Windows and it’s predecessors coined the expression WYSIWYG: What You See Is What You Get. Unix is more sinister, it adheres to YAFIYGI: You Asked For It, You Got It. No warnings, no “do you really want to delete all files”. It just says “yes, sir” and does it. With brutal efficiency.

There are two common factors in all of these administration mistakes. One, the fact that as systems administrator, you’re not working on your own computer, typically: You’re working on servers, which provide critical services for tens, hundreds, or even thousands of users. What you do there affects more people than you normally want to think about. Two, that particular feeling of a sudden coldness that starts way down in your spine and slowly reaches your neck. By the time you realize what you’ve done, your face turns deep red and a cold sweat breaks out on your forehead, as you mutedly glance on the fateful letters you just typed on the screen. Or, as the story above tells it:

When I arrived at his office, his door was ajar, and within ten seconds I realised what the problem was. James, our manager, was sat down, head in hands, hands between knees, as one whose world has just come to an end. Our newly-appointed system programmer, Neil, was beside him, gazing listlessly at the screen of his terminal.

I don’t have any particular recollection of such sudden mistakes, but I know I’ve made similar ones: I know the feeling all too well. I know there was one time when I printed 20.000 bank account statements and got the check digit on all account numbers wrong, which caused the transaction department to be swamped in calls from worried people during the next few days. Or when we accidentially wiped out all invoices for all customers on the 28th of every month – instead of just the old expired ones.

After ten or fifteen years in the industry, I like to think I’m a little bit more careful. But the other truth of that is that I actually haven’t been involved in systems administration for a while now. In any way, more public services than you want to think about depend on people like that, who think “oh, this should work” only to realize – a second or two too late – certain unforeseen side-effects of that particular command.

The next time you hear about a nationwide outage of the ATM services that lasted for a few hours, there probably, somewhere, up in some office in Stockholm, sat a guy completely frozen at his keyboard, staringly blankly at a single, blinking cursor on an otherwise empty screen.

Oops.

Miss World 2006

Pathetic, I know. But I actually ended up watching Miss World 2006 on TV today.

I have a channel package on the digital cable called Eight Favorites, where you get to pick and choose eight different channels you want to subscribe to, beyond the national channels available to every household. These include CNN, CNBC, Discovery and lots of other channels. I usually go with those, and one or two other channels like Rai Uno or something. Just for variety.

This month I selected Star Channel, a channel I though might be reasonably interesting but which I haven’t watched hardly five minutes of. But as I flipped the channels today I noticed the Miss World contest was on, and… well… yeah, I watched it.

Not that I care too much about the women. Half of them can hardly speak English, and they’re just a little bit too… I don’t know. Not my type. But I tell myself that I really like to see the cultures and nations and see how different we are, and yet similar. And, then of course, there’s a few of the girls that get my attention.

miss-north-ireland.jpgLike, Miss North Ireland for instance.

Her name is Catherine Jean Milligan, from Newtownards, Ballyskeagh, near Belfast. Apparently she’s studying to become a vet, which is the only minor flaw in her otherwise dashing appearance. :)

She ended up winning the talent show with a moving song from her native North Ireland, but, unfortunately didn’t win the big one. Miss Milligan, I was rooting for you! :)

For more video, click here. (This clip includes the afore-mentioned miss.)

Natural Keyboard Hacks

I recently got the new Microsoft Natural Keyboard 4000 here at work. It’s an absolutely great keyboard; every key is right where it’s supposed to be, it’s ergonomic, really quiet and has a limited but useful set of extra keys.

But one strange feature is the “zoom” key. It is located in the middle of the keyboard, extremely useful were it not for the fact that it zooms; it doesn’t scroll. And there is no way of changing it. It just zooms. So with this incredibly potentially useful feature, I can change the size of my Firefox browser text, which is something I typically do once in the lifetime of a Windows installation.

Fortunately, I found a way to hack the default behavior using this nifty web page. You simply edit the Program Files\Microsoft Intellitype Pro\commands.xml file, and look for instances of ZoomIn/ZoomOut, and change these to ScrollUp/ScrollDown. Typically, these rows start with C319 and C320, and should look like this now (brackets not included because WordPress won’t let me type them in):

C319 Type=”6″ Activator=”ScrollUp”
C320 Type=”6″ Activator=”ScrollDown”

Then you restart the Type32.exe process (or restart the computer), and you’ve got scroll instead of zoom.

Back in the old days, you’d have to edit registry values or patch the binaries. Nice of Microsoft to include an xml file this time. Kudos to MS!

Stylish Backgrounds

VladStudio: I love summerI’m becoming more sensitive to my desktop wallpaper. Gone are the days when I could download thousands of images from Webshots and cycle them as wallpaper.

The ideal wallpaper should, in my view, be minimally intrusive, non-disturbing almost to the point of mono-chromatic – but yet with lively color; it should be very nice-looking, somewhat abstract, draw attention from a distance and yet fade nicely into the background. Not easily pulled off.

There are some. VladStudio is a site I’ve found recently that has some interesting wallpapers, of which the image with the green grass – no doubt inspired by Vista – is my favorite. Apart from that, some images of Coralie Clément lend themselves nicely to desktops; not only because she looks nice, but also because of the romantic and monochromatic appearance of the photos.

Keel Da Zeeba

I’m following a comic strip called Pearls Before Swine. I haven’t quite figured it out completely yet, but it’s a crazy strip about a rat, a pig, a zebra; and a couple of crocodiles who are intent on eating “da zeeba”.

The crocodiles way of talking is the killer. “Hullooo, zeeba neighba.”

It’s sick, but I love it.