tag:blogger.com,1999:blog-69076152008-05-12T01:25:36.868-07:00Reza BehforoozReza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comBlogger199125tag:blogger.com,1999:blog-6907615.post-90669310904417432922008-03-16T19:52:00.000-07:002008-03-16T21:59:04.754-07:00Bikes, Cars, and the Human Psyche<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://llnw.image.cbslocal.com/320x240/bike_sheriff_fatal.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px;" src="http://llnw.image.cbslocal.com/320x240/bike_sheriff_fatal.jpg" alt="" border="0" /></a><br />Last week, there was a tragic accident in the Bay Area. <span id="bodytext" class="georgia md"><span style="font-style: italic;">[Bikers] were struck and killed last Sunday morning by a sheriff's deputy who crossed the center line in his patrol car... </span></span><span style="font-style: italic;" id="bodytext" class="georgia md">Witnesses at the scene said there were no skid marks and that the officer said he had fallen asleep at the wheel </span><span id="bodytext" class="georgia md">[source <a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2008/03/16/MNFJVKPDS.DTL">SFGate</a>]. This is a very sad tragedy for the bikers and their families. </span>Yesterday, there was a short memorial ride to the location of the accident. Sadly, I wasn't caught up on my emails and only found out in the evening. I was really sad to miss it.<span id="bodytext" class="georgia md"> Here is a <a href="http://www.mercurynewsphoto.com/blog/2008/03/16/memorial-bike-ride/">video</a> of the memorial ride. But that's not the topic of my blog post. As I was reading articles, comments, and blogs about the accident I was puzzled by two things related to the human phyche:<br /></span><br />1) This <a href="http://www.dothetest.co.uk/">online</a> test shows how easy it is to no see cyclists on the road. I recommend taking it. I failed it like most people.<br /><br />2) I am appalled by the <a href="http://www.sfgate.com/cgi-bin/article/comments/view?f=/c/a/2008/03/16/MNFJVKPDS.DTL">comments</a> that people wrote about a memorial bike ride. They show no respect to the families. I think it's fine for some people to be unhappy that cars need to share the road with bikers and that bikers have the right to take up an entire lane (just like a horse, tractor, or other vehicle that may move slower than cars). Debates are good. But the place for such discussion is not in the comments about a memorial ride. Here are a few comments that made me angry:<br /><ul><li><span style="font-style: italic;">Most people hate bicyclists.</span></li><li><span style="font-style: italic;">Everyone who doesn't bike hates bicyclists. that says a lot about bicyclists.</span></li><li><span style="font-style: italic;">A thousand militant cyclists? These Critical Mass freaks sicken me.</span></li><li><span style="font-style: italic;">One thousand cyclists. Don't people learn from what happen. What a dumb thing to do. If they want to bid farewell to the fallen comrades do in a park.</span></li><li><span style="font-style: italic;"> Yup..and pi$$ed-of even more people who were actually trying to get somewhere on a Sunday. Here's a hint....bicyclists don't own the road. They shouldn't even be ON the road, but I guess if you put on Spandex and some $100 sunglasses, it just makes you better than the rest of us.</span></li></ul>Interestingly, there was a related article today about the most dangerous bike roads in the bay area, and the <a href="http://www.sfgate.com/cgi-bin/article/comments/view?f=/c/a/2008/03/16/MNPFVK8RU.DTL&o=2">comments</a> for this article did NOT have hate messages about bikers.<br /><br /><span>Why is it so easy for humans to hate each other (bikers vs drivers, drivers vs pedestrians, religion X vs religion Y, country X vs country Y, ethnicity X vs ethnicity Y, people on different sides of a river, etc)? What wiring in our neocortex promotes this?<br /><br />I saw a documentary that showed that some types of monkeys have a similar trait. In the experiment, they found that neighboring communities of monkeys had different ways of breaking hard-shell fruits like coconuts. One group used rocks, while the other group used sharp objects like a stick of wood. They did a study where they took a monkey from one community and put it in the other community. The results were amazing. The displaced monkey would get mocked! It was just like a kindergarten where a kid with a different habit showed up in school.<br /><br />I enjoyed reading <a href="http://books.google.com/books?id=q_mCtra-a5IC&pg=PA63&lpg=PA63&dq=hate+neocortex&source=web&ots=bR7BkqOChH&sig=K6gvrQeAO9IT3OUUSnpL1GYXE1g&hl=en#PPA63,M1">these couple of pages</a> of a Book on this topic called 'Why we hate?'. <a href="http://psychologytoday.com/articles/PTO-20030501-000001.html">Here is a related article</a> on Psychology Today. Sadly, we never teach these things in schools and openly talk about why we have biases/hatred (let's put our semantic differences aside). Maybe it's not politically correct to admit that all of us have some biases/hatred?<br /><br /></span>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-15104498338318405412008-02-26T22:22:00.000-08:002008-02-26T22:46:30.844-08:00iPhone vs Blackberry CurveRecently I was in the fortunate spot to decide between a Blackberry 8320 and an iPhone. After a few days of talking to people and getting my hands on both devices, I decided to get the Blackberry Curve.<br /><br />Why I use a device:<br /><ul><li>My primary use is email and phone in that order. That's at least 80% of my use. Granted, I spend most of my time on email, but the device is a phone first.<br /></li><li>I also want basic web access. I do searches and maybe read an article or a wikipedia page.<br /></li><li>I love Google Maps on the go<br /></li><li>Camera, Music, Calendar, etc are bonus features for me. I don't really care about them.<br /></li></ul><br />Things I like about the BB over the iPhone:<br /><ul><li>It's smaller and lighter than the iPhone. It's almost as small as my Razr.<br /></li><li>It has a real keyboard that allows me to type faster and often without looking (The touch screen doesn't allow me to feel my way between keys).<br /></li><li>I didn't like the native iPhone mail client, but I love the native BB Gmail Client</li><li>The Google Maps client shows my current location -- priceless on bike rides<br /></li></ul><br />Things I liked about the iPhone that I wish I had:<br /><ul><li>iPhone has a coolness factor and it's fun to demo it to friends. <br /></li><li>It would have been nice to always have an iPod with me. I can put 2Gb of MP3s on my BB. The interface is awful. But that may be enough for me as I know that I would never treat my iPhone as an iPod.</li></ul>I've been very happy with my Blackberry Curve. I like a lot more than my previous Blackberry 8700.Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-14643376201844691702008-02-21T10:28:00.000-08:002008-02-21T10:35:31.112-08:00Ithaca, NYIthaca was always different from the rest of the NY state. The picture speaks for itself about Ithaca (home of Cornell). It was the only county in NY that voted for Obama instead of Clinton!<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_5tusCAiltSo/R73D0CaMYcI/AAAAAAAALkE/Z67llE3QXB8/s1600-h/obama.JPG"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_5tusCAiltSo/R73D0CaMYcI/AAAAAAAALkE/Z67llE3QXB8/s400/obama.JPG" alt="" id="BLOGGER_PHOTO_ID_5169503246058545602" border="0" /></a>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-47637551099417332782008-02-20T22:51:00.000-08:002008-02-20T22:56:13.091-08:00Climbing Mount HamiltonToday, I went up Mount Hamilton (4300 ft) for Stage 3 of <a href="www.amgentourofcalifornia.com">Tour of California</a>. Here are some <a href="http://picasaweb.google.com/publicrezapictures/TourOfCaliforniaMtHamilton">pictures</a> and videos I took. Here are more pictures taken by others <a href="http://www.svihura.com/albums/TofC2008/Stage%203/slides/CANON_2008.02.20-0077.html">pictures</a>. It's amazing how fast the riders go. It was very cold on top of the mountain and the descent was freezing. I also have a whole new appreciation for the motorcycle riders who bring the races to TV. They were literally bouncing up and down. <br /><br /><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="288" height="192" flashvars="host=picasaweb.google.com&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fpublicrezapictures%2Falbumid%2F5169296134145597057%3Fkind%3Dphoto%26alt%3Drss" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-86872558433088151532008-02-18T11:37:00.000-08:002008-02-18T11:38:33.940-08:00Prologue and running into CancellaraI had a great time at the Prolgue yesterday. There were fans lined up all the way from downtown Palo Alto to the Oval at Stanford. And unlike a regular stage, time trials are fun to watch because riders go one at a time so the event lasts longer. All the teams had their big vans with trainers for riders to warm up. Enjoy the pictures.<br /><br />After the ride, we went to look for bathrooms at the GSB (Stanford's business school). We heard some noise and ended up entering the media room where Fabian Cancellara, the winner for the day and two time world champion, was being interviewed. I also ran into him at the start when I nearly ran into him when he was killing time before the start line. I've seen Fabian win a lot of time trials on TV.<br /><br /><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="288" height="192" flashvars="host=picasaweb.google.com&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fpublicrezapictures%2Falbumid%2F5168403614171683233%3Fkind%3Dphoto%26alt%3Drss" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-74255454436964137282008-02-14T11:02:00.000-08:002008-02-14T11:23:05.937-08:00Reputation and DUI<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.king5.com/topstories/stories/M_IMAGE.1175910ab03.93.88.fa.d0.b24ceb55.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://www.king5.com/topstories/stories/M_IMAGE.1175910ab03.93.88.fa.d0.b24ceb55.jpg" alt="" border="0" /></a>Washington state recently passed a bill that requires DUI drivers to have a yellow license plate (<a href="http://www.king5.com/topstories/stories/NW_021108POB_dui_yellow_license_TP.b0f57903.html">news article</a>). It's a bit like the Scarlet Letter. I like to see how effective this becomes. I think the bill has a problem. Some people share cars with other drivers. But DUI is a major problem in the US, and I'm happy to see experimentation by local governments. <br /><br />I love reputation based systems like eBay and wikipedia. It's a good way to build trust and fight spam. I personally wish there was an easy way for people to have a publicly visible reputation that was influenced by anyone. Imagine a world where people could easily point their cell phone at you and give you a plus or a minus vote. If you let someone merge in, the other driver can give you a small star. If you stop and help someone with a flat tire, you might get lots of stars. If you cut people off or cheat on the carpool lane, you get bad karma. That's similar to <a href="http://www.google.com/technology/">PageRank</a>. We all look at reviews for movies, restaurants, books, hotels, etc. And we look at the star rating on youtube, netflix, etc. Why not have it for people? There are now web sites that do this for professors and classes at universities. An open reputation based system is so much more effective than the usual student reviews for university faculty. Now imagine we did that in the office for everyone. <br /><br />Why not have a rating on this very blog post?Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-12442688600050454402008-02-11T22:11:00.000-08:002008-02-11T22:35:42.277-08:00Summer in the WinterIn the midst of organizing my move back to California, I've been working on a blog post about SF vs. Seattle for a while now. I hope to finish it one day along with the rest of the items in my draft. But for now, here is one thing loved about California -- winters. At first it was the joy of not needing a winter coat. Last Sunday, I rode a short <a href="http://www.breakawayfromcancer.com/">charity ride</a> for a good cause. George Hincape --12 time Tour de France veteran -- had organized the ride (<a href="http://www.bikely.com/maps/bike-path/embarcadero-san-francisco-to-woodside-II">picture</a>) and rode slow for mortals like me to have a chance to draft behind greatness. After the ride, I headed north to the Golden Gate Bridge (<a href="http://www.bikely.com/maps/bike-path/embarcadero-san-francisco-to-woodside-II">route</a>). Seeing the ocean and the GG Bridge was a treat after 70 miles.<br /><br />The bike trails, road, and polite drivers in Seattle are more conducive for biking than here. But my bike used to gather dust in the rainy winters of the Northwest or I used to freeze on the annual <a href="http://www.cascade.org/EandR/chilly/index.cfm">Chilly Hilly</a>. Nothing is perfect. C'est la vie.Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-59898420650663883082008-02-05T16:10:00.000-08:002008-02-05T16:16:55.986-08:00Lessig 4 Barack<a href="http://lessig.org/blog/2008/02/20_minutes_or_so_on_why_i_am_4.html">Lawrence Lessig</a> made a <a href="http://s3.amazonaws.com/truth/4obama.mov">great video</a> for why he's 4Barack. The video also demonstrates Lessig's masterful presentation skills.<br /><br /><center><object type="application/x-shockwave-flash" data="http://blip.tv/scripts/flash/showplayer.swf?enablejs=true&file=http%3A//blip.tv/rss/flash/653496&feedurl=http%3A//lessig.blip.tv/rss/&autostart=false&brandname=lessig&brandlink=http%3A//lessig.blip.tv/" allowfullscreen="true" id="showplayer" height="255" width="400"><param name="movie" value="http://blip.tv/scripts/flash/showplayer.swf?enablejs=true&file=http%3A//blip.tv/rss/flash/653496&feedurl=http%3A//lessig.blip.tv/rss/&autostart=false&brandname=lessig&brandlink=http%3A//lessig.blip.tv/"><param name="quality" value="best"></object></center><br /><br />See the <a href="http://lessig.org/blog/2008/02/20_minutes_or_so_on_why_i_am_4.html">comments</a> on the blog if you want to see some debates among viewers.Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-67446275245541550622007-12-06T14:41:00.000-08:002007-12-06T14:45:02.228-08:00Some videos from BrazilFootball: <a href="http://video.google.com/videoplay?docid=-8264170224952565703&hl=en" target="_blank">one</a>, <a href="http://video.google.com/videoplay?docid=-4677808364999646683&hl=en" target="_blank">two</a>, <a href="http://video.google.com/videoplay?docid=-7933917588258170434&hl=en" target="_blank">three</a><br /><br />Forro (a type of music/dance): <a href="http://video.google.com/videoplay?docid=-5170972823834974709&hl=en" target="_blank">one</a>, <a href="http://video.google.com/videoplay?docid=-7206042784023493355&hl=en" target="_blank">two</a><br /><br /><a href="http://video.google.com/videoplay?docid=-8264170224952565703&hl=en" target="_blank"><br /></a><a href="http://video.google.com/videoplay?docid=-7933917588258170434&hl=en" target="_blank"></a>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-74971162755870380122007-12-05T07:34:00.001-08:002007-12-05T07:35:30.967-08:00Last thoughts about Brazil<p class="MsoNormal">I’m not sure if I can put what I saw about the culture into words.<span style=""> </span>You really have to experience it.<span style=""> </span>The thing about <st1:country-region st="on"><st1:place st="on">Brazil</st1:place></st1:country-region> that really jumped out for me was the people and how they live life.<span style=""> </span>People just seem happy, not happy because of being contempt, but happy from having fun.<span style=""> </span>Brazilians know how to have fun.<span style=""> </span>They are also laid back and fluid.<span style=""> </span>Little planning happens, but things somehow manage to work out at the end.<span style=""> </span>Things are not organized.<span style=""> </span>And it’s not rude to back out from earlier ideas just because you no longer feel like doing something.<span style=""> </span>Maybe they’ve found the right balance.<span style=""> </span>It’s silly that we send out emails days before, make dinner reservations at such exact times with an exact headcount, and do things we don’t feel like because we committed to them days before.</p> <p class="MsoNormal">The culture in <st1:country-region st="on"><st1:place st="on">Brazil</st1:place></st1:country-region> is also different from Asian cultures that I’m used to in a big way.<span style=""> </span>Most of those places have a strong sense of obligation, various kinds of formality, and many implicit forms of expectations from others, all of which can often result in stress and unhappiness.<span style=""> </span>I didn’t find those in <st1:country-region st="on"><st1:place st="on">Brazil</st1:place></st1:country-region>.<span style=""> </span>People are warm and friendly, yet relaxed like Europeans when it comes to social situations.<span style=""> </span>People are friendly and help you, but they are not overly hospitable to make themselves or you uncomfortable.<span style=""> </span>I have never seen such warm friendly people with relaxed space between them.<span style=""> </span>I think it’s the best of both worlds.</p> <p class="MsoNormal">People generally love to dance and party.<span style=""> </span>My favorite was a woman in her 40’s who told me that she goes dancing 3 times a week: once with her husband, once with her girlfriends, and once alone.<span style=""> </span>Of course, this is only possible since people have maids at home who take care of kids.<span style=""> </span>Not everyone is a party animal.<span style=""> </span>I met my fair share of people who like to go home early and just chill.<span style=""> </span>But unlike here, it’s a choice they make and not one made for them by some silly rule that close down places.</p> <p class="MsoNormal">Finally, <st1:country-region st="on">Brazil</st1:country-region> – like the <st1:country-region st="on"><st1:place st="on">US</st1:place></st1:country-region> – is a country full of immigrants with a sad history of slavery.<span style=""> </span>But unlike the <st1:country-region st="on"><st1:place st="on">US</st1:place></st1:country-region>, there are no racial boundaries today (there is still a class division based on money and education, but that is universal).<span style=""> </span><st1:place st="on"><st1:country-region st="on">Brazil</st1:country-region></st1:place> is a real melting pot.<span style=""> </span>And most people share the same culture, food, and music.<span style=""> </span>It’s not like the <st1:country-region st="on"><st1:place st="on">US</st1:place></st1:country-region> where different groups of people watch different TV shows and often live in segregated neighborhoods.<span style=""> </span>I can’t describe what a typical Brazilian looks like.<span style=""> </span>They have a lot of diversity in their features and color, mainly because so many have mixed heritage.<span style=""> </span><o:p> </o:p></p> <p class="MsoNormal">Enough from me.<span style=""> </span>Go visit and see for yourself. </p>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-40361914079056825942007-12-04T21:29:00.000-08:002007-12-04T21:33:10.289-08:00Futbol Pilgrimage and Pictures<p class="MsoNormal">I had a chance to watch one football game in <st1:country-region st="on"><st1:place st="on">Brazil</st1:place></st1:country-region>.<span style=""> </span>The game was originally scheduled to be in the Maracana (the largest stadium in the world).<span style=""> </span>But the Police had a concert so the game was moved to a smaller stadium. <span style=""> </span>I reached the stadium an hour before.<span style=""> </span>The ticket was about $7 for the best seats.<span style=""> </span>There was live samba music outside and inside the stadium.<span style=""> </span>And people were singing samba songs throughout the entire game.<span style=""> </span>About a third of the people were dancing.<span style=""> </span>The game was an exciting 3-0 victory.<span style=""> </span>The experience was amazing.<span style=""> </span>The energy level was unbelievable. <span style=""> </span>There was a trophy museum for the team.<span style=""> </span>Some of them went as far back as 1915.<span style=""> </span>I’ve not seen so many trophies in my life.<span style=""> This is their sport. That's why they </span>are the king of Football.</p> <p class="MsoNormal">I met a girl from <st1:place st="on"><st1:country-region st="on">Belgium</st1:country-region></st1:place> at the game.<span style=""> </span>She is a 767 pilot at the age of 26!<span style=""> </span>She started taking flying lessons at the age of 17 before she was able to drive.<span style=""> </span>So her mom had to drive her to the airport for her to fly.<span style=""> </span>Irony!<span style=""> </span>The two of us visited the Maracana the next day.<span style=""> </span>We got a little lost, went around the stadium, jumped over a construction site, went down a fence, and found ourselves on the field!<span style=""> </span>A few people were preparing for the Police concert.<span style=""> </span>Finally, somebody approached us and told us that we should not be here on the field and asked us to leave.<span style=""> </span>He tried to sell us VIP tickets to the concert with a backstage pass.<span style=""> </span>We later found the <st1:place st="on"><st1:placename st="on">Futbol</st1:PlaceName> <st1:placetype st="on">Museum</st1:PlaceType></st1:place>. <br /></p>See the photo gallery below. There are a few short videos to give you a sense of what it was like.<br /><p class="MsoNormal"><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="288" height="192" flashvars="host=picasaweb.google.com&noautoplay=1&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fpublicrezapictures%2Falbumid%2F5140253767215815825%3Fkind%3Dphoto%26alt%3Drss" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed><br /></p>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-60794673426379086632007-11-21T17:59:00.000-08:002007-12-04T22:51:18.402-08:00First impressionsI love Brazil so far. Belo Horizonte is the 3rd largest city in Brazil with a population of 2M. It's called the Bar Capital of Brazil by the <a href="http://travel.nytimes.com/2007/10/28/travel/28next.html">NY Times</a>. I'm here to work with Googlers in our engineering office on a couple of projects. Last night, I enjoyed getting stuffed at a great <a href="http://www.fogodechao.com.br/"><span style="">churrascaria</span></a> and later went out for caipirinhas and a jazz club.<br /><br />Tonight, there was a football game between Brazil and Uruguay, rivals after the heart breaking loss in the 1950 World Cup final. Fans were paying less technical attention to the game than fans I've seen in other countries. But they for sure had a better time as the drinks kept flowing all night and the conversation between people was often louder than the announcers screaming 'Gooool'. I guess that's what happens when you have the most talented players in the world.<br /><br />I had borrowed a couple of Portugese languages tapes from the library but never had a chance to listen to them. It's hopeless to try to learn a language in a week. It's certainly not as easy as understanding Spanish. Lucky for me, people think I'm a local until I have to open my mouth to speak! :)<br /><br />Finally, as usual, my bag of jokes translate well after doing a s/{tork|norwegian|santa-singh|blond}/portugese (this is an inside joke for some and a puzzle for the rest of you)!Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-51855133445439386492007-11-09T15:31:00.000-08:002007-11-09T15:42:28.236-08:00Brazil and a Blog PostRead the <a href="http://googleblog.blogspot.com/2007/11/crossing-team-and-global-boundaries.html">Google Blog post</a> about my project and how things get done at Google.<br /><br />In other news, I'm going to Brazil in a week. I'm really looking forward it to. And it looks like I'm going to get a chance to watch a football game at the <a href="http://en.wikipedia.org/wiki/Est%C3%A1dio_do_Maracan%C3%A3">Maracana</a> (largest stadium in the world)!Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-3738650214192897152007-10-31T00:08:00.000-07:002007-10-31T00:17:05.923-07:00Busy week at workI was involved in three independent launches this week:<br /><ul><li>My 20% Farsi keyboard launched on Monday. It's now listed in the <a href="http://www.google.com/ig/directory?num=24&url=http://www.google.com/ig/modules/farsi_keyboard.xml&output=html">Gadget directory</a>. I've also embedded the gadget below.</li><li>We finished up a project that made some backend changes to Gmail. Nothing user visible, but some invisible things are now better.</li><li><a href="http://www.techcrunch.com/2007/10/30/details-revealed-google-opensocial-to-be-common-apis-for-building-social-apps/">OpenSocial</a> is finally announced. It's launching on Thursday! <br /></li></ul><script src="http://gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/farsi_keyboard.xml&synd=open&w=320&h=220&title=%D9%81%D8%A7%D8%B1%D8%B3%DB%8C+On-Screen+Keyboard&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-85418340129958145092007-10-29T16:09:00.000-07:002007-10-29T16:20:47.564-07:00Searching Google in Farsi<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.google.com/ig/modules/farsi_keyboard.png"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://www.google.com/ig/modules/farsi_keyboard.png" alt="" border="0" /></a>I sometimes need to do searches in Farsi, but I don't know the keyboard bindings. I built out an iGoogle Gadget that is an on-screen Farsi keyboard (see the screen shot). It launched today. <a href="http://www.google.com/ig/adde?moduleurl=farsi_keyboard.xml&source=imag%60">Click</a> here to use it. A lot of credit to Googlers in India who <a href="http://labs.google.co.in/indic.html">built</a> this out for several other Indic languages. I only extended it for Farsi.Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-34798864093883610152007-10-15T20:38:00.000-07:002007-10-15T20:44:47.327-07:00Do you have a racial bias?Here is a site that tells you about your biases against people. Go to <a onclick="return top.js.OpenExtLink(window,event,this)" href="https://implicit.harvard.edu/" target="_blank">https://implicit.harvard.edu</a> (just click on demo and it takes about 10 minutes). <a href="http://www.associatedcontent.com/article/355514/unconscious_racial_bias_leads_to_different.html">Here</a> is an article about this.Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-63380528975724238692007-10-11T17:04:00.001-07:002007-10-11T17:12:54.294-07:00Right vs Left BrainThis has been going around for a week. There is an <a href="http://www.news.com.au/heraldsun/story/0,21985,22556281-661,00.html">article</a> about it. If you see her turn clock-wise, then you use more of your right brain; otherwise, you're a left brain person. Your left brain is in charge of logic, math, analytics, practical, etc. Your right brain is in charge of creativity, art, feeling, fantasy, risk, etc. And most people I know have been able to rotate the direction with some concentration and luck. <br /><br />On most personality tests, I score right in the middle. So I first thought that I will not see her rotate at all. But I guess I'm more of a right brain person according to this. I wonder if it'll change from week to week. <br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.news.com.au/common/imagedata/0,,5693171,00.gif"><img style="cursor: pointer; width: 200px;" src="http://www.news.com.au/common/imagedata/0,,5693171,00.gif" alt="" border="0" /></a>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-7660482345194277642007-10-08T23:48:00.000-07:002007-10-08T23:56:10.497-07:00Pictures from AntarcticaA couple of friends recently visited Antarctica. Enjoy their <a href="http://www.imagestation.com/album/slideshow.html?id=2095669859">album</a>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.imagestation.com/picture/sraid224/p2126c09a718a7527f88048ab32e6536f/eab8c92f.jpg"><img style="cursor: pointer; width: 146px; height: 97px;" src="http://www.imagestation.com/picture/sraid224/p2126c09a718a7527f88048ab32e6536f/eab8c92f.jpg" alt="" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.imagestation.com/picture/sraid224/pacbbd918231480c45ac43edeb04dc80f/eab8d0e6.jpg"><img style="cursor: pointer; width: 203px; height: 98px;" src="http://www.imagestation.com/picture/sraid224/pacbbd918231480c45ac43edeb04dc80f/eab8d0e6.jpg" alt="" border="0" /></a>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-3353933979588395532007-10-03T11:50:00.000-07:002007-10-04T09:12:02.486-07:00Further ReadingI'm visiting Cornell for a few days. I'm giving four talks here. Here are some additional reading for those who are interested.<br /><br />Google Talk Servers - CS 212<br /><ul><li><a href="http://video.google.com/videoplay?docid=6202268628085731280&q=reza+behforooz&total=1&start=0&num=10&so=0&type=search&plindex=0">Video of my talk</a></li><li><a href="http://code.google.com/apis/talk/open_communications.html">Developer Info for Google Talk</a></li><li><a href="http://www.xmpp.org/rfcs/">XMPP Specs</a></li><li><a href="http://code.google.com/edu/parallel/dsd-tutorial.html">Introduction to Distributed Systems</a><br /></li></ul>Google Search - CS 211<br /><ul><li><a href="http://en.wikipedia.org/wiki/PageRank">PageRank</a></li><li><a href="http://infolab.stanford.edu/~backrub/google.html">Original paper</a> by Larry & Sergey<br /></li><li><a href="http://www.google.com/technology/pigeonrank.html">PigeonRank</a><br /></li></ul>Google's computing infrastructure - ACSU Talk<br /><ul><li><a href="http://labs.google.com/papers/googlecluster.html">Google's cluster architecture</a></li><li><a href="http://labs.google.com/papers/priceofperformance.html"> The Price of Performance</a></li><li><a href="http://services.google.com/blog_resources/PSU_white_paper.pdf">Power supply optimization</a></li></ul>Links to papers on some of our distributed systems infrastructure:<br /><ul><li><a href="http://labs.google.com/papers/bigtable.html">BigTable</a></li><li><a href="http://labs.google.com/papers/gfs.html">GFS</a></li><li><a href="http://labs.google.com/papers/chubby.html">Chubby</a></li></ul>Links for info about resumes and interviews - SHPE Talk<br /><ul><li><a href="http://niniane.org/resume_howto.html">How to write a Killer Resume?</a></li><li><a href="http://niniane.org/interview_howto.html">Preparing for a Software Engineering Interview</a><br /></li></ul><br />More <a href="http://code.google.com/edu/videolectures.html">videos</a> from other Googlers.<br /><ul> </ul>Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-38532555844288248532007-07-25T23:47:00.000-07:002007-07-26T00:11:42.099-07:00Prologue in Palo Alto!This year's <a href="http://www.amgentourofcalifornia.com">Tour of California</a> will start at Stanford. Sure it doesn't beat the recent Prologue in London for this years Tour de France, but it will still be fun as the best riders in the world speed on Palm Drive. Two more <a href="http://www.amgentourofcalifornia.com/Route/map.html">stages</a> will start or end in the Bay Area. For background, this event has the same teams and cyclists that are currently touring around France.Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-45130463326665742672007-06-21T23:30:00.000-07:002007-06-21T23:51:28.523-07:00Bike Maintenance 101After nearly 3000 miles and no maintenance except basic lubing, I decided it was finally time to take care of my bike. I bought a can of <a href="http://www.whitelightningco.com/products/clean-streak.htm">White Lighting</a>, and it did an amazing job. I didn't recognize my bike. My cranks used to be black and really dirty. I should have taken photos before, but <a href="http://picasaweb.google.com/publicrezapictures/BikeCleaning">here</a> are pictures after I finished. It really looks new. It's the best $10 you can spend on a bike. <br /><br />I also bought a new pair of Michelin tires. I was surprised that most road tires are about $40-50. Mid-range car tires cost about $50! I don't get it. I also saw anti-puncture tires that are slower to ride. Maybe I'll switch to them when I move to San Francisco since the roads there are perfect for getting flats.<br /><br />In the conversation at the bike shop, I also learned that most people replace chains after 1500 miles. Apparently it's the best way to maintain your cranks which are more expensive. I had no idea, and I was long overdue. So I did that too. <br /><br />Now I'm ready for my ride to Portland in a few weeks.Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-30549572695078907792007-06-18T22:17:00.000-07:002007-06-18T22:48:52.774-07:00Cycling VideosI really enjoyed watching <a href="http://www.netflix.com/Movie/Hell_on_Wheels/70039429">this</a> documentary from Netflix on the Tour. A few clips are on youtube: <a href="http://www.youtube.com/watch?v=hCdvq9JfQsM&mode=related&search=">trailer</a>, <a href="http://www.youtube.com/watch?v=QvERKz5bUnc">clip 1</a> and <a href="http://www.youtube.com/watch?v=ly5IkBxvYL0">clip 2</a>. Although <a href="http://www.youtube.com/watch?v=ypGlreJYFWM">this</a> IMAX clip looks even better.Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-37555520466297141802007-06-18T21:56:00.000-07:002008-01-04T09:17:02.704-08:00Google Scalability ConferenceGoogle is hosting a conference this weekend in Seattle on Scalability (<a href="http://www.google.com/events/scalability_seattle/agenda.pdf">see agenda and info</a>). Marissa Mayer and Jeff Dean will be here. I'll be presenting a session:<br /><br /><span style="font-style:italic;"><span style="font-weight:bold;">Lessons in building scalable systems</span><br /><br />Since launching Google Talk in the summer of 2005, we have integrated the service with two large existing products: Gmail and orkut. Each of these integrations provided unique scalability challenges as we had to handle a sudden big increase in the number of users. Today, Google Talk supports millions of users and handles billions of packets per day. I will discuss several practical lessons and key insights from our experience that can be used for any project. These lessons will cover both engineering and operational areas.<br /><br />Reza Behforooz is a Senior Staff Engineer at Google and is currently the technical lead for the Google Talk servers. He's passionate about building large systems and working on communication products in an attempt to make the world a smaller place. While at Google, he has primarily worked on Google Talk, Gmail, orkut, Google Groups, and shared infrastructure used by several Google applications. Reza holds a BS from Cornell and a MS from Stanford in Computer Science. Prior to Google, he held various engineering and management positions at Microsoft and two startups, Zaplet and Epiphany.<br /></span><br /><br />As far as the <a href="http://www.rezab.com/2007/06/square-cake-puzzle.html">cake puzzle</a>, see the newly added comment (no horizontal cake cutting please).Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-39159662072194071752007-06-11T22:51:00.000-07:002007-06-11T22:59:06.531-07:00Square Cake PuzzleLast week, we started doing puzzles in the office. Bruce asked one that I enjoyed. There is a square cake. And there is a square shaped hole in the cake. The hole is in a random place (and at a random angle). You want to evenly divide the cake with only a single cut. Where do you cut?Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.comtag:blogger.com,1999:blog-6907615.post-56897467520992460502007-05-18T15:17:00.001-07:002007-05-18T15:23:44.885-07:00Life at the Googleplex<a href="http://googleblog.blogspot.com/2007/05/massage-interviews.html">Here</a> is an interesting story about doing massage interviews.Reza Behforoozhttp://www.blogger.com/profile/05149195400597133699noreply@blogger.com