Pages

Saturday, July 31, 2010

Why Intelligent People Fail

1. Lack of motivation. A talent is irrelevant if a person is not motivated to use it. Motivation may be external (for example, social approval) or internal (satisfaction from a job well-done, for instance). External sources tend to be transient, while internal sources tend to produce more consistent performance.

2. Lack of impulse control. Habitual impulsiveness gets in the way of optimal performance. Some people do not bring their full intellectual resources to bear on a problem but go with the first solution that pops into their heads.

3. Lack of perserverance and perseveration. Some people give up too easily, while others are unable to stop even when the quest will clearly be fruitless.

4. Using the wrong abilities. People may not be using the right abilities for the tasks in which they are engaged.

5. Inability to translate thought into action. Some people seem buried in thought. They have good ideas but rarely seem able to do anything about them.

6. Lack of product orientation. Some people seem more concerned about the process than the result of activity.

7. Inability to complete tasks. For some people nothing ever draws to a close. Perhaps it’s fear of what they would do next or fear of becoming hopelessly enmeshed in detail.

8. Failure to initiate. Still others are unwilling or unable to initiate a project. It may be indecision or fear of commitment.

9. Fear of failure. People may not reach peak performance because they avoid the really important challenges in life.

10. Procrastination. Some people are unable to act without pressure. They may also look for little things to do in order to put off the big ones.

11. Misattribution of blame. Some people always blame themselves for even the slightest mishap. Some always blame others.

12. Excessive self-pity. Some people spend more time feeling sorry for themselves than expending the effort necessary to overcome the problem.

13. Excessive dependency. Some people expect others to do for them what they ought to be doing themselves.

14. Wallowing in personal difficulties. Some people let their personal difficulties interfere grossly with their work. During the course of life, one can expect some real joys and some real sorrows. Maintaining a proper perspective is often difficult.

15. Distractibility and lack of concentration. Even some very intelligent people have very short attention spans.

16. Spreading oneself too think or too thick. Undertaking too many activities may result in none being completed on time. Undertaking too few can also result in missed opportunities and reduced levels of accomplishment.

17. Inability to delay gratification. Some people reward themselves and are rewarded by others for finishing small tasks, while avoiding bigger tasks that would earn them larger rewards.

18. Inability to see the forest for the trees. Some people become obsessed with details and are either unwilling or unable to see or deal with the larger picture in the projects they undertake.

19. Lack of balance between critical, analytical thinking and creative, synthetic thinking. It is important for people to learn what kind of thinking is expected of them in each situation.

20. Too little or too much self-confidence. Lack of self-confidence can gnaw away at a person’s ability to get things done and become a self-fulfilling prophecy. Conversely, individuals with too much self-confidence may not know when to admit they are wrong or in need of self-improvement.

Some interesting and revealing incidents from the life of Albert Einstein

One day during a speaking tour, Albert Einstein's driver, who often sat at the back of the hall during his lectures, remarked that he could probably give the lecture himself, having heard it so many times. Sure enough, at the next stop on the tour, Einstein and the driver switched places, with Einstein sitting at the back in his driver's uniform.
Having delivered a flawless lecture, the driver was asked a difficult question by a member of the audience. "Well, the answer to that question is quite simple," he casually replied. "I bet my driver, sitting up at the back there, could answer it!"

============ ========= ========= ========= =========

Albert Einstein's wife often suggested that he dress more professionally when he headed off to work. "Why should I?" he would invariably argue. "Everyone knows me there." When the time came for Einstein to attend his first major conference, she begged him to dress up a bit. "Why should I?" said Einstein. "No one knows me there!"

============ ========= ========= ========= =========

Albert Einstein was often asked to explain the general theory of relativity. "Put your hand on a hot stove for a minute, and it seems like an hour," he once declared. "Sit with a pretty girl for an hour, and it seems like a minute. That's relativity!"

============ ========= ========= ========= =========

