Dec 26, 2006

After MS Interview!

well, there are 3 outputs from MS interviews!, those who get accepted, those who know that they didn't did good and that's why they were not accepted, and those who don't know what on earth has just happened!..

well, to start with who didn't get accepted, it's really OK, as a start try to find what did u miss?.. try to read my Interview tips again, hope this could help!. Try to look at the interview process as an experience interview, u really did sit with gr8 minds, team leads and managers in the largest software development company in the world!.. they r brilliant, and u had the opportunity to talk to them coz from the phone interview, they suggested that u r a qualified person, and u r qualified, u just need some more work to do. Do it, study harder for next time interviews, Don't give up!, it's really a life time chance that's gonna change ur life!!, u can't give up that easily!, or can u?.

For everyone got accepted!, Congratulations!.. :-) I'm really happy and looking forward to c u soon in MS campus!, u really reached something u dreamed about for a long time!, or maybe worth, u didn't even dare to dream about it!. will to be honest, if u think that u reached ur goal, maybe it'll take u some time, maybe till u start working, and u'll find it's not the end, it's just the start!!.. what do u think!, that this is ur stop!, it's just getting starting!..

well, there is a lot of stuff that u'll need to ask about of course, a MS recruiter will contact u soon to talk to u about many things, u'll be assigned a relocation specialist, a paralegal, and a lawyer!.. all will work with u for ur visa procedures if u are not already an American citizen... MS consider it all as a long term investment.. Investment in U!. Don't get scared!, Never be afraid, those people who hired u know what they r doing!, U R QUALIFIED TO WORK FOR MS.. u needed me to tell u that!.

