Archive for the ‘General IT’ Category

Our Future Robotic Overlords

Sunday, November 8th, 2009

Many humans, on the other hand, don’t learn or grow all that much once they get to adulthood. A world of robots that were programmed to be competent at their jobs, but not to learn much, wouldn’t be enormously different from our current one.

Human Level AI: The Foresight Institute

Given that most customer-facing employees of large corporations would struggle to pass a Turing test, the threshold machines need to reach to replace humans in customer service roles is not particularly high. Anyone who has attempted to resolve a problem with a bank, utility company or government body in the last decade would probably welcome the chance to interact with a machine instead of a minimum-wage, script-reading, disempowered, indifferent human – outsourced or otherwise.

It’s a fallacy to imagine that decades of exponential growth in processing power means that computers will necessarily continue to get faster and more powerful every year – Moore’s law is catchy phrase to describe an observation nothing more. It is also a questionable belief that the difference between a machine and a human is simply one of complexity, that given enough interlinked processors we could brute force intelligence. Nonetheless, it is very hard to imagine a future in which technology does not advance to the point that many social roles could not be carried out by sophisticated, automatic machines.

What then for dreams of full employment? What then for the issue of leisure? People who believe in the Singularity tend to view it with quasi-religious awe as a coming techno-rapture in which the geek shall inherit the earth and the coming SuperIntelligence will solve all problems.

There is more than enough surplus wealth already to feed and clothe the poor of the world – and yet there is no sign of this happening. Why do we imagine that the future owners of unimaginably powerful technology will be any more benevolent than the current rich?

Just Set up a Tor Relay

Saturday, June 20th, 2009

I’ve just set up a Tor relay in the hope that every extra little bit of bandwidth will help the protesters in Iran preparing for today’s big rally in Enghelab Square, Tehran. If you’re technically minded and can spare some bandwidth then please consider doing the same. If you’re not technically minded and want a simple, fictionalised and very readable introduction to this kind of technology and why it matters, consider Cory Doctorow’s book Little Brother.

Editing and Removing Pages from PDF Documents

Sunday, January 11th, 2009

I’ve been using Google Docs to store and edit my CV, however I’ve recently run into a number of problems when exporting the file.

Word documents are invariably mangled. This is a common problem because Word format is a de facto standard by virtue of the number of companies using Microsoft Word but formatting varies from version to version, platform to platform so it’s not really a standard at all. It’s more frustrating than web development at times. You spend hours laying out your CV on a Mac only to find that it looks like hell when opened and printed on a PC.

Recruiters and employers that use text-processing algorithms to assess candidates for positions hate PDF documents but for anyone who cares about presentation and wants to guarantee that their potential employers see their CV exactly as they intended, there is no other choice.

Unfortunately, Google Docs insists on adding a line feed to the last line of every document and when you export the file as a PDF this can result in a blank page being appended to the end.

Fortunately you can edit PDFs on linux using pdftk.

For example, to create a new two page PDF from the first two pages of an original try:

pdftk originalCV.pdf cat 1-2 output editedCV.pdf

The application enables many more useful ways to manipulate PDF documents. Read the man pages for further details.

Connecting to Ubuntu from iBook G4 Using NxMachine

Saturday, January 3rd, 2009

I’ve been using my girlfriend’s iBook recently and am very impressed by it.

The Good
Things I love include the fact that it feels like unix, the build quality of the hardware itself and the failsafe reliability of its sleep/resume.

(I’ve long forgotten the number of hours I spent a couple of years back disassembling then recompiling the buggy DSDT on my old IBM Thinkpad T20 to fix all the warnings and errors before linking it against a patched kernel in order to get ACPI working. Sure it gave me a taste of the days “when men were men and wrote their own device drivers” but sometimes it’s nice when things Just Work.)

The Bad
Things that niggle include the lack of right-mouse button, the unfamiliar keyboard layout and the absence anywhere on the keyboard of a hash/pound key which makes writing bash scripts a little tricky (it’s ALT+3 but for some reason this isn’t printed on the key itself).

The Ugly
Things that seriously annoy include the monolithic, closed nature of the operating system that requires you to upgrade the whole damn thing in order to use a more recent version of Java.

Early observations aside, connecting to my Ubuntu box using NxMachine was pretty straightforward.

The mac client is straightforward to download and install. Apt-get makes setting up the server on the linux box utterly painless. The instructions on the site are more than sufficient for getting the connection up and running.

Getting the key mapping right takes a little longer – out of the box several keys did not behave as expected.

Anyone looking to save a little time is welcome to use my keyboard settings. To apply them use xmodmap:


xmodmap keyboardsettings

Is the iPlayer a Trojan Horse?

Wednesday, December 31st, 2008

I won’t be joining the celebrations around the launch of the BBC’s iPlayer on Mac and Linux.

The encroachment into the network of broadcasting corporations such as the BBC should be vigorously resisted both as a tremendous waste of bandwidth by a company that already enjoys a monopoly on huge swathes of the spectrum and as a step towards the licensing of internet access.

