Posted by: Arun | October 29, 2008

Instanceof Operator – Possible bad design

Was going through some forum posts, where i came across this interesting topic, which made me think about it. The discussion point was about whether to use ‘instanceof’ operator or not in Java.

Lets come to the point why its not advisable to use it and why your design may need a relook

From Effective C++, by Scott Meyers :

“Anytime you find yourself writing code of the form “if the object is of type T1, then do something, but if it’s of type T2, then do something else,” slap yourself.

Here is an example of the type of abuse Scott Meyers is speaking of : Read More…

Posted by: Arun | October 29, 2008

Design Patterns !!!!

Every Software Developer is very much familiar with this term “Design Pattern”. Any Graduate about to join a company is aware of design patterns, and he is taught that he should also understand it and is supposed to use it extensively. All Experienced developers keeps on advising the juniors, “you need to understand design patterns”. Well, so every one is aware of this term and newbies are the most who gets frustrated by hearing this.
The other questions never asked by a newbie, but always been in their mind from day one is “What is Design Pattern?” and  “Who do i need them?”…

I am trying to address both here and throw some light into what is a design pattern and a small introduction about it.

History

Design patterns has its history to the roots of a civil engineer, Christopher Alexander, who published a book on his wisdom of experience gained on the recurring problems and solutions existed in Construction. Being in a construction field, he noticed that the problems existed Read More…

Amazing work!!!….

The researchers from the Security and Cryptography Laboratory at Ecole Polytechnique Federale de Lausanne are able to capture keystrokes by monitoring the electromagnetic radiation of PS/2, universal serial bus, or laptop keyboards. They’ve outline four separate attack methods, some that work at a distance of as much as 65 feet from the target.

Posted by: Arun | October 14, 2008

Clever Tactics – Counter Terrorism

Originally Appeared here

One of the most interesting operations was the laundry mat [sic]. Having lost many troops and civilians to bombings, the Brits decided they needed to determine who was making the bombs and where they were being manufactured. One bright fellow recommended they operate a laundry and when asked “what the hell he was talking about,” he explained the plan and it was incorporated — to much success. Read More…

Trust

Trust

TRUST

Trust is a very important factor for all relationships. When trust is broken, it is the end of the relationship. Lack of trust leads to  suspicion, suspicion generates anger, anger causes enmity and enmity  may result in separation.

A telephone operator told me that one day she received a phone call. She answered, “Public Utilities Board.” There was silence. She repeated, “PUB.” There was still no answer. When she was going to cut off the line, she Heard a lady’s voice, “Oh, so this is PUB.Sorry, I got the number from my Husband’s pocket but I do not know whose number it is.”

Without mutual trust, just imagine what will happen to the couple if the telephone operator answered with just “hello” instead of “PUB”.

Pointing Fingers

NO POINTING FINGERS

A man asked his father-in-law, “Many people praised you for a successful marriage. Could you please share with me your secret?” The father-in-law answered in a smile, Read More…

traditional kerala food

Traditional Kerala Food

Funny title eehhhh  :-)

Last week i woke up late as usual :P   I realized it only when i saw the time in my mobile.
Oh God, today also i am late, i need to move faster. Usually i skip my breakfast and go to office, thinking that i will pick up something from near by shops in office. But usually it never happens, when i reach office, its busy schedule as usual and i forget/don’t get time, to eat.

Lately i decided never to skip breakfast, and so this time also i decided to cook. I cooked something and while i was doing the cooking i was executing parallel threads of activities also, including brushing my teeth. Finally i got ready and also cooked Read More…

Posted by: Arun | October 4, 2008

Back Pain — Bad to have !!!!!

What is Back Pain?

Back pain is one of the most common medical conditions found in the whole world. Back pain is simply a pain engulfing the human back which may come from the muscles, bones, nerves, joints or other structures in the spine. This pain may be a short one or a prolonged one depending upon the severity of the pain. This back pain may be a sharp, piercing or a burning sensation. The pain in the back may extend and radiate in the neck, arm, head, leg or foot resulting in extreme weakness or numbness. A human being mainly suffers from two types of back pains, either an acute or a chronic one. Acute pain refers to a pain occurring immediately after an injury or illness which may sometimes be Read More…

Posted by: Arun | October 1, 2008

Are Safety Cameras Really Monitored?????

I was always wondering, how its possible to monitor all the cameras through different screens. Even though i haven’t seen it in real, but have seen that in films… :P I have seen in films, a security officer sitting in a chair with a cup of coffee in his hand and monitoring at least 20 monitoring screens (relatively small), images are streamed from places where security cameras are installed. I can understand that its pretty difficult. Its possible when we talk about an office premise, where movement of public is less. But what about a public place Read More…

Posted by: Arun | September 30, 2008

How Secure is your Security Question?

Posted by: Arun | September 18, 2008

Why Start Ups are not Start up by Starters !!!!!

I have not seen young people taking the initiative to start up new companies.. Including me, i feel young people don’t have the daring to have a start up and take the calculated risk. Thinking along the lines, what could be the reason for this……I am able to list down some of them:

Co-Founder

Are we able to find good partners to start a new firm. Are our friends also having the same level of thinking as we do. Frequency matches or not. I doubt so, most of us have the habit to settle down in life, get a job in a service sector industry and get monthly salary debited into your account, every first week of the month. Of course, it will give you the peace of mind you need. But is it what which is Read More…

Older Posts »

Categories

Follow

Get every new post delivered to your Inbox.