Humble (Apple) Pie…


You may have read my previous post about not liking the new Apple MacBook Pro with TouchBar… it was fairly “screw them, they aren’t pro any more” and a bit of “I can get more for less elsewhere, vote with your wallet people!” … well… yeah… turns out I was wrong. Put the resistance on hold.

Part of my move away from MacOS (I don’t like the small m Apple, please stop it) was going to involve having a dedicated Linux machine with a native install, as I did a lot of development using Ubuntu and had become really comfortable using the OS and thought I could use it as a daily driver. I still believe I could do that, and I could live with the small issues I had if the hardware worked a treat. But it didn’t …

Now, I have a big iMac 27″ with a 5k display, so I don’t need another desktop, it’s a gorgeous machine, but I wanted portable power. I also didn’t want a 15″ beast, I wanted as capable as possible a machine in a modern 13″ enclosure (which is closer to the 11″ MacBook air of old). The onus is on LAP in laptop here for me. That involves trackpads working really well… I had so many issues with the trackpad on the linux machine, that I ended up sitting at my desk and using a mouse with it. I had hacked lots of files, tweaked lots of settings, and got it as usable as I could (why anyone would enable top left/right of the pad for copy paste by default baffles me) but frequently it just shit it’s pants and became annoying, missing clicks, losing cursors and pissing me off. Fine… I’ve got Windows 10 on here, I’ll use that… Nope.

Accurate depiction of me using the Dell for half an hour

Windows update swooped in and ruined my graphics drivers, meaning that the display was totally ruined, I had to roll back drivers and fight with it to ignore that update. Which pisses me off, I like to keep everything as up to date as possible (if you have 24 App Updates needed on your phone… I will try and update them when you aren’t looking).

It was at this stage that I thought… This was £1,500 worth of laptop.. I shouldn’t have to fight this hard with it! That was my hard earned cash. I was talking to a friend, and the conversation veered into a rant on my part, by the end of it, without him having suggested anything I had decided to sell the thing, and order something else…. something Appley.

Decision to change

I took a hit and sold it on eBay for £1000, which was a £300 loss (I saved £200 off retail when I bought it) and ordered about £1,800 worth of 13″ tbMBP. 16GB RAM, 3.1 GHz dual core i5 (6th Gen) and 256GB of SSD Storage. Nowhere near as powerful as the Dell offering, but wow, what a breath of fresh air to use after fighting for months.

When you move your finger on the trackpad and the cursor follows

I don’t even feel bad about it, I really gave the Dell a chance, in both Windows and Linux, I fought hard with the configs, and lost a fair bit of cash in trading it in. But when push comes to shove, spending a bit more for a machine that I look forward to using, is better than wasting £1,300 on something that I basically avoided using.


I am almost glad I fought with the Dell, if I had just got the Mac first, I might have not realised how much better it was (for me) than the alternative, and may have thought I had spent too much for another Apple device. But now I really appreciate my new machine.

It’s a gorgeous machine to work with, I LOVE the new keyboard, I don’t really care about the touchbar, I would rather the fn keys if I was honest, it doesn’t add any value, but I can live with it. The Dell’s main port was a Thunderbolt USBC so I already had the cables I needed to use with the Mac’s ports. Lesson learned, think twice before moving out of your comfort zone with technology you are investing a lot in, and don’t let internet opinions sway you (including this one, I guess). Try things out, think how they will work in your workflow, go with what makes you happy, and you will actually use.

Clearly I’m not a photographer, but you got to admit, it’s pretty


Installing Ubuntu Linux 16.04 beside Windows 10 on Dell XPS 13″ (It’s easy when you know how)

Sorry for the wall of text – Jump to the technical bit


tl;dr – I didn’t like the new MacBook Pros, bought a Dell and want to use Linux on it.

