3G Internet on Raspberry Pi - Success!


This is a bit of a brain dump of how I got a 3G USB dongle working on the Raspberry Pi. Following on from getting the Raspberry Pi to send SMS. That's The Power Of Love The first thing to say is use a powered USB hub! I had lots of problems getting the modem working when it was plugged directly into the Pi. A 3G signal takes more power than the Pi's USB sockets can supply. In the above image, you can see that the Raspbery Pi is plugged into the mains - via a 1.8A plug. The USB cable has …

Continue reading →

I Don't Want To Be Part of Your Fucking Ecosystem


A few dozen mobiles on a table.

I was chatting with a friend who expressed what I'm finding is a fairly common opinion. Well, yes, I'd love to move to Android - but all my content is in iTunes. I discovered that it wasn't apps which were the problem - buying them again is a pain, but most are free. It's media content which traps people into staying with services that they no longer want. Music, movies, TV, and podcast subscriptions. All tied up in Apple's little ecosystem. A very pretty noose to keep people chained to…

Continue reading →

WURFL and Database Copyright


Logo for WURFL.

When a phone's web browser visits your site, how can you tell what capabilities that phone has? How can you work out its screensize, whether it can play mp3s, or know if it supports a particular bit of JavaScript? It ought to be possible using a mixture of UAProf, accept headers, and media queries. But it's not. The data are inconsistent and unreliable. Out of this frustration, a number of databases have been developed to track the capabilities of as many devices as possible. For the…

Continue reading →

There is no HTTP code for censorship (but perhaps there should be)


Photo of Ray Bradbury holding a black cat. Underneath is "451 Unavailable For Legal Reasons".

To quote Chris Applegate: "There is no HTTP code for censorship." But perhaps there should be. My ISP have recently been ordered to censor The Pirate Bay. They have done so unwillingly and, it would seem, have complied only with the letter of the ruling. Their block is, for now, trivial to circumvent. I am concerned that this censorship will become more prevalent. As network neutrality dies, we will see more sites ordered to be blocked by governments who fear what they cannot understand. …

Continue reading →

Astrology For Businesses


A circular zodiac chart.

A few years ago, my work sent me on a training course. It involved the usual things, trust exercises, team bonding, and personality profiles. I filled in a few forms, answered some questions, and the very professional looking lady marked up my paper and said, "I see that you're a Scorpio. That means you're focused externally, and you deal with things rationally and logically. You do have a tendency to act via your intuition - sometimes to your detriment." O...k..., I thought, that's a bit…

Continue reading →

Authentec Fingerprint Scanners - Full Specifications (AES2810 & AES2550)


A fingerprint being scanned.

Last year, I wrote about how Authentec wouldn't support their fingerprint readers on Linux. I've been chatting to the good folk at Authentec, and they've agreed to release the specification documents! So if you want to code up an interface for the AES2810 or AES2550 you can! A word of note, the best way to get the latest version of these documents is to register for the Authentec Developer Program. You then need to drop the team a note asking to get access to these specific documents -…

Continue reading →

Why Facebook Makes Me Feel Like A Loser


Screenshot of the homepage for Facebook.

I'm sat here, in my dressing gown. My fingers are greasy from eating crisps all morning. My back aches because I spent all night playing a stupid video game. The gin hangover isn't helping either. My week off work has been a wash out. I didn't write any code, I didn't cook anything other than pizza, and I'm beginning to smell of used dish water. I log on to Facebook - and this is what I see, all complete with photos of smiling people doing awesome things. Melody checked in at Bury Lane…

Continue reading →

Helen Goodman MP is "Particularly Stupid"


Screenshot of a BBC News article.

I remarked earlier about Helen Goodman MP and her total lack of technical knowledge. An MP being a bit behind the times isn't the greatest shock - but she's Labour's Shadow Minister for Culture, Media, and Sport - that's a big deal! This year, Claire Perry MP produced an "independent" report into online child protection. By "independent" I mean "produced by vested interests including religious groups". It makes for pretty tedious reading, however you may get a laugh from the antics of our…

Continue reading →

Burning All My Books


A tiny micro sd card.

My shelves are empty. The half-dozen Billy Bookcases I bought from Ikea are now little more than scrap. I have burned my books. A bonfire of ideas and ideals. My bookshelves used to burst at the seams. Every individual shelf bowed violently from the over-stuffed mass of paperbacks squeezed onto it. Shakespeare rubbed up with Straczinsky. A complete set of Terry Pratchett was enviously glowered at by a patchy Enid Blyton collection. Half-read oddities nestled with well worn volumes. A copy…

Continue reading →

I Haven't Quit Twitter - Twitter Quit Me


It's the height of self-indulgent wankery to blog about why one is flouncing away from a social network. So, here's my rant. There are many like it - but this one is mine. Let me start by saying something which I hope is obvious. Twitter belongs to Twitter. It's their game and they can take their ball home any time they like. Therefore, all whinging and whining by jilted developers ought to hold no more weight than kids moaning that it's all so unfair! Still, my blog, my rules. Let the…

Continue reading →

The SIM-less Phone Is Coming. And It Should Scare The Shit Out Of You


Photo of a nano SIM card and its plastic housing.

The argument over the nano-SIM is a distraction. It's a sleight of hand designed to catch the industry off guard and fool it into doing something really stupid. The SIM is designed to do a number of things; encryption, address storage, hold SMS, etc. Most importantly, it's designed to be swappable. With GSM, you can choose your phone and your network provider separately. Want the iPhone? Hate Three's network? Stick in a Tesco Mobile SIM. Love Vodafone? Think their range of phones is crap? …

Continue reading →

Raspberry Pi, Python, and 3G Dongles - oh my!


A 3G dongle stuck in a Raspberry Pi computer.

This is a bit of a brain dump / diary of what I've discovered about using 3G dongles to send SMS using Python on the Raspberry Pi. Here is how to use Python to send an SMS from the Raspberry Pi via a 3G USB dongle. In order to talk to the dongle, we need to install pyserial wget http://pypi.python.org/packages/source/p/pyserial/pyserial-2.6.tar.gz gunzip pyserial-2.6.tar.gz tar -xvf pyserial-2.6.tar cd pyserial-2.6 sudo python setup.py install Save this file as sms.py - make sure you change …

Continue reading →