We’ve recently released valid_data, a gem to check if your data is valid according to your ActiveRecord validations. We modified this library in order to process the data in parallel, leading to drastic performance improvements. This post discusses the approach that we used, and presents benchmarks demonstrating the speed improvement.
Most of the people who work at Stack Builders work out of the office, but there are a few of us, like at many companies, that work out of a home office with trips here and there to the corporate offices. Learn from our experiences in working remotely!
We’ve released one of our first open-source Ruby gems: it’s called valid_data, and you can use it to scan your ActiveRecord models for invalid rows. We use the gem at Stack Builders from time-to-time in order to **UNKNOWN_CHAR** with our datastore and make sure we don’t have validation-related problems in our applications.
Type systems are so prevalent in modern programming languages that we probably take them for granted. But what exactly is a **UNKNOWN_CHAR**, and what are its origins in the history of computational logic? In this post, we’ll take you on a 10-minute tour from Leibniz’s effective computability dilemma, through Russell’s theory of types and Church’s lambda calculus, all the way to Haskell, Stack Builders’ favorite strongly-type and functional programming language.