2 days ago, I'm still currently working in a tool that's gonna be released with MS longhorn next year, so I was discussing the implementation design and algorithm with my team member (He's also now my project lead or my senior Dev.).. well, He's 27, he has 2 masters in Computer science!.. and he has been working for MS for a bit more than 1 year now.. To be honest, getting my code reviewed is not that easy in MS!!.. there's a lot to talk about during code review, a lot of standards that u need to follow!!.. a lot of things that u need to secure and make sure that u didn't leak!.. so we had this argument about a performance issue in the design that he wants to implement, to make it brief and simple, I didn't agree to initialize all the class objects just by calling the constructor, if the caller needs to do something I wanted him to call it individually just in case the caller doesn't need to use all the methods!.
Well, after a long argument with him, we both agreed to use his approach in case the caller is actually gonna use all the methods that's called in the constructor!.. Anyway that's not what I needed to tell u, but, I'm just like u, I just graduated from the Computer science school in Cairo, and I just had a good and a true argument with some1 here!.. what I want to say is, If I'm OK, U'll be!.. :-) I'm actually just like u, hope I continue to be OK!..

But really, U'll learn everything!.. right now, concentrate on whatever u r doing, if u have any questions about the procedures or anything in ur mind u r free to leave me a comment and hopefully I'll be able to answer ur questions!

Dec 18, 2006

Microsoft Interview Results!

OK.. Today, I knew that 3 of my friends, including my best friend Emad are going to be offered positions for Dev Div team in Microsoft.. I hope my tips helped all of u to pass.. I also hope that the whole interview process ( doesn't matter if u got accepted or not) had been a nice and a good experience for u. You really met gr8 minds, had the opportunity to talk and chat and solve problems with them.. Had the opportunity to think with them.. Please make it a useful experience for u.. and If u didn't have an offer, study harder for the comeback!..

for anyone who has participated in this interview process (Doesn't have to be exactly these interviews, any interviews that u did with MS even in the past), can u please tell us ur experience, how did u do?, is there anything that anyone should know about?, how to prepare, how did u feel?.. how many questions did u answer?, what do u need to stress on next time in the interviews?.. how did the interviewers talk with u?.. even the simplest stuff that u were curios about before the interview, say it so that others can benefit from it.. waiting for replies.

Dec 8, 2006

Microsoft Interview Tips!

Of course since I'm a SDE, I'll talk about tips for SDEs or SDETs interviewing for MS..

Tip #1. Do u love Microsoft?.. want to join MS? why?
U really have to think why do u want to join MS and do u have the passion for technology or what it can do?!.. that's a question u need to ask urself!. Try to read more about Microsoft.. have u heared about something called the green house?.. try to do some homework about the company that u wish to join.

#2. SDE or SDET?.. Prove it!
CODE, CODE, CODE, CODE... U really need to write a lot of code on paper.. think on paper!.. remember there won't be a PC in the interview process, u'll be asked to write a lot of code on paper.. Test and debug your code.. Think, be creative!.
Optimizations.. From now on, whenever u write a piece of code, optimize it.. was it O(n^2)?.. make it O(n*log n) by some sort of binary search or something.. did u do it?.. Why don't u start using pointers, get a handle to the whole input or something, and maybe u'll be able to optimize it to be O(n)!!!

#3. Your CV... 95% Your interviewers will have your CV while interviewing you.
Everything in your CV, U must really know it.. Know ur CV..

#4. It's not all about how much u already know!.. It's about how much u r ready to learn.
It's about ur ability to develop.. and believe me it's totally true, I'm here and I c it myself!.. People in Microsoft have the ability to recognize who have this ability and who don't!.

#5. Communication!!.. how do u communicate with the interviewers?, do they understand u?.. did they get what u really want to say?.. do u understand them?.. how good is ur english?
If your english is not that good, u still need to communicate with ur interviewer, u still need to show him how good u r!.. So, If you didn't understand a question or part of it, after the interviewer finishes, ask him to repeat the question again.. It's really OK to ask, and believe me it's much better than answering a whole different question!. u still need some data?, talk with the interviewer.. Communicate with him!!.. if ur english really doesn't help u, then after u have been asked the question, try to have like 10 sec. or something to put the answer in place in enlgish, and then say it, try to avoid hesitating or talking then stop, then talk again, then stop!.. it makes the interviewer feels that u lack some confidence, and its a kind of miss communication too!.. Ur interviewer might be ur team lead, or team member!, so If u can't communicate with him, he won't be sure to accept u!.

#6. Be ready for the interview!.. u really really need to study very hard!.
Solve all types of puzzles u c.. Data Structures, u have to be able to write full classes of a linked list, trees... etc. on paper!.. what's a stack?, how to test it?.. etc. Searching in a string, string operations, binary search... Sorting, all types of sorting, did u know that there is a sorting algorithm that sorts an array of integers in O(n)?.. read about it, it'll open ur mind to code optimization.

#7. No matter how many questions u've read, no matter how many interview questions u have read... Get ready to c whole new set of questions in ur interview!.
Don't get surprised or afraid from any question.. always expect that u r going to be asked a new question!.. go step by step.. Don't be afraid.. no matter how u think this question is hard or un-solvable. IT IS!.. just start collecting small info, write them down.. go another step forward.. just a small one... U 'll be there!.

I hope u'll remember all these tips, make sure u do them!.. about what to wear, u r free to wear anything!, ur interviewers might be wearing shorts!!. so wear whatever is comfortable.. for example I was wearing a black trousers and a grey T-shirt.. just whatever makes u stop thinking about it!..
I guess that's all what anybody should need in a Microsoft interview!.. but really if u have any questions or need some help with some specific thing that I missed or anything that u have in mind, u r free to leave me a comment and I'll be more than glad to answer or help!.. Hope to c u soon in Microsoft Campus!

Dec 4, 2006

Who Am I ?

"Just a normal person with nothing to lose" Academy award winner Kevin Spacey in American Beauty. I just wanted to say this sentence coz I really love it.. about me?, I'm just a normal average guy, love to have fun.. Love to be Free!!


Don't u want to be free?!, Imagine how tied u r right now?, how many things are running thru ur mind?.. don't u want to relax for a while?!, stop thinking.. ur work, ur friends, ur fiancee or wife or girlfriend, ur career, how much u should save each month, how much u owe to some1.. Oh my god, 5 min of peace of mind are considered a treasure these days!..
How r u?....... No really.. How r u?!.. Are u OK.. don't worry, everything is gonna be OK.. everything is really gonna pass.. WOW, don't ever feel alone.. that's a bad feeling, it's weird, no matter how different people are, it's harder than they can stand to be alone!..
so, take a look around u.. Float above ur body.. c urself right now sitting in ur office or ur room, take a look on people around u.. What r they doing?.. How do they feel?.. If ur love is near u, hug him/her.. Call him/her to tell her that u love them.. that they mean the world 2 u..
ask them.. How r u?.. How u doing?.. I just realized that this simple question means the care of the world!.. How are they holding in life..

learn how to relax.. Love.. Stop thinking for a while.. Love ur life.. Thank god for everything u have.. Kiss ur mom & dad telling them that u really appreciate how they did their best to raise u.. be thankful for what u have.. how r ur friends?.. It's amazing how many people are running in my mind right now, even if they think I never think about them, or doesn't even know, but I'm sure I'm also on somebody's mind right now..

I'm not a philosopher and sure not trying to be one.. And I'm sure u have no idea what I'm talking about.. but don't worry.. U'll some day..

Nov 3, 2006

After One Month With MS

Well, Do you want to know how Microsoft is?..


Ok... Microsoft Campus is HUGE!!.. We have many buildings, many many buildings.. My building is building 28.. We have almost like 5 soccer fields in the campus, probably like 1 baseball field and basketball courts in some buildings.. U can come to work at anytime u want to.. Almost all communications are done by e-mail, I'm still new but there are these automatic groups that u join since u r in their team, so u receive every day at least 20 e-mails.. For me, most likely I receive 8 e-mails that are sent for me (not for a group that I join) by my boss, my team members, MS benefits.. etc..

U have a 1-on-1 meeting every week with ur direct manager to talk about ur progress, any issues that u have, ur plans..etc.. I'm an SDE (Software Development Engineer) in the Windows serviceability team (Team responsible of delivering hot-fixes, service packs and special customer's services) and I have 2 Pcs on my desk.. 2 LCD monitors, and u have a switch so that u actually can switch one LCD between the 2 Pcs... My 2 LCDs work with on pc, and with the switch I can switch one of the LCDs to see the other PC... One of the Pcs is my Development PC, and the other is my testing PC.. U have 2 LCDs attached to one PC because that increases ur productivity in writing code, this way its easier for you to open 2 VS or have 2 maximized windows one on the 1st LCD and other App is on the other one and u can move everything around and c everything clearly without having to minimize and maximize every now and then (and believe me having 2 LCDs is not just nice and fun to have, they actually DO increase ur productivity)..

Right now buildings are crowded and they r building new buildings to fit all MS employees, so I'm currently sharing an office with some1, so almost every office now contain two SDEs or SDETs (SDE in Test).. Except ofcourse Team leads and PMs who have their own single offices.. U have this MS ID card, where u enter the buildings just by passing it infront of this thing so that the door opens for u, no one should be in MS campus unless he's a visitor or an employee, otherwise MS security will ask him to leave asap and 'll make sure that no one un-authorized is in the campus..

Each floor in the buildings have free video game, foosball (the little soccer table with little players) or an Xbox in one of the meeting rooms (all these games are actually in my building).. There is also free Cokes , popcorn, Starbucks Coffee.. all free.. You have a lot of meetings every week, and I mean a lot of meetings.. My outlook calendar is filled with meetings and events and sessions.. Some of the sessions I have them scheduled next June or something!!..

People working in MS are from all countries, u c Arabs, Indians (of course, 2 of my team mates are Indians), Chinese ( have a team mate who's Chinese), British, French (my manager is French), Bangladesh, Turkey and of course from the US (one of my team members also is American).. So my team consists of 5 and our team lead is 6..

People in Microsoft are really really nice, really funny, and really polite.. We have this gr8 environment between us, which makes us really a team.. U r flexible to do anything u want, which makes u comfort, so u want to make others comfort, which reflect to the way u work, so u want to produce more and more, in a better way.. Which I think is excellent environment to work.. In my 1st and 2nd week I had this 3 or 4 meetings, where all the WinSE Devs (Windows serviceability Developers) join and all we did was introducing new employees like me, and introducing old employees and having jokes and laughs!.. :-) so we r really working hard..

One thing that I really really liked, and still amazed!.. is that I met all people who interviewed me.. and they all remember me by NAME!!.. I come to them say Hey, u might not remember me, and before even I complete my sentence, they say.. heyyy.. I remember u.. U r Hany Barakat from Egypt!!.. even my manager's manager remembered me by name!!.. btw they didn't remember others who got accepted in same interviews last year.. THEY ONLY REMEMBER ME.. AND BY NAME!!!

I also met Priya, she was my recruiter, we had this welcome party one day, I had some energy so I was all over the party making jokes and playing with everyone, That made Priya ask me to have an interview with her to post it on Microsoft Jobs blog!!.. so we r having this next week in the Cafe while having lunch.. so my name is gonna be on MS website from the 1st month at work!!.. :-) cool !!..

Right now I'm using C++ in the product that I'm working on now, which might scare some people coz we didn't study C++ in school and I always thought that VC++ is really hard.. but this is not Visual, this is only C++, u either work on a console application or a library, I never liked VC++, but C++ is fine.. also I'm in WinSE team, so most of the code is already there, I only either fix something in it or redesign it to work better.. and if there is any function that I don't understand, there are many places to look it up and know what exactly it does.

Owns in MS means this part is yours, u r responsible for it.. it's ur code.. I own this tool that I'm working on right now which 'll be shipped n sha2 Allah with Windows Longhorn Server next year.. and after Windows Vista is shipped, I 'll own many of the file systems and new file systems in it, and I 'll also own the command propmpt!!.. the cmd.exe!!.. :-).. which I find cool to own something used by many people!..

In MS we don't use VS to build or compile, instead we have this command prompt tool to build and compile our code.. and u can edit ur code anyway u want, but u only compile using this tool..
The first thing u do is do something called enlisting (downloading the source code on ur machine to be able to compile).. only if u have permissions to.. and since I'm in the WinSE team I can enlist any Windows version to compile..

Actually there is still a lot to talk about!!.. so y don't we leave it in another post?.. hope 2 c u all soon.

Sep 30, 2006

US 2nd day

It has been a while since I last post anything, I was relocating to the US since my last post, Seattle, Now I'm in Seattle. Actually its a very nice city, very alive, looks cool, a lot of things to do around, near the sea so u can get nice scene every once and a while. I'm staying now downtown Seattle not in Redmond where Microsoft is. Check out Seattle on any map on the internet to know where to live near Microsoft campus which can be found . There is Seattle, Bellevue, Redmond, Mercer Island and Kirkland.

I took a tour today in most of these places with my relocation consultant, I still don't know much about them, still not sure where I'm going to rent in the end, but still, I have along time to choose, things will be more clear in a month or a month and half. My start date is next Monday 2nd of October. Wish me luck.
I miss all my friends, even though when I was in Cairo, we didn't used to see each other that often, :-) but now when I know that I won't be seeing them for a long time, I really do miss them. Ofcourse I miss Radwa (My Fiancee) the most, we talk to each other and I see her in the webcam everyday, but still I wish she was here with me, but I'm OK... I just need some time to sort things out and bring here to share out life together. I really do miss her, I miss all my friends.
I got lost today while I was picking the rental car, it supposed to have a GPS so that it can help me to show me the way home, but as soon as I drove out of the rental garage, the GPS started to tell me where to go, :-) and suddenly in the middle of no where, I realized it was talking about a whole different road, it couldn't even show the map of where I'm, it didn't locate my location right. I stopped at a fire department and asked for directions, then I managed to go to the highway, and I drove along way before seeing a Seattle and Redmond signs, that's when I remembered from my tour in the morning this road, and managed to go downtown Seattle. In downtown Seattle, all I did was turning the GPS off and back on Again, and suddenly, now it can locate my correct location and it was just perfect. Nice experience I believe. For those who are curios the car Im driving now is a Pontiac G6. I 'll see u around.

Sep 3, 2006

الطالبة الاء

Please note the next lines contains some words that some could find them inappropriate or others could be offended by these words, I just warned u so that if u completed to read u know u 'll find some words that u might not like, anyway, I was reading some other blogs and 'Kefaya' Blogs, and I found this very interesting words about the famous incident that happened to an Egyptian student. U can find the whole story at http://news.bbc.co.uk/2/hi/middle_east/5134470.stm
Now with the words I found at http://daktara.blogspot.com (Again there are some words that might offend some readers, specially female readers).


