Latest Publications

Good bye 2011

I believed that 2011 has no ending and it will continue forever but it keeps surprising me over and over again and its gone. It was the longest year I have ever lived, what i have seen and learned in it changed me forever. Usually, Its very hard to change my mode but not anymore, I have experience happiness, sadness, fear, rage, anger, confused and contributing in a single hour. ooh yeah its 2011 :)

The most exciting thing about 2011 that events keep happening in a flow you can barely watch and understand in the same time it requires taking fateful decisions that could really effect your hole life. What I have seen during this events is quite shocking me even till now, I will never forget seeing:

  • Old men 40-50 years old living with ethics of 7 years old child had no problem to kill human being just because he/she has different opinion.
  • Old men living with a heart of young 20 years old.
  • A fearless young men/women between 15-30 years old had no problem to die to let the other people live without even knowing them.
  • Many religious people are slaves to the religious speech instead of being free by the religion.
  • A lot of people are slaved by money and they are willing to do anything for it, even kill.
  • People lying and they know that you know that they are lying, and they look straight to your eyes and continue lying.

and the most notable thing that I never had a personal enemy in my life, but now I have one ... SCAF! watch out!

Good bye everyone dead for a principle!

Good bye everyone dead by the others greed!

Good bye 2011 !

كابوس الدستور

بعد يوم ١١ فبراير أنا حلمت أن مصر تبقى حاجه حلوه كده يعنى اضعف الايمان سويسرا ولا انجلترا وصحيت بعد الاستفتاء على تعديل الدستور و افتكرت سعد زغلول قال مفيش فيدة  بس أزاي  يعني مفيش فيدة  ده  كل الناس ألي أعرفهم وألي شفتهم أبصم بالعشرة أنهم بيحبو مصر حاجه تجنن و شوية و جدل الدستور أولا بقى عمل زي الكابوس الى الوحد مش عرف يفوق منه كل ما فتح التلفزيون ألاقي ناس أعده تلوك و نقاش  و خناقات أقفل أم التلفزيون وأشوف النت مفيش غير الدستور و الانتخابات  و ياريت على كده و بس ده أنا كل معود مع صحابي مفيش غير الدستور و الأخوان  و أزاي همه يعملوا كده في مصر لغيت بصراحه ما جالي تخلف و بقيت بصحي بليل مفزوع أقول لا الانتخابات لا ...فقررت احط  حد للموضوع  ده على الأقل لنفسي  و أخلص نفسي  و أجهز الإجابة و اطبعها جاهزه علشان اى حد يسأل اديله نسخه

إيه هى المشكله إلي مخليه الناس دي مقطعه بعض كده عرفين أيه؟ "عيزين مصر الاقوي باحسن وأضمن وسيله ممكنه" يعني من الأخر كده الناس دي كلها بتحب مصر ماعدى فلول المفقوع اصدي المخلوع طبعا و قبل التفصيل لازم نفتكر شويات حاجات كده

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

أنا دلوقتي مش شايف غير مسلسلين واحد فيهم فلول منهم لله والثاني محتاسه يا غاليه و لو حد عندو مسلسل تاني يا ريت يقولي

فلول منهم لله

على افتراض مثلا يعني بعيد عن السمعين أن في صفقة و الكلام الكبير ده تكون أيه الخطة؟

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

باختصار كده يا ولاد إيه الى نجاح الثورة.. الناس؟ طب رجعلي الناس باء البيوت تاني وهيتبأه مين نشطاء و شباب.. طب امسكلي النشطاء و الشباب أهليهم هتقوم بي البقي ناقص مين الكتل سياسية زاي الأخوان و غيرهم طب دخلي دول في السياسة و بعد كده نبأ نالشهوم لما الدنياه تهده

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

محتاسه يا غاليه

