Monday, December 26, 2011

:)

In bed, Its 6 AM you close your eyes for 5 min and its 7:45

At school its 1:30; you close your eyes for 5 min and its 1:31

Thursday, December 22, 2011

Getting db column size using JDBC

Looking at ResultSetMetaData api below was my first approach to the problem.

    private static String getColDbType(Connection conn, String table, String col) throws Exception {
String query = " select * from " + table + " where 2='9999'";
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(query);
ResultSetMetaData rsmd = rs.getMetaData();
try {
for (int i = 1; i < rsmd.getColumnCount() + 1; i++) {
String columnName = rsmd.getColumnName(i);
if (columnName.equals(col)) {
String s = rsmd.getColumnTypeName(i);
if (s.equalsIgnoreCase("varchar")) {
s += "(" + rsmd.getPrecision(i) + ")";
}
return s;
}
}
return null;
} finally {
rs.close();
stmt.close();
}
}



However the column sizes were not accurate; googling helped me understand that ResultSetMetaData is in the context of the result set returned by the query and it need not reflect the actual table details. So below is the 2nd approach that finally worked. Tried this with MySQL 5.x db instance

    private static String getColDbType(Connection connection, String table, String col) throws Exception {
DatabaseMetaData metadata = connection.getMetaData();
int i = url.lastIndexOf("/") + 1;
String schema = url.substring(i);
ResultSet resultSet = metadata.getColumns(connection.getCatalog(), schema.trim(), table, col);
while (resultSet.next()) {
String name = resultSet.getString("COLUMN_NAME");
String type = resultSet.getString("TYPE_NAME");
int size = resultSet.getInt("COLUMN_SIZE");
if (type.equalsIgnoreCase("varchar")) {
return type + "(" + size + ")";
}
return type;
}
return null;
}

Sunday, December 18, 2011

Q

రాపిడి ఉన్నప్పుడే శబ్దం వస్తుంది

Friction generates sound !!!

-Jiddu krishna murhy

Friday, December 9, 2011

Q

In middle of difficulty lies the oppurtunity

-Albert Einstein

--

Worry doesnt empty tomorrow of its sorrow;

it empties today of its strength

--

Success seems to be largely a matter of hanging on after others have let go

--William feather

Q

Some people come into our lives and quiickly go,

Some stay for a whhile and leave footprints on our hearts

And we are never ever the same

-QuoteXite.com

Tuesday, December 6, 2011

Q

Don't expect your genius to be discovered; do what you must do because it gives you joy

-From my friends g-tak status message

Tuesday, November 29, 2011

Q

Night is a wonderful opportunity

to take rest,

to forgive,

to dream,

to smile and

to get ready for all the battle that you will forgive tomorrow night!!!

-- face book; shared by an old friend of mine

Wednesday, November 2, 2011

Sunday, October 23, 2011

Saturday, October 22, 2011

Q

When people walk away from you let them go…

your destiny is never tied to anyone who leaves you and it doesnt mean they are bad…

it only means their part of story in your life is over.

Tuesday, October 11, 2011

Q

పదుగురాడు మాట పాడిఅయ్యి వరజిల్లు,
వోక్కడాడు మాట యొక్క డెందు,
వూరుకున్నవాడిని ఊరల్ల నొప్పదు,
విశ్వదాభి రామ వినురవేమ

Thursday, October 6, 2011

Q

305884_241578579223056_237576512956596_677362_440557310_n

Q

296350_199035893501790_100001861418143_484216_470469031_n

