Wednesday, October 17, 2012

The C language dominates the programming languages arean

The number One programming language is the C language according to|TIOBE Programming Community index

Position
Oct 2012
Position
Oct 2011
Delta in PositionProgramming LanguageRatings
Oct 2012
Delta
Oct 2011
Status
12C19.822%+2.11%  A
21Java17.193%-0.72%  A
36Objective-C9.477%+3.23%  A
43C++9.260%+0.19%  A
55C#6.530%-0.19%  A
64PHP5.669%-1.15%  A
77(Visual) Basic5.120%+0.57%  A
88Python3.895%-0.05%  A
99Perl2.126%-0.31%  A
1011Ruby1.802%+0.28%  A
1110JavaScript1.261%-0.93%  A
1212Delphi/Object Pascal1.097%-0.01%  A
1313Lisp0.947%-0.08%  A
1418Pascal0.839%+0.12%  A
1516Lua0.728%-0.07%  A
1620Ada0.654%+0.04%  B
1715PL/SQL0.630%-0.27%  B
1825Visual Basic .NET0.599%+0.12%  A--
1921MATLAB0.591%+0.02%  B
2019Assembly0.568%-0.05%  B

The entire report can be found at 

http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

Ammar Sajdi

Sunday, October 14, 2012

From the Jewish Talmud




jaydi
September 26, 2012 at 3:24 am
(This is copied and the original in one of the response in the article 

US Preparing for a Post-Israel Middle East?

by Franklin Lamb

August 28, 2012


From the Jewish Talmud:
1) If a Jew is tempted to do evil he should go to a city where he is not known and do the evil there. –Moed Kattan 17a
2) If a heathen (Gentile) hits a Jew, the Gentile must be killed. Hitting a Jew is the same as hitting God. –Sanhedrin 58b
3) A Jew need not pay a Gentile (“Cuthean”) the wages owed him for work. –Sanhedrin 57a
4) If a Jew finds an object lost by a Gentile (“heathen”) it does not have to be returned.
-Baba Mezia 24a also in Baba Kamma 113b
5) When a Jew murders a Gentile (“Cuthean”), there will be no death penalty. What a Jew steals from a Gentile he may keep. –Sanhedrin 57a
6) Gentiles are outside the protection of the law and God has “exposed their money to Israel”. –Baba Kamma 37b
7) All Gentile children are animals. –Yebamoth 98a
8) Gentile girls are in a state of niddah (filth) from birth. –Abodah Zarah 36b
9) Only Jews are human (“Only ye are designated men”). –Baba Kattan 114a-114b
10) Jews may use lies (“subterfuges”) to circumvent a Gentile. –Baba Kamma 113a and two rabbis:
11) Rabbi Yitzhak Ginsburg, “We have to recognize that Jewish blood and the blood of a goy are not the same thing.” -NY Times, June 6, 1989
12) Rabbi Yaacov Perrin, “One million Arabs are not worth a Jewish fingernail.” -NY Daily News, Feb 28, 1994


Ammar Sajdi


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

Beautiful skies of Amman


(This post was written a few years back, do not know why it is popping here)

How dare you blame me for being immensely indulged and madly in love with weather after you see the picture shown . This is how the skies of Amman looked like yesterday afternoon (this picture was taken by Issa, right above English school)

And if you look to the picture below, you will understand more. See the feeling is mutual. it is not a one-sided kind of relationship:)

Anyway, In the last 48Hrs, the Eastern Med witnessed the first real intense weather system that dumped a staggering 70 mm of rain in western areas of jordan. By the way, the real rain in Amman started at 9 PM night on Tuesday, exactly when people casted their last ballots and election centers where announced closed.

Taking about elections in Jordan, our company PALCO was in charge for the computer software infrastructure. The difficulty lies in the criticality and the size, where in one day, no errors are allowed , no power failure are allowed, no software glitches are allowed, and you need to have 4000 users simultaneously logged in hitting the database at a rate of around 50 transactions per second from all over Jordan. We had to maintain and support data entry through web interfaced accessed from around 1200 schools all around Jordan.

Two database in RAC configuration were taking the load, each server with 8 CPUs.
Around 8 application Server with Apache (the guy with the feather) installed served as HTTP server.

