Welcome To C2FO.io

Official website for the developers of C2FO.com

Understanding Programmatic Side-Effects

What are Side-Effects? Side-effects are a concept I’ve been introduced to recently and when I examined my code it was surprising to see how much disruption they can cause. To better understand a programmatic side-effect we should start with a text-book definition of what this means in computer science.... [Read More]

Create A Golang Timer Using A Goroutine

One of our engineering teams needed to monitor long-running jobs in some of our Golang code. If the job ran for more than 60 seconds, we would be notified. Our solution was to create a timer utility, using Go’s time package and a goroutine. Timer Pattern First, the... [Read More]

Logging To Papertrail From CoreOS

TL;DR Give me the script… Here at C2FO, we are in the process of switching our deployment system over to CoreOS and Docker. One of the services we wanted to utilize from our legacy configuration was Papertrail but there was a problem. While Papertrail integrates really... [Read More]