Monday, January 31, 2011

hey!!!

Google appspot is now unblocked at my office..  i m so exited; lets see what new things i can do ;D

haha

two software engineers meet on a road,

two beggers meet on a railway station;

both have one dialog in common; what is it????

.. 

..

on what platform are u working... :D

Saturday, January 29, 2011

Why are the Hindus majority?

Yesterday evening i had this argument with my friend

He: if u see the last 1000 years or more its the muslim kings that ruled the country. they why are muslims still the minority in India?

me: Hinduism survived their rule.

He: how?

me: inspite of them forcing people to change religion and their rigorous steps towards it, people still had faith in Hinduism that had kept this religion alive and in-fact we are still the majority for the same reason.

he: nice;

-----

Recently I am seeing the way Christianity is spreading in India. Its very in-ethical of the Fathers but yes an intelligent one. I had been to the village Vedurupaaka where i met an auto driver; on enquiring figured out he had recently converted to Christianity; Same is the case in my fathers office –one of the servants their converted to Christianity. I was inquisitive and enquired why they are converting. The answers i get is: “we are paid 25,000 Rs on conversion. We get free education in catholic schools/ colleges; free books clothes”. Wow! What a deal. Who on earth wouldn’t be attracted to this?

I was wondering how religious heads encourage such behavior? Isn’t this very in-ethical? aren’t they supposed to be untouched by worldly things? things like Christianity is the minority? and if they are doing this can we call them the religious heads? If people want to convert they should see credit in the new religion and hence change. It shouldn’t be by money/ some luring.

HUH! Lets see how far this religion percolates into the society.

Thursday, January 27, 2011

Q

It is your life, be your self....!!!

--seen on a bike in traffic today morning :)

Wednesday, January 26, 2011

Accordion -prototype

Heres the prototype of the accordion where i demonstrate how the top div slowly closes down.
_______________________________________________________________________________
<html>
<style>
*{margin:4px;}
</style>
<script>
function loaded(){
var cont = document.getElementById("containerId");
var e1 = document.getElementById("heading1");
var e2 = document.getElementById("heading2");
var e3 = document.getElementById("heading3");
//h1= 2+e1.offsetHeight + e1.style.paddingTop + e1.style.marginTop;
alert("moving up:; "+ e1.style.height);
//e2.style.top=-h1;
removeDiv(e1,9999);
}
function removeDiv(e,currheight){
var newHeight = parseInt(e.offsetHeight/1.5);
e.style.overflow='hidden';
if(newHeight < currheight){
e.style.height=newHeight;
}else{
e.style.display='none';
return;
}
setTimeout(function(){removeDiv(e,newHeight)},50);
}

</script>
<body onload="loaded()" >
<div style="position:relative;display:auto; border:black 1px solid;overflow:auto;height:auto;"id="containerId">
<div style="position:relative;border:red;padding:5;">
top one heading
<div id="heading1" style="position:relative;border:purple 1px solid; top:2px;widht:100%;background:red;">
<ul>
<li>one </li>
<li>one </li>
<li>one </li>
</ul>
</div>
</div>
<div id="heading2" style="position:relative;border:purple 1px solid; top:2px;widht:100%;">
<ul>
<li>two </li>
<li>two </li>
<li>two </li>
<li>two </li>
</ul>
</div>
<div id="heading3" style="position:relative;border:purple 1px solid; top:2px;widht:100%;">
<ul>
<li>theree </li>
<li>theree </li>
<li>theree </li>
<li>theree </li>
</ul>
</div>
</div>
</body>
</html>
_______________________________________________________________________________



So this is how it looks like when running…  















first u get the alert. The top div is marked in redimage
on click of ok; the top div (with content one, one, .. ) slowly closes downimage
once the top div goes very small we make its display as noneimage
  

Tuesday, January 25, 2011

Q

The trouble with doing something right the first time is that nobody appreciates how difficult it was.

Saturday, January 22, 2011

move on....

Don't worry about the people in your past,..there's always a reason why they didn't make it in  your future.
And always remember that the brightest future will always be based on a forgotten past. You can't go on well in life until you let go of your past  failures and heartaches. So sometimes we need to stop analyzing yesterday's istake...Stop planning the future,.. Stop trying to figure out precisely how we feel,.. Stop deciding with our mind
what  we want our heart to feel,... Stop blaming ourselves,... Sometimes we just have to go with,.."Whatever happens - happens"

Friday, January 21, 2011

Wife and husband…

1.  The Silent Treatment...

A man and his wife were having some problems at home and were giving each
Other the silent treatment.
Suddenly, the man realized that the next day,
He would need his wife to wake him at 5:00 AM for an early morning business flight.
Not wanting to be the first to break the silence (and LOSE), he wrote on a piece of paper,
'Please wake me at 5:00 AM '
He left it where he knew she would find it.
The next morning, the man woke up, only to discover it was 9:00 AM
And he had missed his flight. 
Furious, he was about to go and
See why his wife hadn't wakened him, when he noticed a piece of paper by
The bed.