When Albert Einstein was working in Princeton university, one day he was going back home he forgot his home address. The driver of the cab did not recognise him. Einstein asked the driver if he knows Einstein's home. The driver said "Who does not know Einstein's address? Everyone in Princeton knows.Do you want to meet him?. Einstein replied "I am Einstein. I forgot my home address, can you take me there? "The driver reached him to his home and did not even collect his fare from him.

============ ========= ========= ========= =========

Einstein was once traveling from Princeton on a train when the conductor came down the aisle, punching the tickets of every passenger. When he came to Einstein, Einstein reached in his vest pocket. He couldn't find his ticket, so he reached in his trouser pockets. It wasn't there, so he looked in his briefcase but couldn't find it. Then he looked in the seat beside him. He still couldn't find it.

The conductor said, 'Dr. Einstein, I know who you are. We all know who you are. I'm sure you bought a ticket. Don't worry about it.'

Einstein nodded appreciatively. The conductor continued down the aisle punching tickets. As he was ready to move to the next car, he turned around and saw the great physicist down on his hands and knees looking under his seat for his ticket.

The conductor rushed back and said, 'Dr. Einstein, Dr. Einstein, don't worry, I know who you are. No problem. You don't need a ticket. I'm sure you bought one.'

Einstein looked at him and said, 'Young man, I too, know who I am. What I don't know is where I'm going.'
============ ========= ========= ========= =========

Friday, July 30, 2010

Bind Multiple IP Addresses to a Single Network Interface Card (NIC)

Requirements
RedHat Linux

This tutorial demonstrates how to bind multiple IP addresses to a single NIC. By using multiple IP's you can run a service under a specific IP while having another service under a different one (for example, have HTTP on one and SMTP on another), or create a private LAN using a local IP and have the alias hold your Internet IP (such as NAT). One of the major benefits is that you don't need a physical adapter for each IP but instead can create many virtual ones tied to a single physical card. The instructions provided apply to RedHat, Fedora, and CentOS. I'll be using LAN IP's in this example, so replace them with the ones you'll be using.
The network scripts are located in /etc/sysconfig/network-scripts/. Go into that directory.

cd /etc/sysconfig/network-scripts/


The file we're interested in is ifcfg-eth0, the interface for the Ethernet device. If you have a second Ethernet device then there would be an ifcfg-eth1 file and so on for each adapter you have installed. Let's assume we want to bind three additional IP's (192.168.1.111, 192.168.1.112, and 192.168.1.113) to the NIC. We need to create three alias files while ifcfg-eth0 maintains the primary IP address. This is how we'll set up the aliases to bind the IP addresses.

Adapter IP Address Type
-----------------------------------
eth0 192.168.1.110 Primary
eth0:0 192.168.1.111 Alias 1
eth0:1 192.168.1.112 Alias 2
eth0:2 192.168.1.113 Alias 3

The :X (where X is the interface number) is appended to the interface file name to create the alias. For each alias you create you assign a number sequentially. For this example we will create aliases for eth0. Make a copy of ifcfg-eth0 for the three aliases.

cp ifcfg-eth0 ifcfg-eth0:0
cp ifcfg-eth0 ifcfg-eth0:1
cp ifcfg-eth0 ifcfg-eth0:2


Take a look inside ifcfg-eth0 and review the contents.
more ifcfg-eth0


We're interested in only two lines (DEVICE and IPADDR). We'll rename the device in each file to its corresponding interface alias and change the IP's. We'll start with ifcfg-eth0:0. Open ifcfg-eth0:0 in vi and change the two lines so they have the new interface and IP address.

vi ifcfg-eth0:0
DEVICE=eth0:0
IPADDR=192.168.1.111
 

Save ifcfg-eth0:0 and edit the other two alias files (ifcfg-eth0:1 and ifcfg-eth0:2) so they have the new interfaces and IP addresses set (follow the table from above). Once you save all your changes you can restart the network for the changes to take effect.
service network restart


