Coding Projects Python

asyncio: an interlude

Published · 3min

Yesterday’s entry contained some issues I didn’t notice until later. The main one is that after the initial successful test, I’d notice that the client would start to disconnect. There’s no explicit timeout on the connections, so this might be either some underlying socket timeout or …

Coding Projects Python

A simple asyncio client

Published · 2min

In the last entry, I implemented a ‘chat’-style protocol. Using loop.create_connection(), I can reuse ChatProtocol, but with a different client implementation to allow some interactivity. I’m assuming the server is in the same directory as this file so ChatProtocol can be imported from it.

import asyncio

from …
Coding Projects Python

Exploring asyncio protocols

Published · 4min

In the last entry, I managed to get a very basic daemon running. Now I need to flesh out the initial Protocol implementation to first turn it into a proper echo server and then implement a simple parser for a ‘chat’-style protocol.

The first bit is at least easy …

Coding Projects Python

Starting with asyncio

Published · 3min

I have an old project called uwhoisd from a previous life. It’s been about eight years since I last did anything significant with it. It’s now largely obsolete owing to the ICANN policy changes partially forced by the GDPR, but I’d like to use it as a …

Planet Mercury Projects Go Slow Web

Introducing Planet Mercury

Published · 3min

Planet Mercury is a Planet-style feed aggregator I’ve been writing in Go over the past few days.

It’s now at the Minimal Viable Product stage, so I figure there’s no harm in announcing its existence to the world. If you want to poke around the currenty …

Projects Spectrum Next NetBSD Retrocomputing

A time server for the ZX Spectrum Next

Published · 3min

I recently received my Spectrum Next. I’d been waiting three years for it, and they started sending them out just as the lockdown started. Thankfully, even though I wasn’t able to update the address, they were able to receive it at the office, and drop it over, which …

Projects

Old Ideas: My DroidWars VM

Published · 3min

Years and years ago, I started work on a game I called “DroidWars”. It was based on some misunderstood third-hand information I got about Core Wars, and rather than having program battle each other directly, each of the programs controlled a robot in a 2D virtual world.

It was written …

Projects

Thoughts on Bugtracking

Published · 5min

At Blacknight, we use our own custom bugtracking software, GrassSnake. It’s something I wrote over the course of a few days on my own time and which I’ve been working on whenever I’ve had a free moment, which, in fairness, isn’t all that often.

It’s …

Projects

GrassSnake, my bug tracker

Published · 2min

[Note: I haven’t been able to recover the screenshots.]

I thought I’d post up a few screenshots of GrassSnake, the bug tracker I wrote for my own use, and which we also use with work after we got rid of phpBugTracker, a piece of software nobody liked or …

Projects

Reactor

Published · 3min

Reactor is a game I’ve been meaning to write for a while. It’s a conversion of a board game I originally wrote on the C-64 called Reaction (not to be confused with Reaxion, a rather good tile flipping game).

Here’s some graphics I knocked out showing the …

Projects

Restarting Mocha

Published · 3min

While Sage is the closest I’ve ever got to an RSS aggregator I actually liked, it’s still not right. There are just too many things about it that irk me somewhat.

I’ve tried so many of the blasted things and a few things have been confirmed for …

Projects

KWiki becomes FusionWiki

Published · 1min

I’m changing the name of my ColdFusion-based wiki engine to FusionWiki. Why? I want to put it up on SourceForge, and KWiki was already taken. And it’s a cool name.

I applied to have the project created just today, so it might take a while before they get …

Projects

On Starting a New Project

Published · 3min

I was talking to Peter last night about Laszlo. There are these times you need confirmation of why you have difficulty going off and either learning or writing something. I’ve a few projects like this, and something he said, quite off the cuff mind you, was a trigger.

He …

Projects

On Writing an Aggregator Server

Published · 4min

Seeing as I’m flitting about the idea of finishing my two and a half year old RSS aggregator, Mocha, I’ve also had an idea that might help reduce the load that aggregators inevitably take on the web: an aggregator server.

Bloglines is a great idea, but it has …

Projects

Sage

Published · 2min

A while back, I downloaded a copy of RSS Bandit as I need/wanted an RSS aggregator. I’d heard good things about it, so I thought it would be a good idea to give it a try.

However, I hit the same problems I have with every other aggregator …