Steve jobs passes away!! :(

"If heaven isn't white, shiny and beautifully designed, it will be now”

--Courtesy Twitter... RIP Jobs...

Why should i support the T movement?

No i wont! why? because i like andhra regions? Or because i love to see the state united? Or do i think telangana is very well developed that the jist of the moment is missing? NO. None of these!

At the core of this movement is the statement that Andhra guys are over ruling us/ Andhra is plundering our wealth/ Andhra guys are diverting our resources to them. Might be/ Might be not! I wouldnt debate on it. Recently when i came home my sister told they brought down our scluptures on tank bund. I felt so bad. I thought atleast one T guy would come forward saying they shouldn’t have done it. The incedent is very unfortunate. But to my surprise there wasnt even on such statement made. I was shocked. I felt like the complete T supports this.

This is very bad. According to me somebody doing mistake doesn’t give u the chance to do another mistake. If at all u dont agree then i would classify it as animal instinct. I somehow feel the movement is not healthy; the very base line itself.. i dont agree.. added the million march where they bring down the idols.

Wednesday, October 5, 2011

Quick from office

Today i am early to home from office (@8 pm or so); I enjoyed it so much.. may be because such occasions hardly come?? i dont know.. I saw NGC/ discovery to my hearts content.. and finally few minutes back landed on face book to check the status… I feel so happy.. i feel so relieved.

@Office, things seem chaotic.. i was assigned an assignment.. and when i question back for clarifications.. i see pple are pissedoff… so i thought i will rather leave it there.. let them really fall short of time and then i will start off with the work.. whats the fun in proactively doing when there is  nobody to appreciate it?

When ever i get some free time.. i just think.. what can i do now? i dont want to go after pple and ask for work.. can i investigate someting… do i remember something which i thought i will revisit in my past? should i surf for something??? infact this is how i discovered the google reader ( one of my fav and every day viewer).. i go around and check what others are doing/ up to…

Thats all for now… time to go to bed.. need to getup early tomorrow.. its Dusshera. Did i say this.. this time the festival is not lively.. its sad.. on one side the APSRTC is on strike.. govt already warned them they wouldnt get bonus/ they wouldnt be paid for the days they are on strike.. inspite of that they are on strike.. but why??? nobody knows! neither they comeout and declare their demands.. seems very un-healthy! State govt employees are also on strike.. and i heard they are repenting for loosing their Dushrrea bonus and 1/2 month salary.. but not sure if they are continuing on the strike.  I am not sure how this will end finally.

Q

Every one is a genius

but if u judge a fish on its ability to climb a tree,

it will live its whole life believing it is stupid

-A Einstein

Tuesday, October 4, 2011

Q

In a day when u dont come across problem –you can be sure that ur travelling in a wrong path

--swami vivekananada

Q

My road to success is always under construction

Alcohol doesnt solve ur problem, but if u think again neither does milk

Every one has a scheme of getting rich which never works untill u cheat

If at all u dont succeed, destroy all the evidence that u ever tried

Once u have bought something, u will find the same item being sold else where at a cheaper rate

You will pickup the max wrong numbers when u r in roaming

irrespective of the direction of the wind the smoke from the smoker will always follow the nonsmoker

Maintain silence, keep ur phone in Manmohan mode!!

Monday, October 3, 2011

Q

Framing is the process that truly confirms the Biblical statement: “As a man thinketh in his heart [Hebrew for mind] so is he.” If you think of your mind as a playground for ideas – it will be. If you think of it as a prison – it will be.

Sunday, October 2, 2011

Q

Silence is one of the hardest arguments to refute

Monday, September 5, 2011

Configure Apache

We can use apache to serve static resource; infact apache is meant for this. Apache can cache data so that accessing resources is very quick. Proxy pass is the best way to do this.

<VirtualHost *:80>
ServerAdmin abc@y.com
DocumentRoot /root/cacheContent
<IfModule rewrite_module>
RewriteLog logs/rewrite.log
RewriteLogLevel 3
</IfModule>

ProxyRequests off
ProxyPass /context/css/ !
ProxyPass /context/ http://10.10.11.176:8080/backendContext/
ProxyPassReverse /context/ http://10.10.11.176:8080/backendContext/

CacheEnable disk /
CacheEnable mem /

<IfModule mod_cache.c>
<IfModule mod_disk_cache.c>
CacheRoot /root/cacheContent/
CacheEnable disk /
</IfModule>
</IfModule>

</VirtualHost>

So this is how it works. When ever u get /context on this ip send it to 10.10.11.176/backendContext. When ever u have static resources dont get it from the bakendContext. So in this case it gets it from /root/cacheContext/.

Q

Some people make the world happen;
More watch the world happen;
Most wonder what happened.
Its your choice,
Which group you want to belong to.

-prasworld.com

Sunday, August 21, 2011

Q

As long as I know myself to be a coward I shall be unhappy.

L. Frank Baum (1856-1919)

A qn in facebook

How many ways I can keep 24 balls into 4 boxes, each box should atleast contain 1 ball, and the total number of balls in the boxes should be 24?
I think the ans is : 24 * 23 * 22 * 21 + (20!); any thoughts?

how did i arrive at this ans?
since its said every box should have atleast 1 ball lets first distribute 1 ball per box i.e.. the total ways of doing this is: 24C1 * 23C1 * 22C1 * 21C1

now i an left with 20 balls. so the question modifies to distributing the 20 balls among 4 boxes any number can go into any box; which is same as saying: i have 20 places distribute 20 balls and the ans is: 20!; hence the answer

Sunday, August 14, 2011

Logging queries in mysql

At times when debugging ORMs lke hibernate we may need to know what queries are actually hitting the db. MySql gives an easy way to do this. Add the below in the my.cnf file

  1. log=/var/log/mysql/general.log
  2. place the above in the section [mysqld] and
  3. restart the mysql: /etc/init.d/mysqld restart;

MYSQL: logging with out userid and pwd

at times when u import the db it may erase ur userid and pwd. When the java tries to connect to the db it throws exception that this ip is not allowed to connect to the db; in such a case use the below fix. it removes the necessity to have userid and pwd to loginto the mysql

  1. skip-grant-tables under the section [mysqld]
  2. restart the mysql: /etc/init.d/mysqld restart

be careful that u dont do this on production dbs

MySQL:Got a packet bigger than 'max_allowed_packet' bytes

This is generally the case when u try to import a database from a dump. The fix is to increase the max_allowed_packet size follow the below steps

  1. vi /etc/my.cnf
  2. add: max_allowed_packet=1G under the section [mysqld] and save the file
  3. restart the mysql: /etc/init.d/mysqld restart;
  4. it should be smooth, if at all u get a warning telling it will ignore the cnf file, then try
    1. chmod 655 /etc/my.cnf and again try to restart.

This should do.

Friday, August 12, 2011

egrep–useful linux command

 

suppose we want to search for a string “abc” in a file then we use

grep “abc” /path/to/file/file.txt

but what if u want to search for either “abc” or “xyz”? u need to grep twice. instead use egrep

egrep “abc|xyz” /path/to/file/file.txt

the best use of egrep comes in when we tail a file and want to search for a set of strings in the tail eg:

tail –f /path/to/file/file.txt | egrep “abc|xyz”

Monday, August 8, 2011

Transaction issue :: hibernate

getSession() –> the java doc says it will create a new session/ continue with the existing one based on getHibernateTemplate().setAllowCreate(…); set to true/ false.

How ever, i found the things to be diffarent. I had a 2 DAOs one executing: getHibernateTemplate().find(..); the other using getSession().createCriteria(..); They are wrapped by the same transaction interceptor. What i found is when the 2nd DAO runs the hibernate throws illegal state exception.

Why?? The getSession() always tries to crate a new session, if the setAllowCreate is set to false, then it throws illegal argument exception. Why this devaiation??? as always only god knows it.

To get the current session in 2nd DAO, i found the fix: getHibernateTemplate().getSessionFactory().getCurrentSession(); and things went off very fine.

Friday, August 5, 2011

Adding complex and & Ors in hibernate

Recently i had to do a query as:

select * from t_table where (t.a=’a’ and t.b=’b’) or (t.a=’aa’ and t.b=’bb’). One way to get over this is via HQL query… which i hate.. i wanted to do it using criterias… finally Conjunction and disjunctions came for resque. Below is the code.

Session session = getSession();
try {
Criteria crit = session.createCriteria(Table.class);
Disjunction conMerOrs = Restrictions.disjunction();
for (AB ab: ABList) {
Conjunction ands = new Conjunction();
ands.add(Restrictions.eq("a", ab.a()));
ands.add(Restrictions.eq("b", ab.b));
ors.add(ands);
}
crit = crit.add(ors);
return crit.list();
} finally {
session.close();
}



let me know if it helped

Sunday, July 24, 2011

Q

May you always have
Love to share,
Health to spare,
And friends that care.
got from a JIRA post 

Friday, July 22, 2011

Auto generating hibernate code using Eclipse (not my eclipse)

I hate using non-licensed tools. generally when it comes to code generation for Hibernate, pple tell of myeclipse; and heres the way to do it. Myeclipse usage requires licenses; so this is how pple get around it –uninstall it just before the trial expires and reinstall it again.

I hate all this crappy stuff and wanted a clean way to do it. I have used eclipse helios for this and guess it would work for other eclipse versions as well

  1. in eclipse help > install new software > give the url: http://download.jboss.org/jbosstools/updates/stable/helios/ and hibernate - http://download.jboss.org/jbosstools/updates/development
  2. say you added link 1, click on next and select all options then click on finish
  3. then redo the above for the link 2 aswell.

Now the hibernate plugin is installed. Below i tell the steps to auto genrate the code

  1. File > new > others > hibernate > new Hibgernate console configuration file
    1. select the project name, configurae a new db connection, property file, configuration files (all will take abt 1 min to complete)
  2. similarly do  File > new > others > hibernnate > new hingernate cfg.xml
  3. similarly do FIle > new others > hibernate > new reverse engineering file
    1. fill the step 1
    2. the step2 click on refresh after having selected the console configuration file in the dropdown
    3. select the table u r looking for
    4. incase ur table has foreign keys select the paret table also
    5. click on finish
  4. Inthe top bar (where u see save, print icos) u should see a new RunAs icon ( in black suffix)
    1. click on it you wil see a drop down
    2. select hibernate code generation configurations
    3. now double click on hiberante code generation (in the left tree)
    4. in the right side select consolef configuration
    5. select a temp directory, reverse engineering file we already created
    6. and say run; Bingo.. the code generation is done.

Now the qn: why did they build the plugin so complicated? why not have it a siimple one? all of it done in a wizard??? i donk know…

let me know if it helped you.

MySQL ERROR 1005 (HY000): Can't create table

Below is the table def that caused the problem:

CREATE  TABLE IF NOT EXISTS `T_ABC` (
  `id` INT NOT NULL AUTO_INCREMENT ,
  `source_col` int NOT NULL ,
  PRIMARY KEY (`id`) ,
  INDEX `fk_src_col` (`source_col` ASC) ,
  CONSTRAINT `fk_src_col`
    FOREIGN KEY (`source_col` )
    REFERENCES `parent_table` (`id` )
    ON DELETE NO ACTION
    ON UPDATE NO ACTION)
ENGINE = InnoDB;

and on execution it was giving the error ERROR 1005 (HY000): Can't create table schema.T_ABC.frm

The fix to issue is: that parent_table.id is of bigint type, while this table foreign key is only int; when i changed the source_col from int to big_int things went well.

hope this helps somebody.

Sunday, July 10, 2011

getHibernateTemplate().find() / query.list() returns list with null values

So the problem stmt is as follows

  1. The Entity primary key is mapped as composite-id in hbm files. i.e.. all columns/ multiple columns of the entity is taken as composite key. This gnerally happens when u use code generatoros. 
  2. now you say the below in criteria query
    Criteria criteria = getSession().createCriteria(CompositeKeyEntity.class);
    criteria = criteria.add(Restrictions.in("id.subKey", list));
    List<CompositeKey> list = criteria.list();



  3. The above returns a list with entities are null.

    1. why? Tracing the src code figured out that hibernate checks each of the values of primary keys. and when ever he finds one of the value as null doesn’t return the object. (org.hibernate.type.ComponentType.hydrate())
    2. This is logical as we shouldn’t have nulls in primary keys. But the problem is its not documented anywhere!

  4. so the fix: make all composite key columns as not-null; and give a default to each of the column.

 


Let me know if it helps.

Saturday, July 2, 2011

an email...

 
1) Heavy rains remind us of challenges in life.
Never ask for a lighter rain.
Just pray for a better umbrella.
 
