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 travelled abroad as such. And I thought it is now controlled in Pune.
Whatever but next day Monday, 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 came 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. 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 I am 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
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
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
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…
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 example.com:2812. 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 :
This file should contain something like:
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
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???
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…