Me v Wordle: Redux

Created: 10th March 2010 by Ben

After all those hours of effort trying to control Wordle’s opinion of me in the end the Dev8D organisers didn’t use the single-post URL I’d provided to create my Wordle badge – they used the whole blog feed. I didn’t mind though. The badges, which I’d expected to be of the lapel variety and therefore easily readable, were actually in a kind of laminate pass holder which hung from our necks almost down to waist level, rather too low to read comfortably. The colour scheme was very muted too – someone would really have peer at it quite close to in order to make out most of the words. And, had anyone done so, I wouldn’t have been unhappy with the words there anyway.

While this exercise was ultimately futile for its original purpose, I still found it interesting (otherwise I wouldn’t have spent so long on it!) to consider how I might represent myself in a few words, and then sculpting an article specifically to get that result out of Wordle, but making the article a real piece of prose about the very process of its own construction. As I said, I’m a fan of self-reference. But I wonder if this can also be considered, perhaps loosely, a kind of steganography. While it contains no encryption, the article has a deeper purpose which — had I not explicitly made it the subject of the article, but instead concealed it — could be entirely hidden from view. I suppose it’s a fairly basic cipher to encode hidden messages inside a larger article according to the word frequency… but Wordle does a bit more than that. I think that, in controlled circumstances, Wordle’s output can be made reproducible for a given input and set of parameters. In which case, it would be feasible to conceal messages in a way that could not be calculated from the text alone, that could not be reliably decoded without the additional knowledge of which website it needs to be pumped through, the precise configuration parameters to use, and what further processing is required on the result — say, the message could be in just the words that Wordle makes a particular colour in one of its fixed palettes, or that are given a certain orientation.

Indeed, as Wordle’s precise algorithm is secret due to patent issues, the precise layout for a given set of parameters might be rather unpredictable without actually trying it. That makes Wordle a kind of public-private key pair, the public key being the set of parameters fed into the engine, and the private key being the secret method by which Wordle transforms those parameters into a layout. This transformation is probably relatively feasible to work out by trial-and-error, and in any case the number of configuration permutations is sufficiently low that if necessary the results of all of them could be tested and mapped fairly easily, so it only offers a fairly low security cipher. But you gain added security from the fact that very existence of a hidden message is steganographically concealed within the larger article, and, perhaps even more so, from the surprising and obscure means chosen to conceal it!

Ok, so I’ve given the game away now. If you’ve been quietly hiding secret messages in Wordle tag clouds for ages… sorry. If not, don’t start now, they’ll be onto you. But, more generally, using innocent third-party web applications as a kind of cipher function might have potential. You’d have to ensure that the output from the website isn’t just the pure decoded message, otherwise the third party has it as well. Some sort of post-processing which requires pre-shared secret knowledge is key. This could include things like piping your message through multiple web applications, either serially or in parallel, with each contributing some small part of the overall message, which can only be merged into the whole by someone with an additional piece of knowledge of how that needs to be done.

These are just idle thought experiments… I don’t advise anyone to actually use this technique for anything really secret! There are several obvious weaknesses, although they can probably be ameliorated. However, I believe it’s worth considering novel means of passing around secrets. If quantum computers actually happen as the physicists predict, all current encryption technology may be rendered useless at a stroke, as it all relies on a computationally-unfeasible mathematical problem that, theoretically, quantum computers could make feasible to solve quickly. Quantum computers also themselves have the potential to offer novel encryption techniques, but at the moment, no-one really knows how these things are going to behave… and, for a while anyway, quantum computers will be the preserve of rich governments, corporations, and other organised well-funded criminal gangs… so us ordinary folk will be at a disadvantage. The survival of our networks might depend on us being a little bit cunning…


OSX: Setting a global shortcut key to open a new Finder window

Created: 9th March 2010 by Jamm!n

Given that the Finder is central to many tasks in Mac OS X, I’m surprised that there is no global keyboard shortcut to call up a new Finder window. Well, that’s not strictly true — there’s alt-cmd-space, which will bring up a new window to start a Spotlight search. But most of the time I want to open my home directory, so I’d rather have a shortcut which jumps straight there.

Googling for the answer to this problem turned up lots of out-of-date suggestions to use Clearsilver and the like, but it seemed to me that a solution could be found using only what OSX provides. And indeed it can. The following has only been tested in 10.6 Snow Leopard. More »


Me v Wordle

Created: 16th January 2010 by Ben

Of all the lame excuses, I’ve been putting off registering for this year’s JISC Dev8D conference because the registration form says they’ll be using Wordle to make badges for everyone, and there’s a space on said form to provide a blog/RSS feed or bunch of text which can be fed into it to summarise our interests.

I’ve got three personal blogs including this one, although the fact that I only frequently update the one about my musical activities under the alias of Quextal, and that until very recently, Source Of Life, to which I have occasionally released potentially-useful but dreadfully hacky Perl programs, had probably been broken for months, says a lot about the current priorities in my life.

