Showing posts with label code. Show all posts
Showing posts with label code. Show all posts

Friday, April 13, 2012

Clockwork and Cryptography: Angelmaker Code Hints, Part 5


Welcome back, Detachment 2702. How goes the codebreaking? Hopefully you've made some progress. Have you checked the classifieds yet? *wink wink*

Hint 0/1
Hint 2
Hint 3
Hint 4

So when I was at this point in the code, I was able to read ciphertext where I knew the plaintext equivalent - namely, the hint pages that Knopf put out, like this one:

\

If I were a gung-ho codebreaker, and I decided I didn't want any 3rd-party hints (i.e., those from this blog), and that I just wanted to use what Knopf provided (good for you!), I think that the most valuable ones to look at are probably the one above and the "Soot and sorrow, I know it" one. Just sayin'.

As I think I mentioned before, this image was pretty key in my realization that 1) the text in the hint pages was reflected in the disks and 2) the disks were not 1:1 with either letters or words.  In five of the first six images, the code reiterates some of the text on the page. I'm not saying which ones, but if you haven't figured that bit out yet...happy birthday. Free hint. Since I last posted, Knopf put up an extra three hint pages (here), and they're perhaps slightly trickier. Although come to think of it, when I first tackled the hint pages, I spent some time considering that the code disks could spell out (MAJOR HINT) the speaker of the quote, and not the quote itself. 


Look at me, rambling on, and that's not even what I brought you all here to say. Like I mentioned above, if you sort of half-understand how the disks break up the plaintext, you can read things like the hint pages, but not anything useful - like the text on the dust jacket. This hint might help:


What's up with the gap?
Straight up: the "gap" in the outer ring (where it exists) represents the beginning of a word. Where there's no gap, that means that the disk continues the word started by the prior disk. 
 Just like this bit of linguistic and etymological sleight of hand, yuo cna rdae tihs qtieu esaiyl, as lngo as teh itniail ltetsre aer in teh prorep pcael. Knowing where that first letter goes will go a long way towards clarifying the plaintext. 


That said, there don't seem to be totally explicit rules as to how the plaintext is broken up across the disks. Based on Hint 1, I initially thought it was purely syllabic, but based on something apocalyptic (*wink wink nudge nudge*), I think it may be just a matter of convenience. Certainly, you can find disks that hold more or less than one syllable by the official definition.

Hope that helps you...and please do drop me a note! If you've cracked the thing wide open, I'd love to hear about it, and if you're hopelessly stuck, leave a comment and I'll see what I can do to help. Has anyone made it all the way down the rabbit hole yet? If so, I don't believe I caught your name...?  ;)

Happy codebreaking!

That's all I've got for now...if you need more help, feel free to leave a comment, and I'll see what I can do.

Sunday, April 8, 2012

Clockwork and Cryptography: Angelmaker Code Hints, Part 4

Welcome back! Before you read this hint, make sure you take a look at the preceding ones:

Hint 0/1
Hint 2
Hint 3

We've gotten to the point where the things I point out as hints may be old news to you. On the other hand, who knows? It's time to consider one of three (possibly four) features of this code that I'm going to call "non-core" - i.e., they modify the code's basic functionality to improve its comprehensiveness. I'm sure that the basic codebreaking literature addresses this (and maybe has a different term for it), but for my purposes, I'm going to define "comprehensive" as "the ability of a code to represent all elements of the plaintext as ciphertext." This code is about 98% comprehensive. For comparison, a non-comprehensive code might represent the plaintext
ATTACK AT DAWN, SIGNED PATTON
like this:
TTCK T DWN SGND PTTN
which is 1) not a very good code, and 2) unable to represent words such as "a" or "I". It's not as comprehensive as a Caesar cipher (95-100% comprehensiveness, depending on the plaintext) because there are letters in the original message - the vowels and the punctuation - which simply can't be written in the code.  (For interested parties: you could figure out the comprehensiveness of this code by adding up all the letter frequencies of A, E, I, O, and U and subtracting from 100.)

Assuming that you've figured out the basics of how the Angelmaker code works, I'm going to estimate its comprehensiveness at around 85%, depending on what you've realized about certain other features. You could definitely read the message(s) if you couldn't figure this bit out, but there would be some ambiguity. If you add in the feature I'm pointing out here, you'd be at around 88% - maybe as much as 90 or 91, although I haven't done the research. So: what's the deal with this?


Well?

