My Swine Flu Experience

In my family its normal to have cough and cold. Usually one or the other member of my family is always suffering from flu most of the time specially because of the Pollen Allergy so natural in Pune. So when doctor told my husband Nitesh to go for a H1N1 test, I was not worried at all. Coz we haven’t got in contact with anyone having it or not even traveled abroad as such. And I thought it is now controlled in Pune.

Whatever, but next day, Nov 23 I was proved wrong by a phone call from my husband that his test came positive. That moment I understood the hindi phrase “Pairon ke neeche se dharti nikal gayi” (ground slipped away under my feet)… To tell you frankly I was scared as hell but when I saw the attitude of doctors at RubyHall Clinic at Pune. It seems to me like this is usual normal case for them…they gave Nitesh Fluver(Indian version of Tamiflu) and sent us back to home with an advise of incubation of a week.

Hmm…. I locked my husband in a room so that my son doesn’t contact him. But we thought son already has got it as he also had cough n cold from several days. We got him tested…to our surprise and relief  he was negative.

The same day I got fever and cough and cold. Oh…hell…now I got myself tested and hoped as my son is negative I should also be negative….Which I was not :(((

Now the dilemma… we both are positive and Son is not and nobody is there to take care of him. To our rescue my Mother-in-law came to Pune, we sent our son to one of my cousin’s place and prayed that he remains ok. Those were not at all good days for me…as I didnt have my baby with me….I could not go out….and I dont feel like ill… so getting bored…

In all, my experience was not bad apart from the scary feeling. It was just like normal flu if detected at right time. So I will suggest everyone to be calm and keep following the suggestions by doctors.

I know this post has gone long but you see I am telling the story of a whole week…So excuse me if you got bored of reading it 😛


Continuos Integration

Recently we did the setup for Continuos Integration for our apps at Sapnasolutions. As you might know Continuos Integration is one of the major practices of XP. We were evaluating some of the CI tools like CruiseControl and Integrity and Hudson. Though I still have not tried Hudson which everybody is recommending, our purpose has been served well by Integrity + report card combo.

mmm… actually in theory I liked CC better then integrity as CC has out of the box support for metric_fu. But for Integrity one have to setup the report_card site. Also as far as I got the benefit of Integrity is just that in it you can identify which commit exaclty has broken the build as it runs build on each commit whereas CC works on push. But the Integrity+Report card takes much time as compared to CC to setup.

For us CC coudnt become an option as on our server where we have Ruby Enterprise Edition whose default path is different then normal ruby CC is not able to pick the already installed gems. So when I try to run metric_fu rake task metrics:all it does not identify any of the required gems(rcov reek roodi flay flog)…Though the task run fine in the repo on server…

Anyways will keep you updated on any other tool (specially Hudson if we can have java on server) I try…Till then let Sapnasolutions build their dreamz in Integrity 🙂

The First week @ Pune


, , ,

It was a great transition  from the crouching heat of Delhi to pleasant rains of Pune. But it brought cold to my son and hubby :(. So the week was quit hectic for the whole family. With Hriday trying to get settled in his Day-Care, Nitesh trying to indulge more into his son’s activities and me trying to create a balance between home and new office.

But in last the experience is good. The people at Sapnasolutions are nice, understanding, fun loving & enthusuastic. though I still have to have more interaction with everyone. Here  I had selected to give try to the most difficult task of my life. Its about which existing socialnetworking open source of Rails can we use for our new quite big project. And I ended up with trying to merge Community Engine and Spree.

You think I am insane. mmmmm I dunno but I thought it could be a great achievement if I can do it. Its difficult and blowing up my mind though its been just a day since I m trying on it. Lemme try it for some more time then probably you can call me Insane for sure 🙂

My First Switch

This is the second last day of mine at Vinsol. And right now I am trying to write a post defining that I am leaving Vinsol tomorrow and going to join another promising startup SapnaSolutions at Pune very soon. 


I spent more then 4 years in Vinsol. The time here was good, filled with different kind of experiences.  I am looking forward to a great experience at SapnaSol as well. SapnaSolutions is also devoted to RoR development and also deals in mobile app. Lets see if I can also get some exposure of Mobile app there.  

While I am switching I have decided to set some goals for me.

  • I will try to post more techy code stuffed posts of my daily encounters which I sometimes try to escape from sometime.
  • Learn 4-Wheeler Driving and own a Driving License.
  • I would work in refining my skills as the Product Owner/Project Manager.
  • I always wanted to develop a product of my own I have several ideas in mind. By next year I ll have to decide which could be the most feasible and promising idea and work over it . Also have to work on finding finances.

    I hope in next year I will be writing some posts updating everyone on these points. Keep in touch…

    Monit apache with passphrase enabled SSL


    , , ,

    I wanted to montior my apache instance with Monit . Its so simple…

    I just had to add the apache related configuration in monitrc file and start monit.

    Looked like it worked…BUT…


    When I looked at It shows me something like ” ‘apache’ process is not running.” I realized that as My server has purchased SSL certificate and for this we have given a passphrase. So When ever apache starts, it asks for the pass phrase for verification. When monit tries to run the apache it also sends the dialog box of asking the passphrase which monit is unable to give. Hence I can not monitor Apache with pass phrase enabled SSL via monit. 

    Now when I sit to resolve this issue. I have an easy option : Repurchase the ssl with passphrase as nil. But that is costly and is not safe at all. So I looked for some other solution. And I found one in name of  ‘SSLPassPhraseDialog‘.

    One just has to add one line in their apache2.conf file :

    SSLPassPhraseDialog exec:/content/ssl/pp/pp.out

    This file should contain something like:

    echo 'mypassphrase'


    and make this file executable by:

    chmod +x passphrase_file
    Done…Simple na. Now you can just restart your apache and check that its not asking for a passphrase now 🙂

    Monitoring Passenger


    , , , , ,

    I have recently made some changes in my staging server to get 3 times better response. Would like to share the points with everyone so that other don’t have to do so much of googling that I did.

    So, I have my staging(256MB) and production server(2GB). On staging when I had MaxPoolSize of 6(default: Max number of threads spawned by passenger). My server gets killed in 10 consecutive requests coz of use of lots of swap. So I had to make it to 2 as passenger doc suggests to make it 2-3 for 256 MB server.


    But now one more problem arise, that response time for the request after long time(which could be anything > 10mins) was very high around 30s. Which is quite unacceptable. I found the reason being the MaxPoolTime(Max time in which the threads got killed if no request encountered). And once all the threads got killed and then comes a request  it takes whole lot of time to start these:

    1. Framework Spawner

    2. Application Spawner

    3. Then Spawn a new thread


    The solution to this problem  was not letting one of the thread get killed. I have searched a lot for this but got noway by which this can be implemented. So I have to find a work around. Which was… to set the Application Spawner not getting killed. This can be achieved by setting APP_SPAWNER_MAX_IDLE_TIME to very large(say 999999). 

    I have received amazing improved performance by applying this. Would you like to try???

    The open Friday @Vinsol


    , , , ,

    From today we are going to start the open fridays @vinsol. That means the second half of Fridays will be open for anything. One can do anything except work. Discuss, play, watch movies.

    So today we are all scheduled to watch a famous movie Aardvark’d: 12 Weeks with Geeks (2005), the movie about the development of Copilot at Joel Spolsky’s company, Fog Creek Software.

    Lets see how it goes…

    Merb Slices in Rails 3: The goodies coming along more efficiently


    , ,

    As most of you already know Merb Slices are the mix of merb app and plugin, which carries feature goodies of both. Its the part of an app which can itself work as an application and can be incorporated in any other merb application. For example remember Rails engines. It gives the same functionality but is 100 times better that that.

    While Merb is merging into Rails. In Rails 3 we will be witnessing this remarkable feature of Merb in Rails as well. If the planning of new core team goes well...We will be able to mount any of our rails application in another very easily. Core team has given a tentative date for Rails 3 by next RailsConf in May. I can not wait to explore all these  good features. Just keeping my fingers crossed…

    More papers @ Vinsol


    , ,

    We at Vinsol have been trying to find the best suitable strategy which merge transparently in Vinsol work environment. Manik calls it XPrum, which sounds kewl. Its our extract of practices from Scrum and XP.

    Extreme Programming (XP) is a little different approach towards agile programming what we usually follow at Vinsol. It focuses on simplicity basically to an extent that it advocate use of paper more than any technical tools. We realized its much more handy and visible to notice so we adopted it immediately. We liked the workboard for ticktes idea of SCRUM so we have applied them for our XP stories.

    The scene at vinsol can be seen in these pics…

    Constant feedback & communication is key for both strategies so our major focus is that. And our goal is to estimate better and accurately and deliver the best code.

    Coming year our focus will be more on BDD, Quality of Code and Developer’s satisfaction. If we achieve these three, I hope the clients will ultimately encounter better experience with Vinsol.

    Merb + Rails == Great Software


    , ,

    So you heard the news??? Yes, Merb and Rails are going to merge in Rails 3 If thats true it will be a great merger o all times in ruby community. The largest framework of Ruby glued with the fastest one will be cool.

    One of the thing which I loved in Merb is its agnostic feature. Specially ORM to quote. As I found Datamapper to be more efficient and useful then ActiveRecord in Rails. If we can use Datamapper in Rails it will be the coolest thing.

    While trying Merb I also felt like most of the things are implemented in the same way as in Rails. So the basic difference is just in the values Merb advertise or rather built on …

    * Being Agnostic

    * Prefer Plugin

    I am just waiting for Rails to adopt those values so it could be more efficient and more lovable 🙂