Why do most programming languages use the / character when we have a perfectly good ÷ symbol? Similarly, why use != instead of ≠? Or => rather than →? The obvious answer is that the humble keyboard usually only has around 100 keys - and most humans have a hard time remembering where thousands of alternate characters are. Some programming fonts attempt to get around this with ligatures. That all…
Continue reading →
This is a curated list of APIs which do not require usernames, passwords, access tokens, signing, accept-headers, or anything more complicated than sticking a URL in a browser. (This is an update to my post from two years ago.) When I introduce people to the concept of using RESTful APIs, they immediately get how powerful it is to retrieve information from the Internet and then manipulate it in…
Continue reading →
Last week I was invited to attend a product launch by BQ. They're a small company based out of Spain who create some curiously innovative products - including smartphones which natively run Cyanogen. I'm particularly looking forward to reviewing their Ubuntu Tablet later in the year. The thing which really caught my eye was Zowi (pronounced Zoë). It looks like this: And it dances like this: …
Continue reading →
One of the most addicting aspects of Open Source software is the ability to scratch one's own itches. I've been blogging since 2004 - and while I'd never mistake longevity for expertise - I do take a certain pride in letting my readers know that I've spent over a decade bashing out words. So, I decided to build a simple widget which would display my posting history in a calendar style. And…
Continue reading →
The idiot in question being... me! It's been ages since I did any real electronics. Most of my work involves software and pre-assembled bits of kit. I thought that it was time I reacquainted myself with the joys of electricity :-) Because I'm fundamentally lazy, I purchased the all-in-one Raspberry Pi 2 kit from Vilros. Lots of LEDs, some buttons, a nice case, all the cables, resistors,…
Continue reading →
Just a couple of silly experiments on a Sunday afternoon. I think it's beautiful to overly animated GIFs on top of one another. If the topmost GIF has a transparent background it becomes hypnotic to see the synchronisity which appears to develop - akin to listening to Dark Side of the Moon while the Wizard of Oz is on the TV. The background and foreground have differing periods of motion,…
Continue reading →
Running a Code Club sometimes means thinking quickly on your feet. I recently started a new Code Club at work. We thought we had everything set up perfectly when disaster struck. We went in to our assigned room half an hour before the club started and began to set up. Of the eleven computers we needed, only three had mice! Nicola - my co-educator - frantically rushed around the building…
Continue reading →
As some of you may know, I'm writing a series of short stories to help young people learn how to code. One of the things I wanted to do was introduce the concept of using RESTful APIs. It's so powerful to show people that they can retrieve information from the Internet and then manipulate it in software. Originally, I had wanted to use Twitter and Flickr as examples - they're both fairly well…
Continue reading →
Somehow, simultaneously, all 10 children in my CodeClub shoot their hands up. "Terence! Terence! Why doesn't this work? "Help! My bird isn't flapping!" "What do I press to set this variable?" I am run off my feet. I dash from workstation to workstation, troubleshooting the problems. In every case, my response is the same. "Did you follow the instructions on the sheet?" I say. "YES!" Comes…
Continue reading →
This is the second of my "Python Pals" short stories. They're designed to be solve-it-yourself puzzle stories to help kids learn the basics of programming. All feedback welcome! The Python Pals Write A Wrong Poppy's mother, Ada, was not happy. "I don't care about that," she shouted down the phone, "Why am I always the one who has to pick up the pieces?" She carried on ranting. Penny and…
Continue reading →
I'm currently getting involved in the Coding For Kids scene. I'm setting up a workshop in my local library to teach kids programming - specifically, the MIT language Scratch. I've been left slightly dissatisfied with the unstructured nature of the Scratch teaching materials. While it's quite fun to teach a cat to dance - it doesn't seem to be building up to anything. I'm also working with…
Continue reading →