Unfortunately, feeding Quextal into Wordfondle fails to give a decent summary of what that site is about. Useful things like the titles of posts, their tags, categories, and the contents of Pages, are all ignored by the analyser, and so the result ends up dominated by the artists who most often feature in the tracklists of my recent mixes. Apart from giving the impression that I’m some kind of music industry plugger / agent / record label boss, it also makes me look like a complete stoner because of my support of one particular artist.

Using ContentedLife (wot you are now reading) instead doesn’t fare much better – I guess it conveys quite well something of my tendancy toward an interest in random disparate topics, yet utterly fails to bring out what I consider to be the most important waymarkers within that randomness.

If I’m to be represented by a disconnected soup of words, I want at least some of those words to be a reasonable reflection of my real interests and character, leaving room for a bit of serendipity of course.

So this got me thinking… how would I “tag” myself? What limited set of keywords would I choose to represent myself to a bunch of complete strangers, if I had the choice? Which I do…

As music is my first and truest love and passion, I’d have to start with some descriptions of my current musical boatfloatery 1: epic evolving psybreaks / electrobreaks / nuskool breaks, chunky progressive psychedelic techno, journeying synthorganic minimal techno, glitchy breakbeat crunk, and miscellaneous interstitial trippy electronica. Of which, psybreaks is my particular speciality. Obviously, trying to describe music using language is an exercise in futility 2 — especially my music — but as far as I know, there’s no MP3 player in these badges, so I have to use these clumsy labels as bait to tempt and seduce those who may enjoy the kaleidoscopic taste sensations of my synaesthetic electronic cocktails

(1 I am so pleased with my invention of the word “boatfloatery” (at the time of writing, not a single other hit for it on Google) that I intend to shoehorn it into a conversation at least once a day from now on, propagating its usage until someone I’ve never met adds it to Urban Dictionary…)

(2 The traditional quote is: “Talking about music is like dancing about architecture.” Usually attributed to Elvis Costello, but there’s some doubt about that. Anyway, I don’t reckon that’s quite right. I think of it like this: Trying to describe music is like trying to describe sex. It’s perfectly possible to do it, but it rather misses the point…)

I’d want to relate the fact that I’ve been hacking about with Linux, Perl, PHP and MySQL for so long that I’m about ready now to give the whole lot up and try gardening instead.

There’d be (in some cases, necessarily oblique) references to psychedelics and consciousness, healing and mysticism, Now, Spirit, Love, Nature, Gaia, and faeries. Ayahuasca would be explicitly named, for being all of those things while transcending them all.

It would make sense to throw in a selection of ideas that I find fascinating and engaging even though I’m never likely to get even close to fully understanding them, such as quantum physics (and metaphysics), fractals, stochastic resonance, sacred geometry, tectonics, astronomy, biochemistry, psychology, geography, weather, and basically anything that seeks to answer the question “How?” (even though we know that the real answer is it’s all just gnomes).

For the sake of a complete picture, I’d need to reference Eris, the number 23, and The Justified Ancients of Mu Mu (furthermore known as The JAMs, also known as The KLF) — no longer the obsession they once were, but still resonant in the formation of my character. And yes, for the same reason, Monochrome would have to be there too… initiator of countless lasting friendships, not to mention an eight year relationship, and the two best kids in the world…

And, although it’s not really anything to do with my character (“you are not your job”, as a wise man once said), I suppose it would be sensible — given that this is a conference, after all — to include a couple of phrases about my present paid employment as a Linux sysadmin and developer, which currently involves a fair bit of hacking around with EPrints and other Perl 3 shenanigans.

3 Gets a repeat appearance to ensure it due prominence over that other scripting language beginning with P. No, not that one, don’t be obtuse. Although, basically, all programming languages whose name starts with that letter are rubbish, except Perl. True fact. It should by now be obvious why I make that exception. I, too, am Pathologically Eclectic…)

My original plan was to post an entry containing just these tags, repeating the ones I consider most helpful in summation of the mess of contradictions that is Me (psybreaks, for example, would have to recur several times). But while this would generate a more accurate badge, it wouldn’t exactly be an interesting read, and it may also cause search engines to believe that I’m attempting to spam their results. The ranking of this site has suffered enough from the demise of its old domain, I don’t want to get it completely blacklisted.

So, the idea now is, to write more entries to explain and expand on many of the terms above.

Hey, it could happen… somewhen…

Meanwhile, here is some music. And one more mention of psybreaks, because there isn’t enough of it in the world (a situation which I’m doing my best to rectify, in case you hadn’t guessed…)

Addendum

Feeding just this post into Wordmangle (using the single-post feed link) results in a far more apposite summary of my interests than anything I’d hitherto managed. Exactly as I’d hoped. And using an article written about the process to feed into the process appeals to my (and probably every developer’s) aesthetic appreciation of the Meta, the self-referential.

With most of the emboldened words above only having a single instance in the text, many of them are getting left out. Perhaps that’s for the best. It seems to be picking a good subset, and while for example I feel Ayahuasca should be in there, so that it can be found by people who are looking, it oughtn’t be too big: it isn’t always a great idea to shout about such things to all and sundry (been there, done that, learned lessons). So I’m generally happy with the outcome. But it omitted The KLF, and Eris. For some reason, I feel they need to be in there, subverting the whole silly idea from within. So now they are. All hail! Fnord.

