Jeff Bezos: 3 questions to ask interviewers after interview for effective hiring

20 years ago to ensure that Amazon would retain high standards as it grew, Jeff Bezos outlined a simple, three-question test for hiring new employees in his 1998 letter to shareholders, a year after the online bookseller went public.
“It would be impossible to produce results in an environment as dynamic as the Internet without extraordinary people,” Bezos wrote of Amazon’s workforce, which in three years had ballooned to 2,100 people. “Setting the bar high in our approach to hiring has been, and will continue to be, the single most important element of’s success.”
The three crucial questions are:
1. “Will you admire this person?”
First, Bezos encourages Amazon recruiters to think about their personal opinion of the candidate.
“I’ve always tried hard to work only with people I admire, and I encourage folks here to be just as demanding,” Bezos writes. “If you think about the people you’ve admired in your life, they are probably people you’ve been able to learn from or take an example from.”
Facebook CEO Mark Zuckerberg also advocates for hiring people whom you respect. “I always tell people that you should only hire people to be on your team if you would work for them”.
2. “Will this person raise the average level of effectiveness of the group they’re entering?”
With this question, Bezos is aiming to get a sense of a person’s capacity for innovation.
“We want to fight entropy,” Bezos writes in the 1998 shareholder letter. “The bar has to continuously go up. I ask people to visualize the company 5 years from now. At that point, each of us should look around and say, ‘The standards are so high now — boy, I’m glad I got in when I did!'”
“Leaders have relentlessly high standards,” according to Amazon’s statement of its 14 driving principles. “Many people may think these standards are unreasonably high. Leaders are continually raising the bar and drive their teams to deliver high quality products, services and processes.”
To ensure that it is hiring the best and brightest, Amazon even appoints a group of its current employees as “bar raisers.” On top of their day jobs in various sectors of the company, these employees are tasked with providing additional perspective on new hires around culture fit and talent.
3. “Along what dimension might this person be a superstar?”
It’s equally important to consider a candidate’s individual talents, according to Bezos.
“Many people have unique skills, interests, and perspectives that enrich the work environment for all of us. It’s often something that’s not even related to their jobs,” he writes in the 1998 letter, citing at the time his excitement about having hired a National Spelling Bee champion.
Bringing a unique perspective to work is another of Amazon’s 14 principles. “Leaders create and communicate a bold direction that inspires results,” according to the company. “They think differently and look around corners for ways to serve customers.”
Source: CNBC

How to Easily Configure WiFi in Raspberry Pi

Any version of Raspberry Pi can be very easily configured with WiFi access. Coupled with ssh or vnc, it allows you to manage your Pi remotely. Here is the simplest way I could think of, illustrated by a screenshot and detailed below.
Once your Raspberry Pi boots up, you will get to this shiny screen. Now open a Terminal by clicking on the black square icon on top-left of the screen.Screenshot from 2017-01-04 11-29-18
This opens a Terminal where you type in:
sudo leafpad /etc/network/interfaces
This opens up a notepad-like editor. Make three changes to the text as shown in the highlighted section:

  1. Change manual to dhcp in the line starting with “iface wlan0”
  2. Replace wifi_id with the Wireless Access ID / SSID
  3. Replace password with your actual password for Wireless Access

Now save it (Ctrl-S) like notepad and exit it. The terminal should still remain open.
Now either reboot the Pi or restart the network with the following command on Terminal (don’t forget to press <Enter> after you typed):
sudo service networking restart
Wait for a few minutes for the WiFi to come up. On latest Raspbian with PIXEL, you can verify by seeing the two blue arrows in opposite direction, as can be seen from the screenshot.

Steps to secure and protect your Skype account from Hacking

Skype accounts are being hacked since at least August last year. Breached Skype accounts are used to send thousands of spam messages before they’re locked by Microsoft. The owners then have to regain access and that is when most find out about it. Skype has fallen victim to similar attacks before, and hackers were able to spoof messages on the system in 2015 after using lists of stolen usernames and passwords to gain access to accounts.
This wave of attack appears to be growing in size, and Skype users who opted for Microsoft’s two-factor security are also vulnerable. Microsoft offers the ability to link a Skype and Microsoft Account together to make sign-in and security easier. It turns out that Microsoft keeps your original Skype account password separate so that it can still be used to access the service with a Skype username. If that password isn’t secure then hackers can use it to gain access to your Skype account, bypassing any two-factor authentication provided by Microsoft. Essentially Microsoft has left a backdoor open to their vaunted two-factor security! It can be safely assumed that the new wave of attack is dictionary based and Skype / Microsoft allows unlimited login tries at some entry point.
The solution, in brief, is to switch to Microsoft’s two-factor security and then disable access by old method.
1. Update your Skype account to a Microsoft account:

  • Go to, if you’re already signed in, sign out.
  • Enter your Skype name and password when prompted and then select
  • Sign in.
  • If your Skype account is not updated already, you will be notified to update your account.
  • Select Next to continue.
  • You will be asked to add an email to your account, and verify that email.
  • Congrats, your Skype account is also a Microsoft account.

2. Ensure that your Accounts are fully merged:

  • Go to, if you’re already signed in, sign out.
  • Enter your Skype name, not your Microsoft Account email address, and use your Skype password to sign-in
  • If you’ve linked your Microsoft Account previously, you’ll be prompted to sign-in and merge the accounts to create a Skype alias

3. Disable Skype alias:
Once the two accounts are properly merged, Microsoft creates a Skype alias to let you keep signing in with a Skype username. Disable it under the aliases preferences, to ensure complete protection.

Possible causes & solutions for MongoDB not running

Is your MongoDB properly running? A simple way to check it would be with:

service mongod status

On my CentOS 5.x it gave:

mongod dead but subsys locked

There are two possible causes I could find. First is related to disk space. If you do not have enough space for dbpath (database directory) then you may get this message.

To solve it you can add following to the config file provided when running mongod --config mongod.conf
For MongoDB 3.x (latest version)

      smallFiles: true

For version 2.6+

   smallFiles: true

For version 2.4 and less

smallfiles = true

Then just execute mongod to accept your config file (here it assumes that location of the config is /etc/mongodb.conf):

mongod -f /etc/mongodb.conf

Documentation for smallfiles parameter:

Set to true to modify MongoDB to use a smaller default data file size.
Specifically, smallfiles reduces the initial size for data files and
limits them to 512 megabytes. The smallfiles setting also reduces the
size of each journal files from 1 gigabyte to 128 megabytes.
Alternatively you can run mongod with --smallfiles parameter like:
mongod --smallfiles

On my machine the problem was different. It was expecting a directory /var/lib/mongod with proper permissions, which was not there. The solution is simple:

sudo mkdir /var/lib/mongod
sudo chown -R mongod /var/lib/mongod

However how did I find out about the problem(s) in the first place. Again the solution is very simple. I looked in the log file:

vi /var/log/mongodb/mongodb.log

Always start with the log file.
Finally you can verify that your system is running properly with:

sudo service mongod status

After fixing it gave:

mongod (pid 26194) is running...

Now that’s solved, let’s get back to mongodb coding..