Sunday, February 13, 2011

a poem i remember

నీటి లోని మొసలి మిగిలి ఏనుగు పట్టు,
బయట కుక్క చేత భంగ పడును,
స్థాన బలిమి కాని తన బలిమి కాదయా,
విశ్వదాభి రామ వినురవేమ.

Thursday, February 10, 2011

People with no wisdom

I often hear this word at my home when the servant maid talks to my mother "If at all i was learned i would not have done it.. i would have had been more wiser". But what are the learned pple really doing? before that what am i talking about? let me explain.
 * * *
The story has started off with previous elections in Andhra Pradesh when Chiranjeevi entered the politics. People were like "My dream came true... I am living for this moment only... only chiru can change the world... I feel soooo lucky... awesome... enchanted... blessed" and what not. I could feel their enthu and see sparks in their eyes. They were more like un-stoppable... as if they are seeing god come down all the way from the heaven to bless them.



These people are not somebody small... there were the colleagues, team leads, project leads/ managers, coordinators etc etc.. They were all at-least graduates with experience btw 6-12 years. I was surprised: whats making them so die hard for him? the answer i got was: He is a great actor! Havent you seen his movie Tagore? He is the guy to bring in ACF(anti corruption force). He will change the state fully. Wow! what an analysis? you have seen him acting good on the screen and so evaluate that he can rule you well. Fantastiic! I remember incidents when questioned they challenged back "I bet he will be the next CM and he will change the state!!" again how can u say? lets leave it i am tired by now..

Infact i remember hordings comparing chiru with obama. Now what happend? He changed; the party is dissolved with in 3 years of establishment. I dont find fault with this.... any thing can happen with a political party and they ar free to take any decision they want. All i m angry at is: being learned people how did these guys opt to vote for him? Why couldnt they relalize that acting and ruling the state are two different un-related entities? Whats the point in being learned... whats the point in having the intellect/ wisdom to judge things when you cannot use it at the right place?

I remember a famous saying in telugu:
చదువుకున్నవాడి కంటే చాకలడు మేలు (A dhobi is better than a learned person) doesn't it fit the contest?

Adios,

Wednesday, February 9, 2011

container to accomodate the floating divs

Generally the containers around float divs dont streach to accomodate them. To fix them we have the below workarounds. You to add an extra element with clear: both to the container. Once it was in place the container contained a non-floating element, which means it stretches itself up to accomodate it
-OR-
div.container {
border: 1px solid black;
overflow: hidden;
width: 100%;
}

Q

We first make our habits, and 
then our habits make us."

The greatest things ever done on Earth 
have been done little by little.

Monday, February 7, 2011

Yest was just great!

Yesterday.. the day was great! As usual i woke up late.. went to my friends place.. there we danced and danced and danced.. till we were completely tired/ drenched in sweet. It was sweet/ great!. I haven't noticed the day pass off and it was just like that... i was home at 2pm and was sooooo tired... just fell on bed and slept till evening 7pm. It was very refreshing when i woke up.. ate a little .. went to another friends place and was back by 8:30pm. Did some work at home.. then dozed to sleep on the floor.

The day was great! all hard work.. I worked hard and relaxed great.. i just loved it. I enjoyed the most to the fullest.. Wish the next weekend also to be the same..

till the reality strikes.. Adios,

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