I get easily tired of doing the same thing over and over again, and will, wherever possible, script or automate it to make life easier for myself. This could be in the form of a lightweight webapp/REST api for stuff, or in this case, I used Jenkins.
Traditionally Microsoft Windows used to be a sort of stepchild in Hadoop world – the ‘hadoop’ command to manage actions from command line and the startup/shutdown scripts were written in Linux/*nix in mind assuming bash. Now Hadoop is available on Windows Server and Azure.
APIs have seen dramatic growth in the last few years, and they're now powering everything we do. This is causing a fundamental shift in how we write applications - it's not just a UI and a database anymore.
The other day I read about ScalaTest. I liked the way the tests look like. And I started thinking where to use it. Today a colleague came to me asking me if he can add some tests to our small tool developed in Groovy. This ringed the bell and it turned to a calling. So here is the ultimate solution for integrating Groovy and ScalaTest.
In this post, I’ll show you how to serialize (and deserialize) complex hierarchies of objects in Spray JSON. We’ll be dealing with ever so slightly complex tree structure. You’ll find out how to go beyond the JsonFormat[A] instances you get from calling jsonFormatn.
New Relic has become an industry standard for web applications performance measurement in Rails community. Simply adding and configuring newrelic_rpm gem for your Rails application gives you a great overview of its performance with an adequate level of details.