2) When flood comes, fish eat ants & when flood recedes,
ants eat fish.Only time matters. Just hold on,
God gives opportunity to everyone!
 
3) Life is not about finding the right person,
but creating the right relationship, it is not how we care in the beginning, but how much we care till the ending.
 
4) Some people always throw stones in your path.
It depends on you what you make with them, Wall or Bridge? Remember you are the architect of your life.
 
5) Every problem has (n+1) solutions, where n is the number of solutions that you have tried and
1 is that you have not tried. That's life.
 
6) It is not important to hold all the good cards in life.
But it is important how well you play with the cards
which you hold.
 
7) Often when we lose all hope & think this is the end,
God smiles from above and says,'Relax dear, it is just a bend. Not the end. Have Faith and
have a successful life.
 
8) When you feel sad, to cheer up, just go to the mirror and say, 'Damn I am really so cute' and you will overcome your sadness.
But don't make this a habit because liars go to hell.
 
9) One of the basic differences between God and human is, God gives, gives and forgives. But human gets,
gets, gets and forgets. Be thankful in life!
 
10) Only two types of persons are happy in this world.
1st is Mad and 2nd is Child. 
Be Mad to achieve what you desire 
and 

Friday, June 17, 2011

few things

Why do we sometimes write 'etc' at the end in the exam?

 

bcoz it means...

E-End of

T-thinking

C-capacity.

-----------------------------------------

Wht is the Diff b/w

Young Age & Old Age?

*

Simple..

In Young Age

Phone Is Full Of Darlings Numbers..

In Old Age

Its Full of Doctors Numbers..!-

-----------------------------------------

How to Create d Biggest Doubt in ur Wife's Mind 4 u?

?

?

?

?

?

Just Suddenly send her SMS Saying..

"I Luv u too"

GAME OVER.!

-----------------------------------------

When do you knw ur in love?

Ans. When you start searching for the cheapest mobile plan

-----------------------------------------

 

"Why is Facebook such a hit?

It works on the principle that-

'People are more interested in others life than their own!

-----------------------------------------

A Ques Asked In A Talent Test:

If You Are Married To 1 Of The Twin Sisters, How wud You Recognize Your WIFE?

 

The Best Answer

- Why d Hell Should I recognise?

-----------------------------------------

V Pronounce 22 as TwentyTwo, 33 as Thirty Three, 44 as FortyFour, 55 as FiftyFive, Why not 11 as TentyOne?

Doubt By last bench association...

-----------------------------------------

What is the diff. between"GHAZAL" &"LECTURE"?

Every word spoken by the girlfriend is "GHAZAL"and Every word spoken by wife is "LECTURE"

-----------------------------------------

What will be the girl's name born on 1st of APRIL? Guess Guess Guess Guess

"FOOLAN DEVI..

-----------------------------------------

Why does d bride & groom xchange garlands at d time of wedding..... B'coz they say each affectionately that :

"DARLING NOW U R DEAD"...........

-----------------------------------------

