Determining the Winding of a Polygon Given as a Set of Ordered Points

When working with spatial data one often needs to work with polygons to demarcate bounding areas. One important concept related to this is winding, which defines the relative order in which the vertex points of a polygon are listed. Winding can be either clockwise (CW) or counter-clockwise (anti-clockwise) (CCW), referring to the direction in which we pass through the vertices... Read more >>

Message Functions

One common functionality for software is the need to provide human readable text messages. This is true of native applications, web applications, and many back-end systems. For applications with a user interface there is often a requirement that these messages be localized, that is, provided to the user in the user’s native language. For this reason, best practices dictate that... Read more >>

Technology Radar 2014

We’re releasing our first Technology Radar. A Technology Radar, pioneered by ThoughtWorks, is a list of the techniques, tools, platforms, languages, and frameworks divided into recommendation levels: Adopt, Trial, Assess and Hold. It’s mostly a list of things we find useful and interesting.

We’ve built our own Technology Radar for several reasons. We think it will be useful internally... Read more >>

Running Parameterized Tests in iOS

One major disadvantage to [SenTestingKit|XCTestKit] is the inability to run the same test with different sets of parameters. Helper methods are an option, but you still wind up with a test case littered with (almost) duplicate test methods. Recently I borrowed a solution from the world of Cucumber testing and wrote Read more >>

Easy Testing with Android Studio

If you’re developing in Android Studio and using the Gradle build system, this guide will help you get your Test environment up and running in just 4 steps. Before we get started, let’s take a look at what we will be adding to our project: