Getting started with Go on Windows

I’m giving this Go-lang thing a whirl, turns out it’s dead easy to set up on Windows. First download and install Git if you don’t have it already - when using Go you’ll user a lot of open source! Next download and install the latest 64-bit Go MSI distributable from Run that hit next, next, next and let it set up all the defaults. Once that’s done open up the CMD and type go version if everything is running you should get something like go version go1. [Read More]
go  guide 

GUIDs Part 3: GUID one

The ultimate test to be sure you understand a concept is to try and teach it to someone. The way to understand a concept enough to teach it to someone is to implement it. I didn’t exactly just sit down one afternoon and decide to write a [few blog posts] about GUIDs because I know everything about them. It actually all started with a few weeks earlier wanting to understand the mechanics behind the identifier. [Read More]
guid  guide 

Sorting IQueryables using strings and reflection

Wouldn’t it be great to be able to specify the property to order on at runtime for a LINQ query? I.e. items = items.OrderBy("SomeProperty"); rather than items = items.OrderBy(s => s.SomeProperty); How to dynamically sort an IQueryable Later on in this post we’ll go into depth on how to implement an extension method from first principles to do just that but if you just want to quickly use a string to sort an IQueryable right away- go ahead and install Dynamic LINQ. [Read More]
linq  guide  csharp 

GUIDs part 2: GUID as gold

How are GUIDs unique with out a central watch dog? They do it through the algorithm that generates them. The specification lists 5 different ways you can end up with a unique identifier, if and only if you follow the instructions. The specification can’t prevent someone from choosing the same GUID as you on purpose (a watchdog might be able to) but it does prevent them accidentally generating the same GUID as you if they’re following it. [Read More]
guid  guide 

Generating an Apple Push Notification Certificate on Windows

Following most instructions on the web make it sound as easy as generating a CSR using IIS. However I ran into a few difficulties - namely Apple seemed to think my brand new CSR was invalid. Probably has something to do with my local setup (IIS 10 on Windows 10) but that shouldn’t be a road block. Why? w-w-w-w-why? Be more constructive with feedback. To be fair most instructions (including Microsoft Azure documentation) only show you how to do it on the Mac. [Read More]
ios  guide 

GUIDs part 1: What the GUID?

Most developers have seen a GUID or two. A GUID (Globally Unique Identifier) is used extensively in computing to uniquely identify all sorts of things. You might also see them referred to as UUIDs - don’t worry they’re the same thing. This specification defines a Uniform Resource Name namespace for UUIDs (Universally Unique IDentifier), also known as GUIDs (Globally Unique IDentifier). — RFC 4122: A Universally Unique IDentifier (UUID) URN Namespace [Read More]
guide  guid 

Migrating an Azure VM to a different region

Microsoft just launched Azure cloud services in Australia, given the proximity to New Zealand where the majority of our customers are based it made sense to migrate Solve’s various azure hosted services there. The majority of the services run on hosted platforms such as Azure Websites which were super simple to migrate, however there were a few legacy systems running on VMs which needed to be migrated. Even though you can’t do it from the online interface it, it’s actually pretty simple. [Read More]
azure  guide 

Setting up a Jekyll workflow on windows

Static site generators are in at the moment, and for good reason. They remove a whole bunch of complexity from deploying and maintaining a site by creating a static representation of it, which you just upload to a web server. For sites that are read heavy but get updated quite infrequently (like a blog, or marketing site) a static site is ideal. Personally I love GitHub pages, it provides first class support for Jekyll which builds all your markdown content, templates, and other site assets into a static website. [Read More]

Setting up an elasticsearch cluster in azure

One of the best things about Azure is that you can set up most of your favourite software on it regardless of its roots. In this blog post we’ll investigate how to set up an elasticsearch cluster on Windows Azure. Elasticsearch is a powerful open source search engine that makes data easy to explore. To be honest, it’s unfortunate it has search in its name because it’s capable of so much more. [Read More]
azure  guide