What is the height of confusion? Two earth worms Playing HIDE AND SEEK in a Plate full of noodles.

-----------------------------------------

Wat is d Biggest Benefit of having a crush in d same college where u study ?

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

100% Attendence... :-P

-----------------------------------------

QUES - Where can u see mangoes? On mango trees? NO.At fruit shop? WRONG

AGAIN....Fir kaha?

ANS - Jaha jaha women go,piche piche Man(goes).

-----------------------------------------

Teacher: What Is The Differnce HIMAMI & TSUNAMI ?

Tintu: HIMAMI is Face Wash,

TSUNAMI is Total Wash.!

-----------------------------------------

Difference between Friend & Wife

U can Tell ur Friend

“U r my Best Friend”

But

 

Do u have courage tell to ur Wife

“U r my Best Wife?”

  -----------------------------------------

Wats d diff  btwn Pongal n idly? think.think..think...

U ll get a holiday for pongal but not for idly

 

Monday, June 6, 2011

Well done US

After the Abottabad incident (bin laden encounter etc) pakistan army shivered in anger.. their ministers warned india not to attempt another Abottabad with them as pakistan army is on high alert and will strike it back. Hahaha... first of all US attacked them why are they crying after India? ok lets leave it lets assume they wanted to express their anguish.

Couple of days back supposedly the next heir of BinLaden Kashmiri was killed by an operation lead by CIA (air-strike) in Pakistan. Now what did the raging pak army do? would they again cry at India?

Would India learn form these incidents? Would we ever teach them a lesson? or only exchange papers asking for the terrorists? US on the other hand had crossed all the countries, continents and are silently doing their work. I can only appreciate them for their focus. Well done US/ CIA.

Friday, April 29, 2011

Q

వేగం   పనికిరానిది 
జీవితం తిరిగిరానిది

Wednesday, April 20, 2011

Finally the Delicious plugin for Firefox 4

I dont know why yahoo didnt do this; some body created this plugin and kept it on share. Now my delicious plugin on firefox is back. You may install it from: http://support.delicious.com/forum/comments.php?DiscussionID=5691 and do text search for imopen; he gives the url from wheer u can download delicious plugin and the steps to install them

Saturday, April 16, 2011

well done!!!

Few days back my brother came home late.. when esquired he told that he was stopped by the traffic police and was fined 300 Rs. I asked him and he told the conversation btw him and the police..

Traffic police: U get the fine of 300 Rs or u can give me 100Rs and leave
Bro: I will pay 300Rs; please prepare the chalan
Police: u work for software company?
bro: Yes
Police: You software pple have toomuch of money... and dont know its value!!!

To this i was agitaged... and said "u should have said its none of ur business; prepare the chalan and thats it!" to which my brother said: "yes i could have.. but u see they are police... and he can book u in some stupid case which will take years to resolve. Why take conflict with him! so i said yes and silently paid the amount and came off!!!"

His interpretation is: "we shouldnt be taking short cuts; its very incorrect to bribe them!" to this i added "very correct;  on one hand we have pple like Anna Hazare who is on fast to stand against corruption; atleast for them we shouldnt be bribing these pple"

I remember a similar incident at Sanath nagar; It was the first day to office and i was going by my new bike. Suddenly the police stopped me. I was terrified.. I told its quite new; just 1 week old and so i cannot produce RC. That guy didnt listen; all he was telling is produce RC or pay chalan. Having no options i agreed for the chalaan... he took my llicense as surity and wrote that i didnt get my license and so am fined 300Rs. Behind the bill it was written as 100Rs if RC wasnt produced. I was agitated.. and shouted in anger at him "how can u write that my license is not there when u took it and kept in ur pockt?" By then a good amount of crowd had gathered and he silently took back the chalan and wrote the proper one. A week later i went to the police dept and payed the fine.

fix for: smooth skin

Hyderabad is a dry air area. U can dry clothes in night; even if it rained in the morning ;). I don't know if this is the reason; but since 2/ 3 years i feel my face going rough. When i move my hand over it i feel like there is a layer btw my hand and the skin;

As the first fix i went to the doctor; i dont know what all he gave.. but as long as i use the tablets the skin is fine and things come back if i stop them. My mother said nuvvuala noone (sesame seeds oil) this worked like a magic. Now every day morning i apply 1/4th spoon of oil (a thin layer) on my face and the skin is smooth all the day. The most impressive part is its all natural.

initially i tried (it was the oil my mother used during the worship)  but the skin was itching all the day.., and the skin wasn't absorbing the oil. Still i tried it for 6 months or so.. Later changed the oil brand to idayam and the magic happened. Recently i discovered that most of the oils are adulterated; esp with seesam (a glass variant). I guess this was the culprit for the itching..

Any how.. happy ending.. let me know if it helped u as well!!! till then,

Adios

Impressive...

Telugu my favorite languages, mother tongue as well. I am worried that this language may go extinct. Mainly because my state's own CM often ill treated its importance; many times at super market i often hear parents communicating with their kinds in English; more importantly using in-correct English. They them selves donot know the language, yet are eager to push it into the blood of the kids as a result the kids neither know english nor telugu fully.

TV9, NTV are one of the primary Telugu channels who use English to the extent possible; i just hate them for this. Recently Discovery started off with the Telugu version. Its so impressive, you find words that hardly have Telugu translate. This is quite impressive;

The irony is the guys u expect to use proper Telugu hardly use them; on the other hand foreigners give us the perfect language.

Time to let go things...

"You need not speak; ur work does it. Your work speaks!" I often remember this quotation from one of the managers of my early employers.

Its so difficult to let go friends; but u stand helpless 'cos things are not in ur control. Its my firm belief that: people don't say, they do. Its for us to interpret their intension seeing their work.

I had 2 very close frnds; one since BTech the other since MTech. I dont know what happened to the former.. like an aids patient he keeps himself away from us.. with a great difficulty i reached him on phone couple of times.. but some how felt like he is happy in his own world. Now the 2nd one; i dont know what happened to him... even he is gone in-different. huh!

As one of my previous posts read..'Some of us think holding on makes us strong, but sometimes it is letting go...There's no point in living with 'baggage'... 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''


See my own posts are helping me :D
Adios...

Firing season started....

I am quite un-happy with what is happening with my previous employer; its not like they are going through some financial crunch that they take such bad decisions, but more towards the attitude and in-efficiancy of the management.

