927418_large

Elliot Chance

Using Amazon EC2 Container Service (ECS) with Travis CI

Silvrback blog image

If you are using Docker with Travis CI and you are not using some Docker registry to hold your pre-built images you will have to build the images on Travis with every build. Even for simple application stacks this can be a slow and expensive process. Ideally you want to move towards publishing your images to a registry.

A registry holds the . . .

Read More

September 18, 2016

The Elevator Game!

Silvrback blog image

The elevator game is a little thought experiment. It is not new, in fact Elevator Saga is another fun one. This one was just based on whatever came out of my head to see what would happen.

Here are the rules:

  • There is one elevator in a building that has 10 floors.
  • There are 30 passengers to transport. 15 passengers from level 1 to another . . .

Read More

Posted in: pythonpuzzle

September 10, 2016

Automatically Locate When and Where Bugs Were Introduced with git bisect

Silvrback blog image

Let's face it, when developing software things will break. Most of these things were probably working before hand, but some change directly or indirectly has broken it.

Best case scenario is you immediately recognise why it is broken. On the other end of the scale is some obscure bug that’s only happening sometimes, you have no idea why . . .

Read More

September 03, 2016

Using docker-compose on Travis CI

Silvrback blog image

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 . . .

Read More

August 27, 2016

Flow-safe Enums in JavaScript

My Attempt...

Silvrback blog image

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 . . .

Read More

Posted in: es6javascript

August 20, 2016

CollectionFactory: JSON and Objective-C

Silvrback blog image

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 . . .

Read More

August 13, 2016

Docker: Explained Simply

Or, How to Move Away From Vagrant

Silvrback blog image

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 . . .

Read More

Posted in: docker

August 07, 2016

Archive