A sweary—and expertly punctuated—weblog.
Showing posts with label Dinosaur comics. Show all posts
Showing posts with label Dinosaur comics. Show all posts

Friday, October 29, 2010

When worlds collide

You guys know that I love Dinosaur Comics, and by now many of you will have (correctly) surmised that I have a possibly-unholy man-crush on its creator, Ryan North. You also know that I hate political extremism, especially as exhibited by porcine ideologue Glenn Beck. Yesterday, in a singular amalgam of rage and glee, those passions merged.

A few days ago, Ryan North released his new anthology Machine of Death. Inspired by this comic, it's a collection of short stories about a machine that tells people—accurately but obliquely—how they will die. The machine might tell you "old age", for example, but instead of settling down for a comfortable, long life you are murdered in your twenties by a raging octogenarian! The collection prominently features the work of the webcomics community: David Malki ! of the wonderful Wondermark co-edited, Kate Beaton of the historically hilarious Hark! A Vagrant provided illustrations, and even Randall Munroe of the overrated and frequently abysmal xkcd contributed a story.

While Ryan North and friends might be darlings of the net-savvy world, they don't have tons of real-world clout. Machine of Death was therefore self-published, and most of its publicity came via the webpages of its various collaborators. Imagine their surprise when their scrappy opus went straight to #1 on amazon.com! It's a feel-good story for the ages.

The release of Machine of Death, however, coincided with the release of Glenn Beck's latest book Broke. And instead of debuting at #1 as he has come to expect, Glenn Beck was beat out by a ragtag group of independent artists (and, adding insult to injury, Keith Richards).

But instead of accepting third place graciously, Beck decided that his loss was due to a liberal "culture of death"—never mind that he was beat out by both "Death" and "Life", which must indeed be demoralizing!—that threatens to destroy our very way of life. You can find the audio clip from Beck's radio show here. What's that? You don't want to listen to Beck's sonorous, mellifluous voice? Very well then; here's the salient quote:

These are the — this is the left, I think, speaking. This is the left. You want to talk about where we’re headed? We’re headed towards a culture of death. A culture that, um, celebrates the things that have destroyed us. Not that the Rolling Stones have destroyed us — I mean, you can’t always get what you want. You know what I’m saying? Brown sugar. I have no idea what that means.

This is where we are heading, you guys! If they are not stopped, small, independent groups of creative, sincere, kind (seriously: check out North's and Malki's twitter feeds; they are populated with enthusiastic interactions with fans), and entrepreneurial artists will, for dozens of hours, succeed in selling more books than pink-faced, corporate-sponsored propagandists. This is a threat to us all.

In response to the controversy, Malki created an infographic helping us to distinguish political thinkers from opportunistic shysters:

Here's how can you tell: Instead of accepting defeat—which conforms to his purported political principles—like a man, the shyster will cry like a baby when his followers don't give him enough money, complaining that subversive, insidious forces are to blame.

Quoth my lovely wife: "Aw, poor Glenn Beck. Here, have a lollipop to make everything feel better."

Wednesday, March 10, 2010

Here we come a-qwantzling

I've made it no secret on this blog that I love Dinosaur Comics. I find the strip extremely funny—both intellectually and viscerally—in a way that I can't properly explain to people who don't share my appreciation. If you aren't familiar, you should give it a fair hearing. It could change your life for the awesomer.

Ryan North, the writer of Dinosaur Comics, embedded a puzzle in one of his recent comics. Inspired by the cryptographic messages of early modern scientists like Newton and Hooke, he encoded the strip's punchline as an anagram: "12t10o8e7a6l6n6u5i5s5d5h5y3I3r3fbbwwkcmvg", meaning that there are 12 't's, 10 'o's, etc. He left it to his readers to decode the scripts and offered prizes for the first person to return the correct punchline. That was over a week ago.

So far no one has solved it. It's like Excalibur. Or the Riemann hypothesis.

Realizing that his "qwantzle" is challenging, Ryan has been slowly giving out clues. So far, this is all we know:
  1. The solution is a single, reasonably grammatical sentence that fits the context of the strip. It begins with the word "I", contains a colon and a comma (in that order), and ends with a double exclamation mark!!
  2. Letters in the solution are capitalized as in the code, and there are no proper nouns; thus, combined with the first clue, all instances of capital I must be the word "I".
  3. All words in the solution have been used previously in Dinosaur Comics. (DC is searchable, and readers have put together a dictionary of all possible words. My untrimmed dictionary has 14,000 unique words.)
  4. The longest word in the puzzle has 11 letters, and the next-longest word has 8; these words appear sequentially in the solution.
  5. [RN recently posted a final clue: the largest word is 'fundamental'. It helps, I suppose, but I think most people had already guessed that, and in any case the search space is still obscenely large!]

Even with the clues, qwantzle is maddeningly hard. Naively, there are 97! letter combinations, and even if you incorporate all of the hints the number of possible word combinations is staggering—far too many for a computer to enumerate. So there's a small community of readers working on heuristic approaches to the problem, trying to combine human intuition with brute-force computational strength. But so far, most solutions (interestingly, readers have submitted many grammatical sentences that meet the criteria, but none of them has been correct) have come simply by guess-and-check.

I won't lie: I've spent more time than I care to admit on qwantzle. I've taught myself a new programming language and spent a few idle hours crash-coursing on computational linguistics. To show for it, I've developed two approaches that I thought were clever. One takes a valid solution, randomly deletes a few words, and forms a new anagram with the deleted words; this gives you a way to automatically explore variations on a solution that you think might be pretty close. The other performs a genetic algorithm on letter ordering alone. The letter orderings are ranked according to how well they correlate with DC dialogue, randomly mutated and crossed over, and made to compete in a pseudo-Darwinian process intended to improve the overall quality of the solutions.

But, despite (what I consider) reasonable creativity, these approaches don't work all that well. They WILL spit out technically valid solutions, but they aren't terribly grammatical. My next step should be to include natural language processing techniques—NLP is a new field with surprising success at computationally characterizing language as it is spoken and written—but I'm having a hard time being optimistic. In general, computers are far inferior to human brains at pattern recognition, and I struggle to believe that a computer could be made to recognize the right answer even if it found it.

I'm certainly on the lookout for new solution ideas, of course. But I think that the problem will remain unsolved until Ryan North finally gives out enough clues—at which time it will be solved by a human brain performing (computer-aided) guess-and-check.

[Note: I originally mistyped the anagram, so if any of you were working on the puzzle using my copy—and I hope you weren't—I'm very sorry and it's fixed now!]