From one corner they boast they are employee friendly but on the other side, for what ever reason, they simply fire pple. See the irony and in-efficiency in planning by the management: This company is going through merger and the process was initiated an year back; so at very first it self they knew there could be redundancy in head count/ roles yet they went on hiring pple like any thing... we were wondering whats happening.. news were around that we are expanding and the company is scaling to meet its future needs. Now that the merger is coming to an end they are aggressively cutting off pple; more importantly this is happening informally! let me explain: The roles are getting re-shuffled and as a result except for the few guys; all others are told abt their new role and position; i.e.. indirectly telling these few pple that they are on the edge of being fired. The more cruel part is the management hasnt officially told these guys the sad news; instead they are trying to run the company assuming these redundant guys are already fired.. and see if they can survive with it; may be they will inform them of their ill fate later.. One one side i see intelligence in planning on the other side its cruelty.

When i joined that company for many it was a dream place; but now.. no more! This principle of hire and fire is very bad towards the employee.. almost every year i see one round of firing happening... this time the big shots are the one with whom i worked in my past; and believe me they are not really bad to be fired.Its very disturbing to digest the reality; i cant do anything except to feel sorry, have a disturbed mind and get reminded that we are travelling in a Titanic ship which can give in to the ocean any time; some times because recession hit us; while some time because the ship is over loaded (but who asked u to over load? and why is this one always breaking down every year for every small ice berg in the ocean?)


Saturday, April 9, 2011

Anna Hazare: i want to be with u but....

Last week Anna Hazare was on news for the fast he adopted against the govt regarding the lok pal bill. Many supported it; netegens flooded appreciations / support; indians from china/ africa/ US etc etc fasted for a day to show their support. I felt like.. Wow! how nice! But was guilty to stand by him 'cos i remember how honest i am to the govt.

I remember taking shortcuts; producing wrong bills to escape tax; sometimes against compulsion (eg: traffic police) and some times to save money; what ever be it i had the guilty feeling when i did them but went doing.... 'cos if otherwise it may become the pain point...  'cos my frnds are doing it

Would i change? May be! I want to at-least.. though it takes a lot of effort from my side to doit. Few minutes back i saw images on FB telling Mera neta choor hai! But i think even i m a choor.

Amazing photography



Wednesday, April 6, 2011

Q

 You can tell whether a man is intelligent by his answers. But you can tell a man is wise by his questions.

The first flight journey

I am on a job hunt and as anybody else, uploaded my resume on to the job portals. I am tired of conventional way of writing resume; wanted it to be to the point, crisp hitting the bulls eye -highlighting my skills and area of expertise. Felt it should be more recruiter oriented and uploaded the changes. Bingo! got the interview call from one of the most reputed product based companies. Initially i had 3 rounds of telephonic interview and one round of programming test -very tough one though and the program give the exact results expected :D. Luckly cleared all of them and they asked me to come to Bangalore.

At first i thought of saying no; who will book the bus do 1 day journey; travel the city explore the address; bording; lodging;.. bla bla bla.. but they said they will arrange to and fro travel. Wow! i thought. They sent the air tickets by email; i only had to buy the Aero Express ticket to airport for 300Rs; thats it!

This is the first journey on flight for me. Its a big ariport with poor directions, thanks to the proactive kingfisher guys i was well guided till boarding the plane. The flight is  pretty small... looked so delicate... i think i can break it with in seconds. Looked more like a private jet converted to domestic craft. The air hostress were quite pretty, had charm but at times... some how... looked tired of their mundane job; what ever be it; it was a gud journey. Had hardly kept my foot on the road; the carrier took us to the air craft; the plane zoomed on the runway flying into the air.

With in couple of hours landed in Bangalore and then into the office. I had 3 round of interview. At first it was the developer, then his manager and then the super manager; it was increasing levels of difficulty profiling me in every possible aspect. My god the last guys the most tuff guy was super knowledgeable! Finally i was through. The HR came to discuss the job and compensation; The job was pretty good majorly on core java data structures and algos -my dream job; but the compensation is pretty bad. I was ok to forgo a good amt of my present package at hyd ... but they seem to be badly far behind... i thought for the kind of company they are tne the kind of money they mint.. salary wouldnt be an issue at all to them...,,, how ever the reality was otherwise. Disappointed i returned home;

The night journey in the flight was pretty good. The city underneath looked like a pile of glowing pearls a pile of stars on ground. The sight was so beautiful. I could see the wings of the aeroplane. They were wobbling; i was expecting them to break!!! was imagining weightless ness and the videos from discovery channel -Air crash investigations.

With in couple of hours of boarding i was home @12:30 am. Told my mother that i cleared and she was very happy; She knew this company and heard of it some million times till now.

Few minutes back i woke up and am writing the same here.

Saturday, April 2, 2011

Fix for sensitive teeth

Sensodyne/ colgate sensitive is the tooth paste we often see on TV as a cure for sensitive teeth. The add shows a person unable to take sweets/ something very cold and then the doctor comesup suggesting the toothpaste Sensodyne. Well, i dont know how far the paste would work... but i think i have a concrete solution costing very negligible on pocket.

One of my colleagues in old office suffers the same; he cannot eat excessive sweets/ take anything cold for he complains his teeth pain a lot. I advised him this solution, but u see... the free advice is mostly forgotten/ un-obeyed. So the solution goes this way; btw its an ayurvedic medicine

  • chew a spoon of Tella Nuvvulu (English:white-sesame) every day just before going to bed; keep chewing for complete 5 minutes; donot wash the mouth after this.
  • Every time i get the issue I try out the above and within 1 week the it is fixed
  • Once fixed you may stop it.
How ever i see when consumed: Carborated drinks like cool drinks -coke/ limca etc or after having a lot of pizza i see the issue coming back. Then i redo the above steps and with in 1 week by teeth are super strong.

I tried the above for one complete year when ever i have issue... didnt find a case when it want fixed within 1 week. 

Friday, April 1, 2011

finally the adios...



Yesterday was the last day at my company. I was literally lazy to get off the bed; go to office. At home spared a gud amount of time to prepare the final letter to my colleagues abt my tenure at this office. I wanted a picture which summarizes in one shot. So googled and googled and googled for an appropriate one till the eyes pained; got the above one from Calvin and hobbes - a super man who can only walk (taking pride of his attire). Emailed the stuff to my mail id trice(the same doc file) just to make sure its not blocked (sounding crazy? same feeling here!)

