Unraveling Life's Mysteries...

Posted by The Modern Buddha , Tuesday, October 11 19:08

As I sat on an easy-chair staring at the sky from the porch on a lazy evening, a string of new thought process set into motion in my grey cells...
I ponder upon the words "Life moves on...no matter what", "what the heck does it even mean?". A voice inside my head answered " Life moves on...no matter what...no matter who dies or who is born...no matter who does what...there is only one direction where life and time move and that is FORWARD". "So, depressing to hear it", I thought. "Is this the truth. So, there is no purpose to life, eh?". Again the voice " No. You Idiot. Can't you think straight? The purpose of LIFE is LIFE itself. To Live it out." I thought "Uh! OK....Whatever that meant...."
Silence For sometime as I ponder about this.....
I recalled a story of a wise man who once said to a disciple seeking the same question "The purpose of life is to observe all the wonders while still carrying a spoon filled with oil without spilling it." This really had an impression on me....What kind i don't know but it sure did. The voice "Silent for so long? What is it that's on your mind?" I ask "Why then is Life for? What purpose does it serve to the one who created it?" The voice "Hey hey kiddo!! Slow down. You move too fast....Two questions and you are already upon the Creator of Life!! Phew!!"."He he" I laughed, "I take it as a compliment then." The Voice said then, " Lemme ask you a question now." I am all excited now, "Shoot right away!!". It said "If you cook something with all your heart and soul, would you not want to test it to see how well it's been?" I said "Well, Yes!" The Voice "Then there's the answer to your question. The Great Lord created LIFE and wanted to know how well he had done. So he tests us." I thought "Ohhk!! Give me a Break!! Weird! Huh!" "But, Somehow this answer seems to be right in a way, as I have nothing to contradict it." I sighed. 

"I think God made the sky blue in order to give hope and peace to those who seek it. All one has to do is look up". And pondering upon all these I sign-out. See ya later!!



P.S : By the way Blue is color associated with hope and peace since times unknown. Science says that Blue color is the most effective in calming nerves.

Google Chrome : A multi-process Architecture

Posted by The Modern Buddha , Monday, August 15 19:26

Unlike most current web browsers, Google Chrome uses many operating system processes to keep web sites separate from each other and from the rest of your computer.  In this blog post, I'll explain why using a multi-process architecture can be a big win for browsers on today's web.  I'll also talk about which parts of the browser belong in each process and in which situations Google Chrome creates new processes.

1. Why use multiple processes in a browser?

In the days when most current browsers were designed, web pages were simple and had little or no active code in them.  It made sense for the browser to render all the pages you visited in the same process, to keep resource usage low.

Today, however, we've seen a major shift towards active web content, ranging from pages with lots of JavaScript and Flash to full-blown "web apps" like Gmail.  Large parts of these apps run inside the browser, just like normal applications run on an operating system.  Just like an operating system, the browser must keep these apps separate from each other.

On top of this, the parts of the browser that render HTML, JavaScript, and CSS have become extraordinarily complex over time.  These rendering engines frequently have bugs as they continue to evolve, and some of these bugs may cause the rendering engine to occasionally crash.  Also, rendering engines routinely face untrusted and even malicious code from the web, which may try to exploit these bugs to install malware on your computer.

In this world, browsers that put everything in one process face real challenges for robustness, responsiveness, and security.  If one web app causes a crash in the rendering engine, it will take the rest of the browser with it, including any other web apps that are open.  Web apps often have to compete with each other for CPU time on a single thread, sometimes causing the entire browser to become unresponsive.  Security is also a concern, because a web page that exploits a vulnerability in the rendering engine can often take over your entire computer.

It doesn't have to be this way, though.  Web apps are designed to be run independently of each other in your browser, and they could be run in parallel.  They don't need much access to your disk or devices, either.  The security policy used throughout the web ensures this, so that you can visit most web pages without worrying about your data or your computer's safety.  This means that it's possible to more completely isolate web apps from each other in the browser without breaking them.  The same is true of browser plug-ins like Flash, which are loosely coupled with the browser and can be separated from it without much trouble.

Google Chrome takes advantage of these properties and puts web apps and plug-ins in separate processes from the browser itself.  This means that a rendering engine crash in one web app won't affect the browser or other web apps.  It means the OS can run web apps in parallel to increase their responsiveness, and it means the browser itself won't lock up if a particular web app or plug-in stops responding.  It also means we can run the rendering engine processes in a restrictive sandbox that helps limit the damage if an exploit does occur.