The paper said, 'It is 5:00 AM. Wake up.'
Men are not equipped for these kinds of contests.

2. WIFE VS. HUSBAND

A couple drove down a country road for several miles, not saying a word.

An earlier discussion had led to an argument and
Neither of them wanted to concede their position.

As they passed a barnyard of mules, goats, and pigs,
The husband asked sarcastically, 'Relatives of yours?'

'Yep,' the wife replied , 'in-laws''

3. WOMEN'S REVENGE..

'Cash, cheque or charge?' I asked, after folding items the woman wished to purchase.

As she fumbled for her wallet I noticed a remote control for a television set in her purse.

'So, do you always carry your TV Remote?'
I asked.

'No,' she replied, ' but my husband refused to come shopping with me,
And I figured this was the most evil thing I could do to him legally.'

4..  UNDERSTANDING WOMEN..
(A MAN'S PERSPECTIVE)

I know I'm not going to understand women.
I'll never understand how you can take boiling hot wax,
Pour it onto your upper thigh, rip the hair out by the root,
And still be afraid of a spider...

5. W O R D S..

A husband read an article to his wife about how many words women use a day...
30,000 to a man's 15,000.

The wife replied, 'The reason has to be because we have to repeat everything to men...
The husband then turned to his wife and asked, 'What?'

6.  CREATION..

A man said to his wife one day, 'I don't know how you can be
So stupid and so beautiful all at the same time.

' The wife responded, 'Allow me to explain.

God made me beautiful so you would be attracted to me.

God made me stupid so I would be attracted to you !!!

Born to win; conditioned to loose

An eagle's egg was placed in the nest of a prairie chicken.
The egg hatched and the little eagle grew up thinking
it was a prairie chicken.
The eagle did what the prairie chickens did.
It scratched in the dirt for seeds. It clucked and cackled.
It never flew more than a few feet because that is what
the prairie chickens did.


One day he saw an eagle flying gracefully and majestically
in the open sky. He asked the prairie chickens:
"What is that beautiful bird?" The chickens replied,
"That is an eagle.
He is an outstanding bird, but you cannot fly like him
because you are just a prairie chicken."
So the eagle never gave it a second thought,
believing that to be the truth. He lived the life of and
died a prairie chicken, depriving himself of his heritage
because of his lack of vision.
What a waste! He was born to win,
but was conditioned to lose.

Do not let people or situations or even yourself
condition you to lose in life.

Q

YOUR SMILE IS YOUR BEST FRIEND._._._.MAKE IT SOME ONE ELSE'S TOO !
BE HAPPY,IT'S ONE WAY OF BEING WISE,

Monday, January 17, 2011

few thoughts...

1. Once, all villagers decided to pray for rain. On the day of prayer all the People gathered, but only one boy came with an umbrella...

    THAT'S FAITH.

2. When you throw a baby in the air, she laughs because she knows you will catch her...

    THAT'S TRUST.

3. Every night we go to bed, without any assurance of being alive the next Morning. But still we set the alarm to wake us up...

    THAT'S HOPE.

4. We plan big things for tomorrow in spite of zero knowledge of the future, or having any certainty of uncertainties...

    THAT'S CONFIDENCE.

5. We see the world suffering. We know there is a possibility of same or similar things happening to us. But still we get married???..

    THAT'S OVER CONFIDENCE !! ;-))

Saturday, January 15, 2011

Absolute and relative measurements

In css there are many concepts that are confusing to me. So instead of juggling around with permutations and combinations evertime i hit the issue… i thought why not document them which can help me for future reference.

For absolutely positioned elements the right (or left) measures distance between the current elements right edge(or left edge) and its nearest positioned parents rightEdge(or left edge). While the relative positioning is measured w.r.t. its initial positioning.  Heres the example

@google chrome

<html>
<head>
<style type="text/css">
.right
{
position:absolute;
inherit:false;
right:0px;
width:190px;
overflow:visible;

background-color:#b0e0e6;
}
</style>
</head>

<body>
<div style="position:absolute;width:50%;border:1px solid red;padding:10;overflow:overflow" >
<div class="right">
<p>In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since.</p>
<p>'Whenever you feel like criticizing anyone,' he told me, just remember that all the people in this world haven't had the advantages that you've had.'</p>
</div>
</div>
</body>
</html>

image
Both red and blue parts are absolute positioned
with right:10px; it measures 10px from the parents right edgs
The same code with position as relative gives the result image
the element (in cyan color) moves to make the initial reference line 10px to its right giving the above position.
red –> absolute and blue parts –> relative position
with right:10px; it measures 10px from its initial position (thick-black) to left

trying the new blogger client











Trying out the new blogger client -windows live. Actually i was using scribfire for this .. but wanted a better client.. it has its own issues. Lets see how this goes.. till then adios.

Tuesday, January 11, 2011

When let go things...

Let's face it. Many of us have latched on to people and things that have hurt us, angered us, made us sad  and caused us stress. We tell ourselves that it doesn't make sense a thousand times over. But still come up with that 'one more' reason (read, excuse) to hold on. 

In turn, they continue to clutter our lives, making us choke to the extent that our daily activities begin to get affected. In this futile attempt to hold on, we forget that letting go is not just liberating (yup, it takes that big load off your chest and you go, "Whew, I have done it!") but also boosts health and happiness. 

As Swiss poet, novelist and painter, Hermann Hesse once said, "Some of us think holding on makes us strong, but sometimes it is letting go." This new year, read on to know when you should muster up that courage and let go to welcome a whole new life.

1. When something or someone that should give you happiness gives you grief. 

Whether it's a family heirloom sofa that sticks into your derriere every time you sit on it or a person whom you have expected happiness from gives you nothing but pain, it's clearly time to let go.

Somewhere between our conditioning to make things work as much and for as long as possible and an unthinking discarding of whatever doesn't work the first time round, there is a middle path-when your head and heart both begin to say, 'Hello, why exactly are you going on with this!' and you know it's simply time to let go.

2. When someone hurts you.

When a relationship is mentally and/or physically abusive, the first resort should never be to bear it, but to seek remedy. If counselling works, great; if it doesn't, it's clearly time to move on. Don't try to find reasons and excuses: he was a good person, he had a fine core once: if it's not showing up for any length of time, it's time to let go. Nothing-not your love, nor your children's future, is worth the warping of mind, body and soul that mental and physical violence cause.

3. When something or someone has not really been part of your life for a length of time.

For things, they say, throw away anything you haven't used in six months. If you are a hoarder, increase that to two years, maybe. But after that, bin it. For people and relationships, it depends: if you have been actively trying to keep a relationship going, with no response or improvement in the positive aspects of the relationship, be it with family or friends or colleagues-stop. It's time for the deep freezer.

4. When something or someone is causing you to be dysfunctional in daily, normal life.

You can't work because your mother/father/sister/brother/partner/friend is dominating your life and your decisions, or interfering so much in the kind of personality you are, or in the kind of things you want to do, that you find it hard to be yourself, to be normal. If you have to constantly work against being yourself and always sacrifice on how you want to lead your life, it's time you scratched those names out as far as possible from your list of priorities.

Says Dr Jitendra Nagpal, consultant psychiatrist, VIMHANS and Moolchand MedcityNew Delhi, "An increasing level of criticism, impatience, intolerance, unresponsiveness, callousness and jealousy are signs that you need to reprioritise.

Constant indifference, a desensitisation to love and the thought that you're getting a raw deal tell you it may be time to let go."

5. When something or someone is beyond any reasonable control.

It could range from a pet that needs to be put to sleep, to a boyfriend/girlfriend who isoverpossessive or unfaithful, or a job or colleague that gives you unending grief-rather than being full of negativity about the situation, it's best to end it.

"There's no point in living with 'baggage', some make-believe past glory and accommodating it into your life," says Nagpal. There are some situations you just can't help. Accept it and go forward. Understand that sometimes you have to live with some emptiness inside you, but the pain will cease with time. Dr Vivek Benegal, additional professor of psychiatry, NIMHANS, Bengaluru, says, "It's extremely important to let go when you lose someone and move on, or else you would risk mummifying the person's memory leading to prolonged grief."

6. When there's no love, nor need, nor desire.

Emotional commitment keeps most of us afloat, but when that is absent, there is very little that can help you go on. Loveless bonds may go on because they are convenient, but rather than enriching us, they only drain and drag us down. In such a situation, nothing works like letting go.

However, even as you must be open to letting go whenever required, remember you are the best person to analyse if you've reached a situation when you truly need to let go and not do it just for the sake of convenience. "It's always a good idea to talk to a friend or family member you are close to, before taking a decision," advises Nagpal.

Sunday, January 9, 2011

balayya

Balayya - "batta tala" vunte chala goppa vallu avtaranta nijamena??? 
Lecturer - "Cheviti na kodaka 'batta tala' kadu ra 'pattudala' 


Movie Dialogues about Balayya
Pokiri: Evadi cinima chusthe, dimma dirigi mind block avuthundo vaade ballayy
Aadi: Ammathodu addanga narukkunta Avadikanna Balayya theliyaka pothey? 

Thursday, January 6, 2011

2010

Below are the qns i got from some blog and thought ill answer them here.. 

1. What did you do in 2010 that you had never done before? 

pressed my manager to put me into a new proj

2. Did you keep your new years resolutions, and will you make more for next year? 

i didnt have any

3. Did anyone close to you give birth?

yes, but his wife

4. Did anyone close to you die?


5. What date from 2010 will remain etched upon your memory, and why?

I think 6th Jan; For Telangana moment. Mainly because the fundamental stmt of it was: A category of pple are annexing/ over powering/ robbing the other category. I was wondering how it can happen in a deamocratic governance. I was very keenly observing for atleast one leader to oppose the stmt. 

6. What was your biggest achievement of the year?

 

7. What was your biggest failure?

I thought one of my frnds is with me; but it turned out to be otherwise. 

8. Did you suffer illness or injury? 

no

9. Whose behavior merited celebration? 

the companies lead Architect

10. Whose behavior made you appalled and depressed? 

again the companies lead Architect

11. Where did most of your money go?

bank (i m a mizer; plan a lot and execute none!!! )

12. What did you get really, really, really excited about?

facebook

13. What song will always remind you of 2010? 

I dont know

14. Compared to this time last year, are you happier or sadder? 

~ ~ ~

15. What do you wish you had done more of? 

Travel and explore (i plan them this year too)

16. What do you wish you had done less of?

internetting

17. How did you spend Christmas? 

was fully engaged with frnds

18. Did you fall in love in 2010?

a big NO

19. How many one night stands?

-

20. What was your favorite TV program?

any thing on discovery

21. What was the best book you read?

eenadu

22. What was your greatest musical discovery?

that i dont know singing

23. What did you want and get?

success.. what else?

24. What did you want and not get?

failures .. what esle?

25. What was your favorite film of this year?

Rajaneethi

26. What did you do on your birthday, and how old were you?

I actually forgot it was my birthday.. rememebred it may b in the afternoon.. and didnt say a word abt it to my colelagues.. (they will ask party na :D)

27. What one thing would have made your year immeasurably more satisfying?


28. What kept you sane?


29. Who was the worst new person you met?


30. Who was the best new person you met?

lead architect of this company

31. Tell us a valuable life lesson you learned in 2010.

pedavi daatina maata prudvi daatutundi. (word that crossed ur lips crosses the world).  carefull when u speak; there are no secrects in this world;

32. Quote a song lyric that sums up your year.

believe in ur self.

Wednesday, January 5, 2011

photo of the day -dhaka bangladesh train

A woman is riding between the railway carriages of a local train heading north from Dhaka, the Bangladesh capital. Her luggage is tucked under the carriage in front of her. It is the month of Ramadan, a fast that culminates in Eid-ul-Fitr, a three-day celebration. Tens of thousands of people leave the city to go to their home village and celebrate with their families. Trains are packed and many who fail to get tickets before they sell out or can’t afford buying them at the black market ride on the roof of the train or, like this woman, finds a quiet spot between the carriages.

--From NGC site

Tuesday, January 4, 2011

Q

à°¶్à°°à°® à°¨ీà°•ు ఆయుà°§ం à°…à°¯ిà°¤ే
à°µిజయం à°¨ీà°•ు à°¬ాà°¨ిà°¸ à°…à°µుà°¤ుంà°¦ి!


పరాజయం à°…ంà°Ÿే à°¨ుà°µ్à°µు à°šేà°¸ే à°ªà°¨ిà°¨ి వదిà°²ి à°ªాà°°ిà°ªొà°®్మని à°•ాà°¦ు
à°† పనిà°¨ి మరింà°¤ à°¶్à°°à°¦్ధగా నర్à°ªుà°—ా పట్à°Ÿుదలగా à°šేయమని à°…à°°్à°§ం!


ఒకపని à°•à°·్టమని మనము à°¦ాà°¨్à°¨ి à°šేయడాà°¨ిà°•ి భయపడం
మనము భయపడటము à°•ాబట్à°Ÿి à°† పని à°•à°·్టమనిà°ªిà°¸్à°¤ుంà°¦ి

-From my fav eenadu book

My predictions abt the new year

Telangana, one of the issues that keeps me sticking to  the TV screen like a lizard. Let me predict abt this. Would it happen? btw, any hardcore fans of any party/ leaders are advised not to read further. The below are purely my own opinions.

I appreciate Sonia gandhi. She just does what she wants to and in silence. Till the decision has taken affect her move cannot be predicted. There are some glitches as well, however i appreciate her. Take the recent cases lift off on telangana agitators. KCR was the first guy to demand the liftoff, however congress did the nirahara deeksha (fasting) creating a scene in the state and finally swept off the harvest. The same could be the case with telangana also, if at all congress wants to give telangana they will make sure that people first are turned to their side, sweep the complete credit and then they give telangana. This will also give them a strong stand in the new state as well. All this will take some 2 more years.Lets see if the prediction goes right