Celluloid experiment with MRI / JRubyFeb 22

While running a CPU intensive process I wanted to check Sidekiq's performance on MRI vs JRuby. Since Sidekiq internally uses Celluloid, I investigated CPU core usage on Ruby(MRI) and JRuby for a simple prime number generator which uses Celluloid. Code for this looks like -

More...

Custom Fetcher for SidekiqFeb 16

Lately I have been working a bit on Sidekiq. IMHO, it should be one of the default gems for Rails projects, one of the reasons being it also includes Celluloid. When used, the combination of these two awesome libs in conjunction with JRuby can p ...

More...

Client side validation with Backbone.jsJan 4

Happy 2014 everyone! May the new year bring you great happiness and lots of programming fun. I myself had an eventful 2013 and really hope that 2014 is less dramatic and more relaxing, now that I am in a great city and a very nice country (which was my dr ...

More...

Unit Testing Backbone.jsNov 23

Hello from cold Berlin! After a couple of vagabond weeks it's good to back in my favorite city, hopefully for a long long time.

Back to technology and more specifically JavaScript. I have been talking a lot about organizing / writing better client side code and this discussion would not be ...

More...

Working with Angular.js and Rails - 2Nov 4

In my last blog I covered setting up a basic Rails + Angular.js webapp with Rails-API and Yeoman. As promised in this post we will look at building a si ...

More...

Working with Angular.js and RailsOct 24

If you put me in a corner today and ask me to build a project I would choose Rails + Angular.js. It is just an awesome combination to build clean apps quickly. However, a few of my friends have lately asked me how to properly setup Angular.js with Rails. One way is the standard More...


Future MattersOct 15

Last weekend I was successfully able to launch the MVP of StatusBoard. While I really love Rails, I sometimes miss doing things asyncronously, for example when a user signs up, ideally the email confirmation should be sent by a separate thread. This enables the ...

More...

The quest for better codeSep 30

I am largely dissatisfied with code that I usually write. Usually I write a working version, then a cleaner working version and then finally a cleaner Object Oriented working version. Obviously this takes some time but more on that later. Lately, I found Sandi Metz's rules to be quite practical an ...

More...

Are deadlines evil? - 2Sep 13

My last post generated a lot of reactions and it seemed like I was only asking questions and not giving any solutions. So here it goes, how would I release (or propose) to release software projects / products without a deadline. My ...

More...

Are deadlines evil?Sep 8

This may appear to be a rant, maybe it is, or maybe it is just a state of mind. Maybe I have hit a wall as I complete close to eleven years as a programmer but one thing I fail to understand now in the software world is the culture of deadlines. Maybe I will find it hard to get a job in India afte ...

More...