JonBlog
Thoughts on website ideas, PHP and other tech topics, plus going car-free
Writing (page 1)
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
Security issues at OYB

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

Categories: Technical | Add a Comment
Ubuntu host and guest, both in workspaces mode

Introduction Last year I tried running Fedora on a MacBook Pro (Intel i5 processor) to see how much pain was involved in switching to Linux completely. I was also interested to see whether using virtual machines for day-to-day tasks was feasible, via Oracle’s VirtualBox. In the end I didn’t make the switch: an idle guest […]

Categories: Life | Add a Comment

There is a rule of street fundraising that surely has parallels in the physical sciences. You find a charity mugger, pop them in an excessively luminous T-shirt to match their personality, and stand them in a sea of shoppers on a Saturday high-street. Powered by some alien intuition lurking in the moving throng, the “chugger” […]

Categories: Tech misc | Add a Comment

Just recently, I came across a list of my NY resolutions from a year or two ago, and it was fun to see how many I’d accomplished (around half, not bad). So, this year I’ll make a couple of techie predictions, and add on some geek resolutions too. Here’s what I’d like to see in […]

Categories: PHP | Add a Comment

I’ve been writing a PHP course for beginners over for the past couple of weeks, and think it is now good enough to share. It’s a work in progress, but what I have at present is useful already, and I plan to add to it. I’d previously looked around the existing resources on the web, […]

Categories: Mac, Technical | Add a Comment

Today I tried to install texlive on Snow Leopard via Macports, in order to make use of pdflatex with pandoc. However I received this error: Python interpreter is too old This would exit Macports with an error, suggesting that a bug should be raised. It appeared to be looking for Python 2.6 specifically, which is […]

Categories: E-bikes | 7 Comments

Back in November last year I replaced my aging Juicy Bike with an Ave XH-3, and after some 1,600 miles of bedding in, I’m now reviewing it. I’ve added some hi-res pictures for potential buyers, or anyone wanting a closer look. Having now e-commuted daily for the last two and a half years, I write […]

Categories: E-bikes | Add a Comment
Left side view

Here are some pictures of my current electric bike, an Ave XH-3, after about five months of heavy usage. My recent review is here.

Categories: Life | Add a Comment

A number of years ago I signed up for a Paypal account. I’m not sure why I did this, since in most cases Paypal can be used as a card merchant without specifically having a web account with them. Anyway, I recently started receiving monthly marketing messages from Paypal, somewhat disguised as identity fraud emails: […]

Categories: Life | 8 Comments

Sadly I’m in a position to write quite a lot of posts like these. Having seen spam to unique email addresses for Amazon and Play.com, on 5th March I received one from a email used to register with groupon.co.uk, which I created in August 2011. Others have spotted this too: says one, “getting several e-mails […]

Software & ideas
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 […]

Categories: Ideas, Outline | Add a Comment

I’m presently working on a project that handles the import of HTML from external sources, much of which will be fed through HTMLPurifier to ensure the HTML I render for the user is valid and safe. However, while pondering ways I can make this safe, I wondered how to find out quickly if some malicious […]

Categories: Ideas, Outline | Add a Comment

I’m currently working with the Ordnance Survey Code-Point Open data, which contains the 1.7M UK postcodes and their geo-coordinates. To import it into MySQL, I convert the Easting and Northing units into latitude and longitude, TRUNCATE the database table, and INSERT them in. This is rather slow, so I’m trying to speed it up by […]

Categories: Ideas, Outline | 4 Comments

I’ve a simple idea for a PHP information tool, very useful for beginners. If someone is asking about their PHP configuration on their system, they can just issue a command like this: > wget https://phpinfosite.com/installer.php | php in the same manner as Composer (and adjusted suitably for Windows). This will then give them a PHP […]

Categories: Ideas, Outline | Add a Comment

One of the things I’m cautious about is logging onto my own blog, and other self-hosted sites that require authentication, over public wifi. Unless I use server certificates, my WordPress and other passwords are in danger of being captured via a promiscuously-configured wifi adapter on the same subnet. Whilst I really ought to get a […]

Categories: Ideas, Outline | Add a Comment

I’ve been reading up on build processes for PHP recently, and comparing them with the good and bad deployment approaches I’ve been asked to use in the past. To do it properly, there are two approaches designed for a speedy changeover: Build the app in a new location and then change the docroot symlink to […]

Categories: Finished, Ideas | Add a Comment

This would make a nice weekend hack project! A website to report (PHP) tutorials that recommend insecure techniques, especially involving SQL injection (I just found another one, and have reported it via the comments). For novelty, render all the sites as labelled divs in a Masonry wall, and bonus points for a cheeky xkcd-style alt-text […]