Archive for the Category Personal

 
 

Views en-route from office to home

The only alternative is to work harder

What do you do if you feel you are born unlucky? What do you do if you feel that the whole world is conspiring against you to make you not succeed? And, what do you do if you feel you have less intellect, less resources and less everything to succeed?

The short and sweet answer is to work harder. You cannot control luck. You cannot control amount of financial resources you have. But what you can definitely control is the amount of effort. Your competitior or neighbour might be advantaged in all respects but you can compensate all that just by working harder.

Really, putting in a lot of effort gives you a lot of chances to make mistakes, try out things and fail. What you have to loose here is your effort, which of course you must have unlimited supply of.

If your nearest competitor or neighbour works X hours, you must work for X+1 hours. If he pitches to Y bloggers, you must pitch to Y+1 bloggers. Of course, you cannot match him in his $5 million funding and a huge team of sales guys. But what you can match (and even exceed) is your persistence and sheer drive to succeed.

Yep, I know it is sounding a bit like self-help bookish type, but I have observed and realized that success is an equation with a lot of variables. Most of the variables you have little or no control on but one variable which has a lot of influence on the result is effort and persistence. Controlling the value of this variable is entirely upto you and hence affecting chances of being successful is your will.

What are your thoughts on this? Does hard work really increases the probability of success?

ContextSense on ReadWriteWeb

ReadWriteWeb had a nice, long article written on Wingify’s ContextSense. Read the article titled Identify Any Website’s Sentiment with ContextSense.

To quote:

To test out ContextSense’s accuracy, we put in the URL for ReadWriteWeb.com (but of course). The end result was mostly on target, identifying our main concepts as a top ten list including things like software, Google, iPhone, news and media, commenting, semantic web, and more. The last three items in the list – AJAX, class libraries, and JavaScript – were off base. Perhaps that’s why they were greyed out while the rest of the list was in black, though. There isn’t any explanation as to what the shading means, but that’s a logical leap.

The categories list was similar to the concepts list except it showed more of a drill-down as to what broader topics the concepts came from. For example, for “Semantic Web,” the associated category was “Reference > Knowledge Management > Knowledge Representation > Semantic Web.”

The tool also ranked our site as “slightly positive,” which makes sense since we’re passionate about technology and don’t (often) post negative reviews – we tend to just skip product reviews for those sites and services we don’t think much of.

Digital Evolution Basics

For those who are not aware of digital evolution, I am writing a quick short summary. Digital evolution means evolution of computer programs who compete for limited resources such as CPU and memory. In short, it goes something like this:

- You define a universe, which is virtual memory (space) and CPU (time)
- You create energy (CPU cycles)
- You define an extremely limited instruction set for Virtual Machine (Physics). Instruction set being limited is important because you want to mimic physics, not chemistry or biology
- You seed randomly generated programs of varying length
- You start parallel execution the random programs
- Each instruction eats up energy and at random times you feed energy into universe
- At random times mis-execute program instructions
- Run it for a long time and Voila! finally self replication gets evolved from very simple instructions
- Then arms race gets started between programs and things get interesting

Some people argue that digital evolution is not merely an emulation of real thing but is indeed a real manifestation of evolution and I tend to believe the same.

To download the digital evolution simulator written by me in Python (called PyPond), head to: Download: Normal version or With graphics version (requires PyGame library)

Are soft lies in sales okay?

Really, does it matter at all if you make up small lies while doing sales? If you convince yourself that it is sort of true but deep inside you know it is fundamentally a lie, are you okay with that?

I’ve known sales people going to extremes: promising benefits which never were, projecting products with made up facts and use other tricks of the trade just to get that sale. They are desperate to make a sale. This is quite common in finance industry. But, in this post, I am not concerned about blatant lies made up to trick innocent people.

I am really split whether it is fine to get involved with the oh-so-common sales gimmicks, little lies, subtle hints, etc. that do not harm the customer but add just a little boost to your business objectives. My right half of brain says that a lie, no matter how small it is, is fundamentally a lie. My left half of brain says it is okay to use industry standard tricks, business is brutal and so should you be.

Many of the iconic companies did this in the past. For example, Bill Gates told IBM that he had an OS when he never had. And I wouldn’t be surprised if the rumor that Facebook created fake profiles to boost membership at the start is really true. Moreover, highly admired companies on Internet do what I would classify as grey-to-black hat SEO. Is it all RIGHT? Aren’t they compromising their integrity with all such practices?

