Elliot Chance

SQL Transaction Isolation Levels Explained

This could be thought of as a continuation of my previous article -
Implementing Your Own Transactions with MVCC. In that article (even though I didn’t mention it, as a astute reader pointed out) I had implemented the mechanism for “read committed” transaction isolation. This will make sense when you read on… hopefully.

The Bad Stuff

Before I . . .

Read More

November 26, 2016

Multi Selector Dynamic Value for Paw

Silvrback blog image

Paw is hands down the best REST client for Mac. If you haven't already tried it I would highly recommend you checkout their free trial.

There are a great set of Extensions available, more importantly they are very easy to create yourself with JavaScript.

Multi Selector Dynamic Value is an extension I wrote to easily manage values in a . . .

Read More

November 06, 2016

Parameterized/Data-Driven Tests in Swift

Silvrback blog image

This is not the first article I have done on parameterised tests, but it is my first article on Swift.

Recently I have been working on an iOS app and I couldn't find any good solutions for data-driven tests. Some of the solutions I found were language hacks to try and trick the test suite into thinking there were more tests than were . . .

Read More

October 10, 2016

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