يالهوي أعمل أيه معاه العيال بت الكلب دي يعني لو قلت انتخابات هيقولوا الدستور لو قلت دستور هنجيب أزاي الجمعية التأسيسية و بعد شويه هيقولوا ده طمعان في السلطة ... أسيب البلاد يعني و أمشي؟ و هي أساسا خربانه و متنيالآه بستين نيله ولا أنجز نفسي و أجيب مجلس شعب و يصطفوا معهم باء ... أيوه نشوف الشعب هيقول أيه و مش عيز وجاع دمغ خلي كل حجه بقى زاي ما هيهاه و الجي يعيش بقى معاه نفسو

وأكيد قادة الفلول غيروا الخطة ويش و اشتغلوا على:

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

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


خط بقى ومن أول السطر معليش تاني كده هو احنا في الحالتين خاسرين ... لا على الأقل ورينيه الفلول أيام أسود من قرن الخروب بس ١٠٠٠ شهيد ثمن غالي على خروب ... طب و الحال في رأي الشخصي :

  • الدستور مش الأول
  • الاحتجاج على الاعتقالات و المحاكمات العسكرية
  • نركز كلنا في الانتخابات و الناس إلي هترشاح نفسها و برامجها
  • نتابع الشرطة تيت
  • عمل قائمة بالناس الي ممكن تكون في اللجنة المؤسسة للدستور
  • تهدئة الدعوة لي الاحتجاجات عشان الناس متاتنفخشي ولم تحتاجهم تلقيهم
  • نسبها على ربنآ والشعب بعده
  • التوعية التوعية التوعية التوعية التوعية التوعية التوعية التوعية التوعية التوعية

يعني كده من الاخر لو ركزنا في الانتخابات أعضاء مجلس الشعب نعرف نتعمل معهم و نسحلهوم و لو اتفقو على حجه نعرف نخلي ناس فيهم معنا على عكس المجلس العسكري ألي سحلنآ محكمات عسكرية وخلافه.

أكيد أنا اتصنفت فلول ويش .... أنا كل ألي عايز قوله أن مفيش حد من النازل الشارع أو ما نازلشي مش بيحب مصر سواء كان مسلمين أو مسحييين ألا الفلول ألي نفسهم كوكو يرجع تاني بس ده عند أمه يا أدهم أحنه اعدين فيها لغيت متروحوا كلكم أسبانيا

 

Egypt

برجاء عدم سؤالي الدستور ولا انتخابات تاني

What is the Event?

At first glance, the question seems to be very simple but usually simple questions leads to generic answers which usually leads to false understanding of the nature of things. therefore, we may redefine the question to series of questions:

What is the nature of an event?

Event is about "change" in state of an object in a specific time, and the object could be anything such as atom, cell or photon. Event existence must be reflex of another event which means event must be a part of series, chain or tree of events [1].

The knowledge [2] about an event to an observer system is event itself and it happens as reflex of the main event, that means the observer system will always know about the event "after" it happens and there is no knowledge about an event "before" it happens.

What is the relation between events?

Event can be related with another event with their position in the events chain, therefore, event can be either the cause or effect of another event but if we have two different subsets of the events chain we may have two totally independent events in this case the time will be the only relation between them.

When two events being the same?

Event is always unique due the nature uniqueness of the time. therefore, its impossible for two events being the same [3] unless they happen in the same time and they have the same cause (parent events) and effect (child events).

What is the prevention of an event?

Due the fact of the knowledge about an event happens after the event itself, there is no way to prevent an event existence unless you change the cause chain of events, therefore, once the event exist its fact and there is nothing to do about it.

I know you may agree or disagree with me about the answers of above questions, that will keep events topic always very interesting especially when combining it with reactive/reflex agents [4] which recently, I start to work on it in ORGANON project [5]. The project requirement is to provide abstract messaging layer between agents and easy way to show interest in the system environment changes and observe it.