After a fairly unimpressive keynote at the October 2016 Apple “Hello Again” event, I chose to vote with my wallet and move away from Apple for the first time in about 8 years. Every phone, TV box, desktop, laptop, tablet (and one watch) that I have bought in those 8 years has been Apple. The increased price, the lack of (currently) useful ports, that gimmicky bar… and most importantly the underwhelming spec pushed me away. I bought a Dell XPS 13″ (Kabylake i7 7500u) with 16GB RAM, 512GB SSD, 4k touch screen… it was much higher spec than any affordable MacBook Pro and came in at a lovely £1350 from PC world.

One of the things that I have wanted to do for a while was to run Linux as my main operating system, to familiarise myself with it, and simply as a challenge. I use Linux (in both centOS and Ubuntu flavours) at work in virtual machines for running Hadoop Sandboxes and Docker hosts, as well as tinkering with Raspbian in my spare time on a few Raspberry Pis at home.

How not to do it

I dove right into things, found a tutorial on installing Linux beside windows, took it for gospel then ended up shit creek without a paddle. A wiped hard drive with two bootable memory keys that couldn’t see my hard drive and no operating system. After hours of fumbling around in the dark and remaking memory keys I managed to install Windows (albeit in legacy boot mode) but at least I didn’t own a dell brick. Deciding this wasn’t ideal and I wanted UEFI Boot mode to be enabled (I am certain that it’s faster, and it’s the more up to date way to boot anyway). After a bit of reading I discovered that in order to install in UEFI mode, you must make your USB UEFI mode bootable. After getting that working, I had to change a hard drive setting which meant another install. So if you are going to undertake this task, do you reading, make sure you know what’s what and prepare well.

Installing both operating systems.


  1. Download installation media iso files
  2. Prepare UEFI only bootable memory keys
  3. Setup BIOS – AHCI/SATA Mode (Not RAID)
  4. Install Windows 10
  5. Disable fast boot and hibernate in Windows
  6. Shrink drive partition
  7. Boot into Ubuntu Live CD – Leave shrunk partition area blank
  8. Install Ubuntu

Getting Started

1: Download Installation media iso files

First things first, prepare some installation media for the two operating systemms. I downloaded ISOs for Windows 10 (Home edition, as that’s what the laptop license is for) and Ubuntu 16.04 Desktop. On my windows machine (although there are clients for Windows, Mac and Linux)

Windows media can be found from your manufacturer’ website, MSDN, or microsoft. Ubuntu is download from here:

2: Prepare UEFI only bootable memory keys

Once you have the files download, use a tool like Rufus to burn each of these to separate memory keys (incase you need to start again). I wanted to make sure that I wasn’t in legacy boot mode, so I made sure to select UEFI only for the boot type and not the mixed Legacy/UEFI boot mode. This way, if I accidentally left Legacy mode on, it wouldn’t show up.

I really underestimated how important having BIOS setup properly was to this whole thing, and went in fairly haphazard and changed whatever it took to get the laptop to boot.

3: Setup BIOS – AHCI/SAT Mode (Not RAID)

Make sure that your BIOS settings are correct, if like me, the hard drive is set to RAID and not AHCI/SATA and you have to change it, you will need to reinstall windows onto it, so make sure to do this before you start. I disabled legacy boot mode altogether as I didn’t want to make a mistake.

4: Install Windows 10

This bit is relatively simple, put in your Windows 10 USB and tap F12 while the computer starts up, you should get into a boot mode screen, select the USB Memory key (if it isn’t showing up, you probably have it set for a legacy install… go back and remake the key to only support UEFI). I deleted all partitions on my hard drive, because I was starting fresh here, thus Windows sorted out it’s own partitioning for me, this is the way I would recommend, so you are starting with a clean slate. Click through the install process, and make sure to install windows from scratch.

Once it is up and running you can either apply a load of updates or just proceed with the install. I would recommend just moving on, as if something goes wrong you might have to reinstall windows and all that time will be wasted.

5: Disable fast boot and hibernate

This is pretty simple. Just open up a command prompt and run the following

powercfg /h off  

That disables hibernate, and thus fast boot. This is because windows locks the hard drive and stores the contents of it’s RAM in the swap file when it hibernates, so it can boot quicker by ust copying the swap data back into memory and not have to load the kernel from disk again. This can cause issues with the hard disk being locked, and also if you alter a file on that drive from your other operating system, windows can think the drive is corrupt and barf.