It was a record breaking stressful month with stress intensifying as the election date was approaching to finally reach a paramount on the day of election. The team had to be available for round the clock.

Anyway, it was real, it was fun , but it was NOT a real fun. The important things is that it ended in a way we hoped it would and we learned a lot. This is not the first time we support election software infrastructure, the first time was back in 1997.

And today, which is my favorite Thursday, we ended the week and the day at champions Latino night-Marriott.

Well i am preparing myself for one heck of a day! next Sunday in Damscus. The project delivery day!!!!

Crossing the Barrier



Last Friday OCT 12, 2012 marks an important day in my non-profession-related career, it is the day when I with my bicycling buddies crossed the 100 Km on my bicycle.  In fact, we covered the distance from Amman to Al-Azrak in around 4 cycling hours across the eastern part of the Jordanian desert with a great group of cyclists in great weather conditions.  The total distance was 117 Km!



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

Sunday, September 02, 2012

How to answer any question

Hello

Part of my job in the past 20 years is to answer questions ,mainly Oracle database related questions.
Now i have found a way to answer any question in the world without having to work very hard

Scenario:
Somebody asks you a question , for example, somebody want to know about the capital of jordan

My answer is

http://www.lmgtfy.com/?q=capital+Jordan#

Try it out


Ammar
Sept 2, 2012

Monday, June 25, 2012

Profile for suggested ride On Friday June 28









Bicycle Ride

The route is basically from  Applied Science University (which we passed by last week), up to Abu Nussair, and down into Urdon High way northwards towards Jerash. In the Middle of Urdon high way, we take a right up to the mountains overlooking Baqa Camp.  We start a steep downhill country road towards a village called Massara. Then we go up again until we reached Bairain (which we know from last week). Now we will climb back to Applied Science University.  
Total distance 40Km
Total Altitude 1100 Meters

note: some stretches are really difficult.

Ammar Sajdi

Wednesday, October 05, 2011

Technically Speaking

Clarification of Oracle ADF State Management

By Ammar Sajdi

May 15, 2011


For the sake of this discussion, it will assumed that there are only two users accessing the application and only one application module available in the application module poolThe following is an attempt to clarify how exactly ADF manages application module pool.

No Activity

  • Application Module in unreferenced State
  • No Reference to any Client page in the Http Session














First User Sends a Request

  • At the beginning of the Request, a session references a Data Control object which in turns looks for an Application Module (AM) in the pool. It finds an unreferenced AM and grabs it for its use AM1 ;( An unreferenced AM is one that does not hold active content for any user session). During the request, the status of the AM is changed to BUSY and the AM instance contains User1 transaction information together with Current row information etc ..

  • At the End of the Request, AM1 is checked back to the Pool with AM states changed to Referenced (Or Managed). Note that the AM is back in the pool without constraints and is not tied to any specified session.


1)

  • User Sends another Request, Second user is still Idle

  1. The Data Control (which resides in the same user session) will again look for AM in the pool and since the pool uses session affinity algorithm, an attempt is made to return the same previous AM instance. The attempt will be successful, because no other session is competing for the AM in the pool. AM1 will be returned. Its status will again become Busy
  2. At the end of the request, AM1 is returned back to the pool in Managed state.

  • Second User Sends a Request

  1. At the beginning of the Request, the second user Data Control will try to grab AM1. AM1 is however in a managed state and is referenced by the first Session. Any attempt to over write the contents of AM1 shall jeopardize the first user transaction. Therefore, the AM pool management needs to make AM1 available to user2, but only after it recycles the contents of AM1. A process called passivation starts, in which AM1 contents are persisted into the Database or to an OS file. This is called a snapshot. After passivation is completed, AM1 is now in an UNREFERENCED State and at this moment, Session2 Data Control grabs AM1, changes it status to BUSY and becomes the active AM for user2.



  1. At the end of the request, the Data control in the second user session releases the AM back to the Pool in MANAGED state


  • First User Sends a Request

  1. When the first user sends another request, he/she should not be aware of the fact that AM1 now references a different user session. In order to make this completely transparent, the Pool Management will recycle AM1 again, after it persists AM1 state through passivation, it will carry out an activation process. This process reads User1 snapshot from the Persisted snapshot and back into AM1. AM1 now references User1 session and maintains its current transaction.



  1. 2 Finally, at the end of the request, the AM1 is released back to the application module waiting to serve another request. If the request is for the first user, the process continues without passivation/activation cycle. If on the other hand, the request is for the second user, user2 previous snapshot needs to be activated.


