Thursday, January 3, 2013

Estimating Airline Maintenance Costs

Here are the results of an ad-hoc analysis of airline maintenance costs for 2011 using data from the Bureau of Transportation Analysis (RITA, Schedule P-5.2). Maintenance costs includes airframe (52251 and 52461) and engines (52252 and 52462);  these data were regressed on Total Aircraft Airborne Hours(z6500) and gallons of aircraft fuel (51451).  All data in thousands. 

The results suggests marginal costs of $22.50 per hour of flight time, and $0.201 per gallon of fuel.


Sunday, December 9, 2012

Jet Kerosene and Crude Oil



Data is from the annual nominal data from the U.S. Energy Information Administration

Sunday, November 11, 2012

Academic Affairs

Five types of questions one might be expected to answer during an interview for the position of Associate Dean of Academic Affairs:

1.  Leadership Style
2. Student Issues
3. Supervisory Experience
4. Master Planning
5. Evaluation of Faculty and Staff

Sunday, May 6, 2012

How to Add Users Remotely to a phpBB 3 forum with PHP

<?php
 

define('IN_PHPBB', true);

$phpEx = substr(strrchr(__FILE__, '.'), 1);


require($phpbb_root_path ."common.". $phpEx);
$user->session_begin();
$auth->acl($user->data);
$user->setup();

// Contains the user_add function
require("myForum/includes/functions_user.php");



//still nedd to validate user name and strip non chars.

$username = "IamTesting";
$email_address = "iam@testing.com";
$password = "sUperSeCURE92E#$";
$registration_time = time();
$group_id = 2;


$user_row = array(
    'username'              => $username,
    'user_password'         => phpbb_hash($password),
    'user_email'            => $email_address,
    'group_id'              => (int) $group_id,
    'user_regdate'          => $registration_time,
    'user_type'             => '0',
);



//uncomment the following line to display the array
//print_r($user_row);

// all the information has been compiled, add the user
// tables affected include: users table, 

// profile_fields_data table, groups table, and config table.
 

$user_id = user_add($user_row);

?>

Website Reboot 2012

Making plans to add some new projects this year.  And here's a preview of the new look. giwiganz.com

Sunday, November 13, 2011

Ludie's Cornbread Dressing

Ludie’s Cornbread Dressing Bake 1 hour 350°

2 pkgs. of Corn Kits. cooked

(she told me that for years that she made homemade cornbread, but

when she discovered Corn Kits she never used anything else, she said that they are just as good).

4 slices of toasted bread (cut in small cubes)

1 stick celery, chopped

1 onion, chopped (Dad likes the onion sautéed)

6 eggs

1 ½ to 2 cups chicken broth [she just estimated this & usually added more]

1 ½ cup shredded chicken

½ cup butter, melted

2 Tlbs. Sage

1 Tsp poultry seasoning

Salt & Pepper

She told me that she always stewed & deboned a chicken the day before so that she would have the chicken and the broth for the dressing.

She also said that when people arrived they were always hungry, so she had the deboned chicken to make chicken salad for them.

Directions: As told to me by my mother: You can cook the cornbread the day before. 1. Use a big mixing bowl and crumble the cornbread with your hands and add the toasted bread.

2. Add everything else.

It should be a little soupy. It will be moist when cooked.

Put into an oblong baking dish. Bake @ 350° for 1 hour.

Thursday, June 30, 2011

Javascript GMT Clock

/*
** quackquackgmt
**
** This script will display Greenwich Mean Time also known as
** Universal Time Coordinated.
**
**
** Simply refer to this script using:
**
** <script language="JavaScript" src="quackquackgmt.js"></script>
**
**
*/

function quackquackgmt() {

var today=new Date();
var h=today.getUTCHours();
var m=today.getUTCMinutes();
var s=today.getUTCSeconds();
m=checkTime(m); // add a zero in front of numbers<10
s=checkTime(s); // add a zero in front of numbers<10
document.getElementById('id_gmt').innerHTML=h+":"+m+":"+s+" GMT";
setTimeout("quackquackgmt()", SetTimeOutPeriod);
}

function putspan() {
document.write("");
}

function checkTime(i){
if (i<10) i="0" + i;
return i;
}

var SetTimeOutPeriod = 1000;
putspan();
quackquackgmt();