Tag Archives: code

Sharing code: at your own risk

      No Comments on Sharing code: at your own risk

Often, when discussing projects on this blog, I share bits of code. Sometimes more than a bit. But I rarely share whole programs or libraries because, well, it’s a pain uploading it and making sure WordPress hasn’t munged characters. And it’s equally difficult to correct errors and keep code updated. Yeah, I know what you’re thinking. “FFS, use GitHub.” And… Read more »

Go or Python for the Raspberry Pi

Pretty much all of the code I’ve written for the Raspberry Pi (and the BeagleBone for that matter) has been in Python. It’s widely regarded as the de facto language for the platform, not least because it is newbie-friendly. But does it have to be this way? Ups and downs of Python It’s not hard to enumerate a long list of… Read more »

DottyMatrix software stack: PHP & Python messaging

On the Raspberry Pi that I’m using to control my DottyMatrix serial-to-parallel Centronics printer interface there are two main software components – a web-based PHP/JavaScript front-end UI and a back-end server programmed in Python. So these need to talk to each other. Here’s the overall architecture of the solution: The matrixSvr.py program is intended to run permanently on the RPi… Read more »

Mechanical keyboards: KÛL ES-87 TKL review

There is a world that most people know nothing about. It is home to a motley assortment of obsessives. Welcome to the dark and sometimes noisy domain of mechanical keyboard enthusiasts. I had no idea this subculture existed until my painfully progressing arthritis spurred me to seek out alternatives to the standard Apple keyboard that came with my iMac. More than… Read more »

A little bit of an obsession

      No Comments on A little bit of an obsession

So I wrote this Python program to allow me to carry out certain kinds of calculations on binary numbers — you know, AND, OR, XOR and that kind of thing. It’s an absolutely essential tool for anyone who, you know, needs to NAND two 12-bit binary numbers. And happens to own a PiDP PDP-8 replica. Okay, so that’s a very… Read more »

The search for the perfect keyboard

Keyboards are very person things. What suits one person won’t suit another. And I’m very, very picky. After 35 years of using computers, I know what I like, and what I like is what I’m typing on right now. I’ve always been a fan of keyboards with a positive click. The classic IBM keyboard with a buckling spring was my idea… Read more »