Stuart Breckenridge

Host Migration

Since converting the content of this site from Wordpress to Jekyll, I’ve been using Surge.sh as web host. However, over the last few months I’ve been disappointed with certain aspects of the service.

First, there was downtime for the entire Surge network in January as a result of a DMCA takedown request. Second, their CLI generates some remarkably unhelpful error messages. For example, when uploading a new PEM file the error I received was as follows:

Error - something went wrong. the pem file was not applied

What are you meant to do with that?

So I decided to migrate to Netlify and this turned to be much easier than anticipated.

I signed up using my GitHub account and pointed the Netlify to this website’s repository. As I build the site locally on my Mac and then commit to GitHub, I simply had to set the public folder to the _site directory in the repository with no need to apply any build scripts. When ever I commit to GitHub, Netlify detects the commit and syncs the changes. I’ve been really impressed with the speed in which this synchronisation happens.

Using Netlify has also simplified my deploy script:

cd ~/pathtosite
bundle exec jekyll build
cp _redirects _site #Redirects needs to be copied to _site after build
git add .
git commit -m "Commit via Script"
git push

Overall, I’m very happy with the migration.


Improve Boot Camp Gaming Performance with an External SSD

Last year, I was playing Battlefield 4 on my 2013 iMac through Boot Camp. My iMac has a 3TB Fusion Drive which meant that the Windows partition (and Battlefield) were installed on the hard drive portion of the disk, rather than the flash storage. This precipitated in a situation where my eldest nephew wanted to see Battlefield 4 and had to wait over three minutes for a multiplayer level to load.

Short of buying a newer iMac with a flash drive, I’ve instead bought an external USB3 Samsung T3 250GB SSD. After connecting the drive to the iMac and formatting it, I uninstalled Battlefield 4 and reinstalled it on the SSD.

I expected a minor performance improvement. What I actually got was fairly incredible: loading time decreased from over three minutes to 19 seconds. This is more than acceptable and a much more cost-effective option than buying a new iMac!


My Desk at Home

While most of my code (and the content for this website) is written on my MacBook Pro, I do spend sometime sitting at my home desk working on my iMac.

What’s there?

I find that anything else detracts from productivity: I like the vast expanse of empty desk space, it helps me think. I also can’t stand cables — I will gladly wait for a TestFlight build to finish processing rather than hook up a lightning cable into an iPhone or iPad.

Out of shot is the stuff that gets on my nerves for their untidiness: the cable modem, the WiFi router (required because the built-in WiFi on the modem is quite rubbish), and the Synology DS216+.

  1. Use code RFR91045 for $10 off your first order. ↩︎


Buddybuild Pricing Announced

Buddybuild1 recently announced their pricing structure and thankfully there is a free pricing tier for smaller, indie developers like myself. I’ve been using buddybuild for the last month and I’ve been thoroughly impressed with the way it integrates with your project2 and the way in-app feedback works during testing. They have also been extremely quick to support Xcode 8 beta builds.

If you haven’t tried buddybuild, I’d strongly recommend that you do.

  1. Technically, buddybuild, all lowercase. It’s just wrong. ↩︎

  2. They check out your project in GitHub, integrate their SDK and then commit their changes. There is no manual work needed. ↩︎


Style Sample

My approach to CSS is to hack around with it until it works and then leave it alone. To assist me in this quality approach, I’ve created a styles page that covers each of the CSS selectors I use throughout the site. I find this gives me a very quick overview of how the changes I make to the CSS affect the overall look and feel.

The markdown is available as a gist.