A Programmer's Hierarchy of Needs

Feb 9, 2020

A Programmer's Hierarchy of Needs

A lot of people are familiar with Maslow’s Hierarchy of Needs - the idea that we have basic needs which must be met before others can be serviced. This concept also applies to the practice of programming.

Read more »

Parentheses & Quotes in Bash

Feb 7, 2020

Parentheses & Quotes in Bash

The use of parentheses and quotes in Bash can be quite confusing. Here is a quick guide.

Read more »

COBOL is 60. Let's give it a REST framework for its birthday

Mar 26, 2019

COBOL is 60. Let's give it a REST framework for its birthday

It may seem incredible, but COBOL was first specified in 1959, before commercially available silicon transistors. To celebrate 60 years, I thought it would be nice to build a REST API in COBOL.

Read more »

Cmp4j, A Simplified CMP Library for Java

Mar 19, 2019

Cmp4j, A Simplified CMP Library for Java

I've done a fair bit of work with the CMP protocol, and the complexity of getting it to work has often caused issues. I recently had a reason to use EJBCA PKI server again, and thought it'd be a great opportunity to write a simple CMP library for Java.

Read more »

Questionable Coding Concepts - Episode 1. Variable Variables

Mar 17, 2019

Questionable Coding Concepts - Episode 1. Variable Variables

In this first of a new series of articles on the dodgiest of dodgy programming language features, we discover 'variable variables', and a slew of fun and exciting security vulnerabilities which you can introduce to your code if you choose to use them!

Read more »

Building a basic Content Management System with Jekyll and Gitlab CI/CD

Mar 15, 2019

Building a basic Content Management System with Jekyll and Gitlab CI/CD

Using Jekyll has made maintaining my website a hell of a lot simpler, but I did miss the ability to edit documents online that I got from a CMS. But with Gitlab CI/CD hooked up to my server, I can use the Gitlab interface as an online CMS interface..

Read more »

A simple Kotlin API server with Jetty

Jan 29, 2018

A simple Kotlin API server with Jetty

Here's an example of a simple API server with Jetty, written in Kotlin. This is the first part of my Kotlin diary, in which I'm building a simple Certificate Authority server with Kotlin, learning about its new features along the way.

Read more »

Building LatestPapers.com - A Networked Research Paper Aggregator

Jun 2, 2017

Building LatestPapers.com - A Networked Research Paper Aggregator

A couple of weeks ago, I decided that I'd like to keep up with cutting-edge research, at least in a very small way, and in a few specific areas. I thought it would be a good thing to read a paper each day, to give me something to think about, and give me ideas which might inspire me to find new solutions for work problems.

Read more »

Finding a Minimum Set of Languages to Learn All Programming Paradigms (2017 Update!)

Mar 8, 2017

Finding a Minimum Set of Languages to Learn All Programming Paradigms (2017 Update!)

A few years ago, I was wondering how easy it would be to learn, or at least *experience*, every type of programming language style. So I ran a quick experiment, and the results formed the basis of a fairly popular article on this site. So recently, when I came to republishing it, I wondering how things have changed in the 3-4 years since.

Read more »

Learning Languages through Text Adventure Programming

Feb 9, 2016

Learning Languages through Text Adventure Programming

I love a good text adventure. Some of the first games I played were early 8-bit texties. Like radio vs. television, the pictures were a lot better, even when they consisted of early vector-built forests as well as whatever my imagination could conjure up. When I started programming, the first thing I wrote was a text adventure, and to this day, I think that the best way to get to grips with a new computer language is to do exactly that.

Read more »

Riker, As a Service

Jan 9, 2016

Riker, As a Service

Just like every other sane person on the face of the Earth, I'm a big fan of Commander Riker, from Star Trek. Since the release of the utterly brilliant "Riker Ipsum", I've been using it for Ipsum text generation on a fairly regular basis. But I needed more. I needed a service which would give me a RESTful Riker on demand, to generate regular sample dialogue excerpts as required. Well, here it is.

Read more »

Finding the Minimum Set of Languages to Learn All Programming Paradigms

Mar 1, 2014

Finding the Minimum Set of Languages to Learn All Programming Paradigms

Earlier this evening, I was wondering how easy it would be to learn (or experience) *every* programming paradigm out there. I've tried functional programming, object orientation and so on, but what about Array Programming, or Reflective Languages? The first one fills me with terror (thanks to APL), and I don't even know what the latter is. Well, I figured out a way to find a small set of languages which comprise all programming paradigms. It may not be the *best* list, I banged it together in a hurry, but I certainly found it very interesting, especially given the results.

Read more »

Latest News on the COLLIER-1

Oct 3, 2013

Latest News on the COLLIER-1

Well, I've had a frustrating weekend! The EEPROM programmer which I bought from China turned out to be a load of rubbish, so I've sent it back and I'm building my own EEPROM programmer with an Arduino Uno. I'm also taking the opportunity of the time it'll take to get that working to get some new kit in. I'm still sticking with the Z80 for the time being, I don't want the additional trouble of wiring in the 6809 for the moment. Read more for component list and the first program written for the COLLIER-1!

Read more »

Sleuth (DOS Game from the 80s) reinterpreted in Javascript!

Aug 1, 2013

Sleuth (DOS Game from the 80s) reinterpreted in Javascript!

I'm sure lots of you out there remember the excellent DOS game Sleuth, which was written by Eric N. Miller in the 1980s. I absolutely loved it, and still play it at Christmas with the family. Unfortunately, it requires an emulator to run nowadays, which can be a bit fiddly. I recently had a little bit of free time, so I coded up a clone of Sleuth that works in Javascript, so anyone with a vaguely decent browser can play it.

Read more »