How the dynamic lookup work into C Sharp 4

November 18, 2008 – 3:31 pm
How the dynamic look-up work into C Sharp 4 C Sharp 4 add some nice dynamic features, dynamic lookup provide to you why to call and commnecate withe other languages and technoloy like: Python, Java Script, Ruby, COM, etc so easy use only one formal code style. dynamic keyword is a new keyword in C sharp 4 that Statically typed to be dynamic. In other word every operation will perform in any dynamic veriable will perform dynamicly in runtime. The method invocation resolved at runtime, also there are dunamic conversion to convert the dynamic result of the dynamic invocation. See this: In the code, I create a string, and instead of assigning it to a variable of type string, I assign it to a variable declared as dynamic. This basically instructs the compiler to not attempt to resolve any method call or member access of the declared variable. Instead, all these resolutions will ...

C sharp 4, and Variance, Covariance, and Contravariance features

November 18, 2008 – 10:12 am
Actually C Sharp 4 provide many good thinks, like dunamic operations over dynamic keyword, and optinal parameters, and more. Today I will speak about some important feature called:Variance, Covariance, and Contravariance. Variance: An aspect of generics that often comes across as surprising is that the following is illegal: IList<string> strings = new List<string>(); IList<object> objects = strings; The second assignment can't don't (not allowed) becuase strubgs don't have the same element type as objects. There is perfectly good reason for this, becausae it this allowed you could write: object[0] = 4; string s = string[0]; and this will break the safety, However, there are certain interface where the above cannot occur notable where there is no way in insert an object into the collection like IEnumerable<T>. If instead you say: IEnumerable<object> objects = strings; there us no way we can put the wrong kind of data into strings through objects, because objects doen't havea method that take an element in. In C ...

Dealing with the large file tips

November 15, 2008 – 2:07 pm
Dealing with the large file tips My work into Semantic Mash-up Search Engine researcher project necessitate me to deal with large files (like 8GB as one file) Processing, Indexing, and Data mining. Then how to deal 'Read, Write' with this files it's so important for your performance. To start talking about this topic I would like to putting forth some questions may you would ask it: Do I should read the file all at once as only one chunk? If I shouldn't read it all at once, how I should division the file to read it? How I can speed up my reading code? How I should Writing the large data? Do I should write it all at once after end of the processing step or or division the writing process? After you read This questions you will know what i mean by dealing with the large file. First you can't read all the file all at once ...

Google Event - Internship Opportunities with Google

November 15, 2008 – 1:32 am
Google Event (Egypt) - Internship Opportunities with Google Event Info Host : AUC Date : Monday, November 17, 2008 Time : 10:00 am : 11:00 am Location : AUC Cairo, CP 16 at the School of Science and Engineering (SSE) Google is recruiting software engineering interns with the skills, creativity and potential to help invent end-to-end technologies from scratch; stuff that will interest and inspire Arabic speakers across the world and affect hundreds of thousands of people. Osman, a software engineer working in Google, will give a talk on how to prepare for and what to expect in a Google interview. Facebook Event Page Link...

(9 / 11 / 2007) My First Light Parallel Library

November 15, 2008 – 1:24 am
(9 / 11 / 2007) My First Light Parallel Library… I involved in the Parallelism Computing from long time, I actually like it and I tested, and used the Microsoft TPL from the first time. What is the Parallel Library’s? The Parallel Library it’s library make it easy to write a code that can execute easily without make the consumer care about anything except it own code. Parallel Library’s try to make abstraction layer and provide a classes and method that allow to the developer to execute the time-consuming code into parallel using threads. What make me involved into Parallelism Computing? Many questions like, How make your code run fast, How to use all exists cores, and more make me study and learn and involved into this challenge. I write the first completed Parallel library into 9 / 11 / 2008 and I wasn’t having PC content multi-core or multi-processor. But I do ...

The Future of Web Search Engine Survey

November 12, 2008 – 9:02 pm
Hi guys, I create a servury called: The Future of Web Search Engine Survey. The survey about the futreu of Web Search Engine and how it should behive in your opinine and what the missing feature that you would like to see in the Search Engines. I create this survey for my research project SMSE : Semantic Mash-up Search Engine. Please take this survey it will help. The Survey link: http://www.polldaddy.com/s/592473C545066451/ and if you have a feed back about my project or the survey you can contact me through my Email: HFadeel@HFadeel.com Thank you...