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

I have lately been editing questions on Stack Overflow quite a bit. It’s my equivalent of doodling on a notepad, or idly completing a crossword: editing is my little non-taxing pastime that benefits future readers and helps illustrate the community’s desire for post authors to put some effort into their posts. Over the years, I […]

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 | 5 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 […]

Software & ideas

Introduction As a person who is both scatter-brained and busy, I’ve gone through various ways of organising my time. For over a decade, I have maintained an electronic mobile-phone calendar, so I can get reminders of where I need to be and when. I like this, and plan to carry on doing it; it ain’t […]

Categories: Ideas, Outline | Add a Comment

I have recently been pondering a way to keep track of purchases for my bicycles. Some of these are components for the bikes themselves (e.g. a new wheel after one was stolen), and some are attachments (bike lights, clothing). My use case is to get a view of: What my total cost of ownership is […]

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](https://store.docker.com/images/wordpress) 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 […]