# Using docker-compose on Travis CI

If you are not familiar with Docker you can read about it in my other article. In this article I'm talking specifically about docker-compose; the tool for building multiple containers (as most application stacks will require).

docker-compose is great. It can be used to deploy to your dev machines, your production application and of . . .

August 27, 2016

# Flow-safe Enums in JavaScript

### My Attempt...

I have been using Flow recently to add some static-type checking to JavaScript. I'm not going to get into the details about Flow itself in this article, but rather how I've approached enums.

This is certainly not new and there are a tons of libraries out there that have various advantages and disadvantages. One great implementation . . .

Posted in: es6javascript

August 20, 2016

# CollectionFactory: JSON and Objective-C

CollectionFactory is a CocoaPod I wrote a long time ago to deal with JSON in Objective-C.

There are a lot of other libraries out there that do this kind of thing. However, I wanted something that was:

1. Very light and transparent without the need to create any intermediate code (such as predefined models).
2. Easy and interoperable with native . . .

August 13, 2016

# Docker: Explained Simply

### Or, How to Move Away From Vagrant

Docker is a new generation of virtualisation (around 3 years old) that makes building complex software stacks much easier and more isolated than previously. Now when I say previously I'm talking about Vagrant, Chef, Puppet, etc. These all work on the basis of creating a base image (containing the OS and some basic software), and using . . .

Posted in: docker

August 07, 2016

# 7 Reasons to Use Concise on Top of PHPUnit

PHPUnit is the de facto unit testing framework for PHP and has been for a long time. It is also the most supported testing framework in IDEs and build systems. Due to this, other testing frameworks have had a hard time trying to grab a foothold.

There's nothing wrong with PHPUnit per se, but those who have been using it for a while . . .

July 30, 2016

# How to Write Your Own Recommendation System, Part 2

### More Data!

Welcome back! This is the continuation of Part 1 which covered most of the theory and gave a small scale example. In this article I will be using a much larger and real world data set. We will also look at ways to improve the performance, quality of the algorithm and demonstrate how to objectively test your results.

July 23, 2016

# How to Write Your Own Recommendation System, Part 1

### Small Scale

A recommendation system is used to, well... recommend stuff. Netflix is a great example of this; after you rate several titles it will be able to recommend new titles to you. Have you ever wondered how this really works? Or even apply it to own site or application. Well... you're about to find out.

I'll be working through a complete, . . .