تتقدم مؤسسة الرجل الكبير قوي بتوجيه الشكر لك ايها المدرس الصغير علي ما فعلته من كشف الجريمة النكراء التي ارتكبتها الاء ذات العقل والذكاء,ولا ادري كيف كانت بهذا الغباء حتي تكتشف ان سيدنا جورج بوش هو حاكم العالم وان له عملاء في كل البلاد ومصر ايضا من العباد ومش علي راسها ريشة لأ والمصيبة تكتب كده في الامتحان وكأن البلد مفيهاش امن او نظام,نشكرك علي عدم اغفال هذه الورقة وقيامك بواجبك علي اكمل وجه بتحويل الورقة الي الظابط المختص بتصحيح التعبير في وزارة التربية والامن العام ونشكره علي رفعه الامر الي وكيل وزارة التربية والتعريس ومنه الي الوزير ابننا الامير الحامي والغفيرالشجاع الهمام الذي اتخذ قراره بالاعدام للطالبة الاء واقرانها منهم الاوفياء, شكرا ايها المدرس فانت حافظ علي النظام والكرسي والالتزام , ومرفق بهذا الخطاب قرار ترقيتك لرتبة نقيب ورقيب وعلي الكتابة حسيب لأي ابن كلب او حبيب بيحب وطنه وعنده مخ ولسان وعايز يبعدنا عن الكرسي والكرباج والصولجان
هذه الرسالة بمناسبة حرمان الطالبة الاء من الامتحان واعتبارها راسبة لانها كتبت نقد للنظام
في موضوع التعبير في امتحان اللغة العربية

3ala fekra zy maho wade7 fel link bta3et el BBC elly fatet, EL Rayes amar be e3adet tas7e7 war2et el bnt, w ng7et!!.. Alf shokr ya rayes ya 3adel!!..

Sep 1, 2006

Alexandria Trip

I went 2day to Alex to see my best freind Emad.. we spent some time together, he ordered lunch for us, and we spend some good time.. I 'll go to visit him again soon n sha2 Allah before I go to the US with Ahmed Nada.. Anyway, I 'll tell u about this trip as soon as we do it.. while I was with Emad, we talked a little about Marina and how its a little different from Egypt, from us, and how people live there.. after I came back I found this mail sent to me.. An article written by Yousef Maa'ti...



كتب: يوسف معاطي

حاضر‏..‏ خلاص‏..‏ فلقتوني‏..‏ و‏..‏ ذهبنا الي مارينا‏..‏ ولأنني لست مارينيا اصيلا كنت مضطرا الي التنكر في هيئة مارينية حتي لا أكسف المدام والاولاد أمام المارينز أعني المارينيين‏..‏ ارتديت شورت بلو بتلتميت جنيه‏(‏ والنعمة الشريفة‏)‏ علي تي شيرت روز‏..‏ مع شبشب ستايل ونضارة‏..‏ وكاسكيتة‏..‏باختصار الطقم الذي ارتديته هذا كلفني ما يوازي بالضبط راتبي في الاهرام عن كتابة مقالات لمدة سنة ونص‏..‏ كان الشاطيء الذي قبلني علي مضض شاطئا خاصا يقف علي بابه بودي جاردات يتأملون الداخلين‏..‏ ودخلت المدام بكل ألاطة‏..‏ وخلفها ابنتنا‏..‏ والاصدقاء‏..‏ وما ان جاء دوري أنا حتي وجدت يدا تنزل أمامي‏..‏ ويسألني صاحب الذراع القوية‏..‏ الباشا داخل لمين ؟‏!‏يبدو ان شكلي برغم التنكر كان يبدو عليه البيئة برضه‏..‏ الراجل ده عبيط ولا ايه هو مش شايف الشورت‏,‏ ولم ينقذني من الموقف إلا البودي جارد الآخر الذي كان عنده خبر بي‏..‏ وقال لزميله سيب الباشا ده تبع شريف بيه‏..‏ وشريف بيه صديقي الذي عزمني هو ماريني قديم غارق في مارينيته يحب دائما ان يلم حوله صفوة المجتمع‏,‏ ويبدو أنه اعتبرني ولا اعرف لماذا اعتبرني واحدا من الصفوة فدعاني إلي الشاطيء الخاص‏..‏ وسمعت البودي جارد الذي منعني من الدخول يقول لزميله مندهشا‏..‏ ده يوسف معاطي‏!!‏ أنا معرفتوش‏..‏ يبدو أن تنكري الذي تصورت انه سينفعني هو الذي كان العقبة في دخولي‏..‏والحقيقة‏..‏ الشورت ما كانش بتلتميت جنيه هو كان في حدود متين وخمسين‏!!‏ قالت لي المدام وهي سعيدة بالمكان كان بيقولك ايه البودي جارد‏,‏ قلت لها لا بس كان عاوز يتصور معايا انتي عارفة المعجبين ورذلتهم بأه‏..‏ نظرت نحوي بغيظ ثم قالت‏..‏ طلع الفانلة برة الشورت‏..‏ قلت لها‏..‏ بس عشان ماركة الشورت تبان‏..‏ ده انا دافع دم قلبي فيه‏..‏ جلسنا تحت الشمسية وانخرطنا بسهولة بين المارينيين حتي لو انك كنت معنا لم تكن تستطيع مهما أوتيت من قوة الملاحظة ان تفرق بيني وبينهم‏..‏لا اريد أن أذكركم ان الشورت لوحده بمتين جنيه فهذه معلومة وصرتم تعرفونها جيدا‏..‏ كانت المايوهات البكيني تمر أمامنا‏..‏ كأسراب الحمام واحدة تلي الأخري في ايقاع متناغم وكأن جاد شويري هو اللي قال لهم يعملوا كده‏..‏
قالت زوجتنا‏(‏ وهي مارينية التوجه‏)‏ متأففة وهي تنظر حولها‏..‏ لأ‏..‏ الشاطيء ده لم خالص‏..‏ بأه بيئة قوي‏..‏ حدجتها بنظرة من طرف المبروكة‏(‏ عيني‏)‏ إذ لا أعرف لماذا شعرت انني المقصود بتلقيح الكلام ده‏..‏ واطمأن قلبي حينما وجدتها تنظر نحو بعضهم وقالت‏..‏ لبسهم رخيص قوي‏..‏قلت لها‏..‏ هو فين لبسهم ده‏..‏ أنا مش شايف حد لابس اي حاجة‏..‏ قالت‏..‏ ما انا باتكلم عن المايوهات‏..‏ مر بائع الفريسكا‏..‏ وهتفت ابنتنا كالعادة‏..‏ عاوزة فريسكا‏..‏ وجاء الرجل من نفسه كده دون ان أدعوه واعطاها للبنت كأنه بابا نويل‏..‏ و‏..‏ لكن بابا الحقيقي الذي هو أنا يجب ان يدفع‏..‏ كام يابابا ؟‏!‏ ثلاثين جنيه‏..‏ قبل ان أهم بان افاصل الرجل الحرامي‏..‏ زغرت لي زوجتي وهمست في غيظ‏..‏ خللي بالك‏..‏ انت في مارينا‏..‏ حاضر‏..‏ ومر بائع البطاطس‏..‏ وعهتفت ابنتنا‏..‏ عاوزة بطاطس‏..‏ وفي ثانية كان من نفسه كده يدس قرطاس البطاطس في يد البنت‏..‏ و‏..‏ عشرة جنيه‏..‏ ثم ساندوتشات سوسيس‏..‏ وخمسين جنيه‏..‏ هكذا‏..‏ ولا تأكل ابنتنا سوي قضمة صغيرة من كل حاجة ثم تنفلت بحركة مارينية اصيلة وتترك كل هذا او تجري
علي البحر‏..‏ وأنا كان دوري أن آكل بقايا المفعوصة مش نعمة دي‏!!‏فيه ناس مش لاقية العيش الحاف‏..‏ همست زوجتنا في اذني بحدة وطي صوتك‏..‏ أنت مش قاعد ع القهوة‏..‏ انت في مارينا‏..‏ وفجأة مرت أمامنا امرأة ومعها رجل ماريني‏..‏ قالت زوجتنا‏..‏ دي سوزي‏..‏ صاحبتي‏..‏ وما ان رأتها سوزي حتي عانقتها‏.‏ وأزيك‏..‏ وعامله أيه‏..‏ وكله كويس‏..‏ وانجوي بأه‏..‏ وموبايلات والحاجات دي‏..‏ ثم قدمت لنا الرجل الماريني‏..‏ الذي كان مرتديا شورت نسخة طبق الاصل من شورتي ابو مية وخمسين جنيه وقالت لنا اشرف جوزي‏.‏ ولما كانت سوزي في العام الماضي قد قدمت لنا رجلا آخر بنفس الصفة‏..‏همست لزوجتي‏..‏ هي مش كانت متجوزة واحد تاني طلع امتي ده‏..‏ فنظرت نحوي بغيظ وقامت‏..‏ وطي صوتك‏..‏ انت في مارينا‏..‏ جاءت ابنتنا تجري من البحر وخاطبتني بانجليزية سليمة متأثرة بالجو المحيط بها‏..‏ بابي آي ونت بي نت‏..‏ يعني عاوزة فول سوداني‏..‏ وردت عليها امها بانجليزية اغاظتني قليلا‏..‏ اوكيه دار لنج‏..‏ لاحظوا اني كل ده قافل بقي‏..‏ ثم فجأة مر بنا رجل ماريني ومعه امرأة رائعة‏..‏ وجاء نحوي وسلم بحرارة انت مش
فاكرني‏..‏ أنا عصمت جوز سوزي‏..‏ اللي قابلتك السنة اللي فاتت اقدم لك هايدي مراتي‏..‏همست لزوجتي‏..‏ هو عصمت وسوزي بيصيفوا هما الاثنين في مارينا وكل واحد معاه فردة جديدة‏..‏ صرخت زوجتي وقالت‏..‏ وبعدين‏..‏ انا قلت أيه‏..‏ وطي صوتك‏..‏ انت في مارينا‏..‏ وأخيرا جاء الرجل بتاع البي نت اللي هوه السوداني ليأخذ حسابه‏..‏ كام ياعم‏..‏ قال أربعين جنيه‏..‏ صرخت فيه بأه ما انا كاتم في قلبي من الصبح شوية سوداني قد كف البت بأربعين جنيه ليه كيلو السوداني لما يضربه الدم يعمل كام ياعم الحاج‏!!‏والتف حولنا المصطافون وأنا كأني ماسورة وانفتحت‏..‏ توترت زوجتي‏..‏ وأخذت تشدني من الشورت ابو اربعين جنيه ولما فاض بها الكيل‏..‏ صرخت‏..‏ قائلة‏..‏ فضحتنا‏..‏ اقعد بأه ـ وامسك لسانك ده‏..‏ أنت ايه‏..‏ هنا‏..‏ همست لها بحدة‏..‏ وطي صوتك‏..‏ انتي في مارينا‏..‏ و‏..‏
عدنا‏.‏

