Friday, April 27, 2007

Another Story

It was my Intermediate days, and results are out for first year. Everyone were very eager to know whether we are passed or failed. I was not that much because I had a firm belief that I don't fail at least. OK. We were looking in the news paper to see whether we are passed or failed. We looked thoroughly and found my number is not there. Our lecturer was there around, when one person said "Hey Girl, your number is not there. So, you are failed". Sir said, "How is that possible? She is one of toppers in our college". OK, finally, from the paper, it is clear that my number is not there. So, I am failed. I used to cry day and night and was wondering how can this happen. Only possibility that I thought is "May be, I haven't tied papers tightly with thread. So, they might have dispersed and lost. So, they might have evaluated for one paper where the marks are less than passing marks".

One of our college person went to Hyderabad to get marks from the board (His position was like head for conducting exams at district level, so was able to). He called me up and said "I will be announcing your marks. Don't get afraid" and finally, he said "You got 3 marks in Maths and so you are in failed category where as I got more than distinction in all other subjects". I started laughing. Now, my theory failed here. If the thread is not tied properly, there will be one paper, where It is impossible to have 3 marks for that. Then, If they give one mark for each paper, I had taken 3 additionals, then I should get 4 marks at least.

I told my father that I want to fight with the state board in court as I don't see any way that I can fail with 3 marks in Maths at least. But, He was little reluctant and said "See, you got very good marks in other subjects and if you anyway have to write for this Maths paper where you can easily score very good marks and you will be easily like reaching more than 400 out of 470.Then, why should we worry much" I said "I don't want to get asked by many people like "Oh, I heard that you are failed" I just can't tolerate ".

My father and another sir from our college went to Hyderabad and initially talked to one of the person in State Board to see like, whether it is possible to review my paper. He asked a bribe of 4k just to show the paper. So, my father decided to file a case against them in court. And it was a petition to allow me for betterment exams. Because, If a person fails in one subject, she/he can't go for a betterment exams. She/He can write only those ones in which they are failed.

Finally, I got the good news just two days before to my betterment exams that I got 72 out of 75 in Maths-1 paper and Court allowed me to appear for betterment. I was too happy for the reason that I didn't fail and another bonus is that I was topper in my town.

Moral of the story: Just be brave and have self-confidence when situations are against you. Who knows, may be something better is coming in your path.

Monday, April 16, 2007

Lesson -1

Simple tips to follow for bug-free, easy maintainable code:

1. Never copy a single line in your code. Better use a method even it is just one line. (prone to bugs, if you don't follow)
For Example:
int value1 = obj.getValue1() > 10 ? 10 : obj.getValue1();
int value2 = obj.getValue2() > 10 ? 10 : obj.getValue2();

Better way of writing above code is:
int value1 = getActualValue(obj.getValue1());
int value2 = getActualValue(obj.getValue2());

int getActualValue(int value)
{
return value > 10 ? 10 : value;
}


2. Never hardcode anything. Always assign values to constants and use that in the place where you want to use those values. This makes life simpler, when you want to change that value in all locations wherever it is used. This is very simple to say. But many people don't follow it.


more to come soon.

Thursday, April 12, 2007

Not a good day or different day?

Today seems like, things are not going to be in smooth way.
1. Vehicle gave trouble in the middle and had to wait for a long time to get another one.
2. Most of my todo list, which I was able to finish yesterday created more issues and have to look into them again.
Good day or different day??
Wait and see..

Tuesday, April 03, 2007

Error While logging in to gmail

I got below error when I tried to login to gmail. Does any one face the same issue?

Undefined variable. Variable: opt_initialName. Node: {name opt_initialName} at ./cs/caribouroot/java/com/google/caribou/ui/pinto/modules/navpane/label.js line 313:

// Ask user for label name
var label = prompt(pinto.navpane.Label.LABEL_NEW_LABEL_PROMPT,
opt_initialName ? opt_initialName : '');
while (label != null) {
Undefined variable. Variable: opt_initialName. Node: {name opt_initialName} at ./cs/caribouroot/java/com/google/caribou/ui/pinto/modules/navpane/label.js line 313:

// Ask user for label name
var label = prompt(pinto.navpane.Label.LABEL_NEW_LABEL_PROMPT,
opt_initialName ? opt_initialName : '');
while (label != null) {


Surprisingly, it happened only with one account. Why so?? How is that possible?
Did they deploy different builds on different servers? So, my another account has correct build, so it didn't give any error where as my other account has wrong build, so giving this error?


Updates:
Some issue at google end. It works fine with non-JS link, http://mail.google.com/gmail/h/

Friday, March 30, 2007

V.P Singh comments over Supreme Court Verdict against OBC Reservation

I hate these political people.

Especially V.P.Singh comment here,over reservation saying OBC Reservation is unanimously selected by people all over India as M.Ps represent people.
Reservation was an issue concerning democracy and the unanimous decision of Parliament reflected the will of the people. Hence, the "people's will should be respected." Parliament and the Supreme Court were one on the issue, he said.

Shame on all these political people who tries to use "Divide and Rule" over people just for their political reasons to earn money.

I am happy to hear Supreme court's Verdict and I hope most of the students are happy for this.

Friday, March 16, 2007

Half Mobile Continued

I am finally able to get my outgoing calls activated one week back. After one week of my activation, I got below mail from Reliance. :)

Dear Customer,

With reference to your mail regarding restoration of services, please note that your request is logged as Request ID XXXX We are working on the same and will respond to you in next 4 working days.

Yours sincerely,
Customer Care
Reliance Communications

The information provided is based on prevailing terms and conditions of the company, which, are subject to change without prior notice.

This electronic message transmission contains information from Reliance Infocomm & is confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, beware that any disclosure, copy distribution or use of the contents of this information is prohibited. If you have received the electronic transmission in error please notify us immediately.

Monday, March 12, 2007

At the end, it doesn't matter

We people think everything is permanant and we some how believe in that. And when time passes, you actually see the reality.

Tributes to my relative:
I remember one of my relative who was very good. We named him as WaterMelon uncle when we were small. Because, he used to bring water melon to our home when ever he come. Irrespective of what ever time it is, when he is passing my home, he used to stop at our home and talk to us and then go. He worked hard to grow up his children and passed away recently. When my father met him last time, he was afraid of his health and was asking my father how he can afford his son studies. My father assured him to not to worry. Me and my brother also assured my father that we can afford money for his studies. When we visit his home last time, Uncle wasn't there at his home and Aunt and his daughter were there. That time, she told us that these days uncle is worrying a lot about his health. That time, we never knew that he will be leaving us soon and thought he is taking tension unnecessarily.

We don't know what happens at what time. But, we still think, everything is permanant and live in that world. We know everything, but we won't be able to control over what ever we know.
I fought with some people in my schooling and didn't like some people company. Now, I found it silly when I look back that why I thought about them somuch when they are not at all important in my life.
Sometimes, It is better to ignore few things. It will be always good to talk about good factors of some one rather bad and be good always. But, it is not an easy job. But, I think, one can do by practice.

Tuesday, March 06, 2007

Poor Customer Satisfaction with Reliance Service

I heard that no service take more than one day to activate outgoing calls. So, I called up Reliance customer care and asked them how long it takes to activate my outgoing calls. They said "with in 72hrs". I don't understand which is true "5 days, previously told by the person" or "3 days, the one that other person informed".

I don't know who is wrong here. The customer or the service provider.
I strongly feel, it is service provider's mistake to not to inform customer clearly. Simply by sending a message, I didn't understand what all that is and by the time, I am about to submit documents, they blocked outgoing calls.
In this, I like Airtel Broadband service. They treat customers well. Any problem with the connection will be solved as soon as possible.

Another surprising thing is, the cell wasn't on my name and I told them that it is not on my name, so do they need any relevant documents from the concerned person saying he is fine to change it on my name. They said "nothing. You write your name. That's it". I was wondering, then any one can steal cell and get it on their name. No issues at all. :)

Monday, March 05, 2007

Bad Incident :( I am half mobile

"Dear customer, We haven't received your application form. Please submit your form immediately to avoid barring of services."

I got this message again and again and didn't understand what does that mean. Finally, one fine day, I got a call saying I need to submit an address proof for changed address. I said "it takes some time to me". Finally, one fine day, they blocked my outgoing calls. Neither I can make a call (even customer care call) nor a message.
I went to their office to submit all relevant documents. I forgot to take a xerox of my address proof and id-proof (My mistake here). They don't have a xerox machine and asked me to go to some other place for that. I have to cross two traffic signals for that. I said, " I can't go there". (I am afraid of crossing roads and try to avoid that). Finally, he sent his boy there to bring a copy of it. And, he gave good (/bad) news so calmly that it takes 5 working days to activate my cell.

Moral of the story: Never ignore even a single message from your customer care. It means a lot. :(

Wednesday, February 21, 2007

Funny Incident

I got into Volvo bus which was packed with people already. I tried to find out a place where I can safely stand. There was one but had occupied with luggage. So, I tried to stand in the remaining place left there but, as there was no support, I was about to fall. So, I moved one of the luggage on top of other one. while doing that, the below luggage bent down. I ignored it. After a while, I came to know that there is a bottle which is not closed properly in the luggage which was lied down and started leaking water. After seeing that, I kept that bottle straight. But by that time, 1/2 litre of water is already leaked out of the bottle. There was a guy who sat in front of me. He stood and came to me and said "You did a very good job." . I said "I am sorry. I didn't see bottle there". He said " No problem. We also do sometimes". I said " I didn't do it intentionally". He said " I didn't say that". Finally, he started asking me "where I am working. What I am doing. Where do I stay..etc..etc.." I had to answer it because the water fell out of the bottle because of my mistake. He started giving his introduction saying "this is the first time he came to Bangalore to join a company and his cell is out of charge..etc.etc. and his friend said he will come to the bus stop to pick him". So, I asked him whether he want to make a call to his friend. His bus stop and my bus stop are same so I asked whether he needs my help for moving his luggage. And finally, I ran away from that place as soon as possible.

Moral of the story: It is better to stand in the place which is left. :)

Thursday, February 01, 2007

There is always something to learn from everyone

I just felt I am learning a lot from my colleagues and lot to learn.

Tuesday, January 30, 2007

Quote of the day

Never forward a mail before reading it fully.
-A mapping of old one: Never suggest others before you practice. :)

Friday, January 05, 2007

Our great Politicians

I just hate these fellows:
A tourist bus stoned in Agra in protest against Saddam Execution
Why can't these fellows do a single good thing which makes atleast few people happy.

Friday, December 29, 2006

Thoughts

I am seeing beggars these days with a small child in their hands. If they come to me and ask for money, I don't give money and I just get angry on that. Sometimes, I feel whether we can take all these children and keep them in an orphanage so that atleast they have basic education so that they can stand on their own feet rather becoming robbers or beggars or what ever anti social persons. I feel it is better to give food or education to a person than contributing that money in poojas and all. After all telugu quote says "Manava seve Madhava seva" (Serving to people is serving to God).

I don't know why our beloved politicians never think of this. And they want to exploit the cast-ism. None of the parties gave any statement against reservation in IITs or IIMs. And now, suddenly, BJP president L.K.Advani says they are still thinking of building RAM Temple in Ayodhya. And our beloved PM says they want to do something for Muslims and he feels they should be allowed to first claim on resources. My suggestion to a Muslim or a Hindu is only one. Don't go blindly with these politicians. They know British rule very well which is "Divide and Rule" and so they are implementing that on us. I don't mind much about whether to have a masjid or temple in Ayodhya.

Some thing that we can do:

Respect each other
Give basic education to your children. If not able to, don't give birth to them.

And the quote I have seen today:
Help ever, Hurt never
Love all, Serve all
- Sai Baba

Wednesday, December 20, 2006

now, I know

While browsing for something else, I got this. Now, I know, why I am getting all PSAs in my blog. :(

Tuesday, December 19, 2006

Funny code

Some time back, I had to write a program where I need to have a thread which continuously looks for some status and does some work in background.
So, I started off like this.
Class MyThread implements Runnable
{
public void run()
{
//Something here

}

}


Class MyClass
{
public void function1()
{
MyThread thread = new MyThread();
thread.run(); // assuming thread runs in background
//do my work here
}
}

And I was wondering, why my program is taking so much time. And then, I figured out, that thread is running and my program is exiting only after thread finishes its work. :)
Later, my teammate asked me "Did you find out where you are wrong? " and explained where I was wrong. :)
Some times, we do such silly mistakes for which we waste hours and hours. :)

