Keeping Up with the Kludges

There’s a very useful word in the techie sphere of influence that remains largely unknown in the wider world. It’s called kludge. According to Wikipedia, a kludge is “a clumsy or inelegant solution to a problem or difficulty.”

Kludges usually come about in programming when you either don’t have the time or the budget to deal with a certain problem. A basic example: you build a website that works just fine in all the modern versions of Mozilla Firefox, Internet Explorer, Opera, Flock, Safari, Netscape, Konqueror, etc. And then you get a call from an account rep in a different department asking in a strident tone of voice why the website is causing sparks to fly out of his client’s ancient WebTV box.

Jesus Christ, WebmasterIf Jesus Christ were your webmaster, he would clap his hands and come up with an elegant and elaborate piece of code that accounts for every browser on the market. This piece of programming legerdemain would not only deal with every WebTV and Mosaic 1.0 and Lynx browser still out there, but it would do so in a systematic way that would ensure compatibility with future unknown browsers and web services too. But you’re not Jesus Christ. Not only that, but you’ve got a million other pressing issues on your plate that are much more important than this.

On the other hand, this particular WebTV user happens to be the sister of the uncle of the CEO, and it’s worth spending ten or fifteen minutes to keep the CEO happy. So you grumble a little bit, fire up your text editor, and insert code that looks something like this:

<For all normal users...>
<Do this.>
<If the user is on a WebTV browser AND it's a Tuesday AND there's a full moon...>
<Do that.>
<Unless it's a Thursday and "Heroes" is still winning its timeslot, in which case...>
<Do something else entirely.>
<Now back to the normal code.>

Voila! You’ve created a kludge. It’s of no use to 99.9% of the world and it will slow down your application for everyone by some small fraction of a second — but on the other hand, it’s only taken you two minutes to write and the client’s happy.

Here’s a dirty little secret that the programmers don’t always tell you: all computer programs are full of kludges. Nobody ever intends to use them. Everyone’s application starts with the best of intentions and the cleanest of architectures. This is going to be the slickest widget ever! People will still be using it every day in 2035! Then life and the marketplace intervene, and the application wanders off track. You start to add kludges.

If Microsoft let you dig in to the source code for their operating systems, you’d see bazillions of kludges. Microsoft in particular is notorious for preserving backwards compatibility at all costs. Which means that in 20 years, when the only person left in the world using Lotus 1-2-3 is an old man with Alzheimer’s in Patagonia, the Windows Vista 20-Year Anniversary Edition (Now with Sherlock!) will still be able to run it.

But it’s not just computer programs that are full of kludges. Our lawbooks are full of kludges. I see from a page called Looney Laws that, in Michigan, a woman’s hair legally belongs to her husband; in Newport, Rhode Island, it’s illegal to smoke a pipe after sunset; and in Logan County, Colorado, it’s illegal for a man to kiss a woman while asleep. (Whether the same holds true if a woman kisses a sleeping man, the page does not say. In fact, it would be nice if the page would cite some references somewhere, but I won’t hold my breath.)

Read more

On DeepGenre: The End of Science Fiction

I’ve just written a long essay on the DeepGenre blog about how long the genre of science fiction is destined to last and whether we might see the end of it anytime soon. Read “The End of Science Fiction” and post your comments there. Some excerpts: Here’s something I’ve noticed about futuristic science fiction stories: the characters in them never tell futuristic science fiction stories. Think about it. Can you think of a single example … Read more

Politicians and Personal Lives

In case you missed it, the other day the sky boiled with lava and winged monkey creatures came down from the clouds tossing Molotov cocktails at pedestrians. Pestilence broke out, crops spontaneously combusted, and children started randomly developing stigmata.

Senator David VitterThe cause of this all, of course, was Senator David Vitter’s confession that he had once partaken of the services of a D.C. prostitution service, helpfully provided to us by Grand Inquisitor Larry Flynt. You know, Larry Flynt, the canny investigative journalist behind Hustler who forced that rabid mass murderer Bob Livingston to resign from leadership of the House in 1998 because he strayed from his marriage.