Interestingly, using multiple processes means Google Chrome can have its own Task Manager (shown below), which you can get to by right clicking on the browser's title bar.  This Task Manager lets you track resource usage for each web app and plug-in, rather than for the entire browser.  It also lets you kill any web apps or plug-ins that have stopped responding, without having to restart the entire browser.


For all of these reasons, Google Chrome's multi-process architecture can help it be more robust, responsive, and secure than single process browsers.

2. What goes in each process?

Google Chrome creates three different types of processes: browser, renderers, and plug-ins.

Browser.  There's only one browser process, which manages the tabs, windows, and "chrome" of the browser.  This process also handles all interactions with the disk, network, user input, and display, but it makes no attempt to parse or render any content from the web.

Renderers.  The browser process creates many renderer processes, each responsible for rendering web pages.  The renderer processes contain all the complex logic for handling HTML, JavaScript, CSS, images, and so on.  We achieve this using the open source WebKit rendering engine, which is also used by Apple's Safari web browser.  Each renderer process is run in a sandbox, which means it has almost no direct access to your disk, network, or display.  All interactions with web apps, including user input events and screen painting, must go through the browser process.  This lets the browser process monitor the renderers for suspicious activity, killing them if it suspects an exploit has occurred.

Plug-ins.  The browser process also creates one process for each type of plug-in that is in use, such as Flash, Quicktime, or Adobe Reader.  These processes just contain the plug-ins themselves, along with some glue code to let them interact with the browser and renderers.

3. When should the browser create processes?

Once Google Chrome has created its browser process, it will generally create one renderer process for each instance of a web site you visit.  This approach aims to keep pages from different web sites isolated from each other.

You can think of this as using a different process for each tab in the browser, but allowing two tabs to share a process if they are related to each other and are showing the same site.  For example, if one tab opens another tab using JavaScript, or if you open a link to the same site in a new tab, the tabs will share a renderer process.  This lets the pages in these tabs communicate via JavaScript and share cached objects.  Conversely, if you type the URL of a different site into the location bar of a tab,  a new renderer process is swapped for the tab.

Compatibility with existing web pages is important.  For this reason, a web site is defined as a registered domain name, like google.com or bbc.co.uk.  This means sub-domains like mail.google.com and maps.google.com areconsidered as part of the same site.  This is necessary because there are cases where tabs from different sub-domains may try to communicate with each other via JavaScript, so they are kept  in the same renderer process.

There are a few caveats to this basic approach, however.  Your computer would start to slow down if it created too many processes, so a limit is placed on the number of renderer processes that are created (20 in most cases).  Once this limit is hit, chrome will start re-using the existing renderer processes for new tabs.  Thus, it's possible that the same renderer process could be used for more than one web site. Chrome doesn't yet put cross-site frames in their own processes, and don't yet swap a tab's renderer process for all types of cross-site navigations.  So far, they only swap a tab's process for navigations via the browser's "chrome," like the location bar or bookmarks.  Despite these caveats, Google Chrome will generally keep instances of different web sites isolated from each other in common usage.

For each type of plug-in, Google Chrome will create a plug-in process when you first visit a page that uses it. A short time after you close all pages using a particular plug-in, chrome will destroy its process.

 So, Folks enjoy the chrome's unique architecture that gives a rich user experience and boosts performance in todays web.

Samsung placement paper

Posted by The Modern Buddha , Tuesday, August 2 19:28

Dated : 1st of August,2011.

There were two rounds - 1)a 30 min Technical paper based on C and C++ with 16 ques
2)a 60 min Aptitude paper with 2 sections(Logical Reasoning and Quantitative aptitude) with 50 ques.

1st round(Technical paper) :

1. If integer needs two bytes of storage, then maximum value of an unsigned integer is

a. 2^16-1

b. 2^15-1

c. 2^16

d. 2^15

2. If integer needs two bytes of storage, then maximum value of a signed integer is

a. 2^16-1

b. 2^15-1

c. 2^16

d. 2^15

3. What is the output of

printf (“%d”, printf(“tim”) );



a. results in a syntax error

b. outputs tim3

c. outputs garbage

d. prints tim and terminates abruptly



4. Length of string “correct” is

a.7

b.8

c.6

d. implementation dependant



5. Consider the following program fragment

char c= ‘a’;
while(c++ <= ‘z’)
putchar(xxx);

