There are loads of really delightful Simplified and Traditional Chinese True Type Fonts available on the web. There's only one issue - the file sizes are really large. In many cases, too large to effectively use as a web-font. For example, this calligraphy style font is 3.4MB. The beautiful Paper Cut Font weighs in at 14MB! That file-size is far to heavy to embed on a web page. …
Continue reading →
The Python Pals Divine A Date Penny was in a right grouch. Her voice wobbled as she unloaded her woes on to her best friend, Poppy. "It's all so unfair!" She started to sob. "Oh sweetie," said Poppy, "I hate to say this, but you're sounding like a right stereotypical teenager!" Penny cracked half a smile and blew her nose. "I know," she said "But it's true. What can't I date him?" Poppy…
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 →
As mentioned earlier, I've been inspired by the Byte Brothers to create a mystery story which kids have to solve using their l33t h4x0r skillz in Python. This is loosely based on The Byte Brothers Go to a Getaway, by Lois and Floyd McCoy. My well-thumbed copy was printed in 1984. I'm not sure when I got it, but I remember being around 8 or 9 when I first started writing programs in BASIC. …
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 →
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…
Continue reading →
Cracking on with my Raspberry Pi, I've written my first program in Python. The aim - to be able to send an SMS via a 3G USB dongle. The problem - the way SMS needs to be encoded is hideously complicated. For example, suppose you want to send "This is a very simple message :-)" to the phone number +447700900123. This is the command that you need to send to your dongle: AT+CMGS=42…
Continue reading →