Naming Threads in JRuby

There are a lot of nice tools out there to get thread dumps, but they are much easier to interpret if threads have meaningful names. I have not been able to figure out a way to name a standard ruby thread, but in JRuby, you […]

Read more

Ruby and DeMorgan’s Theorem

I’m not sure how prevalent it is in computer science curriculum, but as an electrical engineering major, DeMorgan’s Theorem was an important part of my training in the design of logic circuits and I have found it very useful as a software developer as well. […]

Read more

Historical data in GemPact.

Previously I posted about my entry in the 2014 Rails Rumble, GemPact. To summarize, GemPact calculates a score for every RubyGem based on how many other RubyGems include it as a dependency. I recently had some time to add historical data display to the app. […]

Read more

ActiveRecord Relations are not Arrays

If you use Ruby on Rails at all, you deal with ActiveRecord regularly and may not even be aware of how much hidden magic there is. But sometimes the magic can breakdown just a little. It is very common to use one of the finder […]

Read more

Adding custom before and after actions to Rake tasks

While doing some work for a client recently, I had the need to add some custom database setup to the test process for their rails application. We wanted to put this ┬áprocedure in a rake task, but still wanted to be able to just use […]

Read more