|
// *************************************************************** IO
// http://codingforums.com/showthread.php?t=143412
// LA MOD String Version.
// A tiny ajax library by DanDavis
// Revised 20101006
// http://www.quirksmode.org/js/xmlhttp.html
var XMLHttpFactories = [
function ( )
{
return ( new XMLHttpRequest ( ) );
},
function ( )
{
return ( new ActiveXObject ( "Msxml2.XMLHTTP" ) );
},
function ( )
{
return ( new ActiveXObject ( "Msxml3.XMLHTTP" ) );
},
function ( )
{
return ( new ActiveXObject ( "Microsoft.XMLHTTP" ) );
}
];
// ********************************************** createXMLHTTPObject
function createXMLHTTPObject ( )
{
var xmlhttp = false;
for ( var i = 0; ( i < XMLHttpFactories.length ); i++ )
{
try
{
xmlhttp = XMLHttpFactories [ i ] ( );
}
catch ( e )
{
continue;
}
break;
}
return ( xmlhttp );
}
// **************************************************** read_contents
function read_contents ( url )
{
var request = createXMLHTTPObject ( );
request.open ( 'GET', url, false );
request.setRequestHeader ( 'Content-Type', 'text/html' );
request.send ( '' );
return ( request.responseText );
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
In 1964, I was in the US Coast Guard when I wrote
my first program. It was written in RPG (note no suffixing numbers). Programs and data were entered using punched cards. Turnaround was about 3 hours. So much for the "good old days!"
In 1970, when assigned to Washington DC, I started my MS in Mechanical Engineering. I specialized in Transportation. Untold hours in statistical theory and practice were required, forcing me to use the university computer and learn the FORTRAN language, still using punched cards!
In 1973, I was employed by the Norfolk VA Police Department as a crime analyst for the
High Intensity Target program. There, I was still using punched cards!
In 1973, I joined Computer Sciences Corporation (CSC). There, for the first time, I was introduced to a terminal with the ability to edit, compile, link, and test my programs on-line. CSC also gave me the opportunity to discuss technical issues with some of the brightest minds I've encountered during my career.
In 1975, I moved to San Diego to head up an IR&D project,
BIODAB. I returned to school (UCSD) and took up Software Engineering at the graduate level. After BIODAB, I headed up a team that fixed a
stalled project. I then headed up one of the two most satisfying projects of my career, the
Automated Flight Operations Center at Ft. Irwin, CA.
I left Anteon Corporation (the successor to CSC on a major contract) and moved to Pensacola, FL. For a small company I built their firewall, given free to the company's customers. An opportunity to build an
air traffic controller trainer arose. This was the other most satisfying project of my career.
Today, I consider myself capable.