Wednesday, June 02, 2010

The Vessel Effect

It is unlawful for a state to intercept a ship belonging to another country over high seas as dictated by the Permanent Court of international justice in the SS Lotus case (1927):

"... Vessels on the high seas are subject to no authority except that of the state whose flag they fly. In virtue of the principle of the freedom of the seas, that is to say, the absence of any territorial sovereignty upon the high seas, no state may exercise any kind of jurisdiction over foreign vessels upon them."

Israel's attack on flotilla is clearly a violation of international laws; and as such, Turkey has all the rights in the world to demand judiciary actions against Israel. Israel has violated human rights and international laws in many previous incidences, but this time, it could be a bit different. The crime has been committed arrogantly against vessels flying the Turkish flag with over 600 people from 30 different countries on board, thus, jeopardizing its relationship with just about its only ally in the Middle East.
The Turkish people on board, on the other hand, have shown examples of bravery, sacrifice, and courage that touched the hearts of the "emotionally inclined" living species of the Middle East - me not being an exception.

Needless to say, Turkey is now gaining enormous popularity, appreciation, and support from the frustrated people of the region. This is hardly surprising as the Turkish regime has in the past few years transformed into a sovereign state with a viable economy and influential leadership.

What can we do from here?

Well, buy Turkish products, and make Turkey grow stronger both politically and economically. Next, imagine what could happen if more campaigns to break the blockade of Gaza were organized by sending tens of vessels with more international supporters. Then if Israel stops them in the same manner, it would have so much to lose, and if it did not, the blockage of gaze would be broken. In either case, it is a win-win situation.

In the meanwhile, all Arab countries are busy condemning the Crime and sending the Israeli government gestures of discontent as they have been doing for the last sixty-something years, obviously, to no avail

By the way, my Grandfather is of Turkish descent


Ammar Sajdi
www.realsoft-me.com
www.e-ammar.net

Saturday, March 20, 2010

بدون هز

بدون هز

اصطلاح يستخدم احيانا لوصف حالة من حالات النوم السريع. في ناس بنامو كل يوم بدون هز بس مش انا!
بالامس استمتعت بظاهرة النوم بدون هز وهي بصراحة ظاهرة اعجبتني ولكن لن يكون بالامكان الاستمتاع بها دائما بسب المتطلبات التي يجب ان تتوفر لها

المهم وبدون كتر كلام او طول سيرة, بالامس شاركت مع الصديق محمد ابو غربية في رحلة على الدرجات الهوائية في ربوع الاغوار قرب البحر الميت مع مجموعة Bike Rush. نزلنا بالسيارات على منطقة البحر الميت حوالي الساعة 2:30 وكان المفروض ننزل بالباص ، بس يمكن غيرو رايهم لانة ما كان في كتير ناس , يعني حوالي عشرة يغلبهم الجنس اللطيف. محجبات وخلافة

من زمان انا ما ركبت بوسوكليت , من ايام ما كنت العب بالحارة بنابلس , لأ واللة تزكرت , كان عندي بوسوكليت مهم جدا عندم كنت طالبا جامعيا في الولايات المتحدة ...
طلعت سواقة البسكليت زي اللغات , يعني لازم تمارس , بس اسهل , اولها حاسس حالي مش مسيطر , بس بعد الشوي
كرجت، وصرت اسوق وانا مفلت ايدي. بس الجو كان بديع والدنيا ربيع وريحة اللحمة المشوية فايعة والمصطافين فوق بعض ,وكانهم مش مصدقين انة في اردنين بسوقو بسكليت , طول الوقت بأشرو وبركظو وبحكو معي بالانجليزي هالو هالو واتسز يور نيم ؟ مع انو شكلي ما بوحي اني اجنبي بلمرة ، بس يمكن لاني لابس خوذة السلامة ونظارة شمس. بس كنت افقسهم ايما فقسة حين اجاوبهم بالعربي اسمي عمار. بس روحت، ضميري أنبني بسب لؤمي, كان لازم اخليهم مبسوطين واسوق عليهم انو اسمي جاك مثلا. بس هذا كلة لا يمت بصلة لموضوع النوم بدون هز. بدأنا المسيرة على شارع مستوي – الشارع الرئيسي للبحر الميت ودخلنا بعدها المزارع القريبة من المغطس. مع شوية طلوع بسيط وميول للتشبيح انة يعني اللياقة منيحة ومش مهمه فارق العمر وصرت بدي اقارع اولاد العشرين. وقتها بدأ مضخة القلب تخابط والشراين يا دوبها ملحقة, يعني باختصار الماكينة من زمان ما اشتغلت ولازم اعمال صيانة ومع هيك قطعت حوالي 15 كيلو وثم توقفت علما بان المسافة المبرمجة كانت 25 كم . الموضوع التاني اللي مش حابب اخوض فيه هو الكرسي. بصراحة كرسي البسكليت ما كان متل العشم (عارفين اصدي ،، بالمشربحي العصعوص ما ساعد، يمكن المشكلة مش بالكرسي باعتبار وزني قارب على الثلاث خانات)
انتهى المشوار مع الغروب وتجمع الاخوة وذهبنا الى منطقة بانوراما البحر الميت حيث اضرمنا النار على قارعة الطريق واحتسينا الشاي المغلي بالميرمية وتجاذبنا اطراف الحديث واكلنا مخالفة سير قبل ان تجهة عائدين ادراجنا حيث اتينا وكان الجو قد اصبح مائلا للبرودة حينها.