In Hint 1, I think I pooh-poohed the idea of comparing the relative frequencies of each disk (and rightly so, as you'll probably have realized by now). Now I'm going to tell you to bring that strategy back. Where does that extra line appear? How often? Does it ever appear in the inner ring? How many sections (out of the total 12 outer + 6 inner  = 18) does it bisect? I'd also suggest that you just browse around here for a bit. Just sayin'. 

And there you go! That's three hints in one, for those keeping score at home. Oh...I only put in two? I'm so terribly sorry, I must be mistaken. Bwahahahaha. 

Have fun!

(Or for extra help, read the next hint here.)




Wednesday, April 4, 2012

Clockwork and Cryptography: Angelmaker Code Hints, Part 3

My dear fellow cryptographer,

May I congratulate you on your perseverance? You've been plugging away at this code for quite some time now, it appears. Well, perhaps you haven't - perhaps you've just googled "Angelmaker code hints," blew right past my admonitions to not read the hints, and started reading hints 0, 1, and 2 straight away - but I'll give you the benefit of the doubt. 

Some suspicions about the nature of this code should be forming in your mind, and you may even be starting to test out a few theories. This is a good thing, and all the more reason that you should IGNORE THIS HINT AND SOLVE IT YOURSELF. You'll be so proud of yourself! This is a code that was meant to be broken, and it was meant to be broken by the likes of YOU. Go solve it, you young Champollion, you, and let me know when you're done. 

Still here? All right, then. I did imply that you were dedicated. Here's the third hint:
You're looking at a monoalphabetic cipher with a twist.
In a monoalphabetic cipher, one ciphertext symbol stands for one plaintext symbol. The very first code you ever broke was probably a monoalphabetic cipher, and most likely a Caesar cipher at that (you know, where you shift the alphabet however many letters to the right, so that A is encoded as E, B as F, C as G, and so forth). This is obviously not a Caesar cipher (there's no alphabet to shift), but the ciphertext symbols have a one-to-one mapping with the plain text. Now, that's a gigantic hint if you haven't made a particular realization yet, so I won't elaborate any more. (If you have made that realization...er, sorry. Getcha next time.) Go look at the picture I posted in Hint 1, then come back and read this hint again. Hopefully, you'll have one of those lovely "aha" moments that make codebreaking so satisfying. 

Oh, what's the twist? Not telling (yet). Sorry.

Happy codebreaking!

(If you need more help, here's Hint 4.)


Tuesday, April 3, 2012

Clockwork and Cryptography: Angelmaker Code Hints, Part 2

So here's the situation: you've read Nick Harkaway's Angelmaker, found out there's a code (!) on the American dust jacket, you've tried to solve it, and you're stuck. Presumably you've also read hints 0 and 1 here, and didn't make a whole lot of progress. In that case, you're in the right spot. Ready for hint number two? Here it is (want to have one more go on your own? Go ahead, I'll wait. If not, highlight to read):
Trust in Knopf.
 As part of the marketing campaign for the book, Knopf released a couple of images meant to help you along. I suppose if you already knew about those, this isn't a very good hint, so here's more: initially, I found this one to be especially helpful.  Later on, this one was very useful, particularly in conjunction with the image of the back of the dust jacket that I posted in part 1. 


You might also want to watch that little video clip of Harkaway talking about writing, as it does have a tiny clue in it, but if you've made it this far, it won't tell you much you don't know.

Happy codebreaking!

If you're still stuck, here's the next hint.

Sunday, April 1, 2012

Clockwork and Cryptography: Angelmaker Code Hints, Part 1

Nick Harkaway's witty, whimsical, energetic Angelmaker was released in the US a little over a week ago (you'd better believe I pre-ordered it), approximately a month behind the British/UK release. If you are, like me,  both 1) American and 2) a ginormous Nick Harkaway fan, this was an irksome (if expected) delay.(Taking a moment to note that spell-check takes issue with "pre-order" and "preorder," but not "ginormous.") It turns out that the wait was worth it, because the good people at Knopf and AAS Graphic Design have gifted us with a dust jacket design worthy of the book itself.


I will assume that if you're here, you already know that those discs are a code. (When I found this out, I took a moment to make an offering to the gods of clockwork, steampunk, difference engines, for they are good to us. Also to Ada Lovelace, oft-forgotten programmer extraordinaire.) I'll also assume that you're having trouble cracking it. To that end, I've put together a few hints to help you out, because the reward really is intriguing. 