Notes:

Activation / passivation cycle does not take place at every request. (one exception is when failover is enabled). Otherwise, it only occurs when user requests far exceed the no of available AM.

There are parameter that gives you control over the AM in the pool. Like Max, min etc …

Note that in the above scenario , it neither of the users issues a submit or a rollback, while at the same time the contents of the transactions are maintained across several requests.

It is important to understand that whenever the session passivated, a JDBC database rollback is issued. This rollback is not related to the Application Module, your EO will remain intact. But you need to be careful about stored procedures that you executed with DML, or information posted to the database through POST_CHANGES operation.

When the session is passivated and then activated to another user, its JDBC connection remains with it. Therefore, any session information are lost. This is important when you design RLS, and that is why we need to set the context information at each PrepareSession event.

Tuesday, July 19, 2011

اذا بلينم فاستتروا

كان لازم يترجمها مثلا


















ammar sajdi -- july 19,2011
www.e-ammar.net

Saturday, April 09, 2011

Ernst And Young Jordan Entrepreneur of the Year


I have been nominated for the Ernest and Young Jordan Entrepreneur of the Year, 2011.
Today, there is an article at Al Ghad News paper


Ammar 9.4.2011


Friday, March 04, 2011

Cebit - Hannover

Every now and then, REALSOFT participates in the German Gigantic IT expo called Cebit.
Hannover is in the northern part of Germany and it bitterly cold at end of February and beginning of March. What is most noticeably is the shrinkage in the size of exhibiting companies year after year. There are almost 32 Halls in the fair ground, but it seems that there are almost 10 vacant halls.



Sunday, February 13, 2011

Nokia and Microsoft

What would you anticipate to happen when the world's largest supplier of mobile phones (Nokia) join forces with the software giant like Microsoft?

Microsoft and Nokia have announced a partnership in which Nokia starts building mobile phones that run Microsoft phone 7 windows operating System.

One thing for sure, they have a long way to go to catch up with Google's Android! If they move fast enough, who knows, Microsoft current small market is bound to explode

Ammar

Thursday, January 27, 2011

superb

http://www.youtube.com/watch?v=zBmy9mVgbuY


[b]أسبِّح باسمك اللهُ

وليس سواكَ أخشاهُ

وأعلَمُ أن لي قدراً سألقاهُ (إشباع الهاء) . سألقاه

...وقد عُلِّمتُ في صغري بأن عروبتي شرفي وناصيتي وعنواني

وكنا في مدارسنا نردد بعضَ الحانِ

"بلاد العُرب أوطاني .. وكل العرب أخواني"

وكنا نرسمُ العربيَّ ممشوقاً بهامتِه

لَهُ (إشباع الهاء) صدرٌ يصدُّ الريحَ إذ تعوي .. مهاباً في عباءته

وكنا مَحْضَ أطفالٍ تحرّكنا مشاعرُنا

ونسْرحُ في الحكايات التي تروي بطولتَنا

وأن بلادنا تمتد من أقصى إلى أقصى

وأن حروبنا كانت لأجْل المسجدِ الأقصى

وأن عدوَّنا صهيونَ شيطانٌ له ذيلُ

وأن جيوش أمتِنا لها فعلٌ كما السّيلُ

سأُبحرُ عندما أكبرْ

أمرُّ بشاطئ البحرين في ليبيا

وأجني التمرَ من بغدادَ في سوريا

وأعبر من موريتانيا إلى السودان

أسافر عبْر مقديشيو إلى لبنان

وكنتُ أخبئ الألحان في صدري ووجداني

"بلاد العُرْب أوطاني .. وكل العرب أخواني"

وحين كبرتُ .. لم أحصلْ على تأشيرةٍ للبحر .. لم أُبحرْ