بس روحت على البيت , مش بس عشت ظاهرة النوم بدون هز ألا ان صباح اليوم، القيام من النوم كان مع هز يعني نمت بدون هز وما عرفت اقوم بدون الهز

نجرب الماكينة الاسبوع الجاي

Sunday, February 21, 2010

Fool me once shame on you, fool me twice shame on me

I am skeptical about the benefits of repairing my car with the manufacturer-appointed agency. However, I sent my BMW 525 Car to the BMW dealer in Amman for what they call Inspection II. There is nothing wrong with the car, this is just a preventive maintenance measure. It is
a pretty standard inspection where Some specified parts have to be replaced like Spark Plugs, Air Condition Filters, Oil and Gear filters etc.
They gave me an appointment at 9 AM last Wednesday. I arrived on time only to find that the person i was supposed to be had not yet arrived. Another supervisor was kind enough to check in my car. The body inspection revealed that the lining of the front bumper is missing and a decorative metal element on the door side is loose.
My first shock was when the guy told me that it was highly unlikely to finish with the car by the end of the day. The second day, I received a call from the supervisor who informed me that the engine check they conducted revealed that additional parts needed to be changed, like the gasoline filter and Power Steering hose. I approved the part replacement, but the other shock was when the guy informed me that the car might not be ready by the end of the working day (which ends at 4 pm). Anyway, Friday is off, Nobody called till Saturday noon, so, I gave them a call. the supervisor told me that he will make sure that the car is ready by 2:30 after the team comes back from lunch (if they go to lunch at 1:30 and at the same time finish office hours at 4.00, then no wonder the car takes three days for Normal preventive inspection). I went to pick up the car at 3.00. The bill was 600 JD, yes SIX HUNDRED JD's for a few filter elements and OIL replacement. But this hefty price tag got me excited to meet my car again, thinking that they really wanted to surprise me with a drastic cosmetic BOTOX like makeup, or a NEW Look silhouette, or nose job if you like. There was really a surprise. The missing lining was installed, the Small metallic element was not even fixed. The supervisor told me that they would hand over a report to me, and then they told me that the report was not ready, and it would be by the next morning. To add to my surprise, the supervisor told me that the missing part of the Car body was not available, something they did not mention when they called me on Thursday.
I am not even sure, now, that the internal part they claimed to have changed was really replaced. I also made it clear to the gentlemen that I was not satisfied with this kind of service I received, and the gentlemen told me that there were job cuts and the staff was overloaded.
Sending my car to Ole was a conspicuous mistake and now I am no longer skeptical about not sending the Car to the Agency again. They cannot fool me again

Ammar Sajdi
Feb 21, 2010

Ammar Sajdi
www.realsoft-me.com
www.e-ammar.net

Thursday, February 04, 2010

weather wise

I will be on a plane and will be leaving Kuwait back to Amman within the coming 30 minutes.
I know that most of you are disappointed by the level of exaggeration that normally accompanies this kind of event (snowstorm). But wait till I arrive safely home, and then let us hope the media is right

Ammar Sajdi
Kuwait Feb 4, 2010 Thursday

Also, note that all public holidays for 2010 are expected to be on Friday, even this snowstorm won't let you take the day off

Tuesday, February 02, 2010

Oxymoron

playing with words is not Oxymoronology. When you use two seemingly contradicting words, it leads to an Oxymoron

good grief
tight slacks
near miss
light tanks
old news
hot chilli
criminal justice
peace force
open secret
larger half
clearly confused
act naturally
alone together
Hell's Angels
found missing
liquid gas
seriously funny
Microsoft Works
military intelligence
Advanced BASIC
tragic comedy
crash landing
now then
sweet sorrow
silent scream
alone together
unbiased opinion
virtual reality
definite maybe
original copies
pretty ugly
same difference
plastic glasses
almost exactly
constant variable
even odds
minor crisis
genuine imitation
exact estimate
only choice

Ammar Sajdi
Feb 2, 2010

www.realsoft-me.com
www.e-ammar.net

Monday, January 18, 2010

تقرير سري جدا من بلاد قمعستان

