Friday, March 16, 2007

Nine more rainy days

It was an interesting day yesterday (weather wise). it snowed off and on during the day, and the last wave of snow was at about 8:30 in the evening, i was real heavy, i must add. While at home, you know if snow is accumulating or not, by the fact the satellite channels. Of course, when the dish is covered by snow, the reception ceases. At this point, even one lives without TV or one has to get on his/her feet and shuffle the snow off.

This morning, it is cold and the skies are overcast. No precipitation of any form. The snow has almost completely melted. This is just normal considering the fact that the current temperature is 6 degrees.
As you can see on the weather map on the left, the low pressure system has moved to the north east as shown by the arrow. I expect this as the "Kiss Good bye" weather system as we are moving towards Spring. This does not mean, no more rain, but nothing like what we witnessed in the past 48 Hours.
The total precipitation during the storm is around 50 mm and the total rain fall this season, so far, is about 85% of total seasonal rain. However, the so far amount is, in line with the average for this time of the year. The no of rainy days so far is 53 days, and total rainy days per season is 62, so one would expect 9 more rainy days

Wednesday, March 14, 2007

Snow or no Snow, and this is the answer

Location: My office Abu Elhajj comercial complex office 805 room 201
Time : 8 AM
Outside Temperature : 1 (One) degree above freezing
Precipitation form : Snow
current condition : Snowing

It is actually snowing, but the accumulation on the ground is little, maybe not cold enough or because it was raining all night. There is a white cover of not more than 2 cm.

Ammar Sajdi
www.e-ammar.com

Snow or no Snow, this is the question

This is my first weather-centric post!!I was looking at weather forecasting maps, and i think it
there is a weathe system that is worth talking about. By the way, weatherwise, last month was a quiet month. The rain fall was below seasonal averate; wet weather is really welcomed at this point.
To follow why, first look at the image on the left; if you can NOT geographically recognize the boundaries of the eastern med, then, now is the best time to quit reading, otherwise keep going

There are semi circular line (Light green, green, reddish etc).. These are call isobars. These circles connect points where atmospheric pressure values are equal.

Can you spot Cyprus?, it is surrounded by light blue circle! This is the center of a Low Pressure System that is affecting the Easter Med. You can also read the pressure value on the map. the center of the system is at 1006 millibar This is not directly shown on the map, but the outer circle reads (08) which is an abbreviation for 1008.. The normal atmospheric pressure is around 1022 mb. Low pressure system cause instability and therefore, active weather conditions (wind, rain etc..).
The button line is, there is a fairly deep low pressure system centered around Cyprus that is likely to affect the area for the coming 24-48 hours.

Snow or no Snow?
The low pressure system causes the wind system to revlove around its center in an anti-clockwise manner (in the northern hemisphere). If you can track the where the wind is coming from , you can find out if it is going to be cold or not.. As this is not to teach you how to read weather maps, there is an indicator on the map that can give you a hint about how cold the winds are. Look at the black line with 540 reading. We call this the snow line, because this line indicates zones where temperature approaching zero may occur. Look back to the map, and you will see that the bounders of this line cross the eastern med and Jordan. So yes, there is a chance of snow at higher elevation in Jordan

Lets wait and see,, this is all predictive modeling after all

Monday, March 12, 2007

better to know 'cpio' before getting down to the serious business

A Real Techy post, OR should I say a real Techie post
Both work well, Techie is a term, derivative of the word technology. This post is really on the Tech side, Techy a variant of tetchy (easily irritated or annoyed)

This post is a bit of both,
but you will see in the end of the post , the findings are not really techy

I am spent the entire morning upgrading our Oracle portal platform to version 10.1.4
I just downloaded the binaries from Oracle Site
One file was downloaded (as_linux_x86_portal_1014.cpio)
The installation manual assumes that you have the CD media
The installation command is really straight forward

$mrua.sh -oracle_home /home/oracle/infra -oid_host asdb.realsoft.com -oid_ssl_port636

Thinking i am thee linux cpio expert (which i only use while installing oracle products by the way), i thought i can remember the command of my head, fa i wrote

cpio -icvf (smaller than sign) as_linux_x86_portal_1014.cpio