6: Shrink Hard drive partition

This is nice and easy. Open up disk  manager on windows (hit the windows key, type disk manager and it should pop up, sometimes it has a name like ‘manage drives and partitions’) in this tool, right click on your hard drive, select the size to shrink it to and hit go…. your windows partition will be reduced to whatever size you select and the rest of the drive will be left blank.

7: Boot into Ubuntu Live CD – Leave shrunk partition area blank

Shutdown your computer and insert the Ubuntu USB (remove the windows one too) hit your F12 button and boot it up again, keep tapping F12 until you see the boot menu again and then boot off the USB.

Once you are in the linux live CD.. don’t be tempted to format the unused space to ext4 like I was… the installer then sees the hard drive as full and only wants to wipe it all and install linux. If you leave the area you freed up by shrinking the windows partition unused, Ubuntu will ask if you want to install alongside windows, which is what you are after.

8: Install Ubuntu

Double click the Install Ubuntu app on the desktop, this will take Ubuntu you through the installer. When asked, click ‘Install Ubuntu alongside Windows’. I would recommend installing updates and third party software during the installation (which involves putting the laptop on the network, either wired or by entering the wifi details) and then let it run.

Once the install finishes when you reboot your laptop you will be greeted with a maroon screen, this is the bootloader, it allows you to select which operating sytem you want to run when the laptop starts up. Mine defaults to Ubuntu, with Windows being two lower down the list. I didn’t want to change that, but you might be able to.


So this isn’t perfect.. whether it is problems with Ubuntu itself, or just my laptop’s hardware compatibility with it, I have one major issue. I can’t suspend the laptop and then wake it up, either manually or by closing the lid when in Ubuntu mode. It seems to wake up, the keyboard lights up, but the screen remains blank. I have seen some reports of this being a generic issue with 16.04 but I can’t be sure.

Also the trackpad drivers don’t seem great for Ubuntu, sometimes the cursor skips all over the place, and sometimes it just starts randomly pasting text for no reason… but in general it works enough that I am happy to use it day to day.

Also, as this laptop has a 4K screen, I turned scaling in Ubuntu to 1.5 to make things a bit easier to see.

Useful links..

These links are the ones that I used to help me get the install working:
Shrink and install
Keep partition blank

Turn your iPad into a second monitor

I’m on the go a fair bit, but always like to find time to work on small projects, do some Pluralsight courses and generally tinker on my laptop when I’m about (or just in the living room with a glass of wine and a movie).

However I am spoiled by spending most of the day with three 24″ inch monitors at work. I actually find it really hard to jusy have one screen for working on anything other than a console app… And even then googling stuff feels like a bit of a chore with minimising the IDE (first world problems, I know!)

I’ve gotten around this by using Duet Display by the folks at Duet. It’s a great little app that turns an iPad into a second monitor. Great for having emails/Spotify/or a web browser in. The screen is really responsive and looks great on my iPad Air (which matches the size of my MacBook Air to within an inch, so it feels really natural to use)

The app is about £13 but it’s well worth it for the convenience of a second display that I was probably carrying with me anyway. Chuck in a pair of headphones and you have a mobile office that fits in the smallest laptop bags!

I’ve worked for hours on it without really thinking about it. It’s more responsive than a cheap USB Display adapter and saves carting wires and monitors about the place.

Installation is simple, buy and install the app on your iPad from the App Store, download the desktop client for either Windows or Mac from the Duet Display Website for free, install it (restart might be required) then plug in the iPad, open the app on your tablet and it will show up just like any normal monitor. Use your display settings to align it (usually have to lower it a bit so Windows slide between the two smoothly) as you would any other monitor.

It’s developed by a bunch of ex-Apple engineers, so that would explain why it’s so easy to use. It has the bonus of charging your iPad at the same time too.

Anyway, give if you are used to two monitors, give it a bash, and if not, give it a go anyway, you might like it! 

Create a free website or blog at

Up ↑