Archive for November, 2007

فى تلك الأوقات

Wednesday, November 28th, 2007

كما تعلمون جميعا يا من لا أعرفكم

فى تلك الأوقات يحلوا للمرء أن يجلد ذاته

فتارة أقول أشعر بالوحدة

وتارة أخرى بالغربة

وتارة أخرى باللامبالاة

و أظل أجول بناظرى على أرى حقيقة كينونتى

أو زيف مشاعرى

او أى شئ متقعر لا أفهم معناه

ولكنى فقط أعرف أنى لا أملك شيئا

ذلك الشء الذى لا أعرف كنهه و إن كنت أحسه

على أى حال

دعنى رائق البال

فلابد للمقام من مقال

و قد قلت 🙂

فهل من مآاال

يا حسرة على العباد

Friday, November 16th, 2007

لطالما راودنى ذلك السؤال الممض

لم الناس يتعبون

و يكدحون

ولا يبكون

و لماذا لايرون حقيقة الدنيا

ثم أتسائل و هل نجحت انا فى رؤيتها

اليوم فى الحافلة

سألنى أحد الجالسين

رجل كبير عندما مررنا بمسجد السيدة عائشة

أخذ يتمتم بصوت خافت

كنت واقفا

و كان جالسا

فرفع عينيه إلى سائلا

اليوم

أهو خمسة عشر

أمم ستة عشر

ترددت قليلا

فتبسم و قال ألا تعرف

قلت له انتظر

أخذت هاتفى من جيبى و نظرت نحوه

قلت له ستة عشر

قال لى لقد فات الوقت بسرعة

قلت له و قد تذكرت أن الحج آت أن نعم

يمر الوقت بسرعة

وبعد قليل أجفل قلبى

و شعرت كأنه يتحدث مع نفسه

فات الوقت و كنت أتمنى أن أزور الكعبة و بيت الرسول

و لا أجد سبيلا إليهما

هربت إلى آخر الحافلة

و عندما نزلت فى محطتى

أدركت كم أن العمر قصير

و أكتب الآن و أتسائل

بعد كم من لحظات

سأقول إن الوقت يمر سريعا

أمس انتهينا

Wednesday, November 14th, 2007

أمس انتهينا فلا كنا ولا كان
ياصاحب الوعد خلى الوعد نسيانا

طاف النعاس على ماضيك وارتحلا
حدائق العمر بكيا فاهدأ الآن

كان الوداع ابتسامات مبللة بالدمع حينا
وبالتذكار أحيانا

حتى الهدايا وكانت كل ثروتنا
ليل الوداع نسيناها هدايانا

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

يا رحلة فى مدى النسيان موجعة
يا رحلة فى مدى النسيان موجعة
ماكان أغنى الهوى
عنها وأغنانا
ماكان أغنى الهوى
عنها وأغنانا
أمس انتهينا

أمس انتهينا

 أمس انتهينا

فيروز 🙂

yesterday

Tuesday, November 13th, 2007

I know there is a song called yesterday from beetles 

yesterday all my troubles seems far away 🙂

ofcourse I don’t have such knowledge in english songs

all my knowledege is in Om Kolthoum songs  (the most famous arabic female until now)

however

yesterday I’ve received the full rejection from @#$%!#$# and I am happy and sad in the same time

now I am free and also without an aim

but I’ll do good

coz I want this

remember its not about what happened to you

but about what was your reaction

all ways is leading to god

so please choose the best way that suit you

and what you choose is what you live 🙂

another post without meaning from me

I have a lot of work in discovering the new technologies from microsoft

also I’ll have a lot of work in discovering ASHRAE standards  🙂

a lot of information was injected into my head last week

and I am still in the begining

حكمة اليوم

Wednesday, November 7th, 2007

حكمة اليوم: لازلت غرا ساذجا كالطفل أتشبث بلعبتى و لا أتركها إلا محطمة كى لا يستمتع بها غيرى، تبا لى كم كنت جاحدا

