Wednesday, November 12, 2008
Thursday, June 19, 2008
As you might have read in a previous post, my company is able to innovate so quickly because we keep don't hesitate trying out new stuff. If someone has an idea, it can go from a vague thought to running on live traffic in a matter of weeks. If the numbers say that it's a good idea, we keep it. If not, we throw it out, no regret. My coworker has an interesting post about how we do some form of A/B testing.
Experimentation is at the very heart of science. If you don't try anything new, you can't learn anything. This is why I try to vary my habits from time to time to try something different. Last November I spent the whole month without drinking caffeine. I wanted to prove that "I can stop whenever I want to but I just don't want to" was true for me. Also, I wanted to know if I would be more or less tired, sleep better, etc. Overall, I found that after a few days of not consuming caffeine (coffee, tea, coke, etc.) I didn't really crave it at all and that it didn't affect my overall health level.
Since last Monday I've started to eat vegetarian. I've been talking about this for months and finally did it. Well, I've actually been told that since I decided to eat seafood I'm rather a pescetarian. I'm not a very difficult person when it comes to food, I'll eat anything. So it's been weird for me to start being picky about what I eat, I feel almost guilty.
Thus far, I've been kind of hungry a lot. I'm eating a lot Indian food because they have a lot of very tasty meals without meat. That, salad and pasta.
I haven't decided exactly how long I'm going to keep this up, at least until the end of June, maybe a few weeks longer, I'll see how it goes. I have no intention of this becoming a permanent thing.
P.S. I actually meant to start this last Friday. I did, but then I accidentally eat a chicken caesar salad for dinner... Not a very good start!
Posted by simonfl at 8:40 PM
Sunday, June 8, 2008
Let's say you're asked how much a human life is worth. To avoid weird looks in most circles you would answer that it's invaluable, we can't quantify something like that. Of course, I don't hang out with what could be considered normal people so my follow up question would probably be "which life?" ;)
Let's use our own life as an example, as it's the one we're all most familiar with. We put a price on our life with our every day actions without realizing it. When you decide to drive instead of taking the bus, you gamble your life away. It's much more likely you'll die while driving than while taking the bus. But you think that the time and comfort savings are worth the chances of you dying in a car crash, and so you take the car. How about when you decide to buy more expensive fruits and vegetables. The taste might be similar to cheaper ones but the more expensive organic fruits are generally better for your health, and thus more likely to increase your life span.
Stanford professor Ronald Howard invented a concept called the micromort. A micromort is a one in a million chance of death. In other words, it's the amount of money you would have to give to someone for them to risk a one in a million chance of death. If someone's willing to receive (or, more likely, save) 20$ for a one in a million chance of death, then we can infer they value their life at 20 million dollars.
There's this book I like called Making Great Decions in Business and Life where the authors use this concept to analyze a car purchasing decision. They, previously in the book, penned the human life at an average of 10 millions, so 10$ for a micromort. I'll quote from the book:
Consider buying a car. For each million lighter cars--those weighing less than 2,500 pounds--that are on the roads, 109 people die each year. For each million heavier cars--those weighing 3,500 pounds--that are on the road, only 53 people die each year. If we use an average of 10,000 miles per year per vehicle, then each mile driven in a smaller car costs the driver 0.0109 micromorts while each mile in a larger car costs 0.0053 micromorts. If you keep this car for 100,000 miles, then the smaller car has a safety cost of $10,900 (1,090 micromorts times $10 per micromorts) while the larger car has a safety cost of only $5,300 (530 micromorts times $10 per micromort). The larger car undoubtedly costs more to purchase and operate, but given everything else equal--don't consider the smoother ride, the bigger trunk, or the worse mileage--it is worth $5,600 more purely on safety.
Think about this concept as you make trivial decisions in your daily life and you'll be amazed at the amount of risks you take.
Posted by simonfl at 3:07 PM
Sunday, June 1, 2008
I know I haven't been writing anything lately and I apologize to whoever might read this blog (hi mom!). I don't usually post work related things but there's an interesting article in the NYT about my group at Google that might be of passing interest to people who know me. Maybe you'll better understand why I think the way I do when you see the kind of people I spent my work weeks with.
That is all. I've got a great post coming up, it's been in my head for months, I just need to put it down on paper... well, computer, whatever.
Tuesday, April 22, 2008
Friday, April 11, 2008
Looks like a few cities couldn't resist the temptation of easy money from their constituents. Six cities have been found to have shortened the yellow light duration after installing red light camera. This has the effect of catching more people on red lights, at the cost of causing more accidents.
What is wrong with those cities' government? I thought they were supposed to serve the people, not get them read-ended.
Posted by simonfl at 8:21 AM
Friday, March 21, 2008
Sometimes, figuring out something deterministically is hard. Sometimes, it's just plain impossible.
- Define a domain of possible inputs.
- Generate inputs randomly from the domain, and perform a deterministic computation on them.
- Aggregate the results of the individual computations into the final result.
Posted by simonfl at 7:27 PM