Friday, 29 June 2012

Facebook Puzzles Rock!


Facebook Puzzles Rock!

If you want some really good programming challenges go to the facebook puzzles page. These are really neat because you can submit the answer and their email robot will automatically tell you if it is good. So far I've only solved usrbincrash andsmallworld. A very evil person also described the gattaca puzzle to me and I've been trying to figure out how to solve it ever since.

From what I've seen these puzzles the very nice characteristic that it is rather easy to come up with a solution. However, that solution will run in exponential time and, thus, will not be accepted by the robot. The solutions they are looking for generally run in quadratic time. Finding these solutions is much, much harder.

If you are confronted with questions like these in an interview, the best strategy is to start by solving them using the obvious-but-slow method. Then, once that works, start to think about how to solve them faster. Sometimes this requires completely re-writing your algorithm, often you will need an aha! moment (wish there was a way to work up to those!). Other times it seems one can gradually get to the solution by adding small improvements.

Tuesday, 26 June 2012

Improve Your Google Search Skills [Infographic]


How To Be Awesome

It's that guy you see on your way to class, it's that girl who works at the coffee shop. It's the person you see and you want to be them, you want to emulate their lifestyle, you want to be as awesome as they are. Awesomeness is all around us, everywhere we go. People are doing awesome things and living awesome lives. There are still some people, however, that need help. There are people that want to be more awesome. That's what this book is for. This book can make you a better person, this book will make you more awesome. How to be Awesome started out with a very simple idea. Everyone has something they do that is awesome in some way. I want people to find this, and let the awesomeness come out in everyday life



Monday, 25 June 2012

5 year old amazing dancers - must see this wonderful dance

Apple's Planned Obsolescence: Customer Revolt Brews


This just in from Apple: "MobileMe ends June 30. Although there are good standards-based ways to make your contacts and calendars available, we will arbitrarily disable those features in OS/X until you upgrade your operating system and, we hope, purchase new hardware from us."
OK, maybe that's not the way Apple put it, but that's the message I hear. In my personal life, Apple is starting to drive me crazy with planned obsolescence. And now that the iPhone is a part of many of our enterprise deployments, Apple's planned obsolescence will start to drive us crazy at work, too.
As the headline writers pithily put it on a recent David Thier blog on Forbes.com: "Every iPhone Accessory You Own Just Became Obsolete." They were referring to Apple's plans to change the dock connector on the next iPhone. "Apple is great at getting us to buy new products, and this may be one its biggest coups yet," Their writes. That's fantastic if you're an Apple shareholder, but it's annoying and expensive if you have to replace a fleet of iPhone accessories every time you replace your organization's iPhones.
The typical knowledge worker who relies on a smartphone has a charger in the car, at home, and at work. During the transition from iPhone 3 to 4, most accessories were plug and play. That's not going to be the case now.
And don't think you'll be able to get inexpensive equivalents of accessories such as car chargers. From all reports, Apple will include a proprietary chip at the port that will disallow unlicensed accessories.
And let's not forget that if you want to keep the phone you've got and not upgrade, Apple's history is to force customers to use newer firmware releases to fix security problems. The "unfortunate" side effect of these software updates is that they make the phones slower, so that your end users will want the organization to buy them new devices. Eventually, of course, Apple stops supporting the old phone altogether, so that your organization must buy new ones.
Is innovation really supposed to work like this? I don't think so. Here's how it's supposed to work: Supplier comes up with compelling value proposition for buyer. Buyer gladly parts with cash so that buyer can benefit from innovation. This planned obsolescence thing is simply a message that not only will you buy the BMW of smartphones, but you will replace it on Apple's schedule, not yours.
When you're the only game in town, you can act like this. But in a market where there are now many compelling alternatives, not so much.
I continue to be a fan of iPhone-the-platform, versus iPhone-the-upgrade-treadmill. And I maintain that those who selected iPhones rather than Android phones years ago probably face a lower support burden and fewer defects. But I welcome competition to discourage Apple's treadmill tactics, and I'm heartened by a couple of recent developments:
>> Software provider Magnifis has released Robin, which, from what I have seen, can take on Siri, the iPhone 4S' voice assistant, head-to-head. (As I've written before, Siri has such nagging problems that it's not hard to imagine just about any competitor taking it on.)
>> Android phones are getting better all the time. My colleague Fritz Nelson reviewed the Samsung Galaxy S III a few days ago, and he's impressed: "You're going to want this phone." Android will soon have "even more momentum ahead of whatever Apple has up its sleeves," Nelson predicts. Specs aside, if it's a reliable phone with few defects and a standards-based micro-USB dock, it'll be hard for buyers, even Apply fanboys, to dismiss.
You feel that, Apple? Those are the winds of change. It may be temporarily profitable for you to force your customers into spending on upgrades, but a little thing that we call customer lifetime value means that it's stupid to annoy your customers in an increasingly competitive marketplace.



