Ad-hoc nil usage causes a lot of problems in Ruby. In this post we explore a more explicit way to handle nil conditions, inspired by Rust.
We recently shipped version 3.2 of the honeybadger Ruby Gem, which includes a new feature to make it easier to add context to your error reports.
This month we released a new version of our hex package, which includes a major refactor of the internal client logic as well as some new features, improvements, and bug fixes.
Here at Honeybadger we want to give you a complete picture of your application's health. That's why we include uptime & latency monitoring with all our plans. We've been hard at work making our uptime system even better; making it suitable not only to check web pages, but also APIs.
If you're a regular Honeybadger user, you may have noticed that search looks a little different. We recently launched a new query builder that not only looks better, but also makes it a snap to construct advanced search queries.
When your autoscaling group terminates instances running Sidekiq, you should finish the Sidekiq jobs before the instance gets terminated. This is how we do that at Honeybadger.
A roundup of our favorite features we've shipped so far in 2017.
Check-Ins allow you to monitor jobs and services by pinging a Honeybadger URL periodically. If you ever stop "checking in", Honeybadger will alert you.
Big improvements are coming to search at Honeybadger! To kick things off, we're proud to announce (drumroll please) a date picker! This is only the first in a series of planned search UI improvements, which you can read about inside.
When we have to work with text, we often reach for regular expressions. But they're not the easiest solution to every problem. Recently I was struggling with a large regexp, when I realized it'd be less work to write a parser. This article explains the process.
This article covers one of my favorite techniques for improving performance: memoization. It's a source of easy little performance wins that eventually add up and only occasionally reduce your application to a heap of smoldering rubble. Only very occasionally.
In this post I discuss how to "modernize" a Docco workflow by adding a development server with live-reload.
Version 3.x of the Honeybadger gem sports a lovely new CLI interface that can take the STDERR of any cron job or command-line program and report it to Honeybadger as if it were an error in your Rails app.
If you want Ruby's string methods to play nicely with Unicode, it's a good idea to normalize them. This article is a brief introduction to Unicode normalization for Rubyists.
The latest version of the honeybadger Ruby gem includes a lot of improvements and new features. Check it out!
I recently rebuilt my multi-purpose desktop system with Arch Linux; in this post I talk about my computing goals, my solutions, and the results.
One often-overlooked feature of Ruby's hashes is that you can use any object as a hash key, not just strings and symbols. In this post we examine how Optcarrot, the Ruby NES emulator, uses this feature to optimize its mapped memory implementation.
To see how far Ruby's Unicode support has come, I tested every string method to see which ones violate the principle of least surprise. The results are presented as a handy table that you can reference to see which string manipulation methods are Unicode-unfriendly.