نزار قباني
تقرير سري جداً من بلاد> > قمعستان
> > > > لم يبق فيهم لا أبو بكر.. ولا> > عثمان..
> > > > جميعهم هياكل عظمية في متحف> > الزمان..
> > > > تساقط الفرسان عن سروجهم..
> > > > وأعلنت دويلة الخصيان..
> > > > واعتقل المؤذنون في بيوتهم ..
> > > > و ألغي الأذان..
> > > > جميعهم تضخمت أثداؤهم..
> > > > وأصبحوا نسوان..
> > > > جميعهم يأتيهم الحيض،> >
ومشغولون بالحمل> > > >
وبالرضاعة..> > > >
جميعهم قد ذبحوا خيولهم..> > > >
وارتهنوا سيوفهم..
> > > > وقدموا نساءهم هدية لقائد
> > الرومان..> > > >
ما كان يدعى ببلاد الشام> >
يوماً..
> > > > صار في الجغرافيا..>
> > > يدعى (يهودستان)..>
> > > الله .. يا زمان..> > >
> > > لم يبق في دفاتر التاريخ> >
> > لا سيف ولا حصان> >
> > جميعهم قد تركوا نعالهم> >
> > وهربوا أموالهم> >
> > وخلفوا وراءهم اطفالهم> >
> > وانسحبوا الى مقاهي الموت> > والنسيان> >
> > جميعهم تخنثوا...> >
> > تكحلوا...> >
> > تعطروا...> >
> > تمايلوا أغصان خيزران> > >
> حتى تظن خالدا ... سوزان> > > > ومريما .. مروان> >
> > الله ... يا زمان...> > > > > > جميعهم موتى ... ولم يبق سوى> > لبنان> >
> > يلبس في كل صباح كفناً> > > > ويشعل الجنوب إصراراً وعنفوان> >
> > جميعهم قد دخلوا جحورهم> > >
> واستمتعوا بالمسك, والنساء,> > والريحان> >
> > جميعهم مدجن, مروض, منافق,> > مزدوج .. جبان> >
> > ووحده لبنان> >
> > يصفع امريكا بلا هوادة> >
> > ويشعل المياه والشطان> >
> > في حين ألف حاكم مؤمرك> >
> > يأخذها بالصدر والأحضان> >
> > هل ممكن ان يعقد الانسان صلحا> > دائما مع الهوان؟> >
> > الله ... يا زمان ..> > >
> > > هل تعرفون من أنا> > > > مواطن يسكن في دولة (قمعستان)> >
> > وهذه الدولة ليست نكتة مصرية> >
> > او صورة منقولة عن كتب البديع> > والبيان> >
> > فأرض (قمعستان) جاء ذكرها> > > > في معجم البلدان ...> >
> > وأن من أهم صادراتها> >
> > حقائبا جلدية> > > > مصنوعة من جسد الانسان> >
> > الله ... يا زمان ...> > >
> > > هل تطلبون نبذة صغيرة عن أرض> > (قمعستان)> >
> > تلك التي تمتد من شمال افريقيا> > > > إلى بلاد نفطستان> >
> > تلك التي تمتد من شواطئ القهر> > الى شواطئ> > > > القتل> >
> > الى شواطئ السحل, الى شواطئ> > الاحزان ..> >
> > وسيفها يمتد بين مدخل الشريان> > والشريان> > >
> ملوكها يقرفصون فوق رقبة> > الشعوب بالوراثة> >
> > ويفقأون أعين الأطفال> > بالوراثه> >
> > ويكرهون الورق الابيض,>
> والمداد, والاقلام بالوراثة> >
> > واول البنود في دستورها:> >
> > يقضي بأن تلغى غريزة الكلام في> > الإنسان> >
> > الله ... يا زمان ...> > >
> > > هل تعرفون من أنا؟> >
> > مواطن يسكن في دولة (قمعستان)> >
> > مواطن...> >
> > يحلم في يوم من الايام أن يصبح>
> في مرتبة الحيوان> >
> > مواطن يخاف أن يجلس في المقهى> >
.. لكي> >
> > لا تطلع الدولة من غياهب> > الفنجان> >
> > مواطن أن يخاف أن يقرب زوجته> >
> > قبيل أن تراقب المباحث المكان> >
> > مواطن أنا من شعب قمعستان> > >
> أخاف أن أدخل أي مسجد> > >
> كي لا يقال إني رجل يمارس> > الإيمان> > >
> كي لا يقول المخبر السري:> >
> > أني كنت أتلو سورة الرحمن> >
> > الله ... يا زمان ...> > >
> > > هل تعرفون الآن ما دولة (> > قمعستان)؟> >
> > تلك التي ألفها.. لحنها..> >
> > أخرجها الشيطان...> >
> > هل تعرفون هذه الدويلة> > العجيبة؟> >
> > حيث دخول المرء للمرحاض يحتاج> > إلى قرار> >
> > والشمس كي تطلع تحتاج إلى قرار> >
> > والديك كي يصيح يحتاج إلى قرار> >
> > ورغبة الزوجين في الإنجاب> >
> > تحتاج إلى قرار> >
> > وشعر من احبها> >
> > يمنعه الشرطي أن يطير في الريح> >
> > بلا قرار..> > >
> > > ما أردأ الأحوال في دولة> > (قمعستان)> >
> > حيث الذكور نسخة عن النساء> >
> > حيث النساء نسخة من الذكور> >
> > حيث التراب يكره البذور> >
> > وحيث كل طائر يخاف بقية الطيور> >
> > وصاحب القرار يحتاج الى قرار> >
> > تلك هي الاحوال في دولة> > (قمعستان)> >
> > الله ... يا زمان ...> > >
> > > يا أصدقائي:> >
> > إنني مواطن يسكن في مدينة ليس> > بها سكان> > >
\ > ليس لها شوارع> > > > ليس لها أرصفة> >
> > ليس لها نوافذ> > > > ليس لها جدران> > > > ليس بها جرائد> >
> > غير التي تطبعها مطابع>
> السلطان> >
> > عنوانها؟> >
> > أخاف أن أبوح بالعنوان> >
> > كل الذي اعرفه> > >
> أن الذي يقوده الحظ إلى مدينتي> >
> > يرحمه الرحمن...> > >
> > > يا أصدقائي :> > > > ما هو الشعر اذا لم يعلن> > العصيان؟> >
> > وما هو الشعر اذا لم يسقط> > الطغاة ... والطغيان؟> >
> > وما هو الشعر اذا لم يحدث> > الزلزال> >
> > في الزمان والمكان؟> >
> > وما هو الشعر اذا لم يخلع>
> التاج الذي يلبسه> >
> > كسرى أنوشروان؟> > >
> > > من أجل هذا أعلن العصيان> >
> > باسم الملايين التي تجهل حتى>
> الآن ما هو النهار> >
> > وما هو الفارق بين الغصن>
> والعصفور> >
> > وما هو الفارق بين الورد>
> والمنثور> > > > وما هو الفارق بين النهد>
> والرمانة> >
> > وما هو الفارق بين البحر>
> والزنزانة> >
> > وما هو الفارق بين القمر>
> الاخضر والقرنفلة> > > > وبين حد كلمة شجاعة,> >
> > وبين خد المقصله ...> >
> > > > من اجل هذا أعلن العصيان> >
> > باسم الملايين التي تساق نحو> > الذبح كالقطعان> >
> > باسم الذين انتزعت أجفانهم> > > > واقتلعت أسنانهم> >
> > وذوبوا في حامض الكبريت>
> كالديدان> > > > باسم الذين ما لهم صوت ...> >
> > ولا رأي ...> >
> > ولا لسان ...> >
> > سأعلن العصيان ...> > >
> > > من أجل هذا أعلن العصيان> >
> > باسم الجماهير التي تجلس>
> كالأبقار> >
> > تحت الشاشة الصغيرة> >
> > باسم الجماهير التي يسقونها>
> الولاء> > > > بالملاعق الكبيرة> >
> > باسم الجماهير التي تركب>
> كالبعير> >
> > من مشرق الشمس الى مغربها> >
> > تركب كالبعير ...> >
> > وما لها من الحقوق غير حق>
> الماء والشعير> >
> > وما لها من الطموح غير ان تأخذ>
> للحلاق زوجة الامير> >
> > او ابنة الامير ...> >
> > او كلبة الامير ...> >
> > باسم الجماهير التي تضرع لله>
> لكي يديم القائد العظيم> > >
> وحزمة البرسيم ...> > >
> > > يا اصدقاء الشعر:> >
> > إني شجر النار, وإني كاهن>
> الأشواق> >
> > والناطق الرسمي عن خمسين>
> مليوناً من العشاق> >
> > على يدي ينام أهل الحب والحنين> >
> > فمرةً أجعلهم حمائما> >
> > ومرة اجعلهم أشجار ياسمين> > >
> يا أصدقائي ...> >
> > إنني الجرح الذي يرفض دوما> >
> > سلطة السكين ...> > >
> > > يا أصدقائي الرائعين:> >
> > أنا الشفاه للذين ما لهم شفاه> >
> > أنا العيون للذين ما لهم عيون> >
> > أنا كتاب البحر للذين ليس> > يقرأون> >
> > أناالكتابات التي يحفرها>
> الدمع على عنابر السجون> >
> > أنا كهذا العصر, يا حبيبتي> >
> > اواجه الجنون بالجنون> >
> > وأكسر الاشياء في طفولة> >
> > وفي دمي, رائحة الثورة>
> والليمون ...> >
> > انا كما عرفتموني دائما> >
> > هوايني أن أكسر القانون> >
> > أنا كما عرفتموني دائما> >
> > اكون بالشعر ... وإلا لا أريد أن>
> أكون ...> > >
> > > يا اصدقائي:> >
> > أنتم الشعر الحقيقي> >
> > ولا يهم أن يضحك ... أو يعبس ...> >
> > أو أن يغضب السلطان> >
> > أنتم سلا طيني ...> >
> > ومنكم أستمد المجد, والقوة ,> > والسلطان ...> >
> > قصائدي ممنوعة ...> >
> > في المدن التي تنام فوق الملح>
> والحجارة> >
> > قصائدي ممنوعة ...> >
> > لأنها تحمل للإنسان عطر الحب,>
> والحضارة> >
> > قصائدي مرفوضة ...> >
> > لأنها لكل بيت تحمل البشارة> >
> > يا أصدقائي:> >
> > إنني ما زلت بانتظاركم> >
> > لنوقد الشراره ...> > > > > > > >