Aug 25, 2006

Egyptian Disaster.. AGAIN!!

From the BBC News: The collision between two passenger trains in Egypt is the country's worst rail accident for four years!!.

This is the worst in Four years!!.. Does that mean this is not the only accident!!.. Actually I made some search myself, Look what I found:

February 2006: Passenger ferry with 1,400 sinks in Red Sea.
January 2004: Airliner crashes into Red Sea No survivors likely. A charter with 152 people aboard, most of them French tourists, crashed shortly after takeoff.
February 2002: Train travelling south from Cairo was consumed by a fire, killing some 373 people.
November 1999: A train travelling between Cairo and Alexandria hit a truck and derailed, killing 10 and injuring seven.
April 1999: At least 10 people died and nearly 50 were injured in northern Egypt after a head-on collision between trains.
October 1998: About 50 people were killed and more than 80 injured in a derailment just south of Alexandria. The train failed to stop at buffers and ran into a busy market square. Reports suggested that passengers travelling on the roof of the train may have tampered with an air pipe, disabling the brakes.
February 1997: At least 11 people died after a collision caused by human error and a signalling failure north of Aswan.
February 1996: A train hit a lorry on level crossing 90km north of Cairo, killing 11 people.
December 1995: A train rammed into the back of another in thick fog, killing 75 people. The driver was blamed after an inquiry found that the train was travelling well above the speed limit.
May 1995: Nine people died after a train hit a barrier just north of Cairo and derailed.
April 1995: A train and a bus collided on a level crossing in the Nile Delta, killing 49.
December 1993: At least 12 people died and 60 were injured when two trains collided head-on about 90km north of Cairo.
February 1992: A head-on train collision just outside Cairo killed 43 people.


Just look at all these people getting killed!!, that's one of the worst symbols of just how low the Egyptian citizen is in the government eyes!.. I blame the government for all these disasters.. I believe if the government has even the lowest self dignity, the whole government should resign and announce that they fail to rule Egypt, From the president to every single minister to the heads of the country!.. All should resign form their positions.. But ofcourse, nothing will happen, Its just normal disaster that happens in every country like they always say.. Hope u wake up fellows, and no it doesn't happen this often.. I find no words to say except these written by Ahmed Fouad Negm, Actually its for a whole different disaster when he wrote this poem, but I 'll just use his lines in this disaster too.

الحمد لله خبطنا
تحت بطاطنا
يا اهل مصر المحميه
بالحراميه
الفول كتير والطعميه
والبر عمار
والعيشه معدن واهي ماشيه
اخر اشيا
مادام جنابه والحاشيه
بكروش وكتار

ح تقول لى سينا وما سينا شي
ما تدوشناشي
ما ستميت اوتوبيس ماشى
شاحنين انفار
ايه يعني لما يموت مليون
او كل الكون
العمر اصلا مش مضمون
والناس اعمار

الحمدلله وأهي
ظاطت
والبيه حاطط
في كل حته
مدير ظابط
وإن شالله
حمار

ايه يعني شعب ف ليل ذلة
ضايع كله
دا كفاية بس اما تقول له
احنا الثوار

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

Aug 15, 2006

Ain Sokhna Trip

Yesterday, I was going to Ain El Sokhna, we started this trip at 5:30pm.. I just had my car battery replaced with a new one, so everything should be pretty fine.. Suddenly, on the middle of the road after 50 Kilos.. The car's battery indicator turned red.. These indicators don't turn on unless there is something wrong.. But it turned off after 5 min or something.. So, I was relieved... Then.. The ABS indicator turned on, then the Airbag system indicator turned on...

I pulled over by the side of the road, no one was really on road coz we were in the middle of the week, and no one actually take a vacation in the middle of the week. Anyway, I pulled over, turned off the car to take a look on the battery, maybe it has been installed in a wrong way or something, I took a look at the battery, everything is in place, everything is plugged in place. I came back into the car, turned it on.. And the engine doesn't start, its not turning on.
I tried to look again at the battery installation, but everything seems in place. I called my cousin, He's a mechanical engineer and very good at what he do, and me and his car have the same engine too. Anyway, he told me don't stop the car engine (He didn't know yet the I already stopped it). By this time, Another car pulled over to check on me, he asked if I need any help, Thank god one of them was actually a mechanic, he took a look at the battery, and he said its installed correctly, but since my car is automatic, we can't just give it a push and start the engine. I had wires so that we can connect my car battery with his, and we did, and I finally started the engine, my cousin told me to stop by the nearest gas station and check on the battery, and that there two options that could have done this, either the battery is bad, or the dynamo is not working.
I pulled over at the next gas station that I found, there were two guys at first who seemed didn't know much about anything, I told them not to touch anything, anyway the electrician in the gas station came, he checked it, over, and over, and over again.
And finally he came with the conclusion that the dynamo is not working. I called my cousin, he had the same opinion as the electrician, and they both told me that all we can do is, just charge the battery, then I have to drive all the way back to Cairo which is 60 Kilos away, without turning any lights on(it was almost 9pm), because all the electric of the car now is depending on the battery..
we charged it, I went on my way, took the first U turn, and headed back to Cairo, I turned off my lights, and I was going behind a microbus depending on his lights..
unfortunately, my car just dropped of battery, because the dynamo is not working, and it turned off by itself.
The bad and the good thing in all this was that my Mom was with me.. I called my cousin to tell him to call his friend who has those big cars to left our car all the way to Cairo, then I called 8000 (mobinil personal services) took the lifting car service of Mobil. I called them, they said they will send me one of their cars now. And they did.. The Mobil car arrived almost at 11:30, we lifted my car, drove to Cairo, sent the car to the mechanic, me and mom took all the stuff that we cant keep in the car (lots of stuff coz we were going in a vacation). Took a taxi back to home, and arrived home at 2:00 am. :-) WOW.. What a trip and a nice vacation!!.. Forgot to tell u, the sky was really clear while waiting for 3 hours in the desert, the stars where amazing, and only one car pulled over to check if we need anything or any help, only one car, all others just drove by!..