If the required output is abcd…wxyz, then xxx should be 
a. c 
b. c++ 
c. c-1 
d. --c 

6. Consider the function
find(int x, int y) 
return ((x< y ?0:x )?>;
}

The call find (a, find (a, b) ) can be used to find

a. maximum of a, b

b. positive difference of a, b

c. sum of a, b

d. minimum of a, b

7. If abc is the input, then the following program fragment

char x, y, z;
printf(“%d”,scanf(“%c%c%c”, &x, &y, &z));
results in

a. a syntax error

b. a fatal error

c. segmentation violation

d. printing of 3



8. Consider the statements

putchar(getchar());
putchar(getchar());
If ab is the input, the output will be


a.an error message

b. this can’t be input

c. ab

d. a b



9. The operators  ., ||, <, = if arranged in the ascending order of 
a. . , || , < , = 
b. =, < , || ,
c. =, || , <, . 
d. <, || , = , .
 
10. In the following program fragment 
unsigned i=-1;
int j = -4 printf(“%u”, i+j); 
prints 
a. garbage 
b. -3 
c. an integer that changes from machine to machine 
d. none of the above 

11. The following program fragment 
for( i=3; i<15;i+=3); 
printf(“%d”,i); 
results in 
a. a syntax error 
b. an execution error 
c. printing of 12 
d. printing of 15 

12. The following description of the program, please pick the wrong one? 
int main(void) 
int i= 100; 
int*pi=&i; 
int**dpi = π 
a. dpi to store a pointer with the address for pi is a double pointer 
b. (*pi==i) is true. 
c. (*pi== **dpi)is true. 
d. (*dpi == 100) is true 

13. Below, please find the results for the program do? 
int counter = 0, i; 
for(i=0;;i++) 
{
if (i < 100) continue; 
counter ++; 
if (counter == 100) break; 
}
printf(%d%d”,i, counter);

a.199 100 
b. 200 100 
c. 199 99 
d. 200 0  

14. See below for a description of the defined array, please choose the
wrong thing ?

int a [] = {10,20,30,40};

a. successive one-dimensional array of elements in the array a[1], a[2] is located in the contiguous memory space.

b. a[1] and a* (a+1) is the same.

c. During the initialization of an array; array size must be specified
otherwise the initial value at compile error occurs

d. & a[1] which has a +1 value, such as the address

Terrorist Attacks, Yet Again

Posted by The Modern Buddha , Friday, July 15 20:55

13, 26, 11, 7 ........ What is it with these 'numbered days' that prompt an unusual amount of violence on innocent civilians by 'Terrorists' in the form of blasts etc. Why do cities with a history and residing in shadow of blasts targeted again and again? What can be proved by such acts of violence? Can these ever be stopped? How many more are to be hurt before someone puts a stop to all these? Is the city I am residing in safe?.....


These are the questions that most of us ask ourselves perhaps sitting in front of TV watching the news channels flash images from the blast sites. We feel better, maybe a little terrible, A lot of pity for the injured and families of the dead, maybe even anger on the people responsible for such acts of terrorism. Then 2 days, or maybe even 3, after that we go about our own way. What does The Govt do. The PM and some ministers visit the affected site and people involved, offer assistance and help, give a long speech on making sure that people responsible are punished etc.


That all folks that happens......but still there's no end to such events happening and such people being punished. Even though we see osama being killed, Saddam Hussein being hanged and Ajmal kasab being locked up......the veil of terrorism hangs low above our heads, any day and anytime.

Hyderabad : GHMC orders a total plastic ban

Posted by The Modern Buddha , Tuesday, July 12 19:53

Finally the much awaited ban - the ban on plastic.
It happened here, in the 5th largest metropolitan city w.e.f the month of July has been a big surprise to me. I have always been a supporter for this cause but truthfully i haven't seen many people who r sensible to this issue and to speak the truth much less the government. But i was shocked when yesterday i visited a bakery and asked him to pack a pastry and instead of the regular plastic cover he wrapped the pastry in a paper plate and gave it to me. I asked him the reason and he said that the govt has banned the sale of plastics weighing more than 40 microns ( yeah, i thought,  whatever that meant). He further added that if i wanted a polythene cover i should pay 2 rupees extra. (Damn!!!). I just cursed the guy and went my way.

But only today morning did i realize the burden of what he said. I visited the Reliance mall today and brought a couple of grocery things and when i went to the counter to pay for my things, i was told by the sales-girl there to fetch my own bag from the next time and since this was my first time I would be given a paper bag. Gosh, i thought, "this is serious".