when command finished running and i ran the mrua.sh command as instructed

immediately i ended up with

could not find javalib.so
COULD not find java 2 Runtime Environment

how can this be the case, when all other applications use the JRE

This where i spend most try all possible techniques to make sure JRE is really exposed.
After thorough investigation, i found out the mrua scripts uses the JRE that is contained within the portal upgrade binaries. I looked into the JRE subdirectories in the main directory under which the portal upgrade binaries were loaded, but i found no libraries.

Well, all of that happened because i thought that checking the cpio command is a waste of time. The contrary proved to be quite true is this case

The correct command is

cpio -idmv (smaller than sign) as_linux_x86_portal_1014.cpio

it is the d in the idmv

The Lesion Learned
i you believe you know your stuff very well to become a monster, your monstrous behaviour does not guarantee you an effective resolution of yr problems

if you try to save time by cutting corners, you may end up wasting a lot of time, check the documents first

ammar Sajdi
http://www.e-ammar.com/
http://www.palco-me.com/
Amman jordan
oracle consultant

Sunday, March 11, 2007

My New LCD TV

To add to my TV view pleasure, i wanted to buy a new Flat TV. (do not laugh, but i spend most of my time on TV while asleep)

As normal, i do not embark on engaging in new project without enough thought.
I wanted to buy flat TV. Naturally, i was confronted with many issues that i needed to resovle before buying one


1- How many inches
2- LCD or Plasma
3-most importantly ,, the Brand

After some research i found the following

1) for the size, you might be confined with the size of the room. One has to keep a distance between the seat and the TV. For the best viewing pleasure the following are guidelines

For 32 Inch TV 2.4 meters
For 37 Inch TV 2.7 meters
For 40 Inch TV 3,0 meters
For 42 Inch TV 3.2 meters
For 46 Inch TV 3.5 meters

Because i m not planning to buy a new house just for the TV, i figured it would be wise to choose a set that suits the current dimension of the existing sitting root. It best scenario (w/o changing decoration and with all wires hidden) was 37 Inch


2)LCD or Plasma

There are two compelling advantages with an LCD TV. The first is that they can be much easier to watch than a cathode ray tube (CRT) model. This is because screen displays are significantly brighter with a high contrast and the flicker free picture. LCD TVs will work effectively in almost any kind of room lighting from bright to ambient. Secondly, LCDs have a higher native resolution than plasma TVs of the same size making them ideal for high-definition output. While plasma TVs are currently better at the moment for sheer screen size, as more and more television output becomes high-definition TV (HDTV), LCD technology will come to the fore.

3) Brand

S O N Y came as my initial bet, unfortunately, the Sony dealer has limited range and when compared with the market prices of SONY LCD across the world, the Sony dealer here in Jordan is not doing a good job. There is no 37" in Amman, and the 40" sells for 2600 JD.
My research has shown that Samsung is well ranked worldwide, but again, the dealer in Amman carries the 32" and the 46" only and (for some reason) even the next shipment will not have 37" , 40" range (i think Samsung competitors cannot get any luckier than this, what an ideal competitor; Samsung must be thinking of a marketing plan that really beats me).
When i was looking for the top selling LCD TV, SONY and Samsung were ranked among the best, but, i could not get what i wanted in Amman. SHARP came to my rescue, i bought a 37 Inch SHARP at a price tag of 1600 JD, the 42" model is selling for 1900.

It is a nice TV with good crisp picture. These TV can give excellent picture if you feed High Definition (HD), signal. However, it is seldom the case that we get HD signal in the current set of Satellite Channel. I thought the MBC have the best signal so far.

But this is not where the excitement is!!!
I found out that it has a Computer input, meaning that you can connect your laptop and here you go, a 37" Computer Screen. For obvious reasons, my wife was not particularly happy about this discovery. For my, it was really a thrill, with a wireless keyboard, wireless mouse, high power laptop and a large flat panel LCD display, the sitting room has been transformed "be anywhere" always wired, digital sitting room.

i will take a picture of my new LCD and show it to you soon

Ammmmar
www.e-ammar.com

Thursday, March 08, 2007

Hindsight is 20/20 What about my Name Ammar