Jul 17, 2006

United Arab Nations!

Today in the news: Algeria, Bahrain, Egypt, Iraq, Jordan, Kuwait, Lebanon, Libya,
Morocco, Oman, Palestine, Qatar, Saudi, Somalia, Sudan, Syria, Tunisia, UAE and Yemen have decided to have one flag, and to plan to have their economy, currency, and army stand as one front, with all the political decisions taken by the people themselves in a true democracy.


Howcome Egypt doesn't pull back the ambassador from Israel!!.. How come we don't even condemns the Israelian attacks!!.. Howcome we blame 'Hezb Allah' saying that they kidnapped 2 soldiers, and we didn't condemn Israel attacking Palestinians every day, killing innocents in cold blood... howcome all Arabs just stand still watching their brothers getting killed!!!.. Can u imagine this, someone killed just by ur side, Here is a picture of it, u both knew about the war and trying to get out of the country, u r both in the bus, and a bus infront of u get blown up by bombs.. Ur bus stop!!.. Passengers run out of the bus with fire shooting all around them, running beside ur freind, he got shot!!.. Imagine ur best friend shot by Israelian soldiers in cold blood!.. He is bleeding infront of u.. That's what is happening now in Lebanon!!..

Its true, we r weak, every Arab country is standing alone.. Weak!.. Howcome there is not even an idea of an Arab union..

To every Israelian: U r not welcomed here, U r not welcomed in my blog, If that's the only thing I can do, then that's it, I 'm telling u in ur face, U r not welcomed by me, and on behalf of all my friends, u r not welcomed by any of them. And please know this, Every single true Arabian heart hates u and ur country..

Jul 7, 2006

Wedding

There has been a lot going on lately.. Me leaving work at Harf, getting ready to my flight to the US.. Etc... Last Wednesday 5/7/2006, my best friend got married to a friend of ours.. ofcourse I'm so happy for them, I'm so happy for my best friend, but its kinda wired still, I feel something in me, part of me can't believe it..


Don't know y.. I'm not sad at all ofcourse, and I knew it was going to happen someday, but its just like a dream.. :-) my best friend is getting married!!.. May be coz we went throught a lot together.. And now... I don't know.. My be I just miss him.. miss all of us.. I do, really do.. I miss all my freinds.. God bless u Emad and Asmaa, and help all others to reach what they are dreaming of... I have 2 posts in the draft one about Microsoft's 3rd interview.. I 'll write 2 u later...

May 30, 2006

My Second Interview

See Also: First Interview

He started with introducing himself, "Hello Hany, My name is Ahmed I'm a testing manager at Microsoft. One of the projects I worked on is testing TCP/IP over windows" or something like that. He started with asking me about my work and what I do, I told him that I developed the ticketing engine for the soccer African cup of nations 2006 that was used to book tickets online for the matches, and the previous week I just finished the development of the Syrian e-government website.
- "very cool, sounds nice... Ok Hany, lets c, Why do you want to join Microsoft?".