Finally at 11:00 that i logged in to office; was smiling all the day, didn't know why!; was literally surprised with my self! Felt so lite.. felt like on top of mountain as if I achieved something (didn't know what!) completed the formalities... last day stuff... sent the email i prepared at home; went around shaking hands with old friends, great guys.

Every person i go i had to run the same tape "today is my last day; joining the abc company; thank u ; shake hands; smile".... slowly it was getting routine and mundane when came a team lead. He is heading a  bunch of people and i am a stranger to them. He introduced me but I think they were so much immersed in work that one of them gave me a constipation look. After the introduction the look changed to 'so what? Agreed u r a super man; now go home!' Yak! what did i see! is it because i didn't shave/ did they discover i am wearing the shirt the 3rd time? Thousand questions rolled over. I said thank u and went on... One of the leads was immersed in his laptop. I felt like he is observing some mis-behaving electron travelling between the Micro Processor and RAM. This guy is a techee and such things are common with him; so i waited for his attention shook hands, ran the tape, wore the smile and left the place. By now the morning happiness had properly faded away.

To the end i once again greeted my colleague, team lead, lively person, shoook hands again, smiled again.. and headed to the exit while he came along with me; quite a warm feeling.

Thats how the 2nd job hop ended. I don't know how the next job would be.. where it would be.. what it could be... but what ever be it.. lets see how it will be. Till then

Adios/ Cheers/ Dhanyavaad/ bla bla bla

Friday, March 25, 2011

pity firefox

Firefox was/ is my fav browser. I was using it extensively 2 years after google chrome was introduced and wanted to stick to it. I love the addons -delicious/ diigo. However when my company changed something on proxy i was smoked out of firefox due to its weird certificate issue. Every time it asks u and how manyever times u permanantly add the cert it only adds it temporarily. HUH! every day morning i used to manually permanantly add them and after 6 months of this mundane rediculous exercise i moved out to google chrome. 

I keep track of new releases in FF; and keep checking if the above issue was fixed. Today i got the latest one 4.0 (not beta version); now delicious doesnt work; googled and googled and then got it working in compatibility mode; now i dont see book marks; 15 min of browsing and i see some weird issues with webpages; certificate issue is, however, still there ( i dont know who the idiot had coded to make the permanatly add cert as temporary and how firefox still keeps the bug unfixed)

I think Firefox is heading towards death. Heard that google pulled off from funding it. What ever be it.. i am deeply sorry for whats happening to it.

Thursday, March 24, 2011

Q


Dr Abdul Kalaam........
"It Is Very Easy To Defeat Someone,
But It Is Very Hard To Win Some

Shakespeare.....
"Never Play With The Feelings Of Others
Because You May Win The Game
But The Risk Is That You Will Surely Lose
The Person For A Life Time".

Napoleon........
"The world suffers a lot.
Not because of the violence of bad people,
But because of the silence of good people!"

Einstein.........
"I am thankful to all those who said NO to me
Its because of them I did it myself.."

Abraham Lincoln.........
"If friendship is your weakest point then
you are the strongest person
in the world"

Shakespeare..........
"Laughing Faces Do Not Mean That There Is
Absence Of Sorrow!
But It Means That They Have The Ability To
Deal With It".

William Arthur.........
"Opportunities Are Like Sunrises, If You
Wait Too Long You Can Miss Them".

Hitler.....
"When You Are In The Light, Everything
Follows You,
But When You Enter Into The Dark, Even
Your Own Shadow Doesn't Follow You."

Shakespeare.............
"Coin Always Makes Sound
But The Currency Notes Are Always Silent.
So When Your Value Increases
Keep Yourself Calm and Silent"

Wednesday, March 23, 2011

clever one

Email i received today here it goes..


PRESBYTERIAN:
When you rearrange the letters:
BEST IN PRAYER

ASTRONOMER:
When you rearrange the letters:
MOON STARER

DESPERATION:  
When you rearrange the letters:
A ROPE ENDS IT

THE EYES:
When you rearrange the letters:
THEY SEE

GEORGE BUSH:
When you rearrange the letters:
HE BUGS GORE

THE MORSE CODE:
When you rearrange the letters:
HERE COME DOTS

DORMITORY:
When you rearrange the letters:
DIRTY ROOM

SLOT MACHINES:
When you rearrange the letters:
CASH LOST IN ME

ANIMOSITY:
When you rearrange the letters:
IS NO AMITY

ELECTION RESULTS:
When you rearrange the letters:
LIES - LET'S RECOUNT

SNOOZE ALARMS:
When you rearrange the letters:
ALAS! NO MORE Z 'S

A DECIMAL POINT:
When you rearrange the letters:
I'M A DOT IN PLACE

THE EARTHQUAKES:
When you rearrange the letters:
THAT QUEER SHAKE

ELEVEN PLUS TWO:
When you rearrange the letters:
TWELVE PLUS ONE

AND FOR THE GRAND FINALE:

MOTHER-IN-LAW:
When you rearrange the letters:
WOMAN HITLER

Tuesday, March 22, 2011

lawyer.... :)


One afternoon a wealthy lawyer was riding in his Limousine car when he saw two men along roadside eating grass.Disturbed, he ordered his driver to stop and he got out to investigate. He asked one man "Why are you eating grass?"

"We don't have any money for food," the poor man replied. "We have to eat grass." "Well, then, you can come with me to my house and I'll feed you",the lawyer said."But sir, I have a wife and two children with me.
They are over there, under that tree". "Bring them along," the lawyer replied. Turning to the other poor man he stated, "You come with us also."
The second man, in a pitiful voice then said, "But sir, I also have a wife and SIX children with me!" "Bring them all, as well," the lawyer answered. They all entered the car, which was no easy task, even for a car as large as the Limousine was. Once underway, one of the poor fellows turned to thelawyer and said, "Sir, you are too kind. Thank you for taking all of us with you."

The lawyer replied, "Glad to do it. You'll really love my place; the grass is almost 1 metre high!"

Monday, March 21, 2011

no mustach

today i removed my mustach and am observing for feedback; I liked it as i feel little cold under the nose; My mom (this time) wasn't shocked she just smiled and left; father asked me to grow them back; @ office one of my colleague asked me to continue this way he said "when i scraped of my mustach; i looked like a chakka (50-50); but dont worry.... slowly pple will get used to it.. continue this way.. " wow! i liked it... lets see how it goes.

Wednesday, March 16, 2011

