Thursday, April 30, 2009

:<: Green Aviation :>:

posted 4 minutes ago by emmanuel Joliet [ updated a minute ago ]
Green Approach is:
”Planning & execution of a approach, minimizing the environmental effect (emissions & noise) a much as possible. This is achieved by flying a Continuous Descent Approach (CDA) with minimum thrust. The Green Approach is executed from Top of Descent (ToD) using the CDA procedure”.

The advantages include:
- Mimimized noise exposure around airports
- Estimated fuel savings of 50-150 kg per approach based on calculations from Arlanda
- Cost savings for airlines due to fuel burn and increased predictability
- Reduced CO2 emissions
The Green Departure subproject will adress environmental acitivites in the departure phase of flight.

The definition of a Green Departure is:
“Planning & execution of a departure, minimizing the environmental effect (emissions & noise) a much as possible. This is achieved by using optimized procedures, methods and technical support tools that minimizes idling time on ground and allows an optimized flight path up to cruise level”

The advantages include:
- Mimimized taxi time on runway
- Increased predictability and punctuality – improved planning for airlines
- Improved airport gate allocation process and planning
- Reduced work load for ATC



PKTIGroup is looking forward to help you to accomplish such goals of minimizing environmental effects.

Tuesday, March 3, 2009

Tracker.

GPS/GPRS/LAN tracker exist and can be provide to track your car or a luggage just sending an sms command and receive for instance the geolocation.

Wednesday, December 3, 2008

Adding subversion keyword(s) to PDF

Is it possible to add $Id$ or any other subversion keyword into a PDF when commiting it?
Yes, use the hook script pre-commit and a little java program to insert svn keywords into the PDF metada!
A clue: iText

Javascript debugger to the rescue

Well, well, well, i want to start this post saying that the world of browser is a jungle! I was doing a web application and i face the problem of non compatibility DOM from a browser to another. Let me explain the problem. First of all, i will explain the functionality of part of my web application. I have an ajax call that query a database and give back an xml result. So far so good! Then i have the display result placed between
as a links list of result. My idea was to make each link react to the mouse event so i have put the typical onclick and mouseover in each links href elements of the list. The effect of the mouse over a link should get a second ajax call back to fill in a form beside the list result so the user doesn't need to click on the link and open a new window for THAT!! Then came the real problems!
Javascript + DOM + browsers = problems!
The DOM methods to get the node name are different for IE and FF. For FireFox, the 'tagName' method isn't working for IE (+6). For IE i had to use 'nodeName'. Wierd but that's how is it!
The xml is similar to:

<?xml version="1.0"?>

<root version="-live-" date="2008-11-21T14:45:24">

<item>

<foo/>

</item>

</root>


To fill the form field name 'field1' with the xml ajax response object 'resp' (XMLHttpRequest) above,
  • for IE: document.getElementById("form").field1.value=resp.getElementsByTagName('root')[0].childNodes[1].nodeName;
  • for 'other' browsers: document.getElementById("form").field1.value=resp.getElementsByTagName('root')[0].childNodes[1].tagName;
The php to ajax lookup is like:

xmlHttp=GetXmlHttpObject()

var url="livesearch.php"


url=url+"?q="+str


url=url+"&sid="+Math.random()


xmlHttp.onreadystatechange=stateChanged


xmlHttp.open("GET",url,true)


xmlHttp.send(null)




function stateChanged()


{


if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")


{


document.getElementById("anyId"). innerHTML=xmlHttp.responseText;


}


}



A nice thing that i didn't heard about since yesterday was to use Javascript debugger! And this was my salvation. I put a link where i found the useful information:
http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html

E.J.

Wednesday, November 19, 2008

Welcome

My first appearance in the glog world and hope it will be a success. This blog will be a corner of tech articles, news and sharing ideas. Hope you enjoy it.