My first hint is: STOP LOOKING FOR HINTS AND START SOLVING IT YOURSELF. SLACKER.

Seriously. Your self-esteem and your ego will thank me. This is a code that is meant to be broken (what good is it in this context otherwise?), so you know that it's not terribly difficult. Clever, yes. Difficult, no.

Ok, fine. We'll call that Hint 0. You won't be much happier with Hint 1, but here it is (last chance to do it yourself! Turn back now!) : 
Look with your eyes.
Courtesy of Arya Stark, via Syrio Forel, of course. Take a new look at the dust jacket. There are clues there to get you started - even clues to suggest the existence of a code, if you hadn't known there was one there. Look closely. Take it off the book, if you need to. The heart of codebreaking is in recognizing patterns where there don't seem to be any, so let your pattern-sensitive human brain take over for a minute, and go with your gut.



Start there.


More hints to come. Enjoy!

Ready for more? Hint 2 is here.


Monday, March 26, 2012

Hats off to you.

ETA: The acknowledgement below still stands, but multiplied by about ten. The code isn't just a code. It's a rabbit hole. I'm stuck at the moment. 

Confidential to Mr. Harkaway or Mr. Booher:



Thanks for this, and the rest of the book. Great fun. :)

Angelmaker by Nick Harkaway - Review

ETA: Cracked the code! I'll write another post with hints tomorrow. Confidential to Mr. Harkaway: a patch of ice, eh? A likely story.

Nick Harkaway is back with another satisfyingly-unclassifiable, broadly-scoped-but-detail-conscious, avert-the-apocalypse novel to follow his first, The Gone-Away World. That's not to say that one follows the other - they're independent stories - but there is a curious reappearance of maroon Rolls-Royces and a peculiar focus on bees (which had a passing role in The Gone-Away World but feature much more prominently here). I tried hard to read this book without thinking of The Gone-Away World, because the two have nothing to do with each other, but it was difficult. I will admit freely that The Gone-Away World was and is one of my top two favorite books, so any sophomore novel of Harkaway's has to fill big shoes from my perspective. I'm going to try to review Angelmaker on its own, but I'll put some comparisons in at the end, because I think it makes for interesting speculation.