Relief from Rheumatoid Arthritis pain

One of my close relatives has Rheumathoid Arthritis and recently she developed severe pain in ankle. Its so intense that she takes abt 15 sec to take a step; its a severe muscle pain.
On Zee telugu, we happend to see the below medicine which gave her a gud relief (with in 15 min of its use). Its all natural, and so i guess there is are no sideaffects to it. So here it goes
  • Take aavalu(musturd seeds) and powder them
  • mix a small quantity of veniger till its a dry paste.
  • Apply this to the swollen/ pain areas; cover it with a thin cotton cloth.

The above results in severe burning sensation and generally she is able to keep it for not more than 1/2 hr and then cleans it off. We observed this give her good releaf. She says " i feel my foot much lighter; i am not able to run, but am atleast able to walk freely". Wow! that was a great relief to us. Let me know if u tried it and helped u.

Today (3rd day of the treatment,) she is soooo happy, says she feels quite normal (90% relief from the pain you can say). She had been trying various things since last 10 years and suddenly we see something working.. we are so happy... wanted to share the same.. may be somebody suffering may get the help. The previous treatment gave little relief (50% drop in the pain, say)

Tuesday, March 15, 2011

Q


Q

worrying doesn't solve tomorrows trouble,
it takes away today's peace.

There is no market for your sorrows in this world,
so don't advertise them


Sunday, March 13, 2011

custurd

last week i had custurd at my canteen. it was very delicious... so thought why not give a try. Today i tried it and it came orsam.. the recipe is as follows
  1. .75 liters of milk -boil it and let it cool
  2. Take custurd powder (3 spoons) dissolve it in some 100ml of milk; and then mix it with the initial milk boiled.
  3. add 4 bananas chopped; 100 mg of  kaju (60Rs; best if u add after roasting), 100 mg kismis, required amt of sugar to the milk; still well for them to mix and
  4. cool it in deep fridge and serve after 2 hrs.

Sarveswaralayamu…

Image0118

Image0116

A temple at my place.. hows it? all taken with my Nokia 2700 phone :D

Q

Few days back i happend to visit a temple.. some interesting stuff i found on its walls..

Image0088

 

Image0094

 

Image0091

quite interesting nah?

huh! one more.....

in context of my prev post; heres what went in Assembly (legislative assembly). The guy standing up and speaking is JP who (my fav leader as well) is impeccable for his character/ attitude; he resigned his IAS post disgusted with the corrupt politics of the state. So here he goes... telugu one though.



poor guys (like me) who have a bad internet connection / very less time... concisely his points are as follows


  1. In history combodia/ china almost bought a category of pple to extinct as a result of such a racial hatred. 
  2. Nannayya shined the Telugu language; Gurajada apparao -a social reformer advocated uniformity in society; now if we destroy their icons whose works are independent of regions... where is the moment going? what is it conveying?
  3. If u see the statues in the light of regions... then would we see at Mahatma in the same light? So we dont allow icons of Sir Ardhur koton? here are countries who respect India and have our icons in their public squares.so we are telling this wrong?
Finally to JP: I think u need to be breef; having liked u so much many a times i felt u need to cut on examples and reach the point.. atleast when ur point was already conveyed in ur previous stmts.

Thursday, March 10, 2011

Karma raa Babu.....

Its very bad/ undigestable of TLeaders for breaking the sculptures of Nannayya, Tikkanna, Yarrapragada, Srikrisha devaraya, Molla. What do they want to convey by this?

* * *

Sir Arthur Koton built 'Prakasam Barriage' on river Godavari saving the place from famine/ floods. Pple out there even today praise him (infact have his name in daily pooja -Sandhya vandanam). They recognize his helping hand and dont hate him as the British Monarch.

* * *

These great pple have given an image to India;Ramayana and Mahabharatha are still the top epics of the world and are known for their skill; they have given identity to Telugu pple. Shouldnt we respect them? How far is it correct to see them as Lords who plunder Telengana assets?

I was concerned till today of the TMoment and some where had a soft corner.... But now i feel 'its better give off the state... or else what else will we have to see down the time?' I am ashamed & embarrassed!!!

 

Update:: Asked to comment on police failure to save the statues, DGP K Aravinda Rao said: "We did not want to use force as it could have aggravated the situation."

Monday, March 7, 2011

Tolliwood hero..

The other day a tollywood hero was on news and a channel was telling abt a site ihateABCD.com where the site owner created some spoof images of this hero and his immediate friends. In fact the channel showed some of the images as well.. they were sooo funny...  i burst out in laughter.. It sems the hero reported and the site is closed.. 

I see somuch of hatered among people on this guy, his movies.. the kind of stupid/ foolish/ serious/ silly/ things he does which leaves the audiance in shock unable to digest them.. eg: praying the god and reversing a moving train using his meditation powers.... crawling a mountain in few minutes  to save a rabbit from an eagle... jumping from 15th floor with out paracutes landing on pillows.. etc etc...

Every time i open the net, i first search for such stuff to figure out what other pple think abt the heros.. their coments on them etc... but why? just like that! 

Sunday, March 6, 2011

The art of celebration

I have just come form a party: one of my old colleagues has his little kid turn 1 year old today and hence the occasion.

Atfirst, before starting off from home, i thought it would be more like a get together at his home and we exchange few words/ comments followed by dinner; but to my astonishment it turned out to be something else: they had this party in the communities auditorium hall, had abt 150 guests invited and it went on a grand scale; I was impressed by the amount of thought that went into it and its meticulous implementation. If  i were him, it wouldnt have been this impressive/ absorbing/ captivating/ enthusiastic.

Having said it its worth speaking a few words abt this guy: he went through a serious financial crunch an year back... though quite stable now... if i were him then i wouldnt even have dared to think of party.. forget organizing and enjoying it...

Most of the times we (to be more accurate I) are of the type... "if at all only i get that then i will be happy; if only i am able to achieve it i will celebrate/ be happy..." but here is the guy who is celebrating with what ever little he has... as some one said "The happiest people donot get the best things,  they just make best of every thing that comes their way" 


This was quite a learning to me today, I was quite impressed.

Saturday, March 5, 2011


Question. What is the definition of an inconsiderate husband?




Answer. One who wins a trip to Paris and goes by himself, twice.

Thursday, March 3, 2011

Q

A closed mouth catches no flies.

