3 Approaches to Mex Algorithms
An algorithmic analysis

Search for a command to run...
An algorithmic analysis

This is a quick step-by-step guide for when you need to do some performance testing on the fly. Ruby has a built-in benchmarking module that is simple to use and effective enough to cover your standard use cases. Using one of a few functions, we can ...
POV: You have a struct/class which you want to add I/O capability to, but you don’t know how. C++ lets us override the “>>” and “<<” operators, corresponding to input and output streams, respectively. Let’s build an example; the Point structure holds...
I wanted to share the cheatsheet I wrote for Doom Emacs commands. I wrote this one because the others I found online were out of date. I use and maintain this reference daily. This is something of a living document, so the document can and will chang...
This article is intended as a quick and dirty reference for the “Magit” Git interface in Doom Emacs. For those unfamiliar with Magit itself, here is an expository blog post and an intro guide. Several of the commands in this article are only availabl...

CORS header ‘Access-Control-Allow-Origin’ missing You’re probably here because you’ve run into an error similar to the following response from your API call: The request was redirected to 'https://example.com/foo', which is disallowed for cross-origi...
Welcome back. Let’s look at another example use of the Command Pattern in Ruby. This time, to give you a better idea of how it looks in practice (as opposed to the more conceptual explanation from the first article), we’ll make an extremely small-sca...
An Asynchronous Back-End Processing Methodology Using Rails, what if we need to encapsulate some side/background processing which runs completely independently of our web server MVC functions? We can use tools like Sidekiq, Resque, and Cron, yes. But...
Tired of seeing Error: No tests were run in the console of your Ember application's dev environment? Want to throw out QUnit from your Ember app? It’s not always so simple as deleting your /test folder, and it can be a bit of a pain in the side. Well...