ibrahim hamza blog

Tuesday, June 27, 2006

Google Earth French Rival has been saturated

In The Name of Allah


After Google has increased thier global coverage by about 4X at the first birthday of Google Earth


France unveil http://www.geoportail.fr/


which offering high resolution coverage for France


The new site can't support the tremendous number of request


as Google maps and goole earth can support


The French site says "We recorded several million connections in a few hours.

Because of this multitude, the site is currently saturated."


Google is more tolerant and reliable


because the shared nothing architecture


See The screen shot and the tranlsation to english


geoportail screen shot

Monday, May 15, 2006

Study: Linux Cost Less to Manage

http://www.linuxinsider.com/story/50095.html
In various studies, Microsoft (Nasdaq: MSFT) and some analysts have claimed Linux has a higher total cost of ownership (TCO) than Windows. They attributed the difference mainly to higher system management costs, and concluded that the higher TCO outweighed the lower license and acquisition costs for Linux.

In a new study of more than 200 Linux enterprises conducted for Levanta, however, Enterprise Management Associates (EMA) found that this perception is no longer accurate. Sophisticated management tools now allow Linux management to be fast, effective and inexpensive. With lower acquisition costs, Linux is now a cost-effective alternative to Windows, EMA says.

Tuesday, April 25, 2006

Using your mind in every thing (alter table add column with constraint scenario )

In the name of Allah

If you have any thing want to do think , imagine and dream how to do this thing

improve your dreams

then start to do

Real example

Problem : adding column to database table with NOT NULL constrain

First Thinking (Thinking code is under)

Copy the data to temp table

Truncate the table

Insert the old data with new values

NO IT'S OBSELETE WAY

Second Way

Altering the table with the new column but without the constraint

Update the column with the desired value

Alter the table again with the constraint

MORE EFFICIENT BUT SURE THERE ARE BETTER WAYS

Third way

Alter the table with default value

Third way (another method)

Alter the table with DEFERRABLE parameter

which didn't enforce the constraint in the old data

first

I won't write this code try it your self

second

ALTER TABLE my_table
ADD (
CREATED DATE,
CREATOR VARCHAR2(8))
/

UPDATE my_table SET CREATOR='EXPRESS' , CREATED=SYSDATE;

ALTER TABLE RENTER_CAR
MODIFY (
CREATED DATE NOT NULL ,
CREATOR VARCHAR2(8) NOT NULL
)
/

third

ALTER TABLE my_table
ADD (
CREATED DATE default sysdate not null,
CREATOR VARCHAR2(8) default user not null
)

Third way (2nd)

ALTER TABLE my_table
ADD (
CREATED DATE not null DEFERRABLE ,
CREATOR VARCHAR2(8) not null DEFERRABLE
)
/

Tuesday, April 04, 2006

Google offer jobs in Moon

WOW
This is really happen google offer jobs at moon
http://www.google.com/jobs/lunar_job.html

Why a lunar location?
They say :
It's a logical question to ask. Google's current engineering facilities in the United States, India and Switzerland are all leaders in search technology development. However, by locating a research and technology center on the Moon, Google engineers will be able to experiment with an entirely different set of parameters. For example, imagine tapping unlimited solar energy to drive megawatt data centers and power innumerable arrays of massively parallel lava lamps, with ample no-cost cooling available to regulate the temperature of server farms sprawling over acres of land unblighted by sentient lifeforms or restrictive zoning ordinances.

also there are no space problem

Wednesday, March 29, 2006

Run an application in oracle forms

Run Oracle Application

Run oracle application in forms using Run_Product PROCEDURE

Syntax

PROCEDURE RUN_PRODUCT
(product NUMBER,
module VARCHAR2,
commmode NUMBER,
execmode NUMBER,
location NUMBER,
paramlist_name VARCHAR2,
display VARCHAR2);

Example Run_PRODUCT(Reports,report_name,asynchronous,RunTime,FileSystem,PL,'NO');

product specify the oracle product to run ex( FORMS,REPORTS,GRAPHICS )

module name of the module

commmode SYNCHRONOUS and ASYNCHRONOUS

execmode Specifies the execution mode to be used when running the called product

location location of the module FILESYSTEM and DB.

Paramlist_name or paramlist_ID Specifies the parameter list to be passed to the called product.

Run a system application in oracle forms

run system application from oracle forms
Using Host
host run application system as child process from the forms in 6i
host('c:\command.com');
Syntax

PROCEDURE HOST (system_command_string VARCHAR2);

Run Windows Application in system using Dynamic Data Exchange package
Using dde.app_begin (in forms6i it runs in the client pc / in forms9i it runs in the Windows server )
if you want to run system application from oracle forms not as child process
you should use dde.app_begin
Appid := dde.app_begin(v_path,dde.app_mode_maximized);

Thursday, March 23, 2006

Iraqian girl sing a song for baghdad after US War

Marines shot dead at least 15 civilians, including seven women and three children.

أمريكا تحقق في مقتل مدنيين عراقيين


THE URL FROM YOUTUBE

iraqian girl sing a song for baghdad after the us forces enter iraq and kill innocents and kill women and children , the girl can't complete the song !!!

Monday, March 06, 2006

الحمد لله نجحت في الترم الأول من التمهيدي

باسم الله
كنت بفتح الميل لقيت أحمد هاشم
باعتلي رسالة بيبارك علي النتيجوة وبيقولي ان انا نجحت
وباعتلي صفحة من موقع الكلية
http://www.fci-cu.edu.eg/?pg=pgstudent/results/2005/pre_cs.htm
فعلا هو ده الصديق
شكرا يا احمد قوي