وأوقفني جوازٌ غيرُ مختومٍ على الشباك .. لم أعبرْ

كبُرتُ أنا وهذا الطفل لم يكبرْ

• * * *

تقاتِلُنا طفولتُنا

وأفكارٌ تعلَّمنا مبادءَها على يدِكم أيا حكامَ أمتِنا

ألستم من نشأنا في مدارسكم ؟

تعلَّمنا مناهجَكم

ألستم من تعلمنا على يدكم بأن الثعلبَ المكارَ منتظِرٌ سيأكل نعجةَ الحمقى إذا للنوم ما خَلَدُوا ؟

ألستم من تعلمنا على يدكم بأن العودَ محميٌّ بحزمته ضعيفٌ حين ينفرد ؟

لماذا الفُرقةُ الحمقاءُ تحكمُنا ؟

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

لماذا تحجبون الشمسَ بالأَعلام؟

تقاسمتم عروبتَنا ودَخَلاً بينكم صِرنا كما الأنعام

سيبقى الطفل في صدري يعاديكم

تقسمنا على يدكم فتبت كل أيديكم

أنا العربيُّ لا أخجلْ

وُلِدتُ بتونسَ الخضراءِ من أصلٍ عُمَانيٍّ وعُمري زادَ عن ألفٍ وأمي لم تزل تحبَلْ

أنا العربي في بغدادَ لي نخلٌ وفي السودانِ شرياني

انا مصريُّ موريتانيا وجيبوتي وعَمَّانِ

مسيحيٌّ وسني وشيعي وكردي وعلوي ودرزي .. أنا لا أحفظُ الأسماءَ والحكامَ إذ ترحلْ

سَئِمنا من تشتُتِنا وكلُّ الناسِ تتكتّل

ملأتُمْ دينَنَا كذباً وتزويراً وتأليفا

أتجمعنا يدُ الله ؟ وتبعدنا يد (الفيفا) ؟؟

هجرْنا دينَنا عَمْدا فَعُدنا الأَوْسَ والخزرج

ونعبدُ نارَ فتنتِنا وننتظرُ الغبا مَخرج

• * *

أيا حكامَ أمتنا

سيبقى الطفلُ في صدري يعاديكم

يقاضيكم

ويعلنُ شعبَنا العربيَّ مُتَّحِدا

فلا السودانُ منقسمٌ ولا الجولانُ محتَلٌّ ولا لبنانُ منكسر يداوي الجرحَ منفردا

سيجمعُ لؤلؤاتِ خليجِنا العربيِّ في السودان يزرعُها فيَنبتُ حبُّها في

المغربِ العربيِّ قمحاً يعصُرون الناسُ زيتاً في فلسطينَ الأبيّةِ يشربون

الأهلُ في الصومال أبدا

سيُشعلُ من جزائرِنا مشاعلَ ما لها وهنُ

إذا صنعاءُ تشكونا فكلُّ بلادِنا يمنُ

سيخرجُ من عباءتِكم – رعاها الله – للجمهور مُتَّقِدا

هو الجمهورُ لا أنتم

أتسمعني جحافلُكم ؟

أتسمعني دواوينُ المعاقلِ في حكومتِكم ؟

هو الجمهور لا أنتم ولا يخشى لكم أحدا

هو الإسلام لا أنتم فكفّوا عن تجارتكم وإلا صار مرتدا

وخافوا .. إن هذا الشعبَ حمَّال

وإن النوقَ إن صُرِمَتْ فلن تجدوا لها لبناً ولن تجدوا لها ولدا

أحذِّرُكم .. سنبقى رغم فتنتِكم فهذا الشعبُ موصولُ

حبائلُكم وإن ضَعُفَتْ فحبلُ اللهِ مفتولُ

أنا باقٍ .. وشرعي في الهوى باقِ

سُقِينا الذلَّ أوعية .. سُقينا الجهلَ أدعية

ملَلْنا السقْيَ والساقي

سأكبرُ تاركاً للطفل فرشاتي وألواني

ويبقَى يرسم العربيَّ ممشوقا بهامته ويبقى صوتُ ألحاني

"بلاد العرب أوطاني .. وكل العرب أخواني"

Saturday, January 01, 2011

