This blog post is not about how to parse spreadsheets using ruby. If you are looking for that, you are not gonna find that here. This blog post is about a problem I faced while parsing decimal numbers from a spreadsheet, long story short precision related problems. Here are the details (the longer version): Recently … Continue reading Precision number parsing in spreadsheet using ruby.
There's no shortage of Ruby state machine libraries (assm, state_machine, etc.). However when we needed to implement dynamic state machine we didn't find one. The Problem We needed a polymorphic class that could have different state machines triggered in it depending on some condition. Basically, here is what we wanted to achieve: Now the problem … Continue reading Tussle of the State Machines
As Rubyists, don't we just love searching for gems to do our work for us 🙂 But, that does not always work, does it? There are times when we don't find solution and need to fix it ourselves. Do we remember to contribute back to the community? Here's a similar story and some information about … Continue reading PDF to Plain Text processing using docsplit
Held in the exquisite Crieff Hydro, Perthshire, this was another example of an exciting professionally organised Ruby Conference. There will always be a lot of information about the talks, so this is more about my experience there! At a conference, it's very important to ensure that the attendees get to experience the culture in addition … Continue reading Experiencing Ruby – the Scottish way
When I started looking for gems which generate QR code in ruby I found "rqrcode" which generates only HTML code which was not useful to me. I wanted the QR code image so I looked at "qr4r" but here we can not customize the color, background color etc, so I decided to write my own code … Continue reading Generating dynamic QR codes in Rails using Rjb
This post is a straight from the heart talk about lessons learnt by a first time speaker. Rishi spoke at RubyConf India 2014 and gives a candid experience about how he prepared, the fear, the excitement and the exhilaration.
RubyConf India 2014 was a roaring success and attendees were not even aware about the woes the organisers had with the hotel management. This post talks about what worked and what didn't.