June 20, 2012

Can you get the light to travel that much to even think about doing it? Or the computation in terms of how much light can travel in that duration!


speed of light is speed_of_light = 299792458   # meters per second
meter = 100                  # one meter is 100 centimeters
nanosecond = 1.0/1000000000  # one billionth of a second
so light travels print speed_of_light * meter * nanosecond       => 29.9792458 cm in a nano second
with a CPU at 2.7 GHz (each cycle time is 1/2.7 nano second), so the light travels speed_of_light * meter * nanosecond /1.27 = 11.1 cm in each cycle! That's why the computers have to be small otherwise you can't even send light across the time for one cycle to do it!

by http://www.udacity.com/view#Course/cs101/CourseRev/apr2012/Unit/671001/Nugget/674004

June 18, 2012

-

Lord, bless our week. We all know fear, but passion makes us fearless
P.C.

June 15, 2012

The Struggle

“Don’t admit that your faith is weak
Don’t say that you feel like dying
Life’s hard then it feels like diamonds
Your home’s just far too gone
Much too late to even feel like trying
Can’t understand what I’m saying
Can’t figure out what I’m implying
If you feel you don’t wanna be alive
You feel just how I am”
—Lupe Fiasco, Beautiful Lasers

Every entrepreneur starts her company with a clear vision for success. You will create an amazing environment and hire the smartest people to join you. Together you will build a beautiful product that delights customers and makes the world just a little bit better. It’s going to be absolutely awesome.

Then, after working night and day to make your vision reality, you wake up to find that things did not go as planned. Your company did not unfold like the Jack Dorsey keynote that you listened to when you started. Your product has issues that will be very hard to fix. The market isn’t quite where it was supposed to be. Your employees are losing confidence and some of them have quit. Some of the ones that quit were quite smart and have the remaining ones wondering if staying makes sense. You are running low on cash and your venture capitalist tells you that it will be difficult to raise money given the impending European catastrophe. You lose a competitive battle. You lose a loyal customer. You lose a great employee. The walls start closing in. Where did you go wrong? Why didn’t your company perform as envisioned? Are you good enough to do this? As your dreams turn into nightmares, you find yourself in The Struggle.

About The Struggle

“Life is struggle.”
—Karl Marx

The Struggle is when you wonder why you started the company in the first place.

The Struggle is when people ask you why you don’t quit and you don’t know the answer.

The Struggle is when your employees think you are lying and you think they may be right.

The Struggle is when food loses its taste.

The Struggle is when you don’t believe you should be CEO of your company. The Struggle is when you know that you are in over your head and you know that you cannot be replaced. The Struggle is when everybody thinks you are an idiot, but nobody will fire you. The Struggle is where self-doubt becomes self-hatred.

The Struggle is when you are having a conversation with someone and you can’t hear a word that they are saying because all you can hear is The Struggle.

The Struggle is when you want the pain to stop. The Struggle is unhappiness.

The Struggle is when you go on vacation to feel better and you feel worse.

The Struggle is when you are surrounded by people and you are all alone. The Struggle has no mercy.

The Struggle is the land of broken promises and crushed dreams. The Struggle is a cold sweat. The Struggle is where your guts boil so much that you feel like you are going to spit blood.

The Struggle is not failure, but it causes failure. Especially if you are weak. Always if you are weak.

Most people are not strong enough.

Every great entrepreneur from Steve Jobs to Mark Zuckerberg went through The Struggle and struggle they did, so you are not alone. But that does not mean that you will make it. You may not make it. That is why it is The Struggle.

The Struggle is where greatness comes from.

Some stuff that may or may not help

There is no answer to The Struggle, but here are some things that helped me:

Don’t put it all on your shoulders – It is easy to think that the things that bother you will upset your people more. That’s not true. The opposite is true. Nobody takes the losses harder than the person most responsible. Nobody feels it more than you. You won’t be able to share every burden, but share every burden that you can. Get the maximum number of brains on the problems even if the problems represent existential threats.

When I ran Opsware and we were losing too many competitive deals, I called an all-hands and told the whole company that we were getting our asses kicked, and if we didn’t stop the bleeding, we were going to die. Nobody blinked. The team rallied, built a winning product and saved my sorry ass.

This is not checkers; this is mutherfuckin’ chess – Technology businesses tend to be extremely complex. The underlying technology moves, the competition moves, the market moves, the people move. As a result, like playing three-dimensional chess on Star Trek, there is always a move. You think you have no moves? How about taking your company public with $2M in trailing revenue and 340 employees, with a plan to do $75M in revenue the next year? I made that move. I made it in 2001, widely regarded as the worst time ever for a technology company to go public. I made it with six weeks of cash left. There is always a move.

Focus on the road – When they teach you how to drive a racecar, they tell you to focus on the road when you go around a turn. They tell you that because if you focus on the wall, then you will drive straight into the wall. If you focus on how you might fail, then you will fail. Even if you only have one bullet left in the gun and you have to hit the target, focus on the target. You might not hit it, but you definitely won’t hit if you focus on other things.

Play long enough and you might get lucky – In the technology game, tomorrow looks nothing like today. If you survive long enough to see tomorrow, it may bring you the answer that seems so impossible today.
Don’t take it personally – The predicament that you are in is probably all your fault. You hired the people. You made the decisions.

But you knew the job was dangerous when you took it. Everybody makes mistakes. Every CEO makes thousands of mistakes. Evaluating yourself and giving yourself an “F” doesn’t help.

Remember that this is what separates the women from the girls. If you want to be great, this is the challenge. If you don’t want to be great, then you never should have started a company.

The end

When you are in The Struggle, nothing is easy and nothing feels right. You have dropped into the abyss and you may never get out. In my own experience, but for some unexpected luck and help, I would have been lost.

So to all of you in it, may you find strength and may you find peace.


 --
By: Ben Horowitz
Ben Horowitz is co-founder and general partner of Andreessen Horowitz. He was a co-founder and CEO of Opsware (formerly Loudcloud), which was acquired by HP, and ran several product divisions at Netscape. He serves on the board of companies such as Capriza, Foursquare, Jawbone, Lytro, Magnet, NationBuilder, Nicira, Okta, SnapLogic and Tidemark, and blogs at http://bhorowitz.com/.

http://techcrunch.com/2012/06/14/the-struggle/

June 14, 2012

Percolation Theory

This is what I work on right now:Cool Stuff!

Assume that some liquid is poured on top of some porous material. Will the liquid be able to make its way from hole to hole and reach the bottom?

Detail of a bond percolation on the square lattice in two dimensions with percolation probability p = 0.51
Source: Wikipedia