The Astonishing Hypothesis

"You," your joys and your sorrows, your memories and your ambitions, your sense of personal identity and free will, are in fact no more than the behavior of a vast assembly of nerve cells and their associated molecules.

The Astonishing Hypothesis: The Scientific Search For The Soul is a book written by no ordinary person. It was written by Francis Crick, the co-discoverer of the DNA double Helix structure in 1953 and a Nobel laureate - in 1963. Died in 2004 due to Colon Cancer.

My attention was caught in the DNA world after watching a TV interview with James Watson, who was Francis's Colleague and the other co-discoverer of the Double Helix. I have finished reading two of Watson's books and was intrigued by his "DNA - The Secret of Life" Book.

Understanding how things inside your cells work opens up a new dimension of arts and science to the frontiers of your thinking. Moreover, a great sense of appreciation for a breathtaking process that bewilders your mind and leaves you totally seized by its beauty.


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

Wednesday, December 29, 2010

Bikes

For about 8 months, and together with Mohammad Abu Gharbieh, I had been cycling.
A couple of months back, we purchased mountain bikes. We take the bikes and ride for some distance averaging 50Km +





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

Monday, December 13, 2010

ما رميت اذ رميت ولكن اللة رمى

I am in Muscat oman know for the inauguration of the 2010 Oman Census Project (which is by large the largstd software project REALSOFT has executed during its history). I came last Friday on GulfAir.

I have made hotel reservation through booking.com on Thursday and of course, used me Credit Card as a guarantee. Before I left, I called our office in Muscat to confirm my arrival date and time and they informed me that they have managed to get good rates in another hotel where other members of the company are also staying including those arriving with me on the same flight. Naturally, i tried to cancel my Hotel reservation through booking.com website, but they informed me that they will charge me fully if i cancel because i am doing it less than 24 hours prior to arrival. Ok, I thought i would try to cancel it upon arrival in order to stay with my colleagues in the other hotel. We arrived in Muscat and went directly to the Hotel trying to play dumb, and assume that we can cancel the reservation. All attempts failed!!! The Cancelling could not possible be done, and things seem to be moving against my will
Soon after the my colleagues left to their hotel, they called me back informing me that they did not have a place to stay because the other hotel cancelled their reservation and all other hotel in Muscat were fully booked due to some Athletic tournament.
The flow of events made me think; it is as though things are really pre-arranged.
If I did not make the reservation in the first place, or succeeded to cancel it, I would have been forced to wander around in the middle of the night finding myself a place to stay. I thought things were really going against my well, where in reality things were going for my benefit.
Subhan allah


Tuesday, November 16, 2010

Google Again

If Google Earth knocked your mind out, check out street view.
And while you are at it, why dont you check out Tashkeel http://tashkeel.googlelabs.com/
look at how google will let you write Arabic Chat language and display it in Arabic writing with Tashkeel. Amazing!

By the way, if you just want to use chat language and get it transformed to Arabic, you can use Microsoft Free software called Maren http://www.microsoft.com/middleeast/egypt/cmic/maren/
It will allow you to write 3ammar and while writing it will transform to عمار on the fly (but without tashkeel)

enjoy and keep you eye open to what Google is planning, me think it is going to be the next Microsoft


Finally

I have been yearning for this Eid Vacation so intensely, not only because it a global feast, but mainly because it also marked the end of the Jordan Parliamentary elections. Like the situation of electoral candidates, the last period was exasperating, But for me, it was for a different reason. I was not a candidates, but i was responsible for running the software infrastructure for the entire election process. It was a nightmarish experience! the logistics, the scale, the criticality, the performance etc , Just about 4000 users are connecedt directly to the central server and to the software we have created. But thank God, it is now part of the past and it went well.
for a whole month we worked real hard, days and night preparing for that one day 9/11/2010.
as part of demonstrating relief, we are going to our apartment at Tala Bay in Aqaba tomorrow morning, a step that will definitely annoy El-sha3shabonat that i am sure are enjoying the apartment that we paid for.

Wednesday, October 13, 2010

Dinner for Schmucks

A movie that will make you laugh.
note that the word Schmuck means something that i dont dare to dwell upon (in the Yiddish language)

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...