Sunday, November 05, 2006

Aligning Oracle Forms Applet (webform) Right to Left

Today, while i was helping Dubai Police to go live with their new Oracle Forms10g application, we came across a problem when displaying Arabic enabled forms.

Oracle forms typically initializes and launches an applet within a regular IE browser page.
The form we were working on is large in size and its problem is that when it is first displayed, it truncates the right margin of the form (actually the applet is truncated). Since Arabic is Right to Left l oriented language, truncating the right margin means losing the leading and important parts of the labels and field. Of course, the user can still use the scroll bars and view the hidden parts of the screen, but it was becoming more and more inconnveneint for the users.

To fix such problem, one needs to incorporate an HTML tag that switches the browser to Right to Left (RTL) mode.

The tag is

HTML DIR= RTL

the above should be placed within tag sign <>

The question remains where to locate this tag.

Find your formsweb.cfg configuration file
look for
baseHTMLjinitiator variable to locate that base HTML page that embeds the Java Applet. for example the default setting is

baseHTMLjinitiator=basejini.htm

then open the basejini.htm file
and add the tag

Saturday, November 04, 2006

Eighth wonder , microsft finally gives up to LINUX -- Mama does not believe

So many things have shocked me recently, and this is one of them, read on

Extracted from http://www.tgdaily.com/2006/11/03/microsoft_novell_linux_windows/

Microsoft to recommend Suse Linux, sorta

Wolfgang Gruener
November 2, 2006 19:03
Redmond (WA) - No, it's not a misprint: Microsoft today announced one of those if-you-can't-beat-'em-join-'em decisions and confirmed that it will be working closely with Novell to improve the interoperability and manageability between Windows and Linux. Under the terms of the agreement, Microsoft will even recommend Suse Linux Enterprise for mixed OS environments.
If you are still rubbing your eyes: Yes, Microsoft has officially jumped on the Linux bandwagon. Having taken shots at each other for more than a decade, the two operating systems are growing closer with Windows and a major Linux distribution promising more interoperability for users who are running both packages on their computers.


Ammar Sajdi
www.e-ammar.com
Oracle Consultant

Kindness

اّذا انت اكرمت الكريم ملكته ..............واذا انت اكرمت اللئيم تمرد

In english, if you are kind tto a kind hearted person, you will be overwhelmed with his/her respect, and if you are kind to a mean and malicious person, he/she shall exhibit act of mutiny (ie. stab you in the back)

how true can this be

shirin afifi

Friday, October 13, 2006

Dimensional Modeling in Business Intelligence Env, Ammar Sajdi