I really get hopping mad at revelations like this. Why? Because I firmly believe that it’s none of our fucking business what our politicians do with their personal lives.

Guess what? I don’t care that Senator David Vitter is hanging around with prostitutes on his spare time. I really don’t. Also:

  • I don’t care if he’s cheating on his wife
  • I don’t care if he’s gay or bisexual
  • I don’t care if he litters
  • I don’t care if he’s getting audited on his taxes
  • I don’t care if he cheats at cards or golf
  • I don’t care if he got bad grades in college
  • I don’t care if he’s got a gambling problem
  • I don’t care if he smoked marijuana in college
  • I don’t care if he still smokes marijuana on his own time
  • I don’t care if he uses the “f” word or tells someone to “go f— yourself”
  • I don’t care if he did cocaine or heroin a long time ago
  • I don’t care if he uses the “n” word from time to time in private conversation
  • I don’t care if he calls somebody by an obscure French ethnic slur in the heat of a campaign event
  • I don’t care if he drives an SUV or a Prius
  • I don’t care how big his house is or how much electricity it uses
  • I don’t care how much he spends on haircuts he pays for out of his own pocket
  • I don’t care what his wife does for a living
  • I don’t care what religion he is
  • I don’t care if he’s friends with lobbyists
  • I don’t care if he’s a hypocrite
  • I don’t care if he flirts with the wrong people
  • I don’t care if he watches or downloads pornography
  • I don’t care if he owns a Confederate flag
  • I don’t care if he’s a closet racist
  • I don’t care if he’s a closet sexist
  • I don’t care if he’s a closet homophobe
  • I don’t care if he smokes
  • I don’t care if he has a drinking problem
  • I don’t care if he makes an egregious statement or two, as long as he promptly apologizes

Now here are the things I do care about as regards Senator David Vitter:

  • I care about the policies he advocates
  • I care about the votes he casts in the U.S. Senate
  • I care if he’s charged with a crime that’s not a misdemeanor

Let’s make up a new rule. When our politicians step out of the office at the end of the day, they’re private citizens. Which means that just like you won’t splash it all over the newspaper that your next-door neighbor is having an affair, you won’t do the same about a politician. You shouldn’t follow a politician around or snoop on his personal life or try to dig up dirt on him. Now if he kills someone or actively cheats on his taxes or stashes bribe money in his freezer, then I want to hear about it. Until then, shut the fuck up.

Read more

Sony VAIO Bloatware

Pursuant to my earlier post about all the unnecessary crapware pre-loaded on my new Sony VAIO laptop… I found a way to get a list of all the stuff that Sony loaded this thing up with, above and beyond Windows. You just open the Sony Recovery Center, and click the option to reinstall some of your programs and drivers from the recovery disks. Here’s the list. The entries with asterisks (*) are trialware. The bolded … Read more

My New Sony VAIO Laptop

So after flirting with the idea of buying a MacBook Pro for months, I went with Windows.

But I went with Windows in style.

A few days ago, I purchased a brand new Sony VGN-FZ140E notebook computer from the local Circuit City. (Here’s the laptop homepage on Sony’s website.) Circuit City had a deal which was pretty hard to pass up. For the incurably geeky, here are the specs on my new computool:

  • Sony Vaio FZ-140E laptopIntel Core 2 Duo T7100 processor running at 1.8 GHz
  • 15.4-inch widescreen WXGA LCD with reflective coating
  • Intel Graphics Media Accelerator X3100
  • 200 GB hard drive (only runs at 4500 RPM, unfortunately)
  • 2 GB of memory
  • Built-in wireless connectivity to 802.11a/b/g, and even n
  • Built-in webcam and microphone
  • DVD-/+RW drive, which I think has that cool LightScribe labeling thing
  • Slots ‘n jacks ‘n ports up the wazoo
  • Only 5.75 pounds, including battery
  • Windows Vista Home Premium

So why no MacBook Pro? It’s simple: the display for the regular ol’ MacBook is too frickin’ small, and the base model for the MacBook Pro is $2,000 before sales tax and shipping. What did I pay for my Sony? A nice, light $1,200 including sales tax.