"I Love Microsoft, I love the way that Microsoft actually delivers the easiest OS and applications for grandma, grandpa, children and just normal end users. So, it actually delivers and support their needs even accessibility options and still secure".
That’s when he wondered "secured!!.. Don't u hear every now and then about windows trojans and hacks". My answer was "Well, how many windows OS in the world compared to other OSs, ok, what’s the number of end users that uses windows?.. Many of the windows users are actually children, old grandpas and grandmas, or just a normal end user that knows so little about computers. I believe these users are considered a good material for hacking. On the other hand, how many Linux is used on the world?, and who uses it?... most of the Linux users are actually professional IT or developers, give these guys a windows, and it 'll be secured to them just like a Linux and maybe more with up to date service packs and hot fixes. And don't forget that not using Linux so widely at homes like windows, makes it even harder for hackers to learn how to hack it, while the wide spread of windows, gives hackers an opportunity to try and learn on many users, but still, the wide spread of windows and the very good support, hot fixes, and service packs delivered by Microsoft after the windows release, makes it more reliable."
- "Fair enough, What if you couldn't join MS? What will u do?"
- "Its not gonna be the end of world, I’ll climb my career path as I should be, but still, Its like my dream to join MS, I love MS and I want to be part of its team, its just like u r a professional player, u play for many teams, I can join Google, Oracle or whatever, but I love MS as if it was my team and I'll love to join it in the end."
- "What you could probably give to Microsoft?. Do u know how many people work for Microsoft?.
- "A million"
- ":-) no no, not that much, 50,000. What’ll u give in the middle of all that?"
- "I’ll be part of the team, No one stands alone, I'm part of my team".
- "Fair enough, fair enough... Ok Hany, what’s your most 3 preferred computer fields that you like?".
- "Well, AI, I love AI... Cryptography... And" (I don't remember what my 3rd computer field that I said was).
- "Cool"

He read my CV a little bit, then asked me about cryptography, "If some1 wants to send secure information, encrypted information to another pc, how he could possibly do it?". We talked a little about private and public keys, in the end I was saying that PC1 that receives the data have a key which decrypts the message sent, and the other PC2 that sends the message have another key that encrypts the data.. That’s when he asked me
- "Ok, so how PC1 sends the key to PC2?!"
- "On a secure channel" I replied.
- "What is a secure channel!, there nothing called secure channel!" he said while drawing it on paper a channel between 2 PCs, and then drawing a line cutting the channel he drew saying "I'm here now, I interrupted this channel and I can know what’s the key".
I started to think... We just can’t encrypt the key coz that’ll need other keys so that’s an infinite loop. It took me about 10 sec when I said "So what! It doesn’t matter if any one sees the key; actually we don’t even need a secure channel or anything. It’s a public key. Anyone can encrypt a message and send it to me; its just no one can decrypt it; because only me have the private decryption key".

He then started to ask me if I know assembly, my answer was "Yes, we studied assembly during my 3rd year and I love it, but I don't remember it very well". He asked me about interrupts, is there functions in assembly and how we pass parameters between functions...etc.

He then gave me what's considered my first problem during my 2nd interview "We want to implement a function, that takes as a parameter 2 numbers and an operator ('+' or '-') and returns the result of the first number plus or minus the second number depending on the operator. I want u to write the design of this function for me, no code, I don't want u to write the code for me, or the pseudo-code, I want a design, describe the function in text. Ur design, or what u 'll write now, 'll be given to a developer to implement it, so u have to write it so clearly that he can develop it without getting back 2 u or asking u about anything. U should consider in ur design 2 important things, first is object oriented, second is maintenance of the design, which means for example that we can increase the number of operators in the future."

I started to write the design as he said, just after I started he again told me to remember that he doesn't want code or pseudo-code. I took about 7 min or something and then he told me "Ok, that's enough, what we have here?” My design was fine, I considered object orientation and maintenance, for example I thought of having a function that takes an array of numbers and an array of operators, which then calls another function, so that we can increase the number of operations if we want, I also assumed that operators are kept in a table with a pointer to the function that implements this operator so that we can easily add more operators after implementing the function that does the operator and add it to the table, where each function of these takes 2 numbers and an operator and return it to the main function to continue with other operations if there is any more.

He read the design so fast with me, that's when he told me "Ok, I'll take this design now, I'll implement it, I'll code it on my notebook, While doing so, I want you to write the test cases for this function just on the back of your design."
I asked "How should I write the test cases? Like just the input and expected output?" "Yeah, just a table with inputs and expected output for each input"

I started to write my test cases. N.B.: Remember that the most important feature of any application or even a function, is to do what it was designed for. Always start with basic scenarios that 'll usually happen, and then u can begin to test the limits of ur function, maybe whats the max data it can hold as input, max data in output, what about min data, empty.. etc.

So, my first couple of test cases where just Normal test cases, 2+5=7, 8+2=10, 5-2=3, -4-3=-7.... 3.6 + 2.7 =! That's when I asked him "Are we allowed to add float numbers!” "That's actually a very good case, lets see, are we?, lets take a look at the design" he said. In my design I didn't mention whether numbers are integers, double or float, he told me numbers, and I wrote it in my design just like he said, and that's was just the beginning. I then told him that I’ll add in my design that the function allows float, but he told me "No, no, no the design has already been delivered we can’t change the design, just lets see other test cases". Int.Max+1 =!!! Again, I looked at him, "what then? What’s our limit?" I wondered. He answered with a big O, "That’s a very nice case, what's the output of your design on this case", Of course I answered the result’ll be Int.Min that's when he told me "Is that a reasonable answer!!, a guy give a very large number + 1 and the result is in negative!", I said "Nope, I should return an error or something". And ofcourse the same was with int.Min -1. He considered that’s enough trying to point out that my design wasn't actually the best as my test cases tell. That was probably everything about this problem, and we moved to this very hard question.

- "What is the most computer science field that u r good at, and I’ll ask u in it".
- "Thats the most hard question ever could asked" I said laughing.
- "Yes, in the matter of fact It is" He said.
- "Ok, well, AI, Artificial intelligence"
He then gave this puzzle "Four people must cross a bridge at night; the bridge can hold only two. The travelers must use a flashlight to guide their steps and there is only one flashlight. There is one of them that travels the bridge in 1 min, the second in 2 min, the third in 5 and the 4th in 10 min." and that's it.
I didn't get it, "Where is the problem then!!" I stared at him wondering, I couldn’t know so what! they just can pass.
That’s when the HR who were sitting with us spoke up, "So, u want him to get the optimum time to pass the bridge, don’t u?" she was asking Ahmed. He just said that he needed to get any solution, and then we’ll need to optimize it. "Well, I can’t think now but with the optimum path" I said. He answered "Be my guest".
I started to think and talking to myself, he tried to help me at a point, but I told him to wait, I can do it, I jumped to conclusions like that the 10 min guy must pass with the 5 min guy to minimize time, and neither of them can pass twice on the bridge, so whenever they pass together, some1 on the other side from the fast other guys (who are considered fast) must take the flashlight from them to turn it back, then that was it, I got all the hints, put them together and found the solution and told him about it. I believed at this point that the worst thing went on my interview was the design question.

"Time is up" HR said. “Ok Hany, IT was really nice to meet u" said Ahmed standing up and shaking my hand. While we were going out the door, still talking a little about ACM, I mentioned that I used to test the implementation of my friends in the contest because I used to give very good test cases that could define if there were any leaks in there implementation. That's when he pointed to the design paper telling me "Well, u seem u couldn't prove urself that much" he said with a very little smile on his face. To be honest that brought me down a bit as I was heading to the middle room (where we sit between interviews). I was the last one went out from the interview as all the interviewees already were waiting in the room. I sat there, opened a coke, kept on sipping small sips waiting for my 3rd interview.

May 2, 2006

First Interview

Previously: Before Microsoft Interview (Getting Ready)

- "So, you won the 2nd place in the ACM contest?" he said reading my CV..
- "Yeah" I answered.
- "so what did u do in ACM?".
I started talking about the ACM rules and how the contest goes, Then I told him that I was responsible for dynamic programming, recursion, and pattern problems in my team.
- "Dynamic Programming!, So you are good in dynamic programming?" He asked.
- "Actually not that good, Its like I'm a beginner, Its like I know basics and concepts, but still I can solve some dynamic programming problems." I replied.
- "Okay, I have this dynamic programming problem that I need you to answer me, just to know how much u know about dynamic programming, if you don't understand anything please ask me to tell u the question again".


At this point I was kinda afraid from dynamic programming problems ofcourse, and I wasn't that sure I can solve it, yet I was doing my best to be cool and calm.
Then he asked me this: "You have three big jars, each contains a different type of liquid, and you have many customers come to you, each one requests either a type of liquid from a jar, or asks for a mix between liquids in more than one jar".

I did nothing.. In my mind I thought "What!!".. I didn't even knew why this is a dynamic programming problem!!.. I asked him to explain some more, I even asked where is the problem?. "So, you want me to develop a solution that handles this scenario?" I asked. My idea was to keep customers in a queue with FIFO and just give them whatever they need unless they asked for something that is no longer available then they 'll be tomorrow's queue. I was just giving hints and talking with him, I didn't really give him an exact answer, but we just talked about this one.

He then drew a line on the paper saying "Well, forget this problem, now our interview is going to start".
- "You have people standing in a circle" he said drawing nodes on the paper circularly. "After n someone, this n someone is removed from the circle, and then u start counting another n someone from the last u just remove" explaining what he was saying on paper. "Who wil last till then end?" he asked.
I said "that's Josephus' Problem". He answered "Yes, that's good, you know Josephus' Problem?", "Yes" I replied. He asked me about the idea, and to implement the algorithm, that's when I said "I 'll assume that the linked list data structure is already made", So I wont write the implementation code of the linked list. But he said "No, Implement the code of the linked list, I want the whole problem solved from scratch".

I implemented both the linked list and Josephus' algorithm, then he started to take a look at the code with me, he didn't comment on the linked list implementation, but when we got to the main problem's algorithm he asked me "How could you make this code work better?". My answer was mainly about just simple code optimizations that makes the code more easily readable and just saves one or two checks and code lines.
- "Ok, how can you test your code?".
This was actually the key to most of my algorithm implementation failure, I started to tell him test cases, my first couple of test cases were normal test cases just to make sure that the algorithm is running ( and that's the only thing that passed my testing). What if the number n to remove from the list is zero?, what about the list is empty?, Okay, the worst is.. What if the number n to remove from the list is NEGATIVE.. And some others, my implementation was actually handling the basic cases of the algorithm the normal cases, and sometimes it passed some of my cases, but not all of them.

Anyway, he then started to read my CV, he noticed that my graduation project was robot motion planning, so he started asking me about it. I even explained to him the algorithms I used, what I was responsible for in this project?, how did I move the robot in both known and unknown environments, and how I divided my environment into small cells.

Then he asked me about the MCSE course, and how I became MCSA certified, he then asked me about TCP, UDP, DHCP, supernetting, DNS.

That was almost everything in the first interview, Thoughts in my mind were "My first interview went fine, but still I have a long way to go." .

The interview almost took 45 min, and then me and the other four interviees met in our room, where we hanged out, drink some coke and relax for 15 min, I didn't really talk about anything, I was trying to concentrate as much as possible.

My second interview was with a testing manager called Ahmed, when we went on the interviewing room together, the table was in the middle of the room where we sat facing each other, and again a laptop infront of him, some papers and a pencil. One of the HR ( the girl who called me in the phone interview) came to the room with us, telling me that she hopes it wont bother me staying with us, she sat with us for the whole 45 min of the interview taking notes.

To be continued.

Apr 12, 2006

Before Microsoft Interview (Getting Ready)

You might want to read the previous post Road To Microsoft.

Good Communication skills, Good Communication skills, Good Communication skills.. That's one of the most important things that u need when u talk with any interviewer, remember, u r going to be their team mate, so u must know how to communicate with them. Interviewers are normal people like u and me; So dont be afraid from them, act normal, be urself, smile, it's very important to smile. Yes ofcourse u must be technically ready before any of this, and even more important is being smart and show how smart and creative u r.


Before the live interview, I started reading about how MS interviews go, reading others' blogs, I started to ask my friends whom had interviews with MS before, I wanted to know how the interviewers talk, how they act, how they ask, where do u guys sit, what does the rooms look like, what they care about, what they stress about, everything, and I mean everything. I even read what to wear and what colors should we wear.

I started to look for Microsoft interview questions on google, I asked meshref and yasser what questions they have been asked in their previous interview, how they thought about it, how they were interacting with the interviewer. I was almost very calm before the interview, don't know why!.

Anyway, The interview was being held in the "4 Seasons hotel", they sent me all the information and asked if I need a plane or train ticket to go to the interview, and they asked me to keep any receipt that I'll spend to go to the interview so that they could be able to pay me back, they asked me to scan the passport and a transcript of my college degree even before the interview and send it to them.

The interviews were going to be held in two successive days, Thursday and Friday, my interview was scheduled to be on Thursday at 8:00am to 1:00pm (First group). They hold 2 interview groups in each day, where each group contains about 5, 6 or even 7 interviewees, the second group start at 2:00pm and also takes almost about 5 hours(If u r lucky enough to pass all).

I went to the interview almost at 7:45am, as a normal person I asked where are Microsoft's interviews being held, I remember they told me its on the third floor and they gave me 4 room numbers, I went to the rooms where I saw no one, I was heading back again to the lobby to ask again, that's when I saw an interviewer, he asked me "Microsoft Interview?", I answered yes, "First room on the right" he said, "Thanks" I answered smiling.

I was the 4th person arriving, I already knew that 2 of my group interviewing with me are friends of mine whom I know (A boy and a girl), both have been offered a position as professors assistants in my college. The problem is, this boy, was actually the supervisor assistant on my graduation project and he's very smart, and he was a team member in the team winning the 4th position in the 2004 ACM ICPC contest over Middle East and North Africa.

A HR welcomed us and started telling us the rules, we were not allowed to talk in Arabic in the whole interview process (even between interviews), and ofcourse we were not allowed to talk to each other about questions we have been asked.

Five interviewers all wearing casual came to the room, each had a CV and other papers in his hand, and each called for one of us. And there it was my first interview was about to start. He took me to another room, we sat on a small table facing each other and a labtop infront of him, there were some papers and a pen on the table too. He introduced himself, I didn't really understand and his English was not very clear, but as I understood, he developed something concerning the TCP/IP in the windows OS. After that he started reading my CV and then asked me my first question... Next Post.

Next: First Interview

Apr 6, 2006

Harf..!!

Ofcourse u 'll all remember a previous post about Harf, and how angry I was from the management there. Well, here is what happened from this last post, I thought I 'd stay the next few months in Harf, and since I'm leaving anyway, I should be cool about anything. Untill another day I had a fight with the project manager, then I thought that's it.. I 'm leaving. Today, the most sudden and unexpected decision has been made by Harf's management... The management hierarchal has been changed!!.


Yes, Harf management hierarchal has been changed and the projects manager has resigned from her position!!.. None expected that this 'd happen. What happened?!.. Don't know, no one does!!.. The new hierarchy stats that every department now has its own manager, and he is responsible for his department from A-Z. So now my new manager is Eng. Wael Al Ghool, He is a very respectfull and honorable man, very strong developer and software engineer.

Another weird thing that I want to talk about is, yes I might have had some problems with the management, but still, till now, I'm part of Harf's team, yes I fight for my right in there, but I don't like anyone to be sarcastic about Harf. I find that weird, but its not, its just like when we crictise Egypt, but believe me u wont even hold urself if any foreigner talked about Egypt in a bad way infront of u, and the least is that U 'll be truly offended. God bless Harf and help all the department managers in their job, Because Harf really contains many of the best developers that I have ever worked with, and ofcourse what matters the most is, Harf delivers many Islamic information and applications that help the whole Islamic society in a way not found in any company in the world.

that's it.. Probably in the next post, I 'll start to write again about my Microsoft interview experience. c u all.

Apr 2, 2006

Graduation ceremony

Yesterday evening.. We were all gathered again, me and all my friends from college (except for yasser, meshref and neri)..First of all, Mabroooook le m7mood w hebaaaaaaaa... (F)(F)(F)(F)(F).. w 32bal ya rab ma nfra7 be awladko ya raaaaaaab... back to the ceremony, actually I wont mention alot about it but when I was going home, I started thinking..

How didnt I notice that this might be the last time I see some of u!!.. could this be true!!.. Howcome we didnt spend more time together!!!.. how did we even dare to leave each other!!.. dont we know that we wont c eachother for quite a while!!!!.. I started thinking.. how will I be able to leave u and go to MS?!.. how will I live there without u all?!.. ur faces keeps on coming to my head.. I remember everyone.. I read ur comments in the year book.. I love u ya shbab.. here is a memory that we 'll all never forget... do u remember last day we all went to the bowling center together?.. :) how we all cried?!.. do u remember how touching this moment was?.. do u remember the best 4 years of our life together?.. can anyone imagine how fast it went?.. could any one of us have imagined that everybody else is a pearl to him.. and that he really cant forget him?.. did we ever imagine that everyone of us touched other's lifes?!.. I hope I have touched ur heart.. I hope that we 'll always be close even if I know that this could hardly happen.. I want u all, to start thinking about all of us, appreciate the moments, but don't forget to appreciate the moments that u r living now too.. coz it wont last just like college days... Enjoy it while it lasts.. Miss u all.. now spend the next 10 min dreaming about our moments together and try to hold ur tears, coz when u really think about it, we really might not c eachother for a long time...

Mar 23, 2006

Harf

EL nahrda.. actually mn 3 hours bs... et7'n2et 7'na2a kbera m3 el project manager w el projects manager fe 7arf... bgd bgd... 7arf mn aswa2 el sharekat.. w have the worst managment ever... worst project manager ever.. worst management hirarichal ... and worst appericiation to develpoers ever... daraget el baga7a weslet en they accept project mn clients... yb2a el nahrda el talat msln.. el client y2olohm ana 3awez el project demo da yom el sabt.. w y2ololo 7ader... by7'alo el developers ysht3'lo gom3a w sabt w ysharo.. b2alhom 3 weeks keda.. w b3d ma y7'lso.. el cleint my3gbosh el sho3'll... y3mloh tany fel week elly b3do nfs el system.. bgd 7aga araf.. tafker el managment 3ndna fel sherka.. en ed3'at 3ala elly t7tak 3lshan ytla3 aktar.. w en el project manager.. lazem el developers my7bhosh.. fa de 7aga 3adeya.. 22lko 3ala el mawakef elly tnrfez 3lshan t2dro ana mtnrfez ad a mnhom... koloko 3arfen tb3anel MDC.. w enha 3 days.. lama oltlhom fel sherka en ana 3awez aro7 el MDC w enha 3 days.. aloly mafeh mshakel.. bs lw hatro7 el 3 days dool w mtgesh el sherka.. tegy el 3 days elly b3d el MDC.. de3f el yoom el 3ady.. ya3ny t3od fel 3 days elly b3d el MDC 16 hrs 3lshan t3wad el ayam elly mgtshy feha!!!!!.... bel zemma da msh oslob ynrfez!!.. mawkef tany.. el yomen dool feh project m3rod 3ala el sherka 3awzen feh xml web services w security w load balancing w 7agat keda.. el mohem m7desh fel developers y3raf mo3zam el 7agat de.. fa 2alo 7'alas hanedy course lel nas 3lshan y3rfoh w y3mlo ay project b3d keda yegy matlob feh el 7agat de.. l7d now da keda gamel w 7elw.. bs bshart.. awlan mawa3ed el course kol yoom mn 6->10... b3d el sho3'l.. 3'er masmo7 leek enk t3'eb mn el sho3'l tb3an.. w kman matlob mnak enk lazem tegy mn el sa3a 8 el sob7 l7d el 5.. elly heya mawa3ed el sho3'l el 3adeya 7'ales w da 3lshan mt3tlshy el sho3'l.. ya3ny 3awzen elly ya7'od el course y3od mn 8am->10pm bara el beet kol yoom for 3 weeks... w kol da 3lshan homa 3ndhom project m7tag el course da.. msh m3na keda b2h enhom ysa3do el ragel elly haya7'od el course aw el nas elly hata7'od el course.. la2.. bytla3o 3eino 3ein elly gaboh 3lshan etgra2 w fakar eno hay3mel 7agat tsa3do w tsa3ed el sherka.. l2 w a kman.. elly haya7'od el course.. mynf3shy yseb el sho3'l abl 1 year... w ella haydfa3 taman el course.. w a kman?.. lw 3ndk sho3'l mad3'ot.. yb2a b3d el course... :D hatrga3 el sho3'l 3lshan t7'las sho3'lak... t7'ylo!!!!.. wallahy el 3azem ana msh babale3'... heya de f3ln el shorot elly 7atenha w 3awzen ymado kol elly haya7'od el course 3leha.. tb3an m7desh ba2a 3awez yro7 el course asl b3d keda.. 7'sosn eno mo2ref w m7desh tay2o w m7desh hayst7mel y3od fel sherka 1 year asln....

tool el w2t el estimations elly bydoha le ay project btb2a mazno2a gedannnnn gedannn gedannnn... tool el w2t d3'ten 3lek.. w msh msln lama teda7y w t3ml 7aga keda 3lshan 7'ater el sho3'l y2daro da... la2.. da bydoso 3lek aktar w aktr... m3tkdshy bsra7a eny hakamel fel sho3'l da kter be ezn Allah... n sha2 Allah ya3ny hasebo orayeb.. or should I wait l7d ma asafer b2h n sha2 Allah Microsoft?.. ento a r2yko?.. astana fel sho3'l da wana msh ty2o keda w ahe kolaha 5 months aw 7aga w keda keda hasebo n sha2 Allah 3lshan egra2at el safar?.. walla asebo w asht3'l fe 7eta tanya n sha2 Allah akon mstry7 feh 7ata lw msh hakamel feh 6 months?.. bgd m7tag r2yko... w n sha2 Allah I 'll tell u my decision .. bs b3d ma ashof ento a r2yko.. c u all soon n sha2 Allah.. w leave me ur posts & ur opinion...

Feb 26, 2006

يبقى انت أكيد أكيد في مصر

I had to interrupt my series about Microsoft to post these words from http://news.filbalad.com/News.asp?NewsID=11400. The post is about Birds Flu.


- أعلنت وزارة الصحة منع إذاعة الأغاني التالية .. "بتغني لمين يا حمام" .. "الطير المسافر" .. "ريشة ويا ريشة" .. "يا طير يا طاير" .. "البنت بيضة" .. و.. "كوكو واوا" !
- منع عرض فيلم "دعاء الكروان" بطولة فاتن حمامة .. تأليف بشير الديك .. ألحان سمير الطائر .. وإخراج سمير العصفوري
وهناك رسالة أخرى تناولت أعراض أنفلونزا الطيور ، وهي :
- الشعور بالرغبة في الطيران
- هز الرقبة بطريقة غير عادية
- الشعور بالخوف من الصقور والحدايات
- الميل إلى الرقود على البيض من وقت إلى آخر
- الشعور بالرغبة في التقاط الأكل بالفم مباشرة
- الشعور بأنك "مفقوس" دايما أمام الناس
- الشعور بأن بشرتك دايما "بيضة"
- الميل إلى سماع أغنية "كوكو واوا" طوال اليوم
- الشعور بأنك "ديك البرابر"
- أن ترى في الكوابيس دائما أنك "مذبوح" من كلام الناس
أما عن أهم طرق العلاج والوقاية فهي كالتالي :
- "بق بق بق بق" .. كررها كل ثماني ساعات ليصبح لديك مناعة ضد أنفلونزا الطيور.
- تناول حقنة "كا كا كا كا" لعمل مناعة ضد المرض نهائيا.
- الابتعاد عن أكل البقول والعيش الناشف مع تحيات د. كتكوت الديك
- دكتوراة في أمراض القفص الصدري - العنوان : 2 حارة حداية متفرع من شارع الجناح - ورك البلد - القاهرة!
أما عن إجراءات الحكومة لمنع انتشار انفلونزا الطيور فكانت كالتالي :
- إغلاق كوبري أبو الريش حتى إشعار آخر.
- إعلان منطقة العصافرة بالإسكندرية ، ومنطقة النعام بعين شمس منطقتان غير آمنتين.
- منع عرض افلام دعاء الكروان والسمان والخريف وعصفور من الشرق.
- عمل كمائن مرورية فى جميع طرق مصر يوجد فيها طبيب من الحجر الصحي لإجراء الفحوصات اللازمة على السيارات من طراز "كيا العصفورة" ، و"ميتسوبيشي البطة" ، و"المرسيدس الزلمكة" لاحتمال إصابتها بالعدوى.
- إلغاء الجناح الأيمن والجناح الأيسرمن جميع فرق الكورة والاكتفاء بخطي الوسط والهجوم.
- محاصرة ظاهرة الزواج العرفي.
- إلغاء كلمة but .. with من جميع كتب الإنجليزية ، واستعمال by .. however.
-.. وبوضع سمكة مكان النسر في وسط العلم المصري.

Feb 15, 2006

Road To Microsoft

MS :-) 7ases eny bakteb code serry.. :-) msh 3aref leh every time I start thinking about this post, I think I 'll write it in english, :-) w here I 'm f3ln actually typing in english. Anyway, I have recently been offered a position as a Software Design Engineer at Microsoft Windows Serviceability team. and I know that ofcourse its almost any developer dream to be offered a position like this; so to help u out.