What is the event abstract layer from ORGANON perspective?
  1. Any object can be an event.
  2. Event has only one source (The dispatcher).
  3. Events are dispatched after it happens in event channel (synchronous or asynchronous).
  4. Channel has an address.
  5. Any object can be an address.
  6. Channel has a direction and can be either Upstream, Downstream or Bidirectional.
  7. Channel has a chain of handlers (Pipeline).
  8. Channel handler may handle Upstream and Downstream events.
  9. Channel handler may interrupt the flow of the event in the channel pipeline.
  10. Channels maybe connected to each other to share the events stream.
  11. There is no way to prevent event.
  12. A message is an event.
  13. A transaction is a group of events.

Lets take two examples of how events may work in ORGANON:

The above flowchart describe SMTP delivery system using ORGANON


The above flowchart describe XMPP network using ORGANON

The event/channel API [6] combine the above concepts into set of pluggable interfaces, annotation and various handlers implementation to improve the code quality of the agents and acceleration of the development

  1.  
  2. // Here an example of how agents works using Publish/Subscribe API
  3. class ReflexAgent{
  4.     @Observes
  5.     public void handleTeaEvent(Tea tea){
  6.          System.out.println("Tea type is " + tea.getType());
  7.     }
  8. }
  9. // Now show your interset
  10. Platform.subscribe(new ReflexAgent());
  11. // Later someone will drink tea
  12. Platform.publish(new Tea());
  13. // Also may someone drinks a green tea
  14. Platform.publish(new GreenTea());
  15.  

That's all, HAPPY ORGANON!

[1] Butterfly Effect - http://en.wikipedia.org/wiki/Butterfly_effect
[2] Information Theory - http://en.wikipedia.org/wiki/Information_theory
[3] Davidson's Theories of Events - http://en.wikipedia.org/wiki/Event_(philosophy)
[4] Intelligent agent - http://en.wikipedia.org/wiki/Intelligent_agent
[5] Organon Project - http://www.kemetex.com/en/technology/organon
[6] Event/Channel API - http://api.kemetex.com/docs/organon/platform/api/

You vs God!

I know its quite aggressive heading, but seeing everyday people try challenge God well or systems drive me crazy. Imagine you meet someone telling you that "1+1 = 3" is true or he/she can generate energy from nothing! What you would say? Idiot? because its has been proven since long time ago that you can't change the system rules you can only use/play with the rules! You can't fly on your own but you can use a plan to fly because the rules said so, that's what we have learned from math and physics.

On the other hand, I see everyday people think that they can control others people free well such as governments, organizations and individuals? Idiots? because:

  1. If you believe in science, read some history you will find that all the tries to control the people in history are "ALL FAILED" with the differences of the time line. If that not a prof to you then you properly need to read about the scientific experiment.
  2. If you believe in religion whatever it is, you properly hear "God gives the man his own free well" and you think you can take it?
  3. If you don't believe in science or religion you properly need to go to school.

I just want let you know, If you:

  1. Keep wasting effort, time and resources trying to do something proven that's impossible to happen, you are completely idiot.
  2. Think, you are the smartest man has been born, you are completely idiot.
  3. Think, you can play game against God and you may win, you are completely idiot.

I hope you are not, anyway that may happen but not here, not in our world, not with our God.

API docs and development cycle

Wow! after 4 days of work, finally the API docs see the light at http://api.kemetex.com. It contains all our platforms API docs (without the enterprise) including Java, Delphi and C++. The system is fully automated and fit in our development cycle transparently YHO!!

Our development main stream cycle:

  1. The developer push changes to the source repository.
  2. The continuous build integration system pull it and compiles, run tests, generate docs and deploy SNAPSHOT to the binary repository.
  3. The bug tracking system link the change sets to the targeted bugs.
  4. The QA system run analysis operation on the code and generate reports about the changes.
  5. The binary repository store the binaries and notify the API docs about the changes.
  6. The API docs system pull the changes and deploy the docs after changing links and indexing it.

Now life is more easy, everything in my IDE :)

:: Next >>

 
The individuals who post here work at Kemetex Corporation. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Kemetex nor any other party necessarily agrees with them.
powered by b2evolution free blog software