And I have to say that this Sony almost matches that Apple cool factor. It’s extremely thin and light, and has this graphite coating that just begs to be caressed. The display is absolutely gorgeous, the brightest and clearest I’ve ever seen. So far, the machine’s been as quiet as a church mouse, it doesn’t heat up unnecessarily during normal use, and the Vista Aero graphics are pretty snappy. I’m not quite used to the keyboard layout yet, but the action is phenomenal — the keys are almost flat, like the MacBook’s, and they don’t clatter loud enough to wake the neighbors.

All in all, this should be powerful enough to do what I intend to do on this laptop. Which is plunk my ass down in a series of Starbucks and write Geosynchron, the third book in the Jump 225 Trilogy. There will be the occasional bit of web contract work on here, but again, I mostly reserve that for my desktop.

I’d gotten used to all kinds of inconveniences with my 2003 vintage Toshiba notebook. The lid doesn’t open and close properly, hibernation doesn’t work, there’s no built-in WiFi, and the thing vents out the bottom, so if you stick it on a cushioned surface it overheats and shuts down. Almost any new laptop I buy would solve those problems, but the Sony VAIO solved problems I didn’t realize I had. Like the fact that all of the ports are exactly where I want them to be, and the power jack includes an L-shaped connector that makes the cord take up less space.

So what are the immediate downsides I see to this machine?

  • The trackpad is a bit smaller than usual, and it’s almost completely flush with the rest of the casing. Seriously, it’s only recessed about a millimeter. This means that half the time I have to slide my finger around for a second or two to actually find the trackpad. It doesn’t help that the trackpad is black with black buttons, so it’s almost completely camouflaged. In low-light situations, you can barely even tell it’s there.
  • The sound is a lot tinnier than I expected. I probably should have gone for the model with the fancy-schmancy Harman-Kardon speakers, but I suppose it’s not really that big of a deal. I listen to most of my music on the desktop anyway, and if I’m going to watch DVDs I’ll be using headphones.
  • No Bluetooth. Which isn’t a tragedy for me, considering that I don’t really have any Bluetooth gadgets. But I was really hoping to start Bluetoothing my office so I can get rid of some of those wires. Guess I can always go buy an expansion card.
  • The integrated video isn’t powerful enough to let me run advanced games, which probably won’t be too much of an issue considering I do the little gaming I do on the desktop PC.

Read more

Introductory Science Fiction Books for Literary Readers

In my post a while back about bad Infoquake reviews, I mentioned how I’ve given William Gibson’s Neuromancer and Frank Herbert’s Dune to a few friends as a way to introduce them to quality science fiction, only to hear later that these friends didn’t care for them. Some of the commenters in the aforementioned blog article didn’t care much for Neuromancer or Dune either.

So my question today is: what are some quality SF books you can hand off to literate non-SF readers as an introduction to the genre?

Let’s say your readers in question are already discerning connoisseurs of quality literature. They’re not typically readers of so-called pulp novels or airport thrillers. They would think nothing of bundling down with a Philip Roth or a Don DeLillo or a Barbara Kingsolver or something that The New York Times Book Review would approve of. They know who Michiko Kakutani is, and they were reading Cormac McCarthy years before Oprah ever heard of him. But as soon as you mention the words “science fiction,” they picture Klingons with light sabers jumping off spaceships with big-breasted ninja assassins in tow and bug-eyed monsters in hot pursuit while a supernova goes off in the background.

What do you hand to these people to convince them that there’s a lot of intelligent literary science fiction that’s worth reading? (I’m just going to stick to science fiction here — however loosely defined that term is — and maybe we can talk about fantasy another time.) I should emphasize that inclusion on either my do/do not lists are not indicators of the quality of the books themselves.

My main criteria for inclusion is that the book has to generally be filed in the “Science Fiction” section of your local bookstore. Which means no George Orwell, Jorge Luis Borges, or Italo Calvino, however much we believe their works should be filed in our camp. We’ve got to tempt these people into the rows with the Dragonlance books and the life-size cutout of Darth Vader, folks.