I lived 4 years in the USA back in the 80s,
i thought that it should be easy for Americans to pronounce my name correctly (Ammar). I was easy on the fact that the fist letter of my name cannot be pronounced by native English speakers, but thought that the rest should be OK. I thought that the Double-M is enough to for the American to understand that there is an Arabic "Shadda" over the Letter M.
However, i think they should be excused when you consider the following:

The only English word that gets as close to my name (Ammar) as possible is (GrAmmar)
But how do we Arabic Native speakers pronounce the English Grammar, now remove the first two letter and there you go, you have just mis-pronounced me name. Only now i have come to realize that native English speakers ought to be excused, it looks too obvious now, but as the saying goes Hindsight is 20/20 .
Sorry, i misjudged things for just too long!!!! and the time has come for me to realize my mistake... By the same token, i am afraid there are so many things (situations, people) that i misjudged.

Conclusion: The way i write my name in English (Ammar) is wrong!!! How then should i write my name???

By the way, i learned the word Grammar during my early years in school. Quite honestly, the resemblance to my name did not come at that stage, but much later. This is only to illustrate, how much of seemingly obvious things we human (or i should talk about myself). God knows how many of these seemingly obvious things that i still miss.
As one of them said : Among all the things i miss, i miss my mind most

Ammar Sajdi
http://www.e-ammar.com/
http://www.palco-me.com/
Oracle consultant

PS: I should probably guess how French would pronounce my name

Wednesday, March 07, 2007

The software that drives NASA Space Shuttle

If you read my previous blog, i have extracted a few paragraph from an article that appeared at http://www.fastcompany.com/online/06/writestuff.html called The right stuff kicks in at T-minus 31 seconds.

I have repeated the opening section of that article because i thought it is really interesting

The right stuff kicks in at T-minus 31 seconds.
As the 120-ton space shuttle sits surrounded by almost 4 million pounds of rocket fuel, exhaling noxious fumes, visibly impatient to defy gravity, its on-board computers take command. Four identical machines, running identical software, pull information from thousands of sensors, make hundreds of milli-second decisions, vote on every decision, check with each other 250 times a second. A fifth computer, with different software, stands by to take control should the other four malfunction.
At T-minus 6.6 seconds, if the pressures, pumps, and temperatures are nominal, the computers give the order to light the shuttle main engines -- each of the three engines firing off precisely 160 milliseconds apart, tons of super-cooled liquid fuel pouring into combustion chambers, the ship rocking on its launch pad, held to the ground only by bolts. As the main engines come to one million pounds of thrust, their exhausts tighten into blue diamonds of flame.
Then and only then at T-minus zero seconds, if the computers are satisfied that the engines are running true, they give the order to light the solid rocket boosters. In less than one second, they achieve 6.6 million pounds of thrust. And at that exact same moment, the computers give the order for the explosive bolts to blow, and 4.5 million pounds of spacecraft lifts majestically off its launch pad.
It's an awesome display of hardware prowess. But no human pushes a button to make it happen, no astronaut jockeys a joy stick to settle the shuttle into orbit.
The right stuff is the software. The software gives the orders to gimbal the main engines, executing the dramatic belly roll the shuttle does soon after it clears the tower. The software throttles the engines to make sure the craft doesn't accelerate too fast. It keeps track of where the shuttle is, orders the solid rocket boosters to fall away, makes minor course corrections, and after about 10 minutes, directs the shuttle into orbit more than 100 miles up. When the software is satisfied with the shuttle's position in space, it orders the main engines to shut down -- weightlessness begins and everything starts to float.
But how much work the software does is not what makes it remarkable. What makes it remarkable is how well the software works. This software never crashes. It never needs to be re-booted. This software is bug-free. It is perfect, as perfect as human beings have achieved. Consider these stats : the last three versions of the program -- each 420,000 lines long-had just one error each. The last 11 versions of this software had a total of 17 errors. Commercial programs of equivalent complexity would have 5,000 errors.
This software is the work of 260 women and men based in an anonymous office building across the street from the Johnson Space Center in Clear Lake, Texas, southeast of Houston. They work for the "on-board shuttle group," a branch of Lockheed Martin Corps space mission systems division, and their prowess is world renowned: the shuttle software group is one of just four outfits in the world to win the coveted Level 5 ranking of the federal governments Software Engineering Institute (SEI) a measure of the sophistication and reliability of the way they do their work. In fact, the SEI based it standards in part from watching the on-board shuttle group do its work.
The group writes software this good because that's how good it has to be. Every time it fires up the shuttle, their software is controlling a $4 billion piece of equipment, the lives of a half-dozen astronauts, and the dreams of the nation. Even the smallest error in space can have enormous consequences: the orbiting space shuttle travels at 17,500 miles per hour; a bug that causes a timing problem of just two-thirds of a second puts the space shuttle three miles off course.
NASA knows how good the software has to be. Before every flight, Ted Keller, the senior technical manager of the on-board shuttle group, flies to Florida where he signs a document certifying that the software will not endanger the shuttle. If Keller can't go, a formal line of succession dictates who can sign in his place.
Bill Pate, who's worked on the space flight software over the last 22 years, says the group understands the stakes: "If the software isn't perfect, some of the people we go to meetings with might die.


