ruby
-
Moving a Ruby Gem’s CI to GitHub Actions
I like to tinker. While tinkering, I’ve created a lot of random tools, and when I think those might be useful to others I try to open-source them. The metatron and bullion ruby gems are good examples of that. An example that hasn’t made it…
-
Kubernetes Controllers via Metatron (Part 3)
Previously, in Part 1 I described Kubernetes Controllers and the Operator pattern. In Part 2, I explained why Controllers are important and how Metacontroller makes it easier to build them in your favorite language. In this, the 3rd and final part of this series, I’ll…
-
Kubernetes Controllers via Metatron (Part 2)
Previously in Part 1, I discussed what Kubernetes Controllers are, how they work, and gave some examples of their usage. I also gave a description of Operators and explained how they are just a specific kind of Controller. All this in the service of explaining…
-
Kubernetes Controllers via Metatron (Part 1)
I recently released a new Ruby gem called Metatron. This gem aims to make it very easy to create Kubernetes controllers, either to implement the Operator pattern or to respond to events related to built-in resource types. It does this by deferring to Metacontroller for…
-
Waylon: A New Bot Framework
Sure, it might not be obvious why the world needs yet another bot framework, but I’m working on one. The idea is to make a scalable, intuitive, and feature-rich framework that runs on the latest Ruby. Long-running tasks shouldn’t be a problem and the framework…
-
At Sin City Ruby!
Made it to Las Vegas for the Sin City Ruby conference. I’m stoked to be here and excited to see what cool stuff everyone is working on.
-
Solving Physical Puzzles with Ruby
Most of the time, the challenges I tackle with Ruby solve code-related problems. This includes things like web services, scripts, chatbots, etc., all of which are virtual in some way. Recently though, I decided to solve a puzzle in the real world. My son was…
-
RSpec Testing for Ruby AWS Lambda Functions
Recently, I wrote an AWS Lambda function at work in Ruby but I didn’t have a handy tool for creating a project skeleton like bundle gem does. That means nothing bootstrapped my testing for me. While copy+pasting code into pry proved that my simple function…
-
Meet Bullion, An ACMEv2 Certificate Authority
I’m a huge fan of Let’s Encrypt and what they’ve done to secure the Internet. They’ve made safe communication free and open. Through their ACME protocol (and subsequent ACMEv2 protocol), they have changed PKI and the way we look at automating certificate provisioning for good.…
-
Rewriting Ruby’s #pack and #unpack Methods in Crystal
In Ruby, especially while writing low-level protocols, you may have encountered Array#pack() and/or String#unpack(). If you’ve ever experimented with them, they may seem mysterious; they take a cryptic string as a parameter (maybe something like C4 or w*) and seem to return gibberish (or, conversely,…