UK readers sensible enough not to own a television will have first hand experience of the Gestapo-like tactics of the BBC licensing authorities whose regular, nasty, intimidatory letters misleadingly and illegally threaten prosecution to anyone found using equipment capable of receiving a television signal including “computers connected to the internet.” The more organisations like the BBC pollute the web with their output, the stronger the calls to extend the license to cover access to the internet.

Already the iPlayer is being tested as a justification for bringing a tiered internet into place.

Combine that with a quixotic and sinister plan to introduce cinema style ratings to websites being considered and we have all the makings of Chinese-style censorship.

Paranoid? Perhaps. But I do live under a government planning on tracking everyone’s calls, emails, texts and internet use.

Podcasts for Software Engineers (and the Perfect Player: the Nokia N95)

Sunday, April 27th, 2008

I’ve recently discovered an excellent new podcast on software engineering – Software Engineering Radio. I’ve long been a fan of IT Conversations and In Our Time and this is a very welcome addition to my listening schedule.

As I client I’ve been using my Nokia N95 after upgrading the firmware to v20.0.015. The upgraded phone has no difficulty addressing memory cards larger than 4G, vastly improved battery life while playing mp3s, no longer crashes from running out of memory (thanks to on demand paging which also cuts the boot time significantly) and has a podcast client built in that remembers where I left off a particular episode. This is ideal if, like me, you use podcasts to claw back otherwise wasted time and so often digest episodes in several minute chunks.

Oh, and you can sync up your subscriptions and download new episodes direct to the player using wireless which makes it extremely convenient.

I’m working through the Software Engineering Radio backlist at the moment and have particularly enjoyed the following episodes on game development, Erlang, Lisp and an interview with Erich Gamma. You know something must be good when you find yourself looking forward to doing the washing up because it will give you another ten minutes to listen to more of the latest episode. For anyone interested in software development, I’d heartily recommend it.

The Promise, the Limits, the Beauty of Software

Sunday, January 28th, 2007

Starting with Bjarne Stroustrup’s observation “our civilization runs on software”, Grady Booch offered a thought provoking overview of the history and promise of software at this year’s BCS Turing lecture, taking listeners from the austere beauty of Alan Turing’s 1930s thought experiments through to “the rise of the machines” in 2030.

Booch is an interesting, relaxed and witty speaker, whose asides on the superiority of OS X to Windows, George Bush and Google (“Am I the only one who thinks there’s a company in desperate need of some adult supervision?”) provided comic relief in an at times informationally dense speech.

One point that intrigued me was his observation that much of the history of computing is unrecorded, existing only in the “tribal memory” of the greybeards. He foresees the emergence of both software artists and historians who might translate and record some of the strange beauty of code for non-programmers as well as formally archiving a form of communication in danger of vanishing with the death of its authors.

The full lecture is available as a recording from the link below and is well worth watching.



Tackling “Undelivered Mail return to sender” and Image Spam with Greylisting

Sunday, December 10th, 2006

Over 90% of email is now junk mail according to a recent BCS article.

Not only are spam volumes increasing, but junk messages are proving harder to filter. Some spam buries its message in images to prevent filtering on content. To reduce the number of these in your inbox, quarantine messages with headers containing “Content-Type: multipart/related” but check your quarantine folder regularly for false positives.

Others send spam for you to a third party and forge the sender’s address so that it appears to have come from you. This technique is known as backscatter. If you keep receiving messages with the header “Undelivered Mail return to sender” about emails you never sent then you may be the victim of this technique. Quaranting messages containing “Action: failed”, “Delivery Status Notification (Failure)” and/or with the subject containing “Undeliverable” will help reduce the volume of these although again this risks filtering off genuine messages alerting you to a failed delivery.

I’ve just started testing greylisting on my email. Email from unknown senders is temporarily bounced back: legitimate mail clients will try again later; spammers either will not try again or hopefully will have been added to a blacklist by the time they do so. Known senders are added to a whitelist and automatically bypass the greylist filter.

Mailsnare offer server-side greylisting. However, I have been disappointed with their service levels recently and am not sure how strongly I would recommend them.

Google Mars

Sunday, March 19th, 2006

Google’s latest addition to google maps is too beautiful for words: now you can explore the red planet from your desktop.

Longer Battery Life Coming Soon

Monday, March 6th, 2006

At last, portable batteries are beginning to evolve. Lack of adequate power is holding back portable computing. The M1, while designed for heavy-duty equipment, is a much needed sign of progress.

The M1, based on the same lithium-ion technology used in your cell phone and laptop, is the first product from MIT spinoff A123 Systems. Cofounder Yet-Ming Chiang, a materials science professor, succeeded in shrinking to nanoscale the particles that coat the battery’s electrodes and store and discharge energy. The results are electrifying: Power density doubles, peak energy jumps fivefold (the cells pack more punch than a standard 110-volt wall outlet), and recharging time plummets.

Super Battery | Wired