What is your opinion on this matter?

The mystery of number 23

I’ve been literally forced to write this post. My hands have been dragged to the keyboard and my mind has been controlled. Never would a person who claims to be rational, scientific and no-nonsense would write on something as unscientific as why number 23 is special. For the uninformed, there is something deeply mysterious, extremely special and wonderfully interesting about 23. The phenomenon is called as 23 Enigma.

When I first heard about it, it was yet another overhyped meme for me. But slowly, and definitely steadily, I started identifying 23 in everyday phenomenon around me. Now, not a day passes without me seeing 23 somewhere around me. And it is not just me, by showing examples, I have convinced several of my friends about this odd belief of mine.

That said, internally, I debate endlessly with myself whether what I observe is just an artifact of confirmation bias where what one observes is typically due to what one wants to observe. Soon I plan to start a journal where I would try to statistically see if observation of 23 is more frequent than what is expected by random chance.

Do you observe 23 as well? I would be really interested in listening to your story.

BTW: Would you be shocked if I predict that within next two days you are certain to observe number 23 somewhere around you :)

April Fools Pranks on the Internet

I randomly stumbled across many interesting April Fools pranks on the Internet today. So, I thought of sharing them here:

Enjoy! I will try to add more as I come across them. Do let me know if you any interesting pranks.

So, you have a million dollars. Now what?

Suppose you win a lottery or get a successful exit for your startup. You suddenly find yourself with a million dollars to play with. It is like what you always dreamt for has become a reality. At this point, what would you do? What would your future look like?

It is hard to imagine not having fun with a million dollars in bank. But that is precisely what I (sadly) concluded after thinking deeply over this issue. There are multiple reasons why I think a million dollars won’t bring me the freedom, happiness and euphoria that I had thought were main motivators for me.

One of most the reasons concern with the social circle. Even if you get lots of money to spend, with whom would you go shopping? Who would be able to afford accompanying you to your always-dreamt-of-visiting Morocco? Is your friend equally fond of I-would-go-bungee-jumping-one-day? Chances are that most of your friends or relative would not have time to be there with you all the time, would not be able to afford hanging out with you while you are indulging, and would politely decline your sponsorship. So, my friend, what would you do with your million dollars?

How many movies per week can you watch? How many books can you read? Can you eat at fine-dine restaurants three times a day for a whole month? To be realistic, I find it hard having a tremendous amount of joy from a million dollars. I don’t think I would be more happy then than I am at this moment. Maybe the kick of having money far more strong than the actual pleasure in it.

Luck, Randomness and Success

Is success random? How important do you think luck is for achieving success? Now, you may be a self-hero, a believer in hard-work-brings-success philosophy; every morning you may look forward to reading stories of successful people who were certain of their successes from the start. To achieve success, you may even be sufficiently motivated to learn new skills, network madly, and work endlessly. After all, if you do all the things right, success will kiss you. See, you are feeling great already! Now that you are all set to achieve success, let us sit in a time machine and head forward three years in future.

You have grown a little older. But, sadly, nothing really has changed. All what has changed is that your book shelf has ten more books of successful people and twenty more of self-help books. Looking back you deeply regret working like hell for the last three years. You feel pangs of guilt whose source cannot be traced. You feel cheated. You feel like burning all the fake books your book shelf is having.

Whoa! Wait, we almost forgot about your twin brother. Let us ask how he feels now on recently selling his company for $25 MM. He tells you that he feels great and because he did yada-yada in life, he was able to get a profitable exit. You know deep in your heart that you are way smarter than him, had more connections, worked twice as hard. But he is successful, you are not. So, his success must be a fluke. Right?

Right. Repeat after me what you just said. Success is a fluke. Success is a fluke.

So, why obsess over it? Why loathe success of your brother? Why read self-help and startup stories books? Why burn your soul daily for not achieving success? Why regret being so smart?

Today, you have still three years before realizing success is a fluke, so make most of it.

But then you ask, why does success look so methodical. Why do successful people say that what they learnt, where they went for studies, whom they met at a party, etc. played a major role in their success. Why do the dots look connected as if there is indeed a recipe for success? This is because dots are in fact connected. Even for great failures, dots look connected. Heck, even for normal lives, dots look connected. Dots are made to be connected.

