Thursday, November 8, 2012

Linux which port is used by PID

netstat -lnptu|grep

Monday, July 23, 2012

Ub city

Went there this last Friday, the place has a class of it's own. I was however disappointed as I was expecting it to be a big mall where as it had only two floors for shopping and rest was office space.

Saturday, June 30, 2012

How much I hate shopping for clothes

This is one area that I am really bad at.
Not sure if it is only me or is it something that a lot of people face in their life - I like wearing new clothes but the endless process of section and trials haunts me like anything.

Friday, June 29, 2012

To office on a bicycle

An amazing start of the day as I came to office on a bicycle for the first time.
At first I was kinda scared that 20 kilometers will be too much for me but it went prity fine. At this point I am not exactly sure if I can come regularly like this but for sure if I can do this even two three times a week it will bring a drastic improvement in my fitness and stamina.
Few things that I feel are important ...
The office bag should be as light in weight as possible
Tyre air pressure should be perfect
Helmet is a must for safety
At least 500 ml water glucose mixed
Should be wearing shorts and t shirt

Thursday, June 7, 2012

Corporate lies

Have you ever seen attrition statistics of a company, no I am not saying they are made up numbers, they are real. but there is a lot of interesting things that go behind the scene.
Generally a company will list only those people who quite their organization and join some other organization under attrition figures. The rest of the people are the ones who left the organization due to health/personal reasons or higher studies etc.
This point also all these figures are correct and there is nothing wrong here. The interesting part of the story starts when we learn that even though a large chunk of people who said that they are leaving due to  personal/health reasons were actually joining other organizations.
What could have made them tell lies.
Company will generally have a notice period, this can range from one to three or more months, and generally the candidate who is leaving wants it to be as short as possible, and the easiest way to make it short is to say that you want to quite due to health reasons or you want to go for higher studies.
The company is also happy that such candidates are not getting counted in their attrition rate, candidates are also happy that they are getting relieved quickly. :)

Monday, June 4, 2012

Drupal 6 to Drupal 7

These are the steps I followed to upgrade my Drupal 6 website to Drupal 7
1.Take backup of the live website
1.1 DB backup
/usr/local/mysql/bin/mysqldump -u --password= .sql
2.Copy your site to a test site

Sorry to finish like this, I am not able to migrate my application. My learning is that it only works if your application only uses the core modules. 

Google appengine

I have Always been a fan of Google applications, when Google started appengine few years ago I was very excited, the only problem was that it supported python and I was not much familiar with python. Within a year while I was leaning python GAE started supporting java.
The features and services provided were tempting enough for a developer like me to jump in right away. I started using it for one of my website, migrated it from php to java and while I was doing that it was always in my mind that the code is becoming increasingly coupled to gae, but I was stupid and lazy to write the code smart enough that could avoid the trap.