Blog

All posts

Next page

Experiments in converting code from C to Rust - Nov. 27, 2018 Tools  Rust  C 

I’m quite fond of Rust (as a few blog posts on the topic may indicate), but one item I hadn’t really explored was replacing/rewriting existing C code bases in Rust. There’s a general joke about the general notion of “rewriting everything in Rust is of course always the right thing to do!” (Google “rust evangelism…

Clincher: checking your signed git commits - Oct. 26, 2018 git 

Recently for a project with tight regulatory requirements we decided that git signing throughout the project was a good idea. There’s a debate about it’s level of effectiveness, given that all it tells you is that a particular commit was made from a particular developers machine, and if they’re not careful, they can end up…

Even more Rockstar: using WebAssembly to run Rust code in browser - Sept. 24, 2018 Web  Rust  Javascript 

Two months ago I blogged about how to be a Rockstar developer, and demonstrated it with a Rockstar interpreter called Maiden written in Rust. Now, normally Rust is considered a systems programming language (it even says so on the Rust homepage), and the command-line nature of Maiden aligned well with that. Except that Rust is slowly…

Not all watchers are created equal (or how to make yak shaving useful) - Aug. 14, 2018 Tools  Clojure 

I’ve been hacking around with a Clojurescript project recently, and it resulted in a certain amount of yak shaving when I found the watcher system I was using was eating a lot of CPU. On the one hand, yak shaving is bad, because you’re doing other things that aren’t the core task you’d originally meant…

How to be a Rockstar developer! - July 30, 2018 Rust  Humour 

You’ve probably followed that clickbait of a title and are hoping for some super-secret tips on how to be a ‘Rockstar developer’, and I’m not going to disappoint on that (technically). But before that, I’m going to note to those of you lucky enough to have not seen that particular variety of recruiter spam that…

PSA: Many ways to manage your Python dependencies - July 3, 2018 Python  Tools  Howto 

Having recently learnt about a few more tools, I felt it was worth writing this post. It’s pretty much a PSA, and some of you may well have found most of these, but there are a lot of Python developers out there who haven’t, and the improvements when using some them are considerable, so it’s…

On Mocking Rust - May 21, 2018 Rust  Rant  Potboiler 

I’ve recently picked Potboiler back up again with the intention of doing some expansion work on it, but in order to be able to do this sensibly I first had to actually write some tests for it. First time around I was mostly just trying to hack it together and see where I could get, but…

Bazel: Fast, Correct, Usable – choose two - March 14, 2018 Tools  Rant 

I’d recently gotten reminded about Bazel, Google’s ‘boil the ocean‘ build system, and decided to give it a proper go. TL;DR – it’s not ready yet, and might not ever be, unless you’re willing to throw away everything else. I’m generally on the lookout for good build systems. Some of my colleagues are perfectly happy…

Wharf: Dokku Web frontend - Feb. 28, 2018 Python  Web  Cloud 

As long-time readers of my posts may have noticed, most of the apps I talk about building here are deployed to Heroku. This is mainly because I’ve been a long-term user of theirs, and so when they changed their pricing model a couple of years ago, I got grandfathered in a ridiculous number of free hours.…

Sked: merged calendars as a service - Jan. 22, 2018 Python  Tools  Web 

I have a little bit of an obsession with calendars, mostly generated ones via a variety of tools. I don’t do well with pen-and-paper for this sort of things, and one of these days I will write the Grand Unified Todo Manager To Rule Them All (which will also eat emails, Calendars and probably a…

Next page