Final result of feeding this post into http://www.wordle.net


Review: Edirol UA-25 24-bit 96kHz 2in 2out USB soundcard

Created: 15th January 2010 by Ben

I’ve become quite a fan of this sound device since I got it about a year ago.

For its price, the sound quality is excellent. It’s fairly packed with features, has a good range of options for input and output connectivity, plus MIDI. And it works flawlessly, out of the box, with Linux — no special setup or drivers required, ALSA knows what it is and how to deal with it in any mode.

The same is true of Mac OS, but only in the basic mode which restricts you to 16-bit 44.1kHz I/O – a driver is required for Advance mode to get up to 24-bit 96kHz support (either in, or out – we’ll come to this under Limitations). This driver can be downloaded free from the Edirol website, and seems to work fine on my new unibody Macbook Pro with OSX 10.6 Snow Leopard, though I haven’t used it extensively on there yet.

I guess it probably works in Windows too, but I wouldn’t know anything about that 🙂

The sound quality (for what I’ve used it for anyway) is very good. It’s stacked with features, and quite versatile… within certain limits.

First we’ll take a quick look at the features packed into this gadget, which is information you could probably find elsewhere but I include for ease of reference, and after that we’ll get to discussing those limitations in more detail.

More »


Using mutt on Linux to transfer your old mbox mail folders onto GMail

Created: 4th July 2009 by Jamm!n

Unlike many webmail providers, Google don’t allow you to upload your folders from your old mail system in mbox format and import them. This is a pretty basic feature if you ask me, they really should.

There are a number of alternative ways. GMail does support fetching from other mail servers via POP3 (but not IMAP, another strange omission), so if your mail is all in your inbox at the old place that might work, but mine is organised into several folders, and I want to keep that organisation damnit!

Needless to say, someone has written a nice piece of software to do the job; in this case Mark Lyon’s GML. I was about to give this a whirl, but while I was waiting for the requisite Python lib to install, I found a much simpler way… click to read on…

More »


Opening a Door to reminiscence of times past

Created: 31st July 2008 by Ben

Durdle Door at sunset

One of my favourite places in the whole world: Durdle Door, on the Jurassic Coast in Dorset.

Well actually, the Door itself I can take or leave, although I quite liked being able to catch sunset through it thanks to the fact that I was there on a very spring-like day in January. You can’t get this angle later in the year.

But I love what surrounds the Door, and the walk to it and past it from Lulworth Cove (I never head towards the Cove…)

I even enjoy the drive to get there, at least the last 20 minutes of it when I come off the main roads and snake up a single-track road to the viewpoint overlooking Tyneham and Kimmeridge, where I stop for 5 minutes to enjoy the view and watch the clouds doing a dance that I have never seen them do anywhere else, as the sea breeze rising over the Purbecks pushes them away. All the way down here the sky could have been grey and overcast and drizzly and unpromising, but here is where the clouds are turned back, they shall not pass, and the sun shines on the Lulworth ranges. Then I continue along the range road to Lulworth, and realise that once again I don’t have enough change for the car park…

Climbing the hill above the main car park, heading away from the Cove, provides a measure of whether I’m less fit or more fit than on my previous visit (this time, less fit. Oops.). Detour to visit the hidden hill, with its portal to another dimension, to stand atop it and face the full fetch of the Atlantic wind. The perfect diffraction patterns of the bay to the east of the Door, flashing with a million reflected suns. The sound of the sea just to the west of here, in one particular spot where it sends waves of almost orgasmic energy through my body. The cliffs and rock formations along the beach, so striking it’s enough to spark an interest in geology in someone whose idea of hell, once upon a time, was to be dragged around a museum looking at dusty display cases full of rocks. “They’re just rocks”, I thought, but of course now they hold the secrets of the Earth’s past, and the history of life itself. Rocks are beginning to come to life for me, and this place is the catalyst.

Butter Rock

Butter Rock marks the farthest west you can walk along the beach. From certain angles it reminds me of an Easter Island statue, except that it faces the beach rather than out to sea as they do. It seems to be the quiet guardian of this, the quieter end of the beach. Tourists at the Door end can be raucous and rowdy, but the guardian keeps this space for those of a more meditative persuasion. Few come here, and those that do talk in hushed tones or keep a contemplative silence. Even dogs are calmer here.

This is the only place to which I return regularly, and know I will continue to do so. Normally I like to explore new places, rather than revisiting old ones. But this place is special. It’s where I plug in to the grid, recharge with energy from all the four elements: earth beneath my feet and in magnificent display, water as the sound of the sea, air as the breeze that almost knocks me over as I stand atop the hidden hill, soaking up its power, refining my balance, and fire from the sun that has shone on me on every visit so far.

This is my power place.

How about you? Where do you keep returning to, not due to lack of ideas for alternatives, but because you love it so much, because it works for you?