Dimensional Modeling in Business intelligence Environment, an IBM RedBook.
(http://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/sg247138.html?Open)
I came across this book some 3 months back, IBM RedBook series never cease to amaze me for the quality and clarity of their publications. In fact, back in 1999-2000, REALSOFT (where i am a co-founder), was awarded our first Data warehouse solution for the ministry of national economy in Oman social and economics indicators database. Guess what, IBM RedBook came to our rescue with their excellent data modeling techniques for data warehouse (http://www.redbooks.ibm.com/abstracts/sg242238.html?Open) , it was THEE book that laid down the ground for our understanding of data warehousing concepts and design.

Ammar Sajdi
Oracle consultant , CEO
REALSOFT / PALCO
Amman Jordan, 2006

Lean Software development, can it be applied in Jordan - by Ammar Sajdi

Amman, 13, Oct 2006

By Ammar Sajdi

Recently, I've been reading a lot about software development strategies and methodologies revolving around a fairly recent way of thinking. These methodologies also belong to what is now known as Agile Software Development. an interesting overview of Agile software development can be found at wikipedia.
One particular book that I discuss with the employees at REALSOFT (Amman office) is called "Lean Software Development" by Mary Poppendieck and Tom Poppendieck (ISBN 0-321-15078-3).
The origin of Lean thinking stems back to the 1940's when taiichi Ohno of Toyota wanted to know how Toyota (a small car producer at the time) could compete with American mass-produced cars. The father of the Toyota Production System is the mastermind behind the fundamental lean principle, namely, eliminating waste.

The book and others book in Agile realm try to transform the Lean thinking used in development and production of products into lean thinking as it applies to Software development.
Effectively, lean thinking advocates the adoption of an iterative software development approach over the traditional waterfall approach. However, even though several other studies in software development life cycles (SDLC) favor an iterative approach, the agile lean approach has its unique steps.

Lean thinking has seven principles
  • Eliminate Waste
  • Amplify learning
  • Decide as late as possible
  • Deliver as fast as possible
  • Empower the team
  • Build integrity in
  • See the whole.

The are other approaches that are also known in the agile arena such as
Extreme Programming (XP)
Scrum

I think that this approach can be applied in Jordan very well, and many of us, most probably apply it without having identified their method as being Lean or Agile. The Lean approach applies best in an environment where it is not possible to capture the business requirements of a certain business precisely and comprehensively at the start of the project. The agile approach, then suggests, that the team starts to do early rough releases and present the results to the client as soon as possible, then start enhancing and evolving both the requirement and the software application itself by introducing another iteration that includes the additional features resulting from the first release. (This complies with the Decide as late as possible and Deliver as fast as possible principles)

Ammar Sajdi

www.realsoft-me.com
www.e-ammar.net
I ve been recently reading a lot about software development strategies and methodologies revolving around a fairly recent way of thinking. These methodologies also belong to what is now know as Agile Software Development. an interesting overview about Agile software development can be found at wikipedia.
One particular book that i discuss with the employees at REALSOFT (Amman office) is called "Lean Software Development" by Mary Poppendieck and Tom poppendieck (ISBN 0-321-15078-3).
The origin of Lean thinking stems back to the 1940's when taiichi Ohno of Toyota who wanted to know how Toyota (a small car producer at the time) could compete with American mass-produced cars. The father of the Toyota Production System is the mastermind behind the fundamental lean principle, namely, eliminate waste.

The book and others book in Agile realm try to transform the Lean thinking used in development and production of products into lean thinking as it applies to Software development.
Effectively, lean thinking advocates the adoption of iterative software development approach over the traditional water fall approach. However, even though several other studies in software development life cycles (SDLC) favor iterative approach, the agile lean approach has its unique steps.

Lean thinking has seven principlesEliminate Waste
Amplify learning
Decide as late as possible
Deliver as fast as possible
Empower the team
Build integrity in
See the whole.

The are other approaches that also know in the agile arena such as
Extreme Programming (XP)
Scrum

I think that this approach can be applied in Jordan very well, and many of us, most probably apply it without having identified their method as being Lean or Agile. The Lean approach applies best in environment when it is not possible to capture the business requirement of a certain business precisely and comprehensively at the start of the project. The agile approach, then suggests, that the team starts to do early rough releases and present the results to the client as soon as possible, then start enhancing and evolving both the requirement and the software application itself by introducing another iteration that includes the additional features resulting from the first release. (This complies with the Decide as late as possible and Deliver as fast as possible principles)

Friday, October 06, 2006

I am a bit confused, who is the terrorist

Sailor: I watched Marines kill Iraqi civilian CNN Sept 6th
CAMP PENDLETON, California (AP) -- A Navy corpsman testified Friday that Marines in his patrol seized an Iraqi civilian from his home, threw him into a hole and put at least 10 bullets in his head after growing frustrated in their search for an insurgent.

"I was shocked and I felt sick to my stomach," said Petty Officer 3rd Class Melson J. Bacos.

Bacos, a medic who had been on patrol with the squad, was charged along with seven Marines in the slaying of Hashim Ibrahim Awad last spring in the town of Hamdaniya. But Bacos struck a deal with prosecutors under which he pleaded guilty to kidnapping and conspiracy and agreed to testify Friday at his court-martial about what he saw.

"I knew what we were doing was wrong," Bacos testified. "I knew we were doing something wrong and I tried to say something."

Bacos, 21, was the first of the servicemen to be court-martialed. The seven others could get up to life in prison.

Prosecutors have said that the servicemen killed Awad out of frustration and then planted an AK-47 assault rifle and a shovel by the body to make it look as if he had been caught digging a hole for a roadside bomb.

Bacos testified that the squad entered Hamdaniya on April 26 while searching for a known insurgent who had been captured three times, then released. Squad leader Sgt. Lawrence Hutchins was "just mad that we kept letting him go and he was a known terrorist," Bacos said.

The group approached a house where the insurgent was believed to be hiding, but when someone inside woke up, the Marines instead went to another home and grabbed Awad, according to the testimony.

Bacos said the squad had intended to get someone else if they did not capture the insurgent, then stage a firefight to make it appear they had found an Iraqi planting a roadside bomb.

Awad, 52, was taken from the home with his feet and hands bound, then placed in a hole, Bacos said. Bacos said he asked the Marines to let Awad go, but Cpl. Marshall L. Magincalda told him in crude terms that he was being weak and should stop protesting.

Bacos said Hutchins fired three rounds into the man's head, then Cpl. Trent Thomas fired seven to 10 more rounds into his head.

Bacos said Hutchins called in to a command center and reported the squad had seen a man digging a hole and wanted permission to fire at him.

Bacos was recently transferred from Camp Pendleton, where the Marines have been held, to Marine Corps Air Station Miramar for his own safety.

Military prosecutors had charged Bacos under the theory that he did nothing to stop the alleged crime. In return for his testimony, murder charges and other counts against him were dropped. He was scheduled to be sentenced later Friday.

Along with Magincalda, Hutchins and Thomas, the other Marines charged are: Lance Cpl. Tyler A. Jackson, Pfc. John J. Jodka, Lance Cpl. Jerry E. Shumate Jr., and Lance Cpl. Robert B. Pennington.

David Brahms, Pennington's lawyer, said Bacos' account will be subjected to intense scrutiny. "This is just one guy who is going to tell the story as he sees it," Brahms said.

Former Army prosecutor Tom Umberg suggested that others might follow Bacos' lead and strike similar plea bargains.

"You don't want to be the last guy standing. The first guy gets the best deal," he said.

Sunday, September 17, 2006

Pope and Islam - by Juan Cole

Juan Cole is President of the Global Americana Institute

Friday, September 15, 2006

Pope Gets it Wrong on Islam

Pope Benedict's speech at Regensburg University, which mentioned Islam and jihad, has provoked a firestorm of controversy.

The address is more complex and subtle than the press on it represents. But let me just signal that what is most troubling of all is that the Pope gets several things about Islam wrong, just as a matter of fact.

He notes that the text he discusses, a polemic against Islam by a Byzantine emperor, cites Qur'an 2:256: "There is no compulsion in religion." Benedict maintains that this is an early verse, when Muhammad was without power.

His allegation is incorrect. Surah 2 is a Medinan surah revealed when Muhammad was already established as the leader of the city of Yathrib (later known as Medina or "the city" of the Prophet). The pope imagines that a young Muhammad in Mecca before 622 (lacking power) permitted freedom of conscience, but later in life ordered that his religion be spread by the sword. But since Surah 2 is in fact from the Medina period when Muhammad was in power, that theory does not hold water.

In fact, the Qur'an at no point urges that religious faith be imposed on anyone by force. This is what it says about the religions:


' [2:62] Those who believe (in the Qur'an), and those who follow the Jewish (scriptures), and the Christians and the Sabians-- any who believe in God and the Last Day, and work righteousness, shall have their reward with their Lord; on them shall be no fear, nor shall they grieve. '



See my comments On the Quran and peace.

The idea of holy war or jihad (which is about defending the community or at most about establishing rule by Muslims, not about imposing the faith on individuals by force) is also not a Quranic doctrine. The doctrine was elaborated much later, on the Umayyad-Byzantine frontier, long after the Prophet's death. In fact, in early Islam it was hard to join, and Christians who asked to become Muslim were routinely turned away. The tyrannical governor of Iraq, al-Hajjaj, was notorious for this rejection of applicants, because he got higher taxes on non-Muslims. Arab Muslims had conquered Iraq, which was then largely pagan, Zoroastrian, Christian and Jewish. But they weren't seeking converts and certainly weren't imposing their religion.

The pope was trying to make the point that coercion of conscience is incompatible with genuine, reasoned faith. He used Islam as a symbol of the coercive demand for unreasoned faith.

But he has been misled by the medieval polemic on which he depended.

In fact, the Quran also urges reasoned faith and also forbids coercion in religion. The only violence urged in the Quran is in self-defense of the Muslim community against the attempts of the pagan Meccans to wipe it out.

The pope says that in Islam, God is so transcendant that he is beyond reason and therefore cannot be expected to act reasonably. He contrasts this conception of God with that of the Gospel of John, where God is the Logos, the Reason inherent in the universe.

But there have been many schools of Islamic theology and philosophy. The Mu'tazilite school maintained exactly what the Pope is saying, that God must act in accordance with reason and the good as humans know them. The Mu'tazilite approach is still popular in Zaidism and in Twelver Shiism of the Iraqi and Iranian sort. The Ash'ari school, in contrast, insisted that God was beyond human reason and therefore could not be judged rationally. (I think the Pope would find that Tertullian and perhaps also John Calvin would be more sympathetic to this view within Christianity than he is).

As for the Quran, it constantly appeals to reason in knowing God, and in refuting idolatry and paganism, and asks, "do you not reason?" "do you not understand?" (a fala ta`qilun?)

Of course, Christianity itself has a long history of imposing coerced faith on people, including on pagans in the late Roman Empire, who were forcibly converted. And then there were the episodes of the Crusades.

Another irony is that reasoned, scholastic Christianity has an important heritage drom Islam itself. In the 10th century, there was little scholasticism in Christian theology. The influence of Muslim thinkers such as Averroes (Ibn Rushd) and Avicenna (Ibn Sina) reemphasized the use of Aristotle and Plato in Christian theology. Indeed, there was a point where Christian theologians in Paris had divided into partisans of Averroes or of Avicenna, and they conducted vigorous polemics with one another.

Finally, that Byzantine emperor that the Pope quoted, Manuel II? The Byzantines had been weakened by Latin predations during the fourth Crusade, so it was in a way Rome that had sought coercion first. And, he ended his days as a vassal of the Ottoman Empire.

The Pope was wrong on the facts. He should apologize to the Muslims and get better advisers on Christian-Muslim relations.

Wednesday, September 06, 2006

Traders in Dubai

I came back from dubai today, and the only thing worth talking about is the Hotel. Located within 15 minutes of Dubai International Airport and close to the traditional Deira business centre, Traders Hotel, Dubai is the 4-star brand of Shangri-La offering a quality deluxe hotel that has the efficiencies, warmth, comfort and consistent personalised service of a Shangri-La hotel. The building is low rise and portrays an Arabic feel in its exterior. The interior of the hotel reflects a modern, clean, contemporary look throughout all guest rooms and public areas.

Additionally, they serve excellent food, truely the facinating Shangri-La style. It is a fairly small hotel and reasonably priced. When i say reasonably priced, it is only 200 USD/night. This price tag is really reasonable when compared to the staggaring accomodation cost prevailing now a days in dubai. 3 weeks back i was in Abu-dhabi Sheraton (5 starts), but honestly speaking, i think that Traders is a better hotel, 2 week before that, i stayed at Dubai Crown Plaza (another 5 starts) and you know what, does not stand a chance. These 5 start have big conference facilities and ball rooms, other than that, i favour Traders

what is always annoying with visiting dubai is that if you have to return to Amman - Jordan via Royal Jordanian, you have to go to the airport at 5:30 AM, which, does not only get me bugged for lack of sleep, but also having to pay the $200 for no value

Ammar Sajdi
www.e-ammar.com

IBM Redbooks

Dimensional Modeling in Business intelligence Environment, an IBM RedBook.
(http://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/sg247138.html?Open)
I came across this book some 3 months back, IBM RedBook series never cease to amaze me for the quality and clarity of their publications. In fact, back in 1999-2000, REALSOFT (where i am a co-founder), was awarded our first Data warehouse solution for the ministry of national economy in Oman social and economics indicators database. Guess what, IBM RedBook came to our rescue with their excellent data modeling techniques for data warehouse (http://www.redbooks.ibm.com/abstracts/sg242238.html?Open) , it was THEE book that laid down the ground for our understanding of data warehousing concepts and design.

www.e-ammar.com
Ammar Sajdi
Realsoft Advanced Application

Knowledge

Knowledge

IBM RedBook

Dimensional Modeling in Business intelligence Environment, an IBM RedBook.
(http://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/sg247138.html?Open)
I came across this book some 3 months back, IBM RedBook series never cease to amaze me for the quality and clarity of their publications. In fact, back in 1999-2000, REALSOFT (where i am a co-founder), was awarded our first Data warehouse solution for the ministry of national economy in Oman social and economics indicators database. Guess what, IBM RedBook came to our rescue with their excellent data modeling techniques for data warehouse (http://www.redbooks.ibm.com/abstracts/sg242238.html?Open) , it was THEE book that laid down the ground for our understanding of data warehousing concepts and design.

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