Monday, August 25, 2008

Where Was I

Here's a map of the states that I have been to, and would like to go to.


visited 31 states (61%)
Create your own visited map of The United States

I'll try to remember to update it if it changes.

Updated May 6, 2024.

Tuesday, March 18, 2008

Pancakes

Description:
Make great pancakes from scratch!

Ingredients:
1¼ cups all-purpose flour
2 tablespoons granulated sugar
2 teaspoons baking powder
1 beaten egg
1 cup milk
1 tablespoon cooking oil
½ teaspoon salt

Directions:
Stir together flour, granulated sugar, baking powder, and salt. Combine egg, milk, and oil; add all at once to flour mixture, stirring till blended but still slightly lumpy. Pour about ¼ cup batter onto a hot, lightly greased griddle or heavy skillet. Cook till golden brown, turning to cook other side when pancakes have a bubbly surface and slightly dry edges.

Thursday, December 07, 2006

Heat Index and Wind Chill Formulas

I'm writing this because nobody seems to have an easy to copy and paste formula out there for coders or even for spread sheets.

It's all fine-and-dandy that somebody understands all the ins-and-outs of weather and the math behind it, but sometimes we just want to display the Wind Chill or Heat Index, and that's it. I don't need to know all about the weather … some of us have deadlines to meet. These formulas are for those of you who are of a similar mind set.

Here are the formulas to calculate the Heat Index and the Wind Chill in Spreadsheet formulas and for PHP scripts (programs).

Heat Index

The Heat Index should only be calculated when air temperatures are greater than 80°F (27°C), dew point temperatures are greater than 60°F (16°C), and relative humidities are higher than 40%.

Spreadsheet:

  

Where A1 holds the TEMPERATURE, and B1 holds the HUMIDITY.

PHP:

 

Where $temp_f is the temperature in degrees Fahrenheit, and $humidity holds the humidity.

Wind Chill

The Wind Chill should only be calculated when temperatures are at or below 50°F and wind speeds are above 3 MPH. Bright sunshine may increase the wind chill temperature by 10°F to 18°F.

Spreadsheet:

 

Where A1 holds the TEMPERATURE, and B1 holds the WIND VELOCITY (SPEED).

PHP:

 

Where $temp_f is the temperature in degrees Fahrenheit, and $wind_speed holds the wind speed in Miles Per Hour (MPH).

I hope this helps to keep someone from spending an hour debugging their code when it was a simple typo that may have messed them up.