50 Interesting Facts About Pi

Posted by The Modern Buddha , Sunday, July 10 19:07

  1. Pi is the most recognized mathematical constant in the world. Scholars often consider Pi the most important and intriguing number in all of mathematics.
  2. In the Star Trek episode “Wolf in the Fold,” Spock foils the evil computer by commanding it to “compute to last digit the value of pi.”
  3. Comedian John Evans once quipped: “What do you get if you divide the circumference of a jack-o'-lantern by its diameter? Pumpkin π.”
  4. Scientists in Carl Sagan’s novel Contact are able to unravel enough of pi to find hidden messages from the creators of the human race, allowing humans to access deeper levels of universal awareness.

50 Interesting . . . Facebook Facts

Posted by The Modern Buddha , Friday, July 8 14:08

  1. Facebook has over 350 million active users. More than 35 million users update their status each day, with more than 55 million status updates each day.
  2. More than 2.5 billion pictures are uploaded to Facebook each month.
  3. The average Facebook user has 130 friends and sends eight friend requests per month.
  4. Among children under 18, Facebook was ranked third in the top 100 searches of 2009, behind YouTube and Google.
  5. A recent survey of 500 top colleges found that 10% of admissions officers acknowledged looking at social networking sites such as Facebook to evaluate applicants. Thirty-eight percent of admissions officers said that what they saw negatively affected the applicant. 

Why Google+ is going to be a huge hit with the GenY

Posted by The Modern Buddha , Tuesday, July 5 20:26

Long After a series of failed attempts at social networking, Google may hit the web with Google+, its answer to the popular social networking site Facebook. Read further on to know why and how it could have a major impact on the future of the Web and the our look on social networking.

Google had always wanted social networking to work, and this time, it may just work.
Google’s previous attempts at creating social networking websites have been disasters. Open Social failed because Google couldn’t get Facebook and other social networks to buy into the idea of a shared social identity. Orkut has not been a hit with the current generation either. Google Wave was not being useful enough to attract any users. Google Buzz freaked people out by naively overstepping its bounds on privacy. and now its google+. Right from the name it seems on its way to be the new social rage.
when Google unveiled its latest social experiment last week — called Google+— I was extremely skeptical. Still, Facebook is so malignant in terms of privacy and such a mess to use and configure that I was inclined to give Google+ a try. I just expected that it would be a speed-dating relationship like most of the other social networking sites(which do not possess the fate of Facebook) and destined to last no more than a few weeks that at the most that too with the self-created hype. But I was proved wrong.

Google Blogger - Print your Blog. Save your Blog. Love your Blog Book.

Posted by The Modern Buddha , Sunday, June 19 16:09

Google Blogger - Print your Blog. Save your Blog. Love your Blog Book. - This feature is in association with the blogger which lets you have a hard copy of your blog with interactive colors.

You are also given the option of choosing the cover, Illustrative Images, the number and order that the posts should appear in and the comments too!!!
This handy feature now enables you to sit back and enjoy your blog as a personalized diary all in as cheap as 11 $ to start with.

Change Your Dual-Booting PC’s Default OS

Posted by The Modern Buddha , Tuesday, June 14 20:48

Many of you might have dual OS installed in your PC.So the default or first entry is Ubuntu.
If you have Ubuntu and windows installed then the Ubuntu bootloader called GRUB supercedes the windows bootloader.  If you want to change the default entry to windows or some other OS then follow any of the following two ways :

How to create shortcut for god-mode in windows 7

Posted by The Modern Buddha , Sunday, June 12 19:21

A trick that lets you get access to all of the operating system's controls in one folder :


Step1 : click on desktop and select new -> shortcut


Step2 : In the dialog box that appears enter the following string as location


explorer shell:::{ED7BA470-8E54-465E-825C-99712043E01C}


Step3 : Click on next and you can name it as god mode or any name you like and click on finish.


Now you can double click the shortcut and you will see all the OS controls in one place.No more need to go on searching for controls everywhere.


You can also change the icon by right-clicking on the icon -> properties -> shortcut -> change icon -> select the icon you want.

How to lock back a bitlocker encrypted drive

Posted by The Modern Buddha , Wednesday, June 8 22:33

How to lock the bitlocker encrypted drive (once after unlocking) without restarting the system :


If you've turned on Bitlocker encryption for a drive and unlocked it and done your work, but you want to re-lock it.perform the following steps to add an entry to the right-click context menu which re-locks the drive.