Sunday, January 17, 2010

Full House

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


وكعادتة تناول الدكتور المواضيع سلالة كلامة المعهودة واسلوبة المرتكز على العقل والمنطق\


Ammar Sajdi
www.realsoft-me.com
www.e-ammar.net

Friday, January 15, 2010

من اقوال امي

نشر اليوم في جريدة الراي الاردنية المقال التالي تحت عنوان وهكــذا اخـْـتـُلِق الشـــعب اليهــودي

http://www.alrai.com/pages.php?articles_id=33785

وهكــذا اخـْـتـُلِق الشـــعب اليهــودي

انتظر حتى أصبح بروفيسـوراً في جامعة تـل أبيب تفـاديـاً للحرمـان والعقـاب من قِبـَل الصهيونية على مثل هكـذا كتـاب و دراســة. بعدهـا قـدّم ما عثر عليه ونشــره أمـام العـالم أجمـع، مؤكـداً أن الشــعب اليهـودي لم يوجـد قـط كأمـة عرقية ذات أصل مشـــتركوإنمــا هو خليـط ملّون من جمـاعـات اعتنقت اليهـودية في مراحـل مختلفة من التـاريـخ.إن فكـرة الشـعب اليهـودي المشــتت الذي هـو بحـاجة إلى مـأوى ووطن قـومي، ما هي إلا أسـطورة، خرافـة اخْـتـُلِقت قبـل قـرن، كمبرر لإقـامة دولـة إسـرائيـل، أكـد هـذا في كتـابٍ بالعبريـة أسـماه : مثاي فـ ايخ هومتزا هعم هيهوديمتى وكيف اخترع الشعب اليهودي إنه البرفيسـور شــلومو سـاند، أسـتاذ التاريخ الحديث بجامعة تل أبيب.أوضح سـاند في كتابه أن اليهود منذ قرن فقط كانوا يعتبرون أنفسـهم يهوداً، لأنهم يؤمنون بدين مقدس موحـد هو اليهودية .. إلا أن الصهيونية العالمية، قلبت الواقـع والحقائق، وبدأت بخلق ونسـج تـاريخ قومي؛ لتثبت أن اليهودية دين و شـعب.كمـا أكـد أن اليهود القاطنين في فلسـطين الآن، ليسـوا من نسـل مملكة يهـودا خلال فترتي الهيكل الأول والثاني؛ وإنمـا أصلهم أقوام متعددة سـكنت أنحـاء البحر الأبيض المتوسـط وما حولـه معتنقة اليهودية مثل بقـايـا قبائـل حمَيـر في اليمن ... ثم قبائـل بربر شـمال إفريقيـا – وعلى رأســهم مليكتهم «داهية الكـاهنة» الشـجاعة، الذين حـاربوا فيما بعد إلى جانب طـارق بن زيـاد، واسـتقروا في الأندلـس ليكونوا نـواة يهود إسـبانيـا، وآخرهم وأهمهم لاجئـو مملكة الخزر – جنوب شـرق أوروبـا – الذين كَتَبَ عنهم آرثر كوسـلر في كتـابه القبيلة الثالثة عشـرة. وقد اكتشـفت عاصمتهم الخزرية الضائعة منذ زمن بعيد ... إلا أنهم أهملوهـا ومحوهـا من الذاكرة، لئـلا يُكـْشف ما اختلقوا وفرضوا على هذا العـالم.ومن أهم ما أثير في هذا الكتـاب أيضاً، قضية النفي الذي اعتبر سـاند اختراعها ضرورة جوهرية للحنين والرجـوع ... لقـد نفى وجود النفي بقوة ... مشـيراً أن اليهود لم يتعرضوا قطعـاً للنفي ... وأن الرومـان لم يعتـادوا النفي أبداً بـل على العكـس ... ذكر أن اليهود كـانوا فلاحين مميزين، أحبوا البلاد، ولم يطردوا منهـا ... وذابوا في أهلهـا .., وقـد تحولـوا جميعاً إلى الدين الإسـلامي وأصبحوا مسـلمين.أمـا القدس كمـا ذكر سـاند في مقالة كتبهـا جونـاثـان كوك في هآرتس 17 أكتوبر 2008 أن الصهيونية غيرت المفهـوم اليهودي عنهـا قـال: ((المدن المقدسـة في الدين نحِنّ إليهـا ولا نسـكنها، لمدة 2000 سـنة واليهودي لا يسـكن القدس ويتشـوق إليهـا، لا لأنه لا يقدر أن يرجـع إليها ... بـل لأنهـا حـُرمَت عليـه حتى رجـوع المسـيح المُنتـَظر.فكيف احتـل الصهـاينة «أصحـاب الدولة» القدس إذاً ؟؟!! لقـد درس هذا المؤرخ وعمـل جـاهداً ليثْـبَت نظريته التي تقوم في الأصـل على اختلاق شـرعية قيام دولة اسـرائيل ... وبذلك يكون دافـع عن قضية أخرى عربية هي من أهم القضايـا وأعدلهـا ... نحن نثـَمن الجهـود المبذولـة من قبـَل شــلومو سـاند ونقدر جرأته في إحقـاق الحق ... إن لإسـمه حق البقـاء في كتب التـاريخ.

أمـل عبد الرحيـم جردانـة

Saturday, January 09, 2010

Immediate = True

In JSF development, and attribute called Immediate pops up sporadically.
It has always been a source of confusion of myself and others around me. Rather than trying to explain its meaning in the post, I will redirect the reader to the best article i have ever read about this issue,
http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works

In essense, the immediate behaviour has to be studied for Input Items seperately from Command items. In Input Items, immediate = true, effectively executes the validation, conversion and events queueing at the end of the apply-request phase. If an error occurs, the rest of the lifecycle is skipped and the Render phase is executed (meaning that non-immediate input items wont be checked). For Command Button, immediate=true means that the action listener or other action events are executed at the end of the apply-request (before, any validation on non - immediate items and before update model). If the event processing returns a non-null navigation string, the lifecycle proceeds to the render-response phase, effectively short-circuiting all other component's lifecycle processing. if the even processing returns null navigation string, then normal processing of lifecycle continues.

ammar sajdi

Monday, December 28, 2009

living in an Ice box


Ammar Sajdi

This is the title that best suits the weather conditions in Beijing (aka Peking) - Mainland China last Friday.
I was in Beijing from Monday till Friday. Upon arrival, it was cold, around zero, which is ok, however, by Friday morning the temperature dropped to a frigid (-13 C) with wind chill approaching near (-20 C) with Sunny skies. Beijing lies in the northern part of China and towards the eastern tip of Asia close to Japan (relatively close); This kind of cold weather reminded me of my college days at the Urbana-Champaign campus.
Beijing turned out to be a very modern city with a really organized infrastructure, clean streets, and excellent shopping malls. It does not fall short of any of the world’s renowned capitals, while still accommodating some 15 million inhabitants. I was impressed right from the beginning upon entrance to Beijing Airport terminal. A Very well organized, clean, and huge airport. How huge? Well, you take the subway to reach the luggage pick-up area. The hotel was a good 4-star hotel with excellent service and nice restaurants. Even though I was in Beijing on a business trip, on Friday, I had some time to spare and defied the frigid cold temperature and went shopping. I ended up with nice Chinese gadgets to take home on a nine-hour flight to Doha, 8 hours transit time, and another 2 hours to Amman. It was a quick journey, and I felt that I visited Tokyo therefore, I still have plans for a future China visit. To sum up, a well worthwhile trip that I need to try again when the temperature is not as cold and when I have more time to ramble around.


Ammar
www.realsoft-me.com
www.e-ammar.net

Friday, December 11, 2009

Unpleasent Treat, Movenpick bahrain

I am leaving Kuwait now back to Jordan, after spending 6 days in Kuwait.
I have not been in kuwait since 2003, but then, i had a splendid stay at Marriott (I was treated lavishly, really pampered in all sense). This time I thought i was making the best decision by staying at Movenpick Kuwait (Free Zone). To be honest, i was a bit disappointed. The only 5 Star aspect of the Hotel is Service, however, the hotel is of poor quality, you can notice that as soon as you get to the reception area. It looks old and unmaintained and the finish is not good.The room is Ok, spacious and clean, but the furniture does lack the 5 Star luxury feel.
I did not enjoy the TV since it has been a while since i watched a NON-LCD any kind of display. It is an old 29 Inch regular TV, with a bad sound quality, and not to mention, a rather poor choice of channels.
One point worth mentioning is the fact that there seems to be a sewage treatment plant nearby, and as such, some times (especially at night any in the early monring hours, it smells like Sh.t). Unfortunetly, these are the periods when i was most likely to be in the Hotel.
The food is good, but the buffet is not a 5 stars buffet from an assortment point of view. That applies to both breakfast and dinner.

In essense, for the amount of money paid, i will not return

as for the general stay, i was there for a short consulting engagmemt at Kuwait University, to check how the team is doing with the Jdeveloper 11g New ADF technology. In all fairness, they are doing very good job and definitely, they are an early adopters to the technology

ammar

Friday, November 27, 2009

العيد بعيدين

and maybe more,

the first reason is because it is EID Al Adha, and instead for writing again and agian about it, i will just refer to
http://oraclejo.blogspot.com/2008/09/eid-dj-vu.html.

and for the second Eid, it about some technical issue that i figured about ADF technology. If you are not familiar with what Oracle ADF is, stop reading because this is not for YOU, or continue at our own risk

Well, i spend the day yesterday fiddling around with ADF binding concepts until i believe i have got it all figured out. I was working with this technology for quite sometime (only from out of the box) but since i am asked to do some consulting job next week in Kuwait, i have been doing nitty gritty details and trying to come done to core of the material.

I have designed two pages one based on on Table DEPT and with the following page definition information

Page definition name ="untitled1PageDef"
iterator name ="deptView1Iterator"

and the other is page is based on TRADE table with the following page definition information

Page definition name ="untitled1PageDef"
iterator name ="tradeView1Iterator"

A trivial scenario would be to read some page1 attribute (Text item) from page1 while running page one. All ADF programmers must have encountered this situation and have done it many times through several different solution. The solution i pick is a solution that i can always use and a solution that depends on the basics (No Eid here)

FacesContext ctx = FacesContext.getCurrentInstance();
Application app = ctx.getApplication();
ValueBinding bind = app.createValueBinding("#{data}");

BindingContext bindingCtx = (BindingContext)bind.getValue(ctx);
DCBindingContainer dcb = (DCBindingContainer)bindingCtx.findBindingContainer("untitled1PageDef");
DCIteratorBinding Iter = dcb.findIteratorBinding("DeptView1Iterator");
String attr =Iter.getCurrentRow().getAttribute(2).toString();

(note: i know that there are short cuts that would probably eliminate a few lines of code, but at the expense of hiding the basics).


Now, let us move to the following situation. I am running page1 and selected a specific row, and i am moving to page 2 and i am required to find an attribute of on page 1 (which i have already left) . Well many techniques exist and most of them depend on other standard web techniques like using Session Variables, or ADF actions set Action listener etc..
The basic concept in ADF relies on a model object that holds that sources based on View Object. Since view objects are already instantiated by the Application Module and their data is persistent as long as the application module is alive, and since such objects are bound to ADF iterator binding in the binding containers, then, its only makes sense that we should be able to read the iterator binding of any visited page definition.

Well, during my past readings , i came to know more things about iterator binding, that i undermined at that time. The Literature about ADF iterator binding says, that after the completion of the JSF and ADF lifecycle, the framework unbinds the iterator binding from its data source and rebinds it again when the page is loaded again. This is done automatically to save resources. This of course does not cause the loss of any data, because the view object is still there in the model layer. It is only the iterator binding pointer is not there and in most cases, it needs not be there since at that time the user is on a different page

So, for now, page2 is displayed on the screen and there is a button on page2 screen and i want to read information from page1, the same information that i read when i was already on page 1.

An innocent attempt would be to use the same code as before, and if you do, you will face a NullPointer exception when you run

DCIteratorBinding Iter = dcb.findIteratorBinding("DeptView1Iterator");

Because as i explained earlier the binding iterator of page 1 (DeptView1Iterator) is not bound after the page lifecycle is complete even though the iterator itself exists?? It will be bound during the iterator refresh step during page reload.

Well, then i can find some why to manually refresh the iterator binding, i should be able to accomplish what i want, and Eureka, after some brain drain investigating, i found it


call getRowSetIterator();


and then I included the above call in my code with my fingers crossed, and the Second Eid emerged for me , it worked like a
charm

FacesContext ctx = FacesContext.getCurrentInstance();
Application app = ctx.getApplication();
ValueBinding bind = app.createValueBinding("#{data}");

BindingContext bindingCtx = (BindingContext)bind.getValue(ctx);
DCBindingContainer dcb = (DCBindingContainer)bindingCtx.findBindingContainer("untitled1PageDef");
DCIteratorBinding Iter = dcb.findIteratorBinding("DeptView1Iterator");
String attr =Iter.getRowSetIterator().getCurrentRow().getAttribute(2).toString();
//simialr to DCBindingIterator Iter = (DCBindingIterator)Iter.get("binding iterator)
DCIteratorBinding Iter1 = dcb.findIteratorBinding("tradeView1Iterator");
String attr2 =Iter1.getRowSetIterator().getCurrentRow().getAttribute(2).toString();
System.out.println(attr);
System.out.println(attr2);

The getRowSetIterator() binds it again to the data control and hence it now points to current row of the view object (which would be the row you selected in the previous page when you navigated out of it)

Since I became more confident about my knowledge, i thought, ok what if the user ran page2 immediately without running page 1, and tried to access some data from page (1).
There is no data in page 1!!! and that is exactly the case, running the above code would legitimately yield NullPointer Exception. To demonstrate my understanding, i thought i would manipulate the code is a way, that in case the user skipped page1 , it only makes sense to say that in this case, the current row of the first page would be the first row in the view object, I figure what if i execute a query of the first page iterator after accessing it using

Iter.executeQuery();

Again, it worked like a charm

FacesContext ctx = FacesContext.getCurrentInstance();
Application app = ctx.getApplication();
ValueBinding bind = app.createValueBinding("#{data}");

BindingContext bindingCtx = (BindingContext)bind.getValue(ctx);
DCBindingContainer dcb = (DCBindingContainer)bindingCtx.findBindingContainer("untitled1PageDef");
DCIteratorBinding Iter = dcb.findIteratorBinding("DeptView1Iterator");
String attr =Iter.getRowSetIterator().getCurrentRow().getAttribute(2).toString();
//simialr to DCBindingIterator Iter = (DCBindingIterator)Iter.get("binding iterator)
DCIteratorBinding Iter1 = dcb.findIteratorBinding("tradeView1Iterator");
Iter1.executeQuery();
String attr2 =Iter1.getRowSetIterator().getCurrentRow().getAttribute(2).toString();
System.out.println(attr);
System.out.println(attr2);

I know it means nothing to most of you, but it sure does to me and others in who opt to understand the framework that way i want ....

Which brings up a new reason why it a Eid, well, right now, at about 8:10 PM, we are leaving home and heading for a 36 hours vacation at Aqaba, a decision taken at the spur of the moment

Happy Me

Saturday, November 21, 2009

Significant leap forward



The
Large Hadron Collider is back after it was damaged last year. This collider is by far the largest ever built and will smash atoms to unleash the secrets hidden in the depth of matter.

Exciting experiments shall shed light on the Big Bang theory that explains how the world started.

Ammar Sajdi

www.realsoft-me.com
www.e-ammar.net

Monday, October 26, 2009

Disappointed -- Twice

Once in Dubai, and the other one in Windows 7

As usual, GITEX runs in October and our company exhibits as part of the Jordanian Pavilion.

I do not share sentiments with Dubai's large no of fan. I have always had mixed feelings, but now i have only negative feeling. Even though, and from the outside, it has the looks of modern cities, however, there are fews things that cannot but piss you off.

Upon arrival, i headed immediately to the passport control, and after waiting in a queue for quite sometime, i was relieved that it was my turn to check my passport, only to be asked by a friendly lady to go back to the lower floor and take an Iris Signature. Along the way i found many people returning. How Difficult is it for officials in Dubai to install a sign asking arrivals to take Iris signature before proceeding to Passport Control? The same thing happens every day and nobody is taking any action.

I rented a car (things went smooth) and upon hitting the street, i just faced a total mess. Lots of constructions and diversions , which is fine, but the signage is just horrible. You start with a sign and when you reach an intersection or a diversion, the signs do not tell you anything, and if you are lucky, you might find a small sign at exactly the intersection, by which time, it is almost impossible for you to change lanes.

it took me exactly 30 minutes to reach my hotel, because i was going around it for several rounds. I made a visual contact early on, but getting there amongst the mesh of diversion and constructions is something that requires quite a bit of training.

Arriving at the expo grounds is also an adventure. It is located next to Dubai world trade center that is reachable from a large round about!! and you can probably imagine the traffic on round about in busy areas. But when you reach the parking area, you also wait in lines only to find a poor parking area with no asphalt. If you are lucky, you find a parking place; mind you, that we are exhibitors and paying a lot to rent an area in Gitex and, therefore, the least of our expectations is find a proper parking location. There are three parking lots A, B, and C, I noticed that C is the least busy of all, so the next morning i thought i was going to play it smart. I waited in the line, and when i reached Parking A, I skipped it so that i can part in C, only to find that C is closed. Of course , no sign or nothing. It seems that in Dubai you need to improve foretelling and occultism skills. Going back to the line would take me another 20 minutes, so i decided to park at the corner of the street. When i returned to my car in the evening, i found a parking ticket saying that i am parking in an inappropriate location.


What added in my disappointment is the big fuss made by the release of Windows 7. I bought a Laptop running windows 7, and immediately hit incompatibility issues:
1- does not run my Vmware virtualization software.
2- took my a long time to make it connect to my wireless router.

problems with windows 7 made my search for critiques about it, and i would like to share with you this article

Under the Hood, Windows 7 Is Vista's Twin

Who is Microsoft trying to fool? Underneath the fresh coat of paint, Windows 7 looks and runs like Vista. Here are the benchmarks to prove it.

http://pcworld.about.com/od/windows1/Under-the-Hood-Windows-7-Is-V.htm

ammar sajdi

Tuesday, September 22, 2009

He was a model professor: generous with ideas, gracious with advice, and intellectually curious about many subjects

This is what students of Professor Richard M. Brown said when he passed away on Aug, 22 09.
Brown worked in the Control Systems Laboratory at Illinois (now the Coordinated Science Laboratory) when it was new to campus, helping to set a foundation for digital computer research. He was involved in the creation of such ground-breaking computers as the CSX-1 and the first supercomputer, the ILLIAC IV. PLATO, the first computer-assisted instruction system that helped to develop Internet concepts such as chat rooms and online testing, was helped by Brown’s research on teaching machines.

He did not live to hear what his students had to say about him! He did make a difference and the title just spells it out. If you like it, try to make a difference!

I tried myself, but it seems it shows after we die (if Ever!!!)


Ammar Sajdi
www.realsoft-me.com
www.e-ammar.net

Sunday, September 20, 2009

حملة انتخابية بالعيد

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


برئاسة الاخ غسان خرفان


Friday, September 18, 2009

البوس ممنوع

القى فايروس N1H1 بظلالة على مراكز الافتاء الاسلامية حيث وردت اخبار ان البوس اصبح مكروها منعا لانتشار الفيروس.
لا داعي للهلع فيبدو ان المنع مؤقتا حيث يتوقع ان يرفع الحظر بعد العيد مباشرة لتستمر عمليات البوس كالمعتاد



Ammar Sajdi
www.realsoft-me.com
www.e-ammar.net

Sunday, September 13, 2009

I am surprised too



I am running for Amman Chamber of Commerce board elections

16000 people shall cast their vote on Oct 3, 2009.

To vote, you company must have a captial exceeding 5000 JD and must be registered as a memeber in the Amman Chamber of Commerce.





Tuesday, September 08, 2009

REALSOFT in the NEWs ريل سوفت

http://www.petra.gov.jo/Artical.aspx?Lng=2&Section=4&Artical=133029 http://www.addustour.com/ViewTopic.aspx?ac=\Economy\2009\08\Economy_issue693_day31_id171383.htm http://www.alanbat.net/news/Viewoldnews.asp?Nid=239474 http://www.alarabalyawm.net/pages.php?news_id=180754 http://www.addustour.com/ViewArchiveTopic.aspx?ac=\Economy\2004\09\EconomyNews_Issue14390_Day9_ID85843.htm
http://www.elaph.com/Web/Technology/2008/11/381301.htm


sample

البرمجيات المتقدمة والحلول النقالة تنفذان تعدادا تجريبيا في قطر
[30/08/2009 12:34]
عمان 30 آب(بترا)- انهت شركتا البرمجيات المتقدمة ريل سوفت والحلول النقالة تنفيذ التعداد التجريبي للسكان والمساكن والمنشآت في دولة قطر .

وتم تنفيذ التجربة بالتعاون مع جهاز الإحصاء القطري وشملت 700 أسرة موزعة على 4 بلديات تمهيدا لإجراء التعداد العام للسكان والمساكن والمنشآت في2010.

وقال بيان اصدرته شركة ريل سوفت اليوم الاحد هذا أول تعداد تجريبي ينفذ استعدادا لتعداد 2010 في دول مجلس التعاون الخليجي.

ويعتبر التعداد التجريبي مرحلة مهمة تنفذ في كافة المشاريع المشابهة لاختبار المنهجيات والعمليات والتقنيات والخروج بتوصيات لمرحلة التعداد الفعلي.

والبرمجيات المتقدمة شركة اردنية تم تأسيسها في العام 2002 والحلول النقالة شركة شقيقة سيستر كومبني للشركة الاولى.

واشتملت التجربة على اربع مراحل لمحاكاة خطوات التعداد الفعلي، حيث تم في كل مرحلة استيفاء استمارة خاصة لبيانات المباني والوحدات السكنية ثم المنشات وفي النهاية جمع البيانات التفصيلية للسكان من مواطنين ووافدين.

وجاء في بيان الشركة ان المراحل كافة تمت بسلاسة حيث كان يتم ربط بيانات كل مرحلة بالمراحل السابقة لها لضمان تكامل واتساق البيانات الإحصائية.

ومن أهم معالم هذه التجربة استخدام الأجهزة الكفية الالكترونية بي دي ايه المزودة بالخرائط الالكترونية والصور الجوية لجمع البيانات ونقلها إلكترونيا إلى قواعد البيانات المركزية بدلا من الأسلوب التقليدي الورقي.

وشركة ريل سوفت نفذت تعداد سلطنة عمان 2003 باستخدام الاجهزة الكفية في ولاية مسقط علما بأن سلطنة عُمان شرعت بالتحضير لتعداد 2010 على مستوى السلطنة باستخدام تقنيات الأجهزة الكفية.

يشار ان دائرة الإحصاءات العامة أدخلت وبالتعاون مع الشركة خدمة الاجهزة الكفية في إجراء التعداد الزراعي العام 2007.

--(بترا) ف ح/س ج/ س ق.

Tuesday, August 18, 2009

Edward Said National Music Conservatory

I have attended the Palestine Youth Orchestra performance that took place this week in Amman, and i must say that given the constraints imposed on a Palestine ensemble of this sort, the performance was far from being ordinary. I was captivated by watching some 50 young musicians mostly in their early 20s orchestrating the marvelous Beethoven’s Third Symphony Eroica, “a tribute to a great man”. The group was led by the acclaimed English conductor Sian Edwards. The event was in Commemoration of Mahmood Darweesh.I am glad i did not miss it

Ammar sajdi

Aug 17, 09

Fundamentals of Software Testing

Originally posted on jan , 23 2009, Published again on Sept,18,2024 extracted completely from    http://testingsoftware.blogspot.com/2005/1...