Monday, November 20, 2006

Happy Happy

I won a game which I have been playing in my leisure time since many days.

Wednesday, November 15, 2006

Beware of fraud calls from Citibank

I got a call from a lady saying she is a Citibank employee(Shyla) and whether I am interested in Citibank life time credit card. I was getting these calls many times and every time, I told them I am not interested. This time, she told me that they are giving credit card and DVD player as diwali gift and they want to know my address. I talked to many people regarding this, and they said "Go on and get it. Later you can cancel the card". I thought, it might be possible as I have seen some "get a watch by applying for credit card" in Citibank online site. So, I said "Yes". Now, recently, I got a courier for Citibank credit card and I didn't get the gift that she promised!!. I called her up (Fortunately, I had her number with me) and asked her regarding this. She said " It is in pending status. I will let you know after checking why it is in pending status". I still thought she is telling truth. Next day, when I called her up, now she started acting. She said "It is a wrong number. She is not the one whom I called". I thought "May be, her number might have changed. (Though it is less probable as I just spoke to her one day before)". I made a call to her thru my friend and confirmed her number hasn't changed. Now, I called up Citibank and told them this is what happened. Finally, it took so much time for me to cancel this card.

Moral of the story: Beware of such fraud calls rather wasting time and money later.

Monday, November 13, 2006

My Friend's quote

Never say you don't like a person. It is one/some of the quality/qualities that you don't like in a person not that person in whole. You should always take(and learn) good things in them and leave bad things.

I had to meet some of my classmates yesterday. I was in dilemma whether to go or not. Because, there is one person who hurt me once. But, I remembered my friend's quote and went there and talked with every one happily.

Friday, November 10, 2006

I like it

there is a lot of hardwork that is behind www.like.com. People were doing night outs to finish the work soon. Some people started working in US timings. Some started working in both timings. :)
Just after my joining, Riya launched Riya 1.0. Then, I can see people happiness in their faces. That is showing something like "We did it". My manager asked me "How are you feeling". I said "I wish I would have joined Riya 1 year back". He said "Don't worry. It is still a beginning. Lot to go.". Now, the time came. Riya launched Riya2.0. I felt happy. We were very happy. After the launch, we took a little break in reading articles on Riya. And now continuing our work.