How to enable administrator account in windows vista/7

Posted by The Modern Buddha , 22:14

There are 3 different Ways to enable the built-in Windows vista/7 Administrator account :


In Windows Vista/7, when you install the operating system, you are asked to enter a user name which will be the primary local user that will use that system.


Like in Windows Vista/7 the built-in Administrator's account is disabled by default and is not associated with a password. Read Further to know just how?

You and Google

Posted by The Modern Buddha , Tuesday, May 17 20:16

If you are a frequent user of google then this might seem interesting to you. Have you ever wondered what other mind-blowing services google offers apart from the ever popular search engine(Google Search) and mail service(Gmail). There are a lot of firms and consultants making a lot of money on the web, solely on the business of helping people shape their Google search results. For corporations, brands, and causes, the Google ranking is a kind of web stock price, with just as much obsessive energy invested. For your own name, though, Google has released a few tools to help you monitor where and how your name shows up in a search ranking.
To get to “Me on the Web,” head into your Google Dashboard , then look down to the second section, below the basic “Account” details. You’ll see on the left the links already accounted for in your Google Profile - which might be there, even if you haven’t formally edited a Google Profile. On the right, Google has provided some links to help you through the creation and maintaining of a web identity.

So Adios Folks till the next time!!!

Interesting Facts About India

Posted by The Modern Buddha , Tuesday, May 10 10:29

  1. India is about 1/3 the size of the United States, yet it is the second most populous country in the world, with a population of 1,166,079,217. India is the seventh largest country in the world, at 1.27 million square miles.
  2. India is the largest democracy in the world.
  3. The Kumbh Mela (or Grand Pitcher Festival) is a huge Hindu religious festival that takes place in India every 12 years. In 2001, 60 million people attended, breaking the record for the world’s biggest gathering. The mass of people was photographed from space by a satellite.
  4. India’s pastoral communities are largely dependent on dairy and have made India the largest milk-producing country in the world.
  5. To avoid polluting the elements (fire, earth, water, air), followers of Zoroastrianism in India don’t bury their dead, but instead leave bodies in buildings called “Towers of Silence” for the vultures to pick clean. After the bones dry, they are swept into a central well. 

Top 10 Google products

Posted by The Modern Buddha , Thursday, March 17 15:35

As you might have discovered by now that i am a self-proclaimed huge fan of google and the services it offers. So to those out there like me i am back with this post about google and the top 10 services it offers :
  1. Google Chrome : the most advertised Google product, is a browser that is very basic without any complex add-ons and features and impressed users with its speed and simplicity. Today google keeps on updating chrome with the latest security patches and updates.
  2. Google Search : has a new advanced search page and it detects the date when a page has been published, it's more comprehensive by indexing previously inaccessible pages, Flash files and scanned documents.
    Google Suggest has been enabled by default, the SearchWiki experiment is now live and the snippets are more useful for discussion boards and scientific papers.
    Also the google image and book search has shown considerable development.
    Also there is the new feature Google Instant Search which searches the moment you begin typing in the search field. Now you do not even need to press enter for searching.
  3. Gmail : Google launched Gmail which has most of the new features as Labs experiments and there are plenty of useful additions: from task management, sending SMS, to viewing Google Calendar agenda and customizing keyboard shortcuts.
    Gmail also supports voice and video chat upon installing a plug-in.
    Also you can choose from a number of themes provided by gmail for your account. Themes make your inbox more personal and more distinctive.
    Also the new thing in gmail that establishes its uniqueness among various mail services providers are its spam check, reply mail attached to the mail thread, simple chat component,about 8 gb storage space,fast file uploader and labels for ease of division of your mails.

What is Android ?

Posted by The Modern Buddha , Monday, February 28 22:05

Android, android, android..... We here it everywhere these days. They have even got jobs for people specialised in this technology - well one important reason why you should know about it.
About 7 years ago it was the name of a character in one of the cartoon shows that i and my brother used to like and watch avidly and which my mom despised. Nowadays, however, it refers to an OS widely used in the new generation cell-phones.
One of the most used gadget or device these days is a Mobile phone. Almost everybody has it and it has become an integral part of our everyday life. Earlier it was only used for communication. Little while later, small applications like calendars, calculators etc were added to provide additional functionality or rather make life easier. Nowadays we want almost everything to be done by our handset. We are tired of carrying the bulky laptops and netbooks for our everyday activities. Be it Web browsing, File sharing, Uploading, Downloading, Social networking etc - just name it and the Gen-'Y' mobiles have about everything we can dream of. So, how is it possible, with such a small device such as our handset that such rich user apps are supported. The answer is the old one - OS. 

