Archive for life

In an elevator..

// May 4th, 2013 // Comments Off // humor, life, me, tech

I haven’t written anything in a while, and I thought tonight was  a good night to write. Something interesting happened today while I was in the elevator and I thought I’d share it here with you all :p

Seriously if you think this is boring, either skip to the last two sentences or type in your address bar, I hear they have interesting videos on that site. Come to think of it, here’s a quick story: My cleaning lady likes to talk, and yesterday she was talking about youtube and how she loves it and the first time she saw it etc.. Now she’s a bit old and not tech-savy, yet she was tell me how she felt the first time her daughter showed her youtube. She described her feelings as if this youtube site was invented before world war 1. Then I started to recall when I first saw youtube. I remember I read an article about it on slashdot around May or June 2005 (it was our digg/reddit back in the day). I saw the site, and I believe it was during its first or second month, and there were less than a thousand videos. You could have literally browsed through all the videos in a day. I remember thinking to myself, that this was a very stupid idea because streaming videos costs money, and how could they pay for all that bandwidth..? Ads? Who could manage such a global ad system? It turned out google had the power to create a global ad system so powerful, it actually made youtube work and become a billion dollar investment. Why am I talking about youtube? this is supposed to be about elevators…

Okay back to my elevator story. So I get on the elevator today around 6pm, and there are 5 people. I look at the board, and 5 buttons are pressed. After I got off on my floor, I was talking to my neighbor about the probability of each person getting of on a different floor. Its not really that rare, because the probability was 0. 25 (I’ll show you how to calculate it).


So my neighbor goes on to tell me that last week he was the tenth person to get on the elevator from the garage in our building. Each person went to a different floor, and one of them actually got off on the ground floor, which is uncommon. So, I started to think to myself, how rare is that? 10 people get on the elevator in the basement, and all go to 10 different floors in a 10 story building? The answer is 3 in 10,000..! Ok, then I started to think, how many times has this elevator had exactly 10 people in it? Our building is only 35 months old. If we assume that the elevator gets exactly 10 people going up from the basement floor(s) in it, 4 times a day during the weekdays and twice during saturdays and sundays, and I do believe that I’m pushing it there. That would mean that since the building was built until today, this has only happened 3639 times at most.

So, the probability that this has ever happened in our building is 0.36, which means there is a 0.636 chance that this has never ever happened..! And if it did happen, then it would have been a very very rare occurrence…! I sorta wish I was on that elevator…

Okay to calculate the probability, you do the following:
– First person will obviously push an un-pressed button: probability is 10/10 = 1
– Probability of the second person pressing one of the un-pressed buttons: 9/10 = 0.9 (there is a 0.1 chance he’ll push the one pressed by the first guy)
– Probability of the third person pressing one of the un-pressed buttons: 8/10 = 0.8 (again there is a 0.2 chance he’ll push a previously pressed button)
– Probability of the forth person pressing one of the un-pressed buttons: 7/10 = 0.7
– ..
– ..
– Tenth guy pressing the last un-pressed button: 1/10 = 0.1 (meaning there is a 0.9 chance he’ll press a button already chosen by someone else!)

Total probability is the product of all the probabilities = 1 * 0.9 * 0.8 * 0.7 …. * 0.1 = 0.00036288

which means this only happens 3 or 4 times every 10 thousand times!

obviously this was the case for our building, and it might be different for yours, but at least now you know how to calculate it. I wonder if anyone actually read this.. LOL

age = age + 1 ;

// December 19th, 2007 // 3 Comments » // education, life, me, Personal

J’ai 24 ans et 2 jours.

I became 24 years old 2 days ago, and since i’m studying french I thought i would write it in french.

Ok, I know I haven’t written in a while, and that’s because it took too long to get internet to my apartment! I know, you would think things would be easier in Montreal than they are in Saudi…

Anyways, I thought I would write this post about the month and a half I have spent so far in Montreal, so here goes:

- I thought I knew what cold was, until I walked to school last week while the temperature was 14 below zero without the wind chill factor!

- I know many people always talk about homesickness, but I am surprised I don’t miss home that much. I don’t know whether its because I was too busy to be homesick, whether It needed more time, or whether its because I met some really nice people here that made me feel at home. I would really like to thank them all, especially Hamad, Hamid, Othman, and Mustafa. But, I have got to say I really miss my parents…

- The hardest thing about french is pronouncation. Most of the time you have to guess the meaning of the word. I mean so many words sound exactly the same, but you know the meaning from the context its in. Now I know how students felt in Saudi during english classes.

