Thoughts on website ideas, PHP and other tech topics, plus going car-free
Writing (page 1)
Categories: Docker | Add a Comment

I’ve been keen to move some of my web services from CI to CD recently, and I was keen to see if it could be done using zero-downtime techniques. In other words, I wanted to run a minimum of two instances, to restart each one independently, and then to use a networking system to route […]

Categories: Tech misc | Add a Comment

Setting up deploy keys is not something one does very often, and accordingly when one comes to do it, it’s something that needs to be looked up from piecemeal locations on the internet! Thus, as an aide memoire for me and anyone who wants it, here is what I do. Create a key pair. I […]

Categories: Projects | Add a Comment

Introduction Over the last year or so I have taken a sabbatical from working on other people’s projects to work on my own, and while I have discussed them in other fora, it seems sensible for me to put them down here. As it happens, I have various people interested in my recent work anyway, […]

Categories: Docker | 4 Comments

As documented in some of my past posts, I’ve been using Docker on CircleCI a lot recently, and I thought it was about time I investigated adding Docker layer caching to the mix. This is one of Docker’s best features, in my view: if a layer does not need building, because the command and the […]

Categories: Docker | Add a Comment

Introduction Over the last six months, I’ve been working on a microservices-oriented application, and it has reached a level of complexity that means I could not do without the tests I have written. My tests are not perfect, and there’s times when I’ve plumped for slow functional tests when fast unit tests would have been […]

Categories: Docker | Add a Comment

Introduction When I first started maintaining “play” servers on the internet, in order to run my own blog and various software projects, the build process was long and laborious. That would have been around 2009, and at that time I was working for corporate logistics provider whose Disaster Recovery time was measured in days, not […]

Categories: Docker | Add a Comment

Introduction I’ve just made use of a Docker multi-stage build when Dockerising my WordPress blog, and I thought it would be useful to examine the benefits. Multi-stage builds are a nice way of being able to do build fragments in order to selectively copy pieces into the output build. Here’s a cut-down example: There are […]

Categories: Docker | Add a Comment

Yes, the title is largely click-bait, but with good reason. I am presently using Code Fresh as my Docker registry, but I’m not really a fan of their service. I have therefore been spending a great deal of search-engine time on finding a replacement for my (unfunded) tech projects, to little avail. Free is of […]

Categories: Tech misc | Add a Comment

I’ve been following various online tutorials in order to pair my Linux laptop (running Mint) with my Raspberry Pi 3 running Raspbian, using BlueTooth. I wanted to add a couple of extra instructions to the Internet’s wealth of knowledge, as I’ve had some hurdles that I’ve not spotted mentioned elsewhere. My first problem was that […]

Categories: Security | Add a Comment

I’ve been meaning to get an SSL certificate for the blog for some time, and prompted by how cheap they now are, I have finally set it up. All HTTP links should still be valid, but will redirect to their HTTPS equivalent. The switch is mainly to protect my credentials when I am logging on […]

Categories: Work | Add a Comment

I’ve been working as a software engineer for some 14 years, and having taken nine months out to work on a side-project full-time, I am now looking to start PHP/web freelancing. I have an intro page for what I offer; this partner article is a rambling rendition of the how. My purpose here is to […]

Categories: Security | 2 Comments

I recently got in touch with On Your Bike, a cycle shop with stores in Birmingham and London, to alert them to a number of security issues in their website. I’d raised the matter with a very friendly chap at the shop, and he advised me to send an email to the manager. This I […]

Software & ideas
Categories: Docker, Ideas, Outline | Add a Comment

Introduction I’ve noticed several things with Docker registries: The APIs to interrogate them are either cumbersome, unfinished, or usually only partially implemented Free private registries are rarely found on the web, probably because of the cost of storage and data transfer GitLab are one of the few providers that offer free registry access, but today […]

Categories: Code, Ideas | Add a Comment

I have some integration tests for a system that deploys PHP software to an Apache host via FTP(S) and SSH/SFTP transports. The tests run in a Docker image that has FTP and SSH servers installed, and they are stopped and started using shell scripts. This is a bit hacky, and it does not offer much […]

Categories: Ideas, Outline | Add a Comment

I see there is a ready-made [WordPress Docker image]( available, and I’m sure it is very good. However, I like my version, since it pulls in the latest versions of the required plugins and themes, and deletes themes and plugins that are not in use. It’d be great to set up a simple JS app […]

Categories: Ideas, Outline | Add a Comment

I recently donated some money to a small web-based charity, which accepts Paypal payments and electronic bank transfers. Whilst I have no fears that the charity misspends any donations, I realised after giving that I had no idea how the money had been spent. This particular organisation is run by over-worked volunteers, and whilst I […]

Categories: Ideas, Outline | Add a Comment

Introduction My experience of VirtualBox on Linux is mostly excellent, but there are a few areas in which host data would be good to bring into guests, for the purposes of updating informational widgets. For example, I’d like to see CPU activity and CPU core temperature in a guest VM, so I don’t need to […]

Categories: Ideas, Outline | 2 Comments

Some years ago I started work on a JavaScript implementation of a bad writing filter for Stack Overflow. I have some code for that sitting around, and one day I may even publish it! I find myself wanting to play around with the Stack Exchange API, partly as an excuse to learn Laravel, but sadly […]

Categories: Ideas, Outline | Add a Comment

One of the features missing from Stack Overflow is to receive a notification when a post that you’ve edited is subsequently edited again. This is useful where a post owner decides they disagree with an edit, and they wish to assert that their chatty tone, misspellings and extended downvote complaints really do belong (the community […]

Categories: Ideas, Outline | Add a Comment

As all social media users know, occasional time spent checking your various web accounts can add up during the day, and not all of it is productive. I use Twitter and Stack Overflow, primarily to help new developers, but the nature of these sites is that a new software library or interesting news story appears […]