How I spent two weeks hunting a memory leak in Ruby
(This post was translated, the original version is in my Russian blog.)ForewordThis is a story about hunting a memory leak. A long story, because I go into much detail.Why describe my adventures? Not...
View ArticleRedcarpet fix released
Finally Redcarpet 3.3.3 has been released. This version includes my fix. If you use Redcarpet, update the version spec in your Gemfile:gem'redcarpet','~> 3.3.3'…and forget about leaks!
View ArticleA powerful way to deploy to Heroku
Prologue11:34:13. CTO: Do you deploy?11:34:37. Dev 1: I do.11:36:15. CTO: Still deploying?11:36:21. Dev 1: Yup.11:37:13. CTO: Deployed?11:37:16. Dev 1: Wait, it’s restarting.11:37:22....
View ArticleQuery traces
What a wonderful time it is, if you work on performance of a Rails application! There’s a bunch of services (New Relic, Skylight), a great deal of performance-related gems, like rack-mini-profiler and...
View ArticleA Bayesian classifier in Clojure. Part 1
IntroSometimes you need to classify incoming data. Consider yourself lucky if this can be done deterministically. In most interesting cases you have to use machine learning for that. There’s been a...
View Article