Disclaimer - There's gonna be more jargon further!!

One of the most widely used OS for smart-phones nowadays is "Android". So more about Android now  :

The PRESENT

Posted by The Modern Buddha , Saturday, January 29 18:08

Imagine there is a bank that credits your account each morning with $86,400. It carries over no balance from day to day. Every evening deletes whatever part of the balance you failed to use during the day. What would you do? Draw out every cent? Of course !
Each of us has such a bank. Its name is TIME. Every morning, it credits you with 86,400 seconds. Every night it writes off, as lost, whatever of this you have failed to invest to good purpose.
It carries over no balance. It allows no overdraft. Each day it opens a new account for you. Each night it burns the remains of the day. If you fail to use the day's deposits, the loss is yours. There is no going back. There is no drawing against the "tomorrow".
You must live in the present on today's deposits. Invest it so as to get from it the utmost in health, happiness, and success! The clock is running. Make the most of today.

Truckload of dung

Posted by The Modern Buddha , Saturday, January 22 21:07

UNPLEASANT THINGS, like becoming last in our class, happen in life. They happen to everyone. The only difference between a happy person and one who gets depressed is how they respond to disasters.
Imagine you have just had a wonderful afternoon at the beach with a friend. When you return home, you find a huge truckload of dung has been dumped right in front of your door. There are three things to know about this truckload of dung :
1. You did not order it. It's not your fault.
2. You're stuck with it. No one saw who dumped it, so you cannot call anyone to take it away.
3. It is filthy and offensive, and its stench fills your whole house. It is almost impossible to endure.
In this metaphor, the truckload of dung in front of the house stands for the traumatic experiences that are dumped on us in life.
As with the truckload of dung, there are three things to know about tragedy in our life :
1. We did not order it. We say 'Why me?'
2. We're stuck with it. No one, not even our best friends, can take it away (though they may try).
3. It is so awful, such a destroyer of our happiness, and its pain fills our whole life. It is almost impossible to endure.

The blind gal

Posted by The Modern Buddha , Saturday, January 15 17:17

Once upon a time, there was a blind girl who hated herself just because she’s blind. She hated everyone, except her loving boyfriend. He was always there for her. She said that if she could only see the world, she would marry her boyfriend.
One day, someone donated a pair of eyes to her and then she can see everything, including her boyfriend. Her boyfriend asked her, "now that you can see the world, will you marry me?" The girl was shocked when she saw that her boyfriend is blind too, and refused to marry him. Her boyfriend walked away in tears, and later wrote a letter to her saying:
“Just take care of my eyes dear.”
This is how human brain changes when the status changed. Only few remember what life was before, and who’s always been there even in the most painful situations.

Important things in your life

Posted by The Modern Buddha , Saturday, January 8 20:05

Set your priorities first

A philosophy professor stood before his class with some items on the table in front of him. When the class began, wordlessly he picked up a very large and empty mayonnaise jar and proceeded to fill it with rocks, about 2 inches in diameter.

He then asked the students if the jar was full. They agreed that it was.

So the professor then picked up a box of pebbles and poured them into the jar. He shook the jar lightly. The pebbles, of course, rolled into the open areas between the rocks.

He then asked the students again if the jar was full. They agreed it was.

The Scorpion and the frog

Posted by The Modern Buddha , Saturday, January 1 19:55

One's Basic nature can hardly be changed :

One day, a scorpion looked around at the mountain where he lived and decided that he wanted a change. So he set out on a journey through the forests and hills. He climbed over rocks and under vines and kept going until he reached a river. The river was wide and swift, and the scorpion stopped to reconsider the situation. He couldn't see any way across. So he ran upriver and then checked downriver, all the while thinking that he might have to turn back.
Suddenly, he saw a frog sitting in the rushes by the bank of the stream on the other side of the river. He decided to ask the frog for help getting across the stream.
"Hellooo Mr. Frog!" called the scorpion across the water, "Would you be so kind as to give me a ride on your back across the river?"
"Well now, Mr. Scorpion! How do I know that if I try to help you, you wont try to kill me?" asked the frog hesitantly.
"Because," the scorpion replied, "If I try to kill you, then I would die too, for you see I cannot swim!"