Google+ punditry
Some loose reflections on Google+ vs The Rest of Social Media:
- Why no Twitter integration? Maybe, just maybe, someone at Google noticed that Twitter integration made Buzz kinda pointless. The platform never got any momentum qua platform, because there was no reason for publishers to switch. G+ has (forgive me) exclusive content. It already feels like it has value. It already feels like a community.
- Whither Facebook? Google+ is a data play. Revenue will come from smarter ads across the web. This means G+ can (and hopefully will) remain ad-free. I’ve been expecting Facebook to announce a demographically targetted, web-wide ad network for a while now. But they have a problem. Sure like buttons and comment widgets give them some tracking fu, but it’s puny compared with the data Google can access via their analytics (used on 40% of websites) and search products. A suggestion: FB’s app platform is the best thing it’s got going for it. They should focus on that.
- Twitter? Twitter is remarkably resilient, but survival hinges on finding a way to monetize end-user experience without damaging their interop with other services. Tricky.
- Probably fine. They’ve got some unique, business-friendly features (recommendations and referrals) which G+ is extremely unlikely to replicate. Yes, I’m saying that making it slightly awkward to contact people outside your network can be a good thing.
Holiday books
I’ve been reading Species of Spaces and Other Pieces a collection of Georges Perec‘s writing this week. It’s a perfect holiday book. It’s full of things to read and things to do. It’s a grown-up version of the summer annuals (Whizzer & Chips) I used to read in the car on the way to Pwllheli.
243 Postcards
One piece is called “Two Hundred and Fourty-three Postcards in Real Colour”. Dedicated to Italo Calvino; the title evokes JG Ballard. It is the combined text of 243 holiday postcards. This should be terribly boring, but by some sleight of hand it’s not. Here are the first five as a taster:
We’re camping near Ajaccio. Lovely weather. We eat well. I’ve got sunburnt. Fondest love. We’re at the Hôtel Alcazar. Getting a tan. Really nice! We’ve made loads of friends. Back on the 7th. We’re sailing off L’Ile-Rousse. Getting ourselves a tan. Food admirable. I’ve gone and got sunburnt! Love etc. We’ve just done Dahomey. Superb nights. Fantastic swimming. Excursions on camel-back. Will be in Paris on the 15th. We’ve finally landed in Nice. Lots of lazing about and sleep. Really nice (despite the sunburn). Love.
Postcards are ridden with clichés, but Perec’s holiday-makers know that and circumlocute them, finding syncopated ways to say the same old things. The effect is disruptive and wholly convincing. Darlings, I do it myself.
Postcards are formulaic. Knowing a little of Perec, I suspect we’re looking at an exhaustive catalogue here. 243 = 3 * 3 * 3 * 3 * 3. Perhaps these texts represent 5 decisions, each with 3 choices.
Perhaps not. But the sense that a formula might be at play is irresistible: this feels like a system of co-ordinates. And that suspicion of regularity hyper-sensitises us to variation. Every phrase becomes a hook.
Alone, each message is banal. Gridded together they become terribly poignant: telegraphic!
Collage
Combinatorics crop up again in the essay (of sorts) “Think/Classify”. It’s a collage piece: a handful of elegant paragraphs with little in common. Sure they’re about thinking. But what isn’t?
Collage is a gentle, therapeutic art form. I’ve always been suspicious of it.
Things — any things, even several copies of the same thing — go together. The choice can be arbitrary at least in so far as we’re capable of that. Things agree with one another and contradict one another to the same degree. It seems lazy.
Paul Auster‘s strength, someone wrote is that “he simply rubs stories together like pebbles. They clatter, spark, and echo with a deepening mystery.” That phrase caught my ear. There’s profundity in setting things up together and (thereby) calling attention to the arrangement.
Aphorism
I am suspicious of surrealism. Dali and Magritte are too slick. I prefer the muddy ones: Ernst, Carrington etc.
One of Perec’s fellow OuLiPo-eans, Marcel Benabou invented a “machine” for producing Aphorisms. Like a language it has grammar and vocabulary. Sets of abstract nouns, preferably weighty ones, make up the vocabulary: war/peace, knowledge/science, morality/art etc. The grammar consists of template phrases: “A, like B, is largely a matter of taste”, “A wouldn’t be A, were it not for B”, “The true name of A is B” etc.
I’ve made a web page that lets you explore a corner of this space: Aphorism Generator.
“Where is the thinking here?” asks Perec. “In the formula? In the vocabulary? In the operation that marries them?” It’s in our heads, obviously.
Peregrination
It shouldn’t be a surprise that I’m not the first to make a computer simulate Benabou’s machine. Computers are combiners par excellence. Perec tells us that Paul Buffort wrote a program that could turn out “a good dozen [aphorisms] within a few seconds”. This is a charming reminder of how far we’ve come. Modern machines can generate aphorisms at a rate of knots.
They are playing a game. They are playing at
not playing a game. If I show them I see they are, I
shall break the rules and they will punish me.
I must play their game, of not seeing I see the game.
Knots, RD Laing
In the introduction to Knots (incidentally another excellent holiday book) Laing writes that the patterns to which he’ll call attention could have been presented as “raw data” — presumably transcripts — or further distilled “towards an abstract logico-mathematical calculus”.
Perhaps Laing was just being lazy. Or perhaps he knew that calculi can be stone cold boring. If there is a single thread to Knots, far better to show a few colourful examples of it. Or maybe Knots is a a salad. The Latin for salad, “satura”, is sometimes thought the ancestor of “satire”. I’ve never been convinced by that one.
One person who did have a taste for abstraction was Early Wittgenstein. At the end of his Tractatus he famously says, “whereof we cannot speak, thereof we must be silent.”
(I really don’t know what Laing was after with “logico-mathematical”.)
Whereas big on archaisms, Late Wittgenstein got especially big on “shewing”. Shewing is something that you can do in silence, instead of speaking. The problem is roughly that there are certain things — thing that don’t exist, generally speaking — that can’t be talked about without missing the mark. This resulted in a very great number of little notes which were arranged into books after his death like pressed flowers.
The Wittgensteins are the most important philosophers of the Twentieth century.
A lot of Perec’s pieces don’t really have a proper ending.
Fixing font file names
So you want to rationalise your font directory? Let’s face it, who doesn’t?
I had a bunch of old CDs lying around with fonts scattered throughout them. Going through each in turn I copied all the font files into a single working directory:
find -iname "*.ttf" -exec cp "{}" ~/fontwork
I also threw my installed fonts into the mix:
cp ~/.fonts/* ~/fontwork
fontwork ended up containing 1300+ files. Many of these had awful names like “basd12.ttf”. Just awful.
I decided to fix them up by extracting the embedded family and style information. Neither apt-cache nor google could find me an existing utility to pull out this info, so I quickly wrote one using the excellent freetype2 library. It’s imaginatively called fontinfo. I also wrote a little shell script to rename the font files and remove duplicates.
You can snag both from my github repository.
Truncating strings with bash
This is particularly handy if you’re building up a comma separated list through concatenation and need to remove the final comma. The following snippet removes the final character from $test.
test="Hello world"
echo ${test:0:`expr length "$test" - 1`}
(Cribbed from the Advanced Bash-Scripting Guide.)
Convert Bank of Scotland statements to QIF
I made a little tool to convert the Bank of Scotland’s CSV statements to QIF format for import into your accounting software. It does the conversion in Javascript, so your information never leaves your computer. You can find it at http://www.joehalliwell.com/converter.html.
Java: Too many open files
Looks like the Ubuntu (jaunty amd64) build of Java 6 (1.6.0_13) has a problem closing files. Upgrading to 1.6.0_14 from karmic backports Works For Me.
Seems like it would be a big obvious bug, but I couldn’t find any reports. Have you run across it?
Restoring the Earth one tweet at a time
A recent project:
Environmental charity, Restore the Earth, today launched a new breed of web service encouraging people to take simple, positive actions for the environment. The campaign builds on Twitter using software developed by Edinburgh-based Artificial Intelligence consultancy, Winterwell. The campaign is being launched at the Live Nation concert with a video appeal voiced by Joanna Lumley.
Restore the Earth encourages people to take positive steps. The cumulative effect of these “handprints” will help to reverse ecological damage happening around the world. “The Handprint symbolizes our positive and proactive relationship to the Earth, as opposed to the negative “footprint” concept frequently referred to in the media,” said Andreas Kornevall of Restore the Earth. . The new system builds on Twitter, the popular micro-blogging service. The service has garnered media attention thanks to high-profile users like Stephen Fry. Twitter users, known as twitterati, exchange text-message sized descriptions of their current activities. This makes it a perfect fit for Restore the Earth’s handprint campaign.
But with Twitter’s popularity comes a problem: the campaign aims to generate thousands of handprints – far more than the Restore the Earth team can handle. So they asked Winterwell to build custom “chatbot” software to lighten the load. Founded by Dr Joe Halliwell and Dr Daniel Winterstein, Winterwell specializes in innovative intelligent software.
“Our twitterbot engages with the public and tries to respond intelligently to the greetings, questions and handprints it receiveѕ,” said Halliwell. “We can’t anticipate everything that people might say so our software is designed to learn as it goes. Artificial intelligence can’t yet handle a real conversation. But we think it can do just enough to be useful.”
You can get involved with the handprint campaign by following @rtearth on Twitter.
Switch off underlining for hyperlinks in OpenOffice
Our current document pipeline goes from Markdown (for content) through HTML (for structural transformations) to OpenOffice (for pagination etc.)
This is dandy but by default OpenOffice underlines hyperlinks and anything that looks like it could be converted into one (email addresses, URLs). It also colours them blue.
This is extremely annoying a problem, as our “structural transformations” include indexing, TOC, footnotes and other processes that produce useful hyperlinks that absolutely should not be underlined. Or blue.
Unless of course you want that Particle Physics Lab circa ’95 feel for your document.
Here’s the slightly non-obvious way to fix it.
- Bring up the styles and formatting dialog using
Format > Styles and Formatting - Choose the
Character Stylessection (second button from the left) - Right click on
Internet Linkand chooseModify - Go to the
Font Effectstab - Switch
Underliningto(Without)andFont colourtoAutomatic
Ada Lovelace Day
Yesterday was Ada Lovelace Day and I pledged that I’d blog about women in computing. Epic fail.
But I did think about what to write. This involved a pleasant hour or so reading through the Women in Computing category at wikipedia. It reminded me how awesome Grace Hopper was — I’m a sucker for a uniform — but also sent me off on a dozen other fascinating trails. Programming language design, in particular, seems to attract many pioneering women. There are also significant contributions to the cryptography, internetworking and library studies ontology. But it seems kinda ridiculous to lionize these women who are already widely and justly celebrated.
So I’m taking a more personal tack. First, I want to salute all the brilliant women in computing it’s been my pleasure to study with, work alongside and befriend over the years. They know who they are. (Oddly, it seems I’ve avoided being taught by women…)
And I want to tip the propeller beanie to Dr Sheena Flower, who was the computer science teacher at the school where my mum used to work. It being a single-sex school, Dr Flower must have introduced many thousands of women to computing over the years. Score. But here are three gifts she gave me:
- With her PhD-fu she made me aware of Edinburgh as a centre of excellence for computer science.
- She explained “delta analysis” aka the method of differences to me at some point in the late 80s. This was the first time I saw an algorithm discover something.
- She lent me school computers — first BBC Bs, then PCs — over the summer holidays. This was my first opportunity to stay up late programming.
Thanks, Sheena!
Winterwell gets SMART award for pervasive gaming tech
PR blipvert follows. Normal programming will resume shortly.
Edinburgh-based firm Winterwell Associates has been awarded a SMART award to design artificial intelligence (AI) tools for the creative industries. SMART Scotland gives grants to small and medium sized enterprises to support R&D projects representing a significant technological advance for UK industry.
Founded by computer experts, Dr Joe Halliwell and Dr Daniel Winterstein, Winterwell provides research, development and consultancy on new media, web services, mathematical modelling and data mining. The SMART award will enable the company to develop intelligent technology for a new type of media: pervasive games – also known as alternate reality games (ARG), interactive drama, or more simply: adventures.
Like video games, pervasive games are highly interactive and story driven. But there’s a key difference. “In a computer game or a TV show, you visit another world. In a pervasive game, another world comes to you!” says Winterstein who like Halliwell holds a PhD degree from the University of Edinburgh. “New technology allows us to take the real world as the arena. Our characters will have Facebook pages, they’ll text and email players – even meet with some of them.” The result is to bring a drama or advertising campaign very much to life.
Though thrilling for players, game creators have to work round-the-clock to breathe life into their characters. “Time costs and scalability are key problems, and that’s where software can help,” explains Halliwell. “Our systems will understand plot devices and characters. And they’ll take the drudgery out of talking with players across different media platforms. Scotland is a world leader in video games. We believe it can become an international centre for pervasive gaming too.”
The creative and digital content industrіes are worth £5 billion to the Scottish economy and seen by many as crucial to the nation’s future development. In a report published last week, innovation quango Nesta estimates they could create 150,000 jobs across the UK and deliver a £85 billion boost to the economy by 2013.