Apart from the usual stuff, there are a million other things which influence success. After a minimum quantity of basic ingredients: networking, hard work, skills, you should leave it on randomness to get you success. Don’t obsess over it. Just be ready with basic ingredients and expose yourself to randomness. Given enough time, success should follow.

And don’t fret over your twin brother’s success, after all he is your brother. Moreover, if he got lucky in three years, you may also get lucky in another two, ten or maybe thirty years. if you never get success, don’t blame it on you, blame it on lady luck!

Wonders of Probability

Lately, I have been reading a lot about Probability, Statistics and Machine Learning. These subjects always involve a kind of awe that one can only experience on understanding the concepts. I’ve developed tremendous respect for the people who understand probability, (Bayesian) statistics, learning theory and other related subjects.

I write this post to pose some probability (pseudo) paradoxes and problems to you. Even though these paradoxes are extremely simple to understand and comprehend, but their solution is completely counter-intuitive. I’ll admit that for some of the paradoxes/problems, even after seeing the solution I wasn’t able to figure out what exactly is going on. So, without further blabber here we go with the paradoxes:

First one is called the Monty Hall Problem. Its statement goes something like this:

Suppose you’re on a game show, and you’re given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what’s behind the doors, opens another door, say No. 3, which has a goat. He then says to you, “Do you want to pick door No. 2?” Is it to your advantage to switch your choice?

Think a lot about the problem. The solution is not as simple as it seems!

While on the surface it seems that it should not matter whether you switch the door or not, switching actually turns out to be advantegous for you. In fact, with the second door you will have 66% of chance of winning while the existing door will give you 33% chance of winning. See the wikipedia article for explanation.

The second one is even more interesting. It is taken from the document titled Nuances of Probability. The paradox goes something like this:

My neighbor has two children. Assuming that the gender of a child is like a coin flip, it is most likely, a priori, that my neighbor has one boy and one girl, with probability 1/2. The other possibilities—two boys or two girls—have probabilities 1/4 and 1/4.

Suppose I ask him whether he has any boys, and he says yes. What is the probability that one child is a girl? By the above reasoning, it is twice as likely for him to have one boy and one girl than two boys, so the odds are 2:1 which means the probability is 2/3. Bayes’ rule will give the same result.

Suppose instead that I happen to see one of his children run by, and it is a boy. What is the probability that the other child is a girl?

Again, you need to really understand what is being asked in the question. To give you some guidance, here is what solution looks like (don’t worry, even after seeing the solution it would be hard to believe that it is indeed the solution).

Observing the outcome of one coin has no affect on the other, so the answer should be 1/2. In fact that is what Bayes’ rule says in this case. If you don’t believe this, draw a tree describing the possible states of the world and the possible observations, along with the probabilities of each leaf. Condition on the event observed by setting all contradictory leaf probabilities to zero and renormalizing the nonzero leaves. The two cases have two different trees and thus two different answers.

So, it is an apparent paradox! And I don’t know how it is resolved. If you get to understand this, let me know in the comments.

Another simple problem relating to Bayes’ theorem which people usually get wrong is as follows:

1% of women at age forty who participate in routine screening have breast cancer. 80% of women with breast cancer will get positive mammographies. 9.6% of women without breast cancer will also get positive mammographies. A woman in this age group had a positive mammography in a routine screening. What is the probability that she actually has breast cancer?

What do you think the answer is? Don’t worry if you get the answer wrong. You know what, even after considering how critical will a misdiagnosis of breast cancer turn out to be, only 15% doctors get it right. That is indeed scary! This also hints at the importance of understanding and appreciating the depth of probability.

If you apply Bayes’ theorem carefully, the answer will turn out to be 7.8%. And just for your information, most doctors estimate the chance of having cancer to be between 70% and 80%.

The above were some of the interesting paradoxes cropping up due to interpretation of probability and inability of people to apply Bayes’ theorem mentally. If you are game for even more probability paradoxes and problems, head to this wikipedia article.

World's easiest to use A/B, Split and Multivariate Testing

Visual Website Optimizer. Increase website sales, downloads and conversions through world's easiest to use A/B, Split and Multivariate Testing tool.