(Yes, people have posted a zillion “great works in science fiction” on the web… but I haven’t seen many that specifically focus on the quote-unquote literary. Perhaps it’s pointless and elitist to call these people quote-unquote literary readers. But you all know who I’m talking about. Come up with a better name if you want.)

Some of my nominees:

  • Robert Heinlein’s Starship Troopers. This book’s strong right-wing bent might turn some people totally off science fiction. But it’s hard to argue that this is a tremendously thoughtful book. It might also open some people’s eyes to the fact that the science fiction you see in the movies has very little resemblance to the science fiction you see on the bookshelves.
  • Robert Charles Wilson’s Spin. Some SF types were turned off by this Hugo Award winner because it was too hoity-toity and thinky-thinky. But for literary types, the languid pace and abundance of Big Ideas makes for a good read.
  • Ursula K. Le Guin’s The Left Hand of Darkness. Hey, science fiction can do feminism too! And not just feminism, but pangenderism and transgenderism and everything else genderismic. In fact, Le Guin and many others like her tackle these issues with much more daring than many of their non-SF contemporaries.
  • Ian McDonald’s River of Gods. So immersed is this novel in Indian culture and so masterful is Mr. McDonald’s prose that it’s hard to imagine anyone putting down this book as one of little substance.
  • John Scalzi’s Old Man’s War. Yes, there are space cadets and bug-eyed aliens in this one, and the covers wouldn’t necessarily inspire much confidence for the non-SF reader. But there’s also plenty of humor, sex, politics, and social commentary crammed in there, enough to convince many an SF skeptic.
  • Arthur C. Clarke’s 2001. Hoity-toity artsy types are likely to give this book a fair shot because of the Stanley Kubrick film. Which, in case you were wondering, is one of the greatest films ever made (though a little difficult to follow unless you’ve read the book).
  • William Gibson’s Pattern Recognition. Hardly science fictional at all, but Gibson is such a master stylist and such a keen thinker on matters of business and technology that reading this book just might suck you into his more futuristic stuff.
  • Vernor Vinge’s A Deepness in the Sky. The intellectual heft of this book isn’t quite so apparent at first blush, and the spider people might roll some eyeballs. But the man can write, and his discussions of individuality-versus-groupthink are both powerful and subtle.

Some great books that, on careful reflection, are probably not great books to give to a non-SF reader right out of the gate:

Read more

Hacked (And Not in That Cool Cyberpunk Kind of Way)

If you tried to visit my blog and/or my website this morning — or tried to read any of the feeds — you were likely greeted by a string of gibberish. (I mean, more gibberish than you usually find here.) If you were using an older browser or a browser with ludicrously bad security settings, you might have been directed to a series of IFRAMEs that led you to somewhere in the .ru domain. No, … Read more

So It Goes: Kurt Vonnegut, RIP

The news of Kurt Vonnegut’s death today hits me particularly hard. For me, Vonnegut was the novelist. He was perhaps the first “adult” novelist I read seriously, the first novelist I fell in love with, and undoubtedly the novelist who got me through high school. I’m sure there are millions of people out there who can say the same thing.

I’ve read just about everything Vonnegut ever published, including his obscure drama Between Time and Timbuktu and his experimental children’s book Sun Moon Star (with Ivan Chermayeff). I’ve probably read Slaughterhouse-Five and Cat’s Cradle at least a dozen times each. I own Philip Jose Farmer’s convincing Vonnegut ventriloquism act Venus on the Half-Shell, penned under the name Kilgore Trout. I brought Timequake with me on my first honeymoon. Just about the only book of Vonnegut’s I never got around to buying was his last collection of essays, A Man Without a Country (though I do own some of his other late output, including Bagombo Snuff Box and God Bless You, Dr. Kevorkian).

Kurt VonnegutMy first exposure to Vonnegut was through his seminal collection of short stories, Welcome to the Monkey House. I was probably around 13 or 14. Up to that point, my reading had consisted mostly of straightforward, unironic science fiction and fantasy: J.R.R. Tolkien, Piers Anthony, Robert Heinlein, Isaac Asimov. My other recent obsession at that time was Douglas Adams, who strove all his life to achieve Vonnegutdom with mixed (albeit funnier) results.

