The problem was iterating over a large amount of time series data. I figured generating a series of time chunks within certain start and end parameters, and of a certain time interval size could help scan through this data.I wrote the following method to help generate these chunks of…
This is a fairly simple problem but I keep finding myself looking this up and coming to a similar solution so I thought I would post this quick trick here. In Ruby its really easy to find a uniq collection by using Array.uniq or if you have Rails / ActiveRecord…
This post is about an issue I discovered whilst trying to debug an issue with a JSON request to a third party service. This request contained a JSON body where one of the fields was an array of strings but when querying the service to see what was sent -…