As a start, why do u want 2 join microsoft!.. because its a big company?.. because it has many products and its so famous that it 'll contain ur dreams?.. what about google, IBM, Intel, Oracle. All of these companies i'm sure that they can contain ur dreams and more, is it because that Microsoft do interviews in ur country or somewhere near u?.. what if any of these companies do the same?.. what if u got accepted at microsoft, does that mean that after a while of u being there, U 'll leave MS for some other company like google or IBM?!

U have to really start thinking why do u want to join Microsoft!.. u have to really think why exactly MS.. If u have all ur opportunities infront of u, still going 4 MS?!.. prove it!.. if u don't have the motive to join MS, believe me u wont join it. If u really want to be part of MS team; then U can go on and do it. Thats a good start; If u r not going to think about what I said, then stop reading the next posts, because u 'll be wasting ur time. If u really have the passion to join MS, Then, next post I 'll talk about what U need to start with in any interview. c u all next post.

Go to Next Post about Microsoft Interview.

Feb 1, 2006

Harf, Sakhr and Microsoft

aked kolko 3arfen el 7ala el sa3ba elly wasal leha e7'watna fe magahel sakhr.. :-D t7es en sakhr de ba2et 3amla zy el somal.. w el 3yal elly bysht3'lo feha dool ba2o lag2en by7awlo yro7o ay balad tanya 3lshan y3rfo y3esho ya 3einy.. :-D el gamel b2h.. en sa7'r bt2fel w 7altha sa3ba.. :-D w diab lesa mt3ayen feha gded!!.. :D rbna m3ak ya diab.. shed 7elak ya wa7sh!.. wa7ed mn a3az asdka2y fe 7arf.. esmo 3bd el 7amid.. :-D walad zy el 3asal. .t3od m3ah keda td7ak.. ma sha2 Allah tool el w2t byd7ak ( aywa aywa bgd byd7ak aktr mny ma sha2 Allah ).. abl ma yd7'ol el gesh bta3o.. kan sh3'al fe sa7'r.. w ba3dein b3d el gesh.. esht3'al fe 7arf.. :-D da m3nah.. en a7san aw2at 3bd el 7amid kanet fel geesh!!.. :-D wait for next posts about MS and Harf

