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!

10 comments:

MAD said...

Hi Hany , thanks alot about these posts about the Microsoft Interview , i just want to ask if you guys i mean who had the chance to make an interview with MS to post in the questions and solutions :).

also if you can talk about what do u know about Masters supported by MS and what is the procedure for that ,and the general life there in USA :)

one more thing i recommend you to read the book if you didn't "Code Complete 2nd edition" this will enhance your code performance alot.
this is its link
http://www.blueportal.org/modules.php?name=News&file=article&sid=4150

Thank you .

Anonymous said...

Dear hany,
I'm Mohamed Ameen, of x-Harf, I'm joining MS soon, I hope we can meet some time to chat a little.

Mohamed Moshrif said...

Actually it's well known technique that you don't initialize everything in constructor of course!

In SQL Server as example, there are many classes if we were going to initialize everything in constructors, then users may wait minutes just to create object, on the other hand the technique every body is using is the late construction, in other words, if you call a function X which is using data structure Y which is need to be initialized, if this function is called for the first time, then initialize it, otherwise, it would be already initialized.

This technique is used every where, even .Net JIT is working in this way.

Hany Barakat said...

Diab (MAD).. :) how it's going.. Miss u bgd.. Sorry for the late reply.. About the posts of MS interview questions and answers, I'll hopefully write more about the questions.. and we can all discuss the answers together, Its way more effective this way, it also let us all know how everyone think, and share our ideas.. about posts about MS and how it supports masters and how is life in the US.. I'll sure write about this soon in my next posts anyway coz I already live it (My blog reflects my life), so I'll do this anyway... Also I'd like to thank u for ur book recommendation.. I'll hopefully read it soon as I've heard a lot that it’s a gr8 book... Thx a lot.

Hany Barakat said...

Mohamed Ameen - Gr8 to hear from u.. :-) Congratulations.. I'm really very happy for u.. Hope 2 c u soon.. U already added me to ur MSN account, so I'll talk 2 u soon.. I'm really sorry for the delay of my replies, It's just I had my brother and niece in town, and I had to spend more time with them showing them around and everything.. so I'll talk 2 u soon.. Thx.

Hany Barakat said...

MAD - btw I beleive I already posted my first 2 or 3 interviews in older posts on my blog.. U'll find it on the Top 3 rated posts: http://hanysbarakat.blogspot.com/2006/02/road-to-microsoft.html (Road to Microsoft)... u'll find there my whole experience about MS interview, I just didn't finish my whole 6 interviews but I posted my 1st couple of interviews.. I'll try to post other interviews or at least give hints about the questions I have been asked since u asked.. I just wanted to make sure that u already have seen the old posts.. Thx.

Hany Barakat said...

Meshref.. I'm 100% with u!.. I really like in my coding to init all me resources just by the time we need, but we still can't forget that at sometimes it's easier to load or create all the resources just in the start, and only once, and whenever something is called it's already loaded and we just return the result.. So, both are fine.. Also, what made my project lead go for this solution (btw he's really a brilliant guy), is the way he design the class.. when he creates an object, in the constructor he just takes the params from the constructor to save it in the class member var., only if it's valid input, then he needs the caller to call the init method, which make sure that whatever have been saved in the class member var, is valid for all cases of our class, that's by calling all methods in the class, saving the answers, meanwhile make sure that all the functions succeeded (so, each function have tri-output, Succeeded to get a value, Succeeded but there is no value to get, and last is the function failed to know any of the 1st 2 cases).. Which is still a good way of design.. that was really a brief of the design.. so, Plz if any1 still needs clarifications or something, just leave me a comment and I'll write a whole post in details about this implementation design..

Mohamed Moshrif said...

Yes, but from what you're saying, this is not resources initialization, what I mean by resources initialization is another thing, I'll give you an example, in SQL Server we've a library called SMO (SQL Server Managment Objects), in this library, you can deal with the database adding, removing, editing as simple as Database["name].Rows.Add, and you don't use T-SQL ever.

In this library, you can enum the databases by simply saying:

Server.Databases.

And you can enum tables by simply saying: Database.Tables.

So now imagine this, a server which contains 5 million databases, in each one we've only 50 tables, so now we've 250,000,000 objects to load (you can cound the logins, columns, rows, etc also), so if we initialize all these in the server constructor, then we'll wait hours and take massive memory, but what is going that when you create a server instance, nothing from those are actually initialized, but they are initialized only on command, like when you say Server.Databases, at this moment we initlialize the databases (and we don't initialize Tables and Columns except when you call them, etc).

That's what I mean by late resources initialization.

Anonymous said...

Recruiters in Construction:post free construction jobs

Unknown said...

Houston Chronicle - May 13, 2010
Constitution law requires most covenant school teachers to have only a high school diploma. But to get together with federal standards, those teaching seed subjects such as math computer science school | human services bachelors degree