Wednesday, February 27, 2002
Object Oriented Programming (OOP) and DHTML
We'll divide these lessons in 3 pages guiding you through the building of objects and association of funtions to them. At the beginning we'll just use pointer variables to explain what objects do, and then we'll explain how to properly build objects to assign functions and properties to them, in order to save up some space and make the code reusable. Finally, before we start to discuss the library code, we'll show you a simple, usable, example to move objects around the window. So here we go.
We'll divide these lessons in 3 pages guiding you through the building of objects and association of funtions to them. At the beginning we'll just use pointer variables to explain what objects do, and then we'll explain how to properly build objects to assign functions and properties to them, in order to save up some space and make the code reusable. Finally, before we start to discuss the library code, we'll show you a simple, usable, example to move objects around the window. So here we go.
Wednesday, February 20, 2002
The mental image of the flaming train, lighting up the nile - and the screaming, barely heard over the engines, rising to ghastly as the train roars past...
Hundreds Killed in Train Fire in Egypt
February 20, 2002
Hundreds Killed in Train Fire in Egypt
By THE ASSOCIATED PRESS
Filed at 9:01 a.m. ET
REQA AL-GHARBIYA, Egypt (AP) -- A train crowded with Egyptians leaving the capital for a religious holiday caught fire and sped on in flames for miles Wednesday, killing 373 people, including some who died as they jumped from the burning cars, police said.
The fire was reportedly started by a cooking gas cylinder that burst and swept through last seven of the train's 11 cars. Workers in gloves and masks pulled charred and twisted bodies from the wreckage. Firefighters said some of the corpses were found curled up under seats.
Maher Abdel Wahid, who led a team of state investigators to the scene, said he did not expect the toll to rise much beyond 373.
Officials called it the worst train accident here in decades.
``There has been nothing in the recent or distant past like this,'' Ahmed al-Sherif, director of the state-owned Egyptian Railway Authority, said at the scene. ``I've been with the railway for 32 years and never seen or heard of an event of this size.''
Egypt's Middle East New Agency said the cause of the fire was a burst gas cylinder using for cooking in the dining car. But al-Sherif said the cause had not yet been determined. He said the third-class train had no dining car, but that passengers often brought gas cylinders and small stoves aboard despite regulations forbidding it.
Each car designed to hold about 150 passengers was crammed with twice that number, police said, which would have put more than 3,000 people on board. Survivors said the train was so full that they were sitting on the floor. Al-Sherif put the number aboard lower, at about 1,200.
Abdel Wahid, Egypt's prosecutor general, said that if his 25 investigators and 45 coroners determined ``there was any kind of negligence, and that's what we are looking into, the punishment will be severe.''
President Hosni Mubarak was quoted by the Middle East News Agency in the Egyptian resort of Sharm el Sheik as expressing his ``deepest regret and profound sorrow'' to the families of the victims.
Prime Minister Atef Obeid, who came to the scene, told reporters his government ``has mobilized all its efforts to help the families of the victims and alleviate their suffering.''
Al-Sherif said the train left Cairo on its 300-mile journey to Luxor about 11:30 p.m. Tuesday and the fire broke out about 1 a.m. Wednesday. The train traveled in flames for 2 1/2 miles before finally stopping at Reqa al-Gharbiya, a village 60 miles south of Cairo. Al-Sherif it was not clear why the emergency brakes were not applied immediately.
The flames were put out hours later.
Wednesday afternoon, a warning siren blared repeatedly in Reqa al-Gharbiya as workers placed bodies, many burned beyond recognition, into ambulances.
Corpses had melded together in piles on the train. Among charred luggage collected nearby, a Bible, children's clothing and what appeared to be a wedding dress could be seen...
Hundreds Killed in Train Fire in Egypt
February 20, 2002
Hundreds Killed in Train Fire in Egypt
By THE ASSOCIATED PRESS
Filed at 9:01 a.m. ET
REQA AL-GHARBIYA, Egypt (AP) -- A train crowded with Egyptians leaving the capital for a religious holiday caught fire and sped on in flames for miles Wednesday, killing 373 people, including some who died as they jumped from the burning cars, police said.
The fire was reportedly started by a cooking gas cylinder that burst and swept through last seven of the train's 11 cars. Workers in gloves and masks pulled charred and twisted bodies from the wreckage. Firefighters said some of the corpses were found curled up under seats.
Maher Abdel Wahid, who led a team of state investigators to the scene, said he did not expect the toll to rise much beyond 373.
Officials called it the worst train accident here in decades.
``There has been nothing in the recent or distant past like this,'' Ahmed al-Sherif, director of the state-owned Egyptian Railway Authority, said at the scene. ``I've been with the railway for 32 years and never seen or heard of an event of this size.''
Egypt's Middle East New Agency said the cause of the fire was a burst gas cylinder using for cooking in the dining car. But al-Sherif said the cause had not yet been determined. He said the third-class train had no dining car, but that passengers often brought gas cylinders and small stoves aboard despite regulations forbidding it.
Each car designed to hold about 150 passengers was crammed with twice that number, police said, which would have put more than 3,000 people on board. Survivors said the train was so full that they were sitting on the floor. Al-Sherif put the number aboard lower, at about 1,200.
Abdel Wahid, Egypt's prosecutor general, said that if his 25 investigators and 45 coroners determined ``there was any kind of negligence, and that's what we are looking into, the punishment will be severe.''
President Hosni Mubarak was quoted by the Middle East News Agency in the Egyptian resort of Sharm el Sheik as expressing his ``deepest regret and profound sorrow'' to the families of the victims.
Prime Minister Atef Obeid, who came to the scene, told reporters his government ``has mobilized all its efforts to help the families of the victims and alleviate their suffering.''
Al-Sherif said the train left Cairo on its 300-mile journey to Luxor about 11:30 p.m. Tuesday and the fire broke out about 1 a.m. Wednesday. The train traveled in flames for 2 1/2 miles before finally stopping at Reqa al-Gharbiya, a village 60 miles south of Cairo. Al-Sherif it was not clear why the emergency brakes were not applied immediately.
The flames were put out hours later.
Wednesday afternoon, a warning siren blared repeatedly in Reqa al-Gharbiya as workers placed bodies, many burned beyond recognition, into ambulances.
Corpses had melded together in piles on the train. Among charred luggage collected nearby, a Bible, children's clothing and what appeared to be a wedding dress could be seen...
Tuesday, February 19, 2002
The Perltidy Home Page
Perltidy is a Perl script which indents and reformats Perl scripts to make them easier to read. If you write Perl scripts, or spend much time reading them, you will probably find it useful.
Just a thought...
It would be nice if my text editor made agreeable noises as I coded... maybe musical, maybe lifeform noises, maybe a combination... hmmmmmm.......
It would be nice if my text editor made agreeable noises as I coded... maybe musical, maybe lifeform noises, maybe a combination... hmmmmmm.......
Monday, February 18, 2002
blue sky: miscellaneous
Intertwingle can be seen as a unification of a search tool and an address book. It is not, however, a mail reader. The presentation of query results could be done through a mail reader, but the intention is that ones choice of mail reader should be orthogonal to the use of this tool. The two kinds of tools just happen to operate on the same data.
The design philosophy is that any time there is a visual representation of an object, the corresponding object should be accessible with a gesture: That chasing links is easier than composing search terms (but both are needed.)
Intertwingle can be seen as a unification of a search tool and an address book. It is not, however, a mail reader. The presentation of query results could be done through a mail reader, but the intention is that ones choice of mail reader should be orthogonal to the use of this tool. The two kinds of tools just happen to operate on the same data.
The design philosophy is that any time there is a visual representation of an object, the corresponding object should be accessible with a gesture: That chasing links is easier than composing search terms (but both are needed.)
Thursday, February 14, 2002
perl.com: Optimizing Your Perl [Feb. 12, 2002]
Optimizing your Perl: Some Simple Complexity Theory
Before we can talk about speeding up something, we need a way to describe how long something takes. Because we're talking about algorithms that may have varying amounts of input, the actual "time" to do something isn't conclusive. Computer scientists and mathematicians use a system called big-O notation to describe the order of magnitude of how long something will take. Big-O notation represents a worst-case analysis. There are other notations to represent the magnitude of minimum and actual runtimes.
Optimizing your Perl: Some Simple Complexity Theory
Before we can talk about speeding up something, we need a way to describe how long something takes. Because we're talking about algorithms that may have varying amounts of input, the actual "time" to do something isn't conclusive. Computer scientists and mathematicians use a system called big-O notation to describe the order of magnitude of how long something will take. Big-O notation represents a worst-case analysis. There are other notations to represent the magnitude of minimum and actual runtimes.
Thursday, February 07, 2002
May be the king of the dinosaur painters -b
All of these images of meat-eating reptiles are paintings by the artist Joe Tucciarone.
All of these images of meat-eating reptiles are paintings by the artist Joe Tucciarone.
Tuesday, February 05, 2002
screen
the
up
fill
to
trying
foo, baby
Monday, February 04, 2002
Java Certification Tutorial This section covers the aspect of arrays, variables, and modifiers. Also describes about correct declaration of arrays, packages, import statements and class declaration.
Saturday, February 02, 2002
This is a first post