Harf and Microsoft

:) el walad mshref a3ed y2oly akteb 3n Microsoft, w bsra7a kam 7d kman 2aly el mawdo3 da.. :-$ ana kont maksof bsra7a mn el mawdo3 da.. ( ento 3arfen eny 7'agol gedan ).. bs w ba3dein manmona.. altly lw maksof tktb 3n MS.. ekteb 3n 7arf :-D.. fa 3gbtny el fekra de.. ana hakteb 3n el etnen.. wait b2h the coming posts.. about Harf Vs Microsoft.. :-D 2an 2an trantraaaaan.. el mowagha el 7asemaa...

Fara7 Rania w A7mad

Be monasbet el comment elly a7mad katabo 3ala el post bta3y elly fat...A7mad.. :-) el fara7 n sha2 Allah ma3zom w hagy feeh.. :-) w enta t7med rabena asln en enta hategy :-P ( Ma3loma bs.. a7mad da el 3ares.. :-) aked bayen mn el 3nwan ya3ny a el nabaha de!! )... :-) w bema en el fara7 3ala el 3ares b2h ya a7mad.. :-) fa ya gama3a.. el da3wa 3ama.. w hatb2a lama... ;-) ay 7'edma ya handasa.. c u all next post..

Jan 28, 2006

No Subject

ana ba2aly noss sa3a msh la2y 7aga atklm 3nha bsra7a... fate7 el blog keda w 7ato odamy msh 3aref 22ol a... fa bs awel 7aga ha2olha.. mabrok le rania.. w 32bal ma nshof awladha heya w el walad a7mad ya rab.. Alf mabrook leko.. :-) de awel tahn2ea electronya leko... w kan nfys agelko katb el ketab wallahy bs ana mared.. w molazem le ferash :-(.. ab2a aglko fel fara7 b2h n sha2 Allah.. ( tab3an bayen gedan eny magetsh katb el ketab 3lshan mafehosh akl, w w3awez agy el fara7 3lshan howa da elly feeh el akl ;-) ).. Fa el mohem b2h.. elly 3awezny atklm 3n 7aga y2oly w atklm 3nha.. 3lshan ana msh la2y 7aga awy keda 22lha.. c u b2h.. w waiting for ur comments