For the entire article please refer to the link above

Ammar Sajdi
www.e-ammar.com
www.informobility.com
Amman Jordan
Oracle consultant

Software Craftsmanship (I)

I have spent most of my spare time last week to read an interesting book called SOFTWARE CRAFTSMANSHIP. The book basically evaluates the suitability of Software Engineering approach to Software Development; and compares and contrast its effectiveness in developing successful application. The book tries to emphasis the effectiveness of skilled Software developers (craftsmen). In essence, the author (Pete McBreen) is inclined towards stressing the role of craftsmanship as major factor in making software development successful, while advocating the Software Engineering should be left to huge projects.

I tend to agree with the author and i will attempt to touch upon some of the ideas that the book surfaces in this regard

In the beginning, let me articulate how IEEE defined software Engineering (1)

Software engineering is the application of a systematic, disciplined, quantifiable approach to development, operation, and maintenance of software, that is, the application of engineering to software

(1) IEEE standard computer Dictionary, Software Craftsmanship ISBN 0-201-73386-2 page 7

the software that runs NASA space shuttle was developed using Software Engineering approach (2)

What makes it remarkable is how well the software works. This software never crashes. It never needs to be re-booted. This software is bug-free. It is perfect, as perfect as human beings have achieved. Consider these stats: the last three versions of the program -- each 420,000 lines long-had just one error each. The last 11 versions of this software had a total of 17 errors. Commercial programs of equivalent complexity would have 5,000 errors.

But this amazing work comes with a price tag

"Most people choose to spend their money at the wrong end of the process," says Munson. "In the modern software environment, 80% of the cost of the software is spent after the software is written the first time -- they don't get it right the first time, so they spend time flogging it. In shuttle, they do it right the first time. And they don't change the software without changing the blueprint. That's why their software is so perfect."

"As the rest of the world struggles with the basics, the on-board shuttle group edges ever closer to perfect software. Admittedly they have a lot of advantages over the rest of the software world. They have a single product: one program that flies one spaceship. They understand their software intimately, and they get more familiar with it all the time. The group has one customer, a smart one. And money is not the critical constraint: the groups $35 million per year budget is a trivial slice of the NASA pie, but on a dollars-per-line basis, it makes the group among the nation's most expensive software organizations"

(2) http://www.fastcompany.com/online/06/writestuff.html

But if we do not have the leisure to spend $35 Million per year, may be software engineering is not for us!

The book then raises an interesting point based on the team that created SCRUM software development approach

"If a process can be fully defined, with all things known about it so that it can be designed and run repeatable with predictable results, it is known as a defined process. and it can be subjected to automataion. If all things about a process aren't fully known -- only what generally happens when you mix these inputs and what to measure and control to get the desired output -- these are called empirical processes"

If you think about software projects that you were involved in, who close did you ever get to the defintion given above.

With this introduction to the subject, you have probably gotton a feel about what the book is about. I will try, in later blogs, to shed more light about other ideas the the book presents

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

Monday, March 05, 2007

Smooth Sophisticate

The car that drives itself has arrived