Once again, I can't really tell you what this book is about. Most prominently, there's Joe Spork, son of a flashy gangster of ill repute, who emphatically does not want to follow in his father's shoes, even while inheriting his socks. There's the indefatigable Polly Cradle and her unique fascination with the timing of certain British train lines. There's a horrendously ugly dog who gets carted about (most of the time) by the unlikeliest, most interesting female protagonist of the past (and next?) ten years, Edie Banister. There's a train called the Ada Lovelace (!) and a baby war elephant with rather opportune timing. Most importantly, there's a plot to destroy the world, leveraged by a caricature of a villain (who is nonetheless absolutely deadly and as timeless as Enoch Root) and enabled by Joe Spork's brilliant and achingly sympathetic erstwhile grandmother. And of course, the bees. (It's here that I want to interject, "But wait! I haven't even mentioned the Book, or the veiled monk-like techno-cultists, or the kelp-armored submarine!" Suffice it to say that this book is difficult to sum up, and that it will all come out in the wash.)

It took me 104 pages to stop worrying that Harkaway had grown up so much that he had written exactly the type of book that made me hate High Fidelity so much: the kind with a single, male protagonist in his one-third life crisis  who aspires to abide by the law, and complains because he doesn't lead an exciting life of crime and gangsters. See quote:
"This day is the pattern of his life. He is the man who arrives too late. Too late for clockwork in its prime, too late to be a gentleman crook, too late to know his grandmother. Too late to be admitted to the secret places, too late really to enjoy his mother's affection before it slid away into a God-ridden gloom. And too late for whatever revelation was waiting here. He had allowed himself to believe that there might, at last, be a wonder in the world which was intended just for him. Foolishness." p. 85
It takes a train (several trains - chemical transport ones) and an attractive set of toes to do it, but Joe Spork stops resembling Rob Gordon at some point (thank god). The change (not the one at the end - I won't say anything more about that one) is distinct enough that I wonder if mealy-mouthed Joe Spork of pages 1-103 is a purposeful ruse that Harkaway put out to throw people like me off their guard. I'm dubious about that notion, though. It feels more like he's trying to write a different type of book, and slips sort of inevitably into his natural style somewhere along the way. Again, thank god.

So Joe Spork is dragged, increasingly-less-reluctantly into a world that seems to be going to hell in a bad way, and somehow he's the one to spearhead the operation to save it. We bounce back and forth for a while between Joe's modern-day escapades and Edie Banister's prior ones. I will say that this book cannot possibly have enough of Edie Banister. She's just the right balance of feisty and no-nonsense and relatably human. The most achingly poignant scenes in the book happen when she, right along with us, tries to figure out the enigmatic and impossibly brilliant Frankie, and coming up short. I haven't read the Edie Banister short story, but it's on my to-do list this weekend. I tend to find myself utterly devoted to Harkaway's characters. They're at once larger-than-life and utterly human, and they stand no chance ofbeing lumped in with the traditional modern-fiction stereotypes.

The tone throughout is distinctly irreverent, cheeky, and with a sense of its own ridiculousness. See quote:
"...sometimes the plummy, playful verbiage is obnoxious. It conceals emotion. Actually, it mocks emotion, the better to pretend to be above it." p. 177
Ironic or self-mocking? Given Harkaway's approach to emotion and his way with words about it, I tend toward the latter. Actually, I think that's part of what I find so appealing about his novels. He finds words for catastrophic moments and deep emotion, and suddenly the insane world of Angelmaker is a little more believable, because right here is something we can relate to. See quote:
"[something has happened] most awfully, most deliberately, most pointedly, and that is the world now, newborn and hard." p. 105
There's something about this that is quintessentially Harkaway. His characters run up against reality, and they are unlike heroes in that they don't have any special defenses for when the world knocks them silly, and we know how they feel because we are also unlike heroes in that way.

The threads of this story are delightfully steampunk-ish, with absolutely no mention of zombies (well, ok, just once, and it's part of a solid plotline, and unique enough that it might just be a wink-and-a-nod in the direction of that tired genre). They're also incredibly vivid (in line with China Mieville, although not nearly to that extent. Despite the imagery,I found myself wishing for a few ink drawings along the way (for the Book and the whojimmy, in particular).

But! I can't possibly complain, because while there are no drawings, there is a code hidden on the (American) dust jacket! I haven't worked it out yet, but the fine folks at Knopf have left a few clues. I suppose I can give up illustrations in favor of a clockwork code on a book about a clockwork book.

Ok, *now* we compare with The Gone-Away World?
Full disclosure, as above: The Gone-Away World pretty much tops my list of favorite books (although it is sometimes beaten out by Name of the Wind), which definitely colors my opinion. That said, I do still think that Angelmaker is a good book with solid storytelling and an enjoyable sense of fun. It's a much more character-driven book than TGAW in that this is more of a book about what people figuring out their relationships to each other while the world goes to pieces (and trying to save it), rather a book about the world going to pieces and people trying to save it (and figuring out their relationships to each other in the process). Whether you happen to like the former approach over the latter or vice versa is just personal preference.

Angelmaker is perhaps a more mature book than TGAW. We see more character development, more self-doubt, less recklessness (though there is still a significant amount of it!). It makes me slightly sad, because we have grown up from the Gone Away World. The issues in this world are the same as in the last one - Bad People who do Bad Stuff to destroy Everything - but as "responsible grown-ups on the wrong side of thirty-five" (p.86), we cannot give them the faces of monsters and call on the School of the Voiceless Dragon to ferret them out and do away with them. This is the world now, newborn and hard.

Enough mawkishness - this is still undoubtedly a book worth your time. It's unlike any other book on the market – wildly imaginative, in equal parts violent and humorous, and I think the author knows it:
"Who creates a superweapon or a superwhatever-it-is and makes it so bloody whimsical?" (p. 203).
Thank you, Nick Harkaway, for making the world so bloody whimsical.


Good quotes:
"Mr.Pritchard! What are you doing? is that O-soto-gari? No! It is not! It is a yak mating with a tractor! That is *really* very very not very good!" p. 127
"The man is a brigand in the pay of the Opium Khan; it's not every day he is assailed a willowy white lunatic in forest green, borne along on a wave of fire by a box on wheels. Indeed, there probably aren't many people who have great familiarity with this situation." pp. 245-246.
Ha! Amazon's statistically improbable phrase capturer must have a field day with Harkaway's books.

"From within comes a noise like a trombonist being goosed during the overture." p. 261

TL;DR: Good book. Inventive and fun. Maybe not as good as his first, but cleverly written.