Then my sister brought Welcome to the Monkey House home and it quickly swept through the whole family. I was stunned. I’d never read anything like these stories. Cynical, yet wondrous; funny, yet deadly serious; childish, yet crammed full of adult insight.

In short order, I discovered that we had a copy of Slaughterhouse-Five in the home library, and devoured that in one late-night insomniacal sitting. My sister also owned copies of Cat’s Cradle and Player Piano, which I quickly appropriated and wore to pieces. After that I went on a buying spree of mass-market Vonnegut paperbacks until I had bought and read all the Vonnegut I could get my hands on in those pre-eBay days. I remember eagerly passing Bluebeard and Palm Sunday back and forth to friends in high school.

Vonnegut’s lessons are the lessons that I think all teenagers should be required to absorb. They’re the lessons that saved me from completely withdrawing into my shell or going Columbine on my classmates.

These are, I think, the main lessons of Vonnegut’s work:

  • Adults take many things too seriously.
  • We all get buffeted around by powerful forces we don’t understand.
  • Religion, art, politics, and careers are largely full of shit.
  • Just because something is full of shit doesn’t mean it can’t be wonderful or useful.
  • Be nice to each other. We’re all trying the best we can.

Read more

Tags vs. Categories

If you’ve looked at the meta line underneath the headlines on this blog recently, you might have noticed that I’ve started tagging on this blog. I’m using a WordPress plug-in called Jerome’s Keywords, which puts a convenient text box for entering tags on your Compose page and then gives you lots of convenient functions to call them up on your blog. In addition to displaying the tags on the meta line, these tags also appear … Read more

Google’s Instant Translation

In case they weren’t working on enough already, Reuters reports that Google is working on the ability to instantly translate documents. BabelFish on steroids, if you will.

Google logoHow would you build such a thing? You might think that Google’s programmers would try to break down languages into sophisticated formulae depicting sentence structure and grammatical rules and that kind of thing. Wrong. If I’m reading the article correctly, Google’s essentially trying to do the whole thing through pattern recognition.

This means that when you feed this sentence into the Google translator —

Nel mezzo del cammin di nostra vita
mi ritrovai per una selva oscura
ché la diritta via era smarrita.

— the program doesn’t particularly care that you’re trying to translate the opening stanzas of Dante’s Inferno. It doesn’t care about the Renaissance or Biblical allusions or Italian grammar. All it cares about is the fact that 76.4% of all Italian documents with this sentence translate it into English the way Henry Wadsworth Longfellow did:

Midway upon the journey of our life
I found myself within a forest dark,
For the straightforward pathway had been lost.

In other words, Google is treating language translation as one big black box. Let the computer figure out the complex algorithms that magically turn Italian into English; all Google cares about is the result. (Of course, you understand that I’m drastically simplifying things here.)

This is more or less the same way that the Google search engine works, and it’s proven to be a major breakthrough. When you type “Britney Spears” into the Google search box, the computer logic behind the scenes has no idea what or who a “Britney Spears” is. All it cares about is that people who are looking for that particular term are very likely looking for the website of the pop star and not some obscure brand of English toothpick. And the more searching and clicking web surfers do, the more aggregate data Google has to fine-tune its searching algorithms. The end result? Well, Google works. It’s a zillion times more effective than any other search engine, and in an astoundingly large percentage of searches you find what you’re looking for.

So how accurate is the Google translator? The Reuters article tactfully states that “the quality is not perfect” and “it is an improvement on previous efforts at machine translation,” which is a nice way of saying it kind of sucks at the moment.

But the good thing about pattern recognition is that it improves dramatically the more patterns you feed it. And, hey hey, wouldn’t ya know it — Google’s right in the middle of scanning the complete collections of a number of libraries around the world. Certainly there must be hundreds of thousands of source documents and their miscellaneous translations in the Google databases now that are just ripe for analysis.

But not only is such a system likely to improve with time — it could theoretically adapt to changes in the language too. For instance, the Google algorithm might notice that words which were once translated as “colored people” and “Negroes” are now being translated as “blacks” and “African-Americans” instead.

Read more