Color Psychology


Color Psychology

Do different colors affect your mood?

Like death and taxes, there is no escaping color. It is ubiquitous. Yet what does it all mean? Why are people more relaxed in green rooms? Why do weightlifters do their best in blue gyms?
Colors often have different meanings in various cultures. And even in Western societies, the meanings of various colors have changed over the years. But today in the U.S., researchers have generally found the following to be accurate.

Black

Black is the color of authority and power. It is popular in fashion because it makes people appear thinner. It is also stylish and timeless. Black also implies submission. Priests wear black to signify submission to God. Some fashion experts say a woman wearing black implies submission to men. Black outfits can also be overpowering, or make the wearer seem aloof or evil. Villains, such as Dracula, often wear black.

White

Brides wear white to symbolize innocence and purity. White reflects light and is considered a summer color. White is popular in decorating and in fashion because it is light, neutral, and goes with everything. However, white shows dirt and is therefore more difficult to keep clean than other colors. Doctors and nurses wear white to imply sterility.

Red

The most emotionally intense color, red stimulates a faster heartbeat and breathing. It is also the color of love. Red clothing gets noticed and makes the wearer appear heavier. Since it is an extreme color, red clothing might not help people in negotiations or confrontations. Red cars are popular targets for thieves. In decorating, red is usually used as an accent. Decorators say that red furniture should be perfect since it will attract attention.
The most romantic color, pink, is more tranquilizing. Sports teams sometimes paint the locker rooms used by opposing teams bright pink so their opponents will lose energy.

Blue

The color of the sky and the ocean, blue is one of the most popular colors. It causes the opposite reaction as red. Peaceful, tranquil blue causes the body to produce calming chemicals, so it is often used in bedrooms. Blue can also be cold and depressing. Fashion consultants recommend wearing blue to job interviews because it symbolizes loyalty. People are more productive in blue rooms. Studies show weightlifters are able to handle heavier weights in blue gyms.

Green

Currently the most popular decorating color, green symbolizes nature. It is the easiest color on the eye and can improve vision. It is a calming, refreshing color. People waiting to appear on TV sit in "green rooms" to relax. Hospitals often use green because it relaxes patients. Brides in the Middle Ages wore green to symbolize fertility. Dark green is masculine, conservative, and implies wealth. However, seamstresses often refuse to use green thread on the eve of a fashion show for fear it will bring bad luck.

Yellow

Cheerful sunny yellow is an attention getter. While it is considered an optimistic color, people lose their tempers more often in yellow rooms, and babies will cry more. It is the most difficult color for the eye to take in, so it can be overpowering if overused. Yellow enhances concentration, hence its use for legal pads. It also speeds metabolism.

Purple

The color of royalty, purple connotes luxury, wealth, and sophistication. It is also feminine and romantic. However, because it is rare in nature, purple can appear artificial.

Brown

Solid, reliable brown is the color of earth and is abundant in nature. Light brown implies genuineness while dark brown is similar to wood or leather. Brown can also be sad and wistful. Men are more apt to say brown is one of their favorite colors.

Colors of the Flag

In the U.S. flag, white stands for purity and innocence. Red represents valor and hardiness, while blue signifies justice, perseverance, and vigilance. The stars represent the heavens and all the good that people strive for, while the stripes emulate the sun's rays.

Food for Thought

While blue is one of the most popular colors it is one of the least appetizing. Blue food is rare in nature. Food researchers say that when humans searched for food, they learned to avoid toxic or spoiled objects, which were often blue, black, or purple. When food dyed blue is served to study subjects, they lose appetite.
Green, brown, and red are the most popular food colors. Red is often used in restaurant decorating schemes because it is an appetite stimulant.

THE LOOK

STEPHON kissed me in the spring, 
Robin in the fall, 
But Colin only looked at me 
And never kissed at all.
Stephon's kiss was lost in jest,
Robin's lost in play,
But the kiss in Colin's eyes
Haunts me night and day.