To verify all the aliases are up and running you can run ifconfig (depending on how many new IP's you set up, you can use ifconfig | more to pause the output).
ifconfig


You can also test the IP's by pinging them from a different machine. If everything is working then there should be a response back.
ping 192.168.1.111
ping 192.168.1.112
ping 192.168.1.113


Looks like everything is working like a charm. With the new IP's you can set up sites in Apache bound to a dedicated IP, anonymous FTP, and many other things.

Thursday, July 22, 2010

How to Permanently Delete a Facebook Account

Before You Start

  1. Remove Facebook Connect logins. Many sites, like Digg.com and Meetup.com, allow signup and login using Facebook Connect -- List of Facebook Connect sites (may not be complete or current.) If you have accounts on such sites, go to each of them, and:
    • Make sure you have a way to login that does not involve Facebook Connect (you will most likely have to create a username and password on the site if you haven't already.)
    • Logout of the account, then log back in using the alternate method (not using Facebook Connect), ensuring that you will be able to access the account after your Facebook account is deleted.
  2. Remove all Linked Accounts so that you won't accidentally login to Facebook.

Short Method 1

  1. Copy and paste http://www.facebook.com/help/contact.php?show_form=delete_account once you have logged on. This screen will present itself:

  2. Click "Submit" and follow instructions. There will be a simple password and a Captcha spam check to enter in. Captcha spam checks are to make sure you are the real owner of your account and not an automated program.

  3. Do not login or connect with your Facebook account. You will receive an email saying that your account will be deleted in 14 days. Any interaction with the account during that period could prevent it from being deleted, so for 14 days:
    • Do not try to login to your Facebook account; you may want to clear your browser cache and delete your cookies so that you don't login inadvertently.
    • Do not click the Facebook Share or Like button on any site you visit.
    • Do not use Facebook Connect to login to or signup on any site (see Before You Start, above.)
  4. Wait and watch. At the end of 14 days, all of your posts, comments, info, etc., will be permanently made inaccessible on Facebook.

Longer Method 2

If the short method does not work for you, here is the longer method that sets out how to get to the deletion button.
  1. Go to the bottom of the home page. Click on the "help center" (http://www.facebook.com/help/).

  2. At "help center", type in "Delete Facebook" into the search box at the top of the page. Click "Search".

  3. Arrive at the page titled "Facebook FAQs". Look down the list of FAQs and open the one called: "I want to permanently delete my account. How do I delete my account?"

  4. Read the Facebook information - it basically asks you whether you want to deactivate your account or delete it permanently. (Deactivating means that Facebook retains your profile information (friends, photos, etc.) but you have disappeared from the Facebook service.) Facebook makes it clear that if you want your information removed forever, you can never recover the information and it will be wiped for good.
  5. Click on https://ssl.facebook.com/help/contact.php?show_form=delete_account. You will be reminded that this is a permanent deletion and that your account cannot be reactivated and that none of the content or information you have added can be retrieved.

  6. Click submit. Follow the steps, such as entering your password, email, and Captcha code.

  7. Do not log in for the next 14 days and your account will be deleted completely. Note, however, that if you change your mind before the 14 days period is up, just log in and this will reactivate your account!

Emailing Facebook to delete the account

To speed up the process and if the above failed, try emailing Facebook.
  1. Email Facebook directly. The email is: privacy@facebook.com. Request that Facebook deletes your account.
  2. Wait to get an email response from Facebook confirming that your account has been permanently deleted. This should take a few days.
  3. If you don't hear back from Facebook within a week, email them again. This time, not only email Facebook at privacy@facebook.com, but also send an email to support@facebook.com and one to info@facebook.com.
  4. Finally, attempt to log in to your account once you get an email from Facebook. If you're unable to log in and don't get a message asking you to reactivate your account, your Facebook account has been permanently deleted.