- The best thing I found in Montreal is that cafes are everywhere, nothing like a nice big cup of coffee early in the morning. j’adore le café beaucoup!

- I bet most of you are celebrating eid right now, but here in Montreal most of the people are celebrating eid on Thursday, because they haven’t seen the moon.

- Mobile phones here suck. I asked a shop when I first came here if they had the nokia N95, and the guy became so excited and he said, we should get it before the holidays! Come on, we had that phone in Saudi for months!!

- To get free incoming calls for my mobile phone they made me sign a 3 year contract!! or else I would have to pay for my incoming phone calls!!

- In class a few weeks ago they asked us to talk about foods from our country (again, this was not a computer Science course!). So I talked about our traditional Saudi cuisines, and after I finished a student asked me why the shishah wasn’t on my list! It turns out that they even have shishas in Mexico! I’m serious…

- Never buy furniture from IKEA, I know they might look nice, but assembling them is torture!

- When you look for a place to live, try to look for a place you will live in for a long time, because there is nothing harder and more frustrating than moving!

- Using a washer and dryer wasn’t as hard as I thought it would be!

- I still make a mess when I cook (you should see my oven)! I even make a mess when I order pizza!

- Its a good thing I brought my XBox360 with me!

- One of the weirdest thing that I found here in Montreal is that stores here open until 9 on Thursdays and Fridays, but on Saturdays and Sundays they close at 5 or 6 !! Why would they close early on weekends? I don’t get it…

- When you first move to Montreal you’ll hate it! Especially when you compare it to other cities in the Europe. After 2 weeks you’ll think to yourself “oh, I won’t be here forever. I think I’ll manage to make it”. After a month and a half you’ll eventually see the beautiful side of it, and you’ll learn to love it for its uniqueness.

Ok, I think this is enough for now…
Over and out

رحمك الله يا شيخنا

// December 16th, 2007 // 9 Comments » // family, life, Personal

I usually write in English, but this time I need to make an exception because it is about someone I really love and care about. Last night my uncle sheik ali aljumah past away. May Allah forgive him for all his sins and grant him alfirdous…

توفي البارحة عمي الشيخ علي الجمعة رحمه الله رحمة واسعة. كان الشيخ أستاذا مشاركا بجامعة الامام محمد بن سعود الإسلامية في القصيم و رئيسا لقسم السنة في كلية الشريعه وأصوله. أسال الله العلي القدير أن يغفر لشيخنا و أن يجعل ما أصابة من مرض خلال العامين الماضيين كفارة لذنوبه، و أساله جل و علا أن يجمعنا به في الفردوس الاعلى.

سيصلى على الشيخ غدا الأحد بعد صلاة العصر ان شاء الله في جامع الونيان في القصيم.

هذه نبذه عن الشيخ

و هنا بعض فتاوي الشيخ

تحديث: ارسل لي احد الاحبة صور لجنازة الشيخ (لرؤية الصور مكبرة، اضغط عليها)

كم تمنيت أن أكون معهم فأصلي عليه

My PhotoBlog…

// November 13th, 2007 // 10 Comments » // life, website

Ok , it’s been a week since I moved to Montreal. There is only one thing I have to say…

“There’s no place like home”. The weather here is cold, the city is really weird, but all in all, its a really fun place to be.

I made a photoblog before leaving Riyadh for pictures I have taken, you can find it here, and I’ll add a link to it as soon as I find the time…

Here is a picture I took a few nights ago from my friends apartment (you can also find it in the photoblog)…

update: Sorry I took down the blog and moved to flickr, check the links on the left. Merci :)


// September 1st, 2006 // Comments Off // friends, life, me

Graduating from college is something I’ve been waiting for since my first day in kindergarten. As a child this day seemed so far I never thought it would come. But now that it has come, it’s not as good as it seems! It’s scary, freaky, and LONELY. It’s scary and freaky because there are so many ways you can go, but it’s really difficult to decide were to go next. I thought I had it all figured out, but once you graduate and you start getting “nice” paying job offers, then that kind of starts to play with your head.

One of the biggest things that I hate about graduating is that it’s LONELY. I realized a few days ago that most of my friends will not be in Riyadh anymore! Three of my dearest friends will be going to the military, one went to Australia yesterday, and one went to Canada yesterday. :( They have all been really great friends, they have been there for me when I needed them the most, and I will miss them alot.

May Allah join us all back together in AlFirdous.