I am facinated, not about cars themselves, rather about the technology being used in the realm of cars.
Do not get the impression that i am a car freak,,, but when you read on , you will appreicate the reason for this writing

The new Mercedes-Benz 2007 S Class is equipped with an adaptive cruise control system that comes with a short-range radar, yes a RADAR, mind you this is not an aircraft, it is a car.
This means that if you're stopped at a traffic light, and a car is in front of you, all you have to do is sit and watch. The S-Class will hold down the brakes for you, then accelerate when the lead car starts moving. Then it will brake when necessary. You could drive the length of Gardens Street with your feet on the dashboard; ALL YOU HAVE TO DO IS STEER.


Ammar Sajdi
www.e-ammar.com
oracle consultant

Saturday, March 03, 2007

CARdiac Confusion

I keep thinking of changing my 2003 BMW 525i car that i really like. There is a large assortment of modern cars with hefty price tags that induce CAR cardiac problems.


Yes price tags of >70000 USD are becoming easy on the ear for an entry 5 Serier BMW or 200 Mercedes.


anyway, let me not get into the discussion of whether one conscious should let go and accept driving such cars while the world is full of atrosities; carnage in Iraq and Palestine, Poverty in the third world contries, hunger is Africa etc.


the following is a list of cars that i potential could own soon .. help me choosing



Mercedes 350 SL

BMW 530i
Audi A5 -- Will be revealed this week
The All-mighty Cadillac
Ammar

Friday, March 02, 2007

in the Pursue of Zen

According to wikipedia

"Zen is a school of Mahayana Buddhism that places great importance on moment-by-moment awareness and 'seeing deeply into the nature of things' by direct experience"

Say what??

Moment-by-moment Awareness ... It is a moving statement,,, i must be missing something,, Can each of us ask the question, do we have moment-by-moment awareness, and what is that supposed to mean??

Let us move on.. Seeing deeply into the nature of things .. this is even more intereting!! it makes me feel joy when profound meaning are revealed after pausing at things and think about them rather than let them just fly by.

What is also more importnat is that Zen has been around for so long, but it went by me un-noticed for so long as well,,

The two lines of defitions mentioned above really cought my attention and are pushing me to further explore Zen in a practical way; maybe it sheds light onto shinny things that my mind just fails to see and enlighten me to see beyond what my direct senses can comprehend. If i can explore such things, it will make me more excited about life as i am just bored of the Normal issue that my 5 senses can reveal.

Here are some extracts from articles i read on the internet


"Zen trains the practitioner simply to observe plainly, quietly, and non-judgmentally the thoughts and feelings passing through the mind, instead of being pulled along reflexively by them.
With consistent practice paying bare, unembellished attention to the moment-by-moment flow, the practitioner begins to awaken from the cloud of aboutness and self-referential thinking that has built up through lifelong habit.

How can Zen be learned as part of a contemporary lifestyle?
In a sense, the practice of Zen is simply to stop thinking, by quietly relinquishing the inner mental dialogue within which we habitually wrap our experience.


Why do we seem to be trapped inside our own experience?
We can all say that "no matter where I go, there I am." At first that seems too obvious for comment, but on second thought why should our mental floor plan be set up this way?

What is the tiny observer that we call our "self", that peers out onto the world and into ourselves, and that reacts to what it sees? Is that observer who we are?

When a train of thought or a feeling passes through our mind, we can observe it within ourselves, but when we observe the observer within ourselves, then who or what is doing the observation?

Because our own experience is all we really know, we take ourselves so seriously that we seem almost to forget that an entire world exists outside ourselves. "

I feel happy because somehow i had these ideas in my mind, but somebody was able to organize the thoughts and have them written for me. I always believed that one should alway have enough tolerance to accept what his mind and senses fail to realize, as during my life i was stunned about things that i could not have believed if i had not experienced
(like gravity). The question is how many of these things really exist, but we, mankind, resist to believe just because our senses fail to directly realize (or because they have not been scientifically proven ........................wait ..YET ??) Religions clearly go under such category

Ammar Sajdi
www.e-ammar.com
www.realsoft-me.com
www.palco-me.com
www.informobility.com
Amman jordan

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