JavaFX Scrollpane Draw At Centre

31-08-2021

I'm creating a JavaFX application which has a ScrollPane containing a Canvas. I wanted to render an image at the centre of the viewport, regardless of the content scroll/panned position. I created a helper method that takes the scrollpane and the…

Memoized Function with TTL

19-09-2020

Lodash.memoize creates a function that memoizes the result of the function passed as a parameter. This is great if you want cache the result of an expensive function. However, lodash.memoize doesn't support a TTL or expiry, but it does let you…

Amazon EC2 Container Service Deployment using Terraform

31-08-2017

Overview We have a number of individual micro-services and want to have a continuous delivery system with an on demand deployment to various internal and external environments. After using codeship for a while we decided to use Jenkins CI to…

A Multi-Threaded Background Processing Pipeline for .NET

23-04-2017

In this article I'll be illustrating an architecture for a background processing pipeline in .NET. I use a similar architecture as part of my PhD project to process large amounts of data coming from Kinect using Open CV on a background thread. In my…

Kinect for Xbox One Colour Depth Map using Helix Toolkit and WPF

21-01-2017

The Helix Toolkit is one of the easiest ways I've found to quickly add 3D features to a WPF Application. KinectV2 (Kinect for XBox One) is a motion capture device designed for gaming. It comes with a free SDK making it super easy to build KinectV…

Backing up your Multi-Site Wordpress Blog to AWS S3

06-01-2017

Today I'll be demonstrating how to back up a wordpress blog to Amazon S3 storage using the free version of the BackWPup plugin. If you are already hosting your wordpress site on AWS, then backing up to S3 makes sense. S3 is a robust, secure and easy…

Creating an RStudio Server using Terraform on AWS

04-01-2017

I've created a set of Terraform files to quickly provision an RStudio server on AWS using one of the great ami's from Louis Aslett http://www.louisaslett.com/RStudio_AMI/ The files contain the following variables: local_ip - the local IP address to…

Creating and Destroying AWS S3 Buckets in two Regions with Terraform

03-01-2017

I ran across an issue with Terraform where I couldn't destroy an Amazon S3 bucket created in a region other than the one provided at the prompt. To get around this I had to configure an AWS provider for each region I wanted to add a bucket to, and…

Kanban - Feel the flow

02-01-2017

In this article I will be talking about my favorite way to manage flow of work through a software team, Kanban. Kanban is a great way to gain team agility without requiring changes to existing processes. Kanban allows these processes to be improved…

Terraforming a Wordpress blog on AWS

01-01-2017

Terraform by Hashicorp is an awesome tool that allows you to define your system architecture as code using a json language variant. With Terraform you can: Define your architecture as code in simple text files rather than manually tweaking things in…

Image PanView - Objective-C

18-08-2012

In my current IOS project I want to display an image on screen, but make it a little more interesting. The FlipBoard iPad application has a nice start screen which pans the images it displays, quite an eye catching effect. I wanted to do something…

Objective C State Machine

12-06-2011

Im currently working on a game in which the user interface has quite a number of possible states, with certain sprites being enabled, disabled, visible or invisible depending on the what the user touches on screen. Rather than coding all of the UI…

Stay In Touch

Connect with Me

© 2021, Created by me using Gatsby