Principles

Wednesday, November 7th, 2007

there are people who consume principles and people who produce principles

the first type (consumer) can’t live without the second type

the first type is not bad if he confess that these principles is not his own thought

borrowing principles is not creation

principles resulted from pain is not principles

either principles resulted from joy

your life consist of hard and easy times

like opening parentthese ‘(‘ you have to close it ‘)’  then tell me what you have got

don’t predict results from unfinished experiments

but you can dictate from another finished experiements

don’t go in deep conversation with people who consume principles and think they are center of universe

they will eat your thoughts and play it on another stage

they will create an audience from consumers who know nothing about thinking

know these people and warn your self

nice to meet you my blog

كالعادة أكتب

Saturday, November 3rd, 2007

يتنامى إلى ذهنى بعض الأفكار الغريبة

اليوم مثلا و انا سائر بجانب أختى الصغيرة قلت لها ربما لو كان اسمى نادر التسمية فلربما كنت أحسن حالا مما انا عليه الآن

و ما دعانى إلى قول ذلك أننا لمحنا فتاة (وأنا كما تعلمون بصباص) تنادى على أحدهم فأشرت إلى أختى قائلا ربما لو كنت هذا الشخص فلربما كانت الفتاة ترتمى بين ذراعى او اى شئ من تلك القصص الرخيصة الجميلة التى تبتذل الحب ابتذالا

فقلت لها

افترضى أن هناك من يدعى “تامر”

ثم تصورت أنه أنجب ابنا و أسماه  “برعى”

إذن فالإسم “برعى تامر”

و لا أدرى لم ضحكنا

ربما لو كان تامر برعى  فلربما استسغناه أكثر

و حتى لا أكون متجنيا

فلقد بحثت عن الإسم فى دليل التليفون فلم أجد له أثرا

إذن فليكن “برعى تامر”  مرحى يا رجل   إلى أن يوجد تامر الذى سيقوى على تسمية ابنه برعى

فسيظل الإسم عالقا قليلا فى مخيلتى

و الشكر لمن قرأ و لم يعلق 🙂

Exchange 2007 Push Notifications using WCF

Saturday, November 3rd, 2007

Introduction

Exchange 2007 introduced a new programming model by using Web Services. The API is called Exchange Web Services (EWS). The new programming model is easy to use, have a nice documentation in the SDK, and also nice learning curve.

Notifications

Notification is an event raised when a specific activity occur to specific resource in the Exchange. The most obvious situation when you want to monitor a specific Mail Box.
Exchange have two methods of notifications, you can consider it like passive and active notifications:

1) Pull Notifications (Passive Approach): You build your application so that it asks the exchange every period of time about any events occurred to the desired resource.

2) Push Notifications (Active Approach): Exchange will notify you about changes that has been occurred and send the notification to your application via custom Web Service (your web service that you built.).

Either (Pull or Push) Notifications require you to Subscribe the required Events so that Exchange can generate the desired notifications which will be sent to your application.

EWS Programming and Types

EWS is differentiate between two types of Resources Folder, and Item

Item could be Message, Contact, Task, etc…

So Notification in this sample is monitoring INBOX folder

Programming against EWS is done by Request and Response.

You create the (Request) then using ExchangeBindingService you send the request and return the (Response) which you test its success or not.

Motivation

Push notification sample included in the SDK have subscriber project and client web service project to consume the exchange notifications.

Thinking that you may not have IIS installed or thinking that you have to build a web service to be a bridge between your application and exchange notification made me not comfortable about the situation.

EWS is using SOAP messages all the day. So I figured out that using WCF service will be a nice feature to interact with the notifications.

WCF service could be hosted in any application and it gives you the integrity to the rest of pieces of your software.

the remain of the article and the sample is in http://www.codeproject.com/useritems/Exchange_2007_with_WCF.asp in codeproject

however exchange was a nice experience 😉