-Let me put an experience in this context: once i ran into problems with my neighbor here at office. I was severely agitated; i wanted to rebel back and protect my ego, but at the spur of the moment, as always, i went silent and started thinking of a better solution. That evening i called up my friends and one of theirs suggestion : stay calm; dont react impressed me the most. I obeyed it for the next 7 days and then felt so releived. Today somehow i remembered the incident and hence the quote. ;)

Mahaa Siva Rathri :: better give holiday!

Yesterday was Mahasivaratri. I surveyed and found only one person (out of 8) is fasting and keeping awake all the night. Today i see the cubilles empty :D and i am the first guy to be here.

Today morning i thought of coming very late under the pritixt that even i was awake; moreover i guess pple will not expect us to be here on time as well. However I was ready, as anyother day, and didnt want to stay home just to be late. Even though its the working day i think people will be only 50% productive today; then why not the company declares today a holiday? worried of the work? when things are pressing we anyhow stay late nights/ work on the weekends (so the work wouldnt really suffer)

Monday, February 28, 2011

Q

I have learned that the greater part of our misery or unhappiness is determined not by our circumstance but by our disposition.

They can conquer who believe they can!

Friday, February 25, 2011

Q

When u loose every thing, you can do anything, (read few days back on net!)

Tuesday, February 22, 2011

Bandh....

The big party wants to proove people have faith in them and so called for a bandh today and tomorrow.

The roads are all empty, i havent touched the brake at all, infact i started 15 min late and reached 15 min early to the office. Wow! I remember an incident from my childhood wherein telugu class we all said we are happy for the bandh... things are soooo smooth/ cool. To this my teacher (Somanna sir) responded: "There are many people who make their living from the public; like autorickshaw, kooli, masons, busses agents etc. They all loose their living because of this bandh. You and i are happy but their is other side of the coin aswell which we generally ignore to see." isnt it true? ofcourse it is!

While coming i could see atleast one police vehicle for every 400 meters. Atleast 6-10 constables at every vehiche waiting for instructions. As i see/ understand the most important thing is life. Here,  atleast in India a person is very important to the family and his loss cannot be filled. A lot of care is being taken by the govt/ police; I see how much they value the human life.

btw i m against bandhs/ raastha rokos. :)

Monday, February 21, 2011

Q

When life's problems seem 
overwhelming, look around and see 
what other people are coping with. 
You may consider yourself fortunate

Todays Andhra jyothi cartoon

in continuation to my previous post.. this is what i see on todays AndhraJyothi (local news paper) 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<english> See driver, dont come with me into assembly and un-necessarily dont go to jail </english>

btw: the driver who hit JP is in remind @hyderabad jail now. Why not the MLA who also did the act? i dont know...!!!

Friday, February 18, 2011

CHEEEEEEE MLAs!!

This is in the context of the behavior exibited by our leaders at Assembly.

JP is my favourite leader. I haven't heard a speach from him with a mistake/ him personally pointing at a person/ scolding a person or a grouup of persons/ what ever. I follow him very closely on the news channels and often hear appreciations to him from the common man when they make the phone calls. Some of the ideas from his party/ himself are so thought provoking and revolutionary. As the context has come let me cite some examples.

TTD had organized a meeting for ideas to clean up the 7 hills from plastic and keep it hyginic. The so called BIG political parties started poiniting mistakes.. "so and so comission had recomended something and ur govt didnt do it.. its because u dont want the place to be developed.. ur leader is at fault." Immediately the other one took over the mic and started shouting the first partys mistakes and hence they are not eligible to question them. WOW! see the logic. "You doing the mistake certifies me to do another and hence u cannot question me back". isn't it fentastic? Now JP party interrupted and said "lets not scold each other. My points are as follows. Lets make every step of Tirumala an auspicious place, may be by putting idols at various points and people will automatically get aware and stop throwing the garbage. Instead of concentrating on how to clean the garbage, lets see how we can stop it at the first place". The TTD chairman shook his head in agreement and the memebers smiled showing their acceptance.

There are many such cases i can narrate... Even on the separate state he was very clear on his stand and explained the real impact on the common man if at all the state is formed. I dont think he should be condemned for it. He is using his right to speach. 

The most disgusting thing happend yesturday: The MLAs started breaking the mics, stopping the governer from continueing, beaking the chairs, protesting openly... (Ok this is not the disgusting thing i was referring.. its generally seen around) and JP was very unhappy in the way they approached the problem and expressed his disgust to the press. After his speach one of the BIG party MLA beat him, most importantly his driver also joined in hitting JP; some BIG party MLAs encouraged them.. This is very very bad. You are stopping a person who represents people of a region from expressing himself; and an MLA who swore to go by constituion shuldnt be doing this. 

JP was very calm and nice at the interview in a news channel. In this context i express my appreciation to JP for the way he reacted and discontent to the MLA who did the unfortunate act.

Steve Jobs: May god help you

A Post read as follows

London, Feb 17 (IANS) Apple founder and CEO Steve Jobs has terminal pancreatic cancer and may live for just six more weeks, a media report said Thursday.The 55-year-old Jobs in January announced that at his request, the board of directors granted him a medical leave of absence so that he could focus on his health.Since then, employees have said Jobs can still be seen at the company's headquarters in California and is also calling all the strategic shots from his home.Now, new pictures have been published in the tabloid National Enquirer, which suggest things may be worse for the the man behind the iPod, iPhone and iPad.The report said Jobs is stricken with pancreatic cancer and may have just six weeks to live.

I wish some miracle to happen and he survives the disease.

Wednesday, February 16, 2011

cricket.. cricket.. cricket..

people are dying around cricket... yest i read some 300 cr rupees of betting is estimated around this game in india. The cricketers are actively participating in all telivision advertisements to the extent possible.. kids, youth or to be more accurate all hyderabadies are flocking onto the grounds to play cricket... all colleagues/ friends/ relatives/ news papers/ magazines/ editorials/ hard talks on TV etc etc are all talking about one game: cricket. Even CWG games (inspite of the scams around it) didnt gather somuch of fuss around... cricket is like god in India. 

It seems like we have only one game in this world.. and I fell if at all india wins the world cup this time...  it seems like nuclearbomb hit Hiroshima and nagasaki of japan. The victory will sweep off all other games and i guess for the next 1000 years it will be only cricket in our minds/ grounds/ what not. 

I remember a lesson from my 6th standard.. in which he tells if left leg/ right hand only grows... then its not seen as growth but as disease.. arent we getting into a similar scene now?

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