[ blog ]
Home | Blog | Links | Arcade | Post Blog |
December 31, 2007 Monday
New Year
One of my new years resolutions is to post to my blog more.

Today our neighbor Erin helped me push my new 95 saab out of the garage to place jumper cables on it.

Also we went to see I am Legend. This movie got 4 out of 5 stars from most critics. I assume they didn't see it on the imax. Everyone in the theatre laughed, cried and jumped. Lauren might have actually gotten leg cramps from watching this movie. This is one of the most emotional movies I have ever seen. I see the flaws but I really like it. The choice of bob marley's heart beat tempo (calming) followed by sharp metallic sounds (alarming) was great.
 
I think it was one of the best movies I have seen in a long time.

New Year - December 31, 2007 Monday
December 30, 2007 Sunday
Got a new faucet
Installed a new faucet today. Got it for $40. It's the biggest faucet I have ever seen. Our other faucet started leaking through the electrical tape holding the switch from stream to shower together, so it was time for a change.  I started the install last evening... however having the right connecters helps, so this morning we got the rest of it installed.

Later in the day we defrosted the air handler outside... Hopefully this will work. I don't really have the money to replace this at this time. 

Got a new faucet - December 30, 2007 Sunday
September 01, 2007 Saturday
New car
Got a new (old) car... well a 95 saab...

G started school so we had to get a second car.
saab + dodge = lots of fun.

New car - September 01, 2007 Saturday
August 01, 2007 Wednesday
Chuckie Currency
I recently took my son to Chuckie Cheese. I had never been there and may or may not ever go back. G had a great time, but it was pure chaos.

I've also been getting emails about investing in Gold, Silver and the like. About how Gold is money... it's liquid, it doesn't rot, rust, etc... You get the point.

I've been thinking about what our great grandchild's great grandchildren will think of our long forgotten civilization and what would be left for them to study. Would they have gone back to a bardering system, trading chickens for swords.

I then looked down at my cup of Chuckie Cheese currency and realized that this is what will be left. This is what the son's of son's will find. And they will think that this bear (I think he's a bear) must have been the most powerful of our "gods". Worse yet they might think they evolved from these creatures.

I just looked around to find a picture of the coins to put on here and realized that Chuckie is in fact a mouse... I usually avoid eating anywhere I see a mouse and this is what they chose for a mascot. hmmmmm.

Chuckie Currency - August 01, 2007 Wednesday
July 10, 2007 Tuesday
My son is magic
My son has recently started doing puppet and magic shows for us. I'm not sure what started the magic shows but they are both great.

During the puppet shows he mostly tells stories of Diego. These tells range from birthday parties to how Diego made his bed. (Sorry mom and dad... I know you gave it to him, but the deigo tells are too funny to correct.) I will try to post story specifics at a later date

The magic shows are hilarious. I have a sneaking suspicion that he is not going to be the next Criss Angel, but he might be the next Amazing Jonathon. Every trick no matter how grand he builds it ends up with you having to pick the hand in which the coin (or car) resides. It doesn't matter if he is making a chair disappear with the help of mommy or just pouring all the legos into a bucket, he starts each trick with "You need to watch very carefully", and ends each trick with "now which hand is the (coin/car) in". No matter what hand you pick he shows you both says "Tada", pauses , then reaches deep into his pocket and says, "It's been in my pocket the whole time". It's sort of a catch phrase for the show.

I hope to be able to encourage his entertaining personality, without getting tired and just saying... "I think it's been in your pocket the whole time".

My son is magic - July 10, 2007 Tuesday
July 06, 2007 Friday
Orleans Album cover
This was in the list for the worst album covers ever... Mark just made it worse. Roll over the image to see how.

Orleans Album cover - July 06, 2007 Friday
July 05, 2007 Thursday
Search for Perfect hair
Here was the first of many attempts.

The Gotee might not work.. I'm not sure.

Search for Perfect hair - July 05, 2007 Thursday
May 14, 2007 Monday
I see this in my future
A friend of mine sent me this ad today.

I can't say more than this ad already says.

I see this in my future - May 14, 2007 Monday
May 08, 2007 Tuesday
What do Gabriels dream about?

As a parent, I get this lingering thought that maybe I'm not very good at this and that I could be doing better at raising my child. There are times that I need a reminder that I'm doing OK and that my child is happy and knows he is loved. This morning I got one of those reminders.

Gabriel hopped into bed with us at about 5:20 this morning... It was too late to try to pry him away and put him back in his bed. My alarm when off at 6:30... I hit snooze. (I usually give it a few more goes so that I know I'm getting my money's worth out of the alarm clock.) I was just nodding back off when I was awoken by laughter. I opened my eyes and looked at my son who was grinning ear to ear with eyes completely closed. Gabriel was laughing in his sleep. I watched him as he lay there giggling....

I'm not sure what he was dreaming about but it made him happy. I would like to think he was dreaming about hanging out with his papa, but more than likely he was plotting some revenge or dreaming about making some flying contraption with which he will one day jump off the roof of our house and get badly injured. I hope it was the first thought. In any event he is happy even while he sleeps and thought that's not a parents goal in raising a child it sure makes you feel like you are doing something right.



What do Gabriels dream about? - May 08, 2007 Tuesday
February 08, 2007 Thursday
Where I parked today
I parked in the same place I always park, next to the McClung warehouses, right on the tracks and in view of my old apartment. Today the poles designed to keep non-paying customers out were missing. Either burnt down or knocked down by firetrucks, the entrance was open, but the lot was sparse. The dank, smoldering smell of a recently extinguished campfire filled the air.

I walked from my car toward the building's previous residence. Smoke still plumed out from an elevator shaft, two days after the fire. The building walls now look more like brick fencing or a great poorly designed grill. I'm reminded of images from wars past or recent photos of a small Mediterranean country. I always wondered how people could walk past something so freshly tragic and it not truly bother them. How could they go on about their daily lives without it affecting them...

I finished my walk to work. After posting this I will probably not think about it again until I have to go get my car. It's funny how the mind works.

Related Links:
Warehouses to go
Tales from the scene of the fire

Where I parked today - February 08, 2007 Thursday
December 28, 2006 Thursday
Bad Coffee Cup
Be on the look out for this coffee cup. It's black with red and white squiggles. To your right is an artist's rendering, of the assailant.

This morning at about 7:00am, as I was making Twinings English Breakfast Tea, I added water to the accused coffee cup and placed the cup in the microwave. Having read the dishwasher and microwave safe label on the bottom I did not fear for my life.

The timer was about to go off and I stop the microwave, as to not wake the rest of the family. I opened the microwave, grasped the cup and proceeded to remove it from the microwave. The accused cup was so hot that it burnt my ring finger on my right hand.

Needless to say every keystroke containing the letters (L,O,P,period) or the occasional right arrow key has placed me in agony.

If you see this cup and it looks like it has even been thinking about getting in the microwave be very afraid.

Bad Coffee Cup - December 28, 2006 Thursday
December 22, 2006 Friday
New Year

I have no Christmas tales. I have tried not to watch too many "holiday specials". I have tried to focus my personal time to reading Emerson, and earlier today some Robert Frost("The Road Not Taken").

I've always made the assumption that this was referring to the Christian's Broad way/Narrow way line of thinking. It's not a bad assumption. Today I thought more about how I look at the world.

I see the same things everyday. I think about how my day went, comparing it to the last or to someone else's. Today I took a different way to work... Slower, but with new scenery, the drive seemed fresh and lively. For lunch today I think I'll walk in the rain down to the river... Just walk, no destination. I'll pack a sandwich and eat it on the way. I'll wave to people and say hi. I'll be honest when asked if I have any change to spare... Maybe I'll make two sandwiches.

I believe once I take measures to take a less traveled existence I can start to make a difference. When the vines grow up behind my path, I'll chop them down to make an easy to trek path. Not so I may return but so others can find me. Maybe I'll get a bike.

This will be my resolution for next year. I'm writing it so I can confront myself in two months, and see how much of the path has grown around me. The destination is not always where we arrive. I ramble.

Days - Ralph Waldo Emerson
DAUGHTERS of Time, the hypocritic Days,
Muffled and dumb like barefoot dervishes,
And marching single in an endless file,
Bring diadems and fagots in their hands.
To each they offer gifts after his will,
Bread, kingdoms, stars, and sky that holds them all.
I, in my pleachèd garden, watched the pomp,
Forgot my morning wishes, hastily
Took a few herbs and apples, and the Day
Turned and departed silent. I, too late,
Under her solemn fillet saw the scorn.

Related Links:
http://www.bartleby.com/119/1.html

New Year - December 22, 2006 Friday
December 20, 2006 Wednesday
New Images
I've began setting images up here on picasa. It's so easy to update I might just do it.

http://picasaweb.google.com/timphughes

New Images - December 20, 2006 Wednesday
December 17, 2006 Sunday
Coffee table search
I realized I haven't posted anything on here in sometime, so I wanted everyone to know my search for the perfect coffee table continues.


I also realize this is the lamest blog post ever, I'm just trying to get warmed back up.

Coffee table search - December 17, 2006 Sunday
October 04, 2006 Wednesday
Working with AJAX
I've been playing more with ajax lately and have found it to be so much faster than posts that I'm not sure if I can ever go back. The following is a simple example that I used in a recent project.

The javascript code
function xmlhttpPost(strURL) {
    var xmlHttpReq = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('POST', strURL, true);
    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq.onreadystatechange = function() {
        if (self.xmlHttpReq.readyState == 4) {
            updatepage(self.xmlHttpReq.responseText);
        }
    }
    self.xmlHttpReq.send(getquerystring());
}
// builds the string
function getquerystring() { 
    var form     = document.forms['f1'];
    var searchword = form.searchword.value;
	var division = form.division.value;
    qstr = 's=' + escape(searchword) + '&d=' + escape(division);	
// NOTE: no '?' before querystring
	return qstr;
}

The Form
<form name="f1" onsubmit='JavaScript:xmlhttpPost("getlist.php"); return false';>
	<fieldset>
		<legend>CARDS Search</legend>
		<input name="searchword" type="text" 
			onkeyup='JavaScript:xmlhttpPost("getlist.php"); return false';> in 
		<select name=division 
			onchange='JavaScript:xmlhttpPost("getlist.php"); return false';>
			<option value='knoxville'>Knoxville</option>
			<option value='greenville'>Greeneville</option>
			<option value='chattanooga'>Chattanooga</option>
		</select>
		<input type=submit value="load">
	</fieldset>
	<div id="result"></div>
</form>


Basically the idea is that whatever is done to the form makes a call to the webserver which provides information in the results div tag. This is the simplest example of using AJAX. Data is not really transfered back to the form only the results div, with a little tweaking you can do all kinds of stuff with the javascript code above. Good luck.

Working with AJAX - October 04, 2006 Wednesday
September 25, 2006 Monday
Looking for a new coffee table?
I was looking for an usual but functional coffee table replacement. Our current coffee table really doesn't match itself, so we've been in the market for a table for quite a bit longer than I've been looking. I can't tell if this is the most baby friendly table or the least... link here

Looking for a new coffee table? - September 25, 2006 Monday
September 21, 2006 Thursday
Bad Day for Thomas
Watch as Sir Topham Hatt's insurance premiums go through the roof...


Wow I need to get out more.

Bad Day for Thomas - September 21, 2006 Thursday
September 12, 2006 Tuesday
Setting Up Icecast

Streaming Audio (using icecast and ices)

This was a project for streaming audio for courtrooms, but has many potential applications.

Description

This is a relatively free streaming audio system. It uses Fedora core 3, Icecast, and Ices to stream Ogg files. Client needs an Ogg player, VLC or Winamp will work nicely. We use this system to stream courtroom audio. Though newer technologies exist. This document and our systems will likely not be updated for many years, so don't look for updates here.

Prerequisites

This program requires the following applications.
  • Fedora Core 3
  • libshout
  • libogg
  • ices
  • icecast

Files

  • Icecast files Contents below
    • src/libshout-2.0-1.1.fc3.rf.i386.rpm
    • src/libogg-1.1.tar.gz
    • src/icecast-2.1.0-1.i386.rpm
    • src/ices-2.0.0-0.fdr.1.1.i386.rpm
    • src/guarddog-2.4.0-1fc3.i386.rpm
    • etc/rc.d/rc.icecast
    • home/icecast/ices.xml
    • home/icecast/icecast.xml
    • usr/local/bin/tnmix
    • usr/local/bin/tnice
    • usr/local/bin/tncast
    • usr/local/bin/tntrim

Server Installation

  1. Install Fedora make sure you install basic sound elements, gcc and perl.
  2. Untar icefiles.tar.gz.
  3. Create a user named "icecast" in group "icecast" with home directory of "/home/icecast"
  4. Copy files to their correct locations.
    >cp usr/local/bin/tn* /usr/local/bin/
    >cp home/icecast/ice* /home/icecast/
    >cp etc/rc.icecast /etc/rc.d/
    >mkdir /home/icecast/pid; chmod 777 /home/icecast/pid
    >mkdir /home/icecast/logs; chmod 777 /home/icecast/logs
    >
    
    File Descriptions:
    • /usr/local/bin/tn* are all small bash files for easily starting and stopping services and editing the volume levels.
    • /home/icecast/ice*.xml are config files we will edit them later.
    • /etc/rc.icecast just starts the services on startup, rc.local will kick it off.
    • /home/icecast/pid is where we will keep the pids for ices and icecast (for killing them)
    • /home/icecast/logs is where the log files are stored.


  5. Install libogg-1.1
    >cp src/
    >tar -zxvf libogg-1.1.tar.gz
    >cd libogg-1.1
    >./configure
    >make
    >make install
    >
    
    This gives us the ogg libraries necessary for running ices.

  6. Install the rpms:
    >rpm -ivh libshout-2.0-1.1.fc3.rf.i386.rpm
    >rpm -ivh icecast-2.1.0-1.i386.rpm
    >rpm -ivh ices-2.0.0-0.fdr.1.1.i386.rpm
    >
    
    libshout is the shoutcast libraries needed for icecast to run.
    icecast serves up audio streams like apache serves up html.
    ices converts the audio from a sound card to an ogg stream.


  7. Edit /home/icecast/icecast.xml change <hostname> to the correct ip address or host name.

  8. Edit /home/icecast/ices.xml change <name>,<genre>,<description>,<url>,<hostname> to the correct ip address or host name.
    *if you choose to change the file name under <url> make sure that <mount> matches. Also if make sure <url> matches the <hostname>

  9. Edit /etc/rc.local Add the following line to the file
    /etc/rc.d/rc.icecast
    


  10. I think you are setup. insert some audio into mic or line in on your sound card.

  11. Use tnmix to mix out the audio
    >tnmix
    
    I setup tnmix because I am using 5 soundcards in one box. It would be just as simple to use "alsamixer -c 0". (NOTE: This ran fine in a 700Mhz Athlon with 256mb with all 5 streams)
  12. Its now time to fire up icecast and then ices.
    >tncast restart
    PID: 3439
    Icecast has been stopped
    Starting icecast2
    Detaching from the console
    Icecast started
    Changed groupid to 500.
    Changed userid to 500.
    >
    >tnice restart
    Courtroom audio has been stopped
    Courtroom audio started
    >
    >
    
    I use restart always, just what I do.

  13. Fire up a browser. Entering http://<hostname> in a browser should render a page like this

    If you don't see the page: icecast is not running, you have a firewall blocking it, or apache is also running on the system.
    You can change the port number associated with icecast in /home/icecast/icecast.xml to something like 8080. You will also need to change ices.xml to reflect the change. This will fix the apache issue.


    If you see the page but don't see the contents of the grey box: icecast is running but ices is not... just restart ices using "tnice restart".

    As always Check log files in /home/icecast/logs from more info.

  14. Done with install (good for you)
  15. You can install guarddog for a good firewall. I've included it in the files, since it's tiny.

Client Information

  • Make sure you can play ogg files on the client machine.
  • I use winamp <--[Use Free, Full version]
  • VLC media player is also a good choice.
  • Make sure client machine has .m3u extension associated with your ogg file player.




Setting Up Icecast - September 12, 2006 Tuesday
July 07, 2006 Friday
Kitchen Cabinets
I got my first dose of "Why did I start this" with regards to a household project. We bought the house that I've been rambling about to everyone. I like it a lot, but all the projects that I wanted to do upon moving in... I decided to start all at once... I have no idea what I was thinking. I have stripped off about half the paint in one cabnet and have sanded it down. Which really just means I repainted the kitchen in a thin layer of dust.

Kitchen Cabinets - July 07, 2006 Friday
June 30, 2006 Friday
New Image Section
We will be closing on our house today. I am excited, and have redirected my energy all over the place. Here is the new image section for the site.

New Image Section

It's a bit easier to maintain and uses no javascript, so I like it. Because of the ease of use I might actually start posting pictures on here.

More on the house closing after we close.

New Image Section - June 30, 2006 Friday
June 16, 2006 Friday
Getting paramaters from URL with Javascript
This is another little javascript function that I use quite often -- getParams(). It's useful for many applications where you might need to retrieve Get's from a url.
example use: /test.htm?id=15. using this

params = getParams();
id = unescape(params["id"]);

id will now equal 15 and can be used in any number of ways.
Here is the code for the function. It is placed in the head of an html doc or included.

function getParams() {
	var idx = document.URL.indexOf('?');
	var params = new Array();
	if (idx != -1) {
		var pairs = document.URL.substring(idx+1, document.URL.length).split('&');
		for (var i=0; i<pairs.length; i++) {
			nameVal = pairs[i].split('=');
			params[nameVal[0]] = nameVal[1];
		}
	}
return params;
}


and really that is it.

Getting paramaters from URL with Javascript - June 16, 2006 Friday
June 14, 2006 Wednesday
More on the House Hunt
It seems that we bought a house.

We made an offer on a house last night. We weren't sure if they would accept it, as we are broke, the offer was kind of low and they had another offer already. We got a call this morning that the Seller's agent was not going to even entertain the offer, so back to the old looking for us it was. Anyway he called back a few hours later asking us to make one concession on the offer and that they would accept it. We make said concession and in two weeks we close.

I've called most of my friends to let them know about the house... if you did not get a call...
a) I don't know you.
b) I don't know your number. or
c) You need to pay your phone bill... you know who you are.



More on the House Hunt - June 14, 2006 Wednesday
June 13, 2006 Tuesday
Again with the house hunt

Yesterday was a complete disaster as far as the general confusion and haste of purchasing a house. I think looking back at the whole process it will seem simple and straight forward. However I now feel I'm being pushed and pulled about like rag doll with a wallet. You'd think someone would have taken the time to look in the wallet and notice it is bare.

This is the house we are currently looking at. I like it, Lauren likes it and most of all G likes it. We put in an offer... if it doesn't through you will can read all about it here... unless I delete this post.

I'm real nervous about the whole process. But I think it's natural. I will tell you more as I know more. see comments later.



Again with the house hunt - June 13, 2006 Tuesday
June 13, 2006 Tuesday
How to get your pictures off of an xd card that is not formatted


When you purchase an xd card it's usually not formatted. If you loose your cable and purchase a card reader... chances are windows/linux will not recognize the "raw" format.

solution:
download photorec.exe from
http://www.artplus.hr/adapps/eng/downloads.htm


run this program and point it to the drive windows cannot read and it will extract the images. This utility also works on corrupted cards.

How to get your pictures off of an xd card that is not formatted - June 13, 2006 Tuesday
June 10, 2006 Saturday
Form Helper Code
I write a lot of web applications and always try to focus on the end user. I try to give the user quick feedback and guidance, without using page reloads, alerts.. etc. I wrote these a few years ago... but they still seem viable. Here is the code.

<html>
<head>
<script>
function inF(obj,little_help){
    obj.style.borderColor="#6C95C1";
    obj.style.backgroundColor="#E8EDF0";
    printHelp(little_help);
}

function inB(obj){
    obj.style.borderColor="#666666";
    obj.style.backgroundColor="#f6f6f6";
    printHelp('');
}

function inG(obj){
    obj.style.borderColor="#6CD162";
    obj.style.backgroundColor="#f6f6f6";
    printHelp('Format is Correct');
}

function inE(obj,little_help){
    obj.style.borderColor="red";
    obj.style.backgroundColor="#f6f6f6";
    printHelp("<font color=red>"+little_help+"</font>");
}

function printHelp(message){
    //HELPER is the ID of some Div tag that will hold the help messages
    document.getElementById('HELPER').innerHTML= message+" ";
    window.status=message;
}

function checkField(obj,type){
    // takes obl - html object and checks it in various ways
    // type is the type of data it should be formated like
    // Type:(ssn,phone,email,money,notnull);
    var error=0
    switch(type){
        case "ssn":
            if (!(/^[0-9]{3}-[0-9]{2}-[0-9]{4}$/.test(obj.value))){
                inE(obj,"Format for SSN is XXX-XX-XXX");
				error=1;
            }
            break;
        case "phone":
            if (!(/\d{3}-\d{3}-\d{4}$/.test(obj.value))){
                inE(obj,"Format for Phone Number is XXX-XXX-XXX");
				error=1;
            }
            break;
        case "email":
            if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(obj.value))){
                inE(obj,"Email format is incorrect");
				error=1;
            }
            break;
        case "money":
            if (!(/\$\d{1,3}(,\d{3})*\.\d{2}/.test(obj.value))){
                inE(obj,"Money format is incorrect ex:[$X,XXX.XX]");
				error=1;
            }
            break;
        case "notnull":
            if (obj.value == ""){
                inE(obj,"You cannot leave this field blank");
				error=1;
            }
            break;
        default:
				inB(obj);
				break;
    }
	if(error!=1){inG(obj);}
}
</script>

<style>
input {
    background:#f6f6f6;
    border: solid 1px #666666;
    font: normal 12px arial;
    color:#000000;
}
</style>

</head>

<body>
    <table>
        <tr>
            <td align=right>Social Security Number</td>
            <td>
                <input type=text name=field1 
                onfocus="inF(this,'Please enter your SSN format XXX-XX-XXXX')";
                onblur="checkField(this,'ssn')";>
            </td>
        </tr>
        <tr>
            <td align=right>Phone Number</td>
            <td>
                <input type=text name=field2 
                onfocus="inF(this,'Please enter your Phone Number format XXX-XXX-XXXX')";
                onblur="checkField(this,'phone')";>
            </td>
        </tr>
        <tr>
            <td align=right>Email</td>
            <td>
                <input type=text name=field3
                onfocus="inF(this,'Please enter your Email')";
                onblur="checkField(this,'email')";>
            </td>
        </tr>
        <tr>
            <td align=right>Money</td>
            <td>
                <input type=text name=field4
                onfocus="inF(this,'Please enter your Money format $XX.XX')";
                onblur="checkField(this,'money')";>
            </td>
        </tr>
        <tr>
            <td align=right>Name</td>
            <td>
                <input type=text name=field5
                onfocus="inF(this,'This field cannot be left blank')";
                onblur="checkField(this,'notnull')";>
            </td>
        </tr>
	</table>
	
	<div id=HELP></div>
</body>
</html>

You simply call the functions with javascript onfocus, onblur, onchecked, etc. like this:

<input type=text onfocus="inF(this,'[your message]')"; onblur="checkField(this,'[checktype]')";>
This would create the following HTML output
Social Security Number
Phone Number
Email
Money
Name
 







Form Helper Code - June 10, 2006 Saturday
June 09, 2006 Friday
Select a State php function
This is a a function I use quite often to create a dropdown list of states in php.
<?
function select_states($name, $selected_state){
# Prints dropdown list of states requires (name of form element

    $sarray = array(1 => '','TN','AK','AL','AR','AS','AZ','CA','CO',
                            'CT','DC','DE','FL','FM','GA','GU','HI',
                            'IA','ID','IL','IN','KS','KY','LA','MA',
                            'MD','ME','MI','MN','MO','MS','MT','NC',
                            'ND','NE','NH','NJ','NM','NV','NY','OH',
                            'OK','OR','PA','PR','RI','SC','SD','TX',
                            'UT','VI','VT','VA','WA','WI','WV','WY');

    echo "&lst;select name='".$name."' id='".$name."'>";

    foreach ($sarray as $sa){
        if ($sa == "$selected_state"){
            echo "<option value='".$sa."' selected>".$sa."</option>";
        } else{
            echo "<option value='".$sa."' >".$sa."</option>";
        }
    }
    echo "</select>";
}
?>
You would simply call the php function like so:
<?

select_states("state", "DC");

?>
This would create the following HTML output
<select name="state"><option value=""></option>
<option value="TN" >TN</option>
<option value="AK" >AK</option>
<option value="AL" >AL</option>
<option value="AR" >AR</option>
<option value="AS" >AS</option>
<option value="AZ" >AZ</option>
<option value="CA" >CA</option>
<option value="CO" >CO</option>
<option value="CT" >CT</option>

<option value="DC" selected>DC</option>
<option value="DE" >DE</option>
<option value="FL" >FL</option>
<option value="FM" >FM</option>
<option value="GA" >GA</option>
<option value="GU" >GU</option>
<option value="HI" >HI</option>
<option value="IA" >IA</option>
<option value="ID" >ID</option>

<option value="IL" >IL</option>
<option value="IN" >IN</option>
<option value="KS" >KS</option>
<option value="KY" >KY</option>
<option value="LA" >LA</option>
<option value="MA" >MA</option>
<option value="MD" >MD</option>
<option value="ME" >ME</option>
<option value="MI" >MI</option>

<option value="MN" >MN</option>
<option value="MO" >MO</option>
<option value="MS" >MS</option>
<option value="MT" >MT</option>
<option value="NC" >NC</option>
<option value="ND" >ND</option>
<option value="NE" >NE</option>
<option value="NH" >NH</option>
<option value="NJ" >NJ</option>

<option value="NM" >NM</option>
<option value="NV" >NV</option>
<option value="NY" >NY</option>
<option value="OH" >OH</option>
<option value="OK" >OK</option>
<option value="OR" >OR</option>
<option value="PA" >PA</option>
<option value="PR" >PR</option>
<option value="RI" >RI</option>

<option value="SC" >SC</option>
<option value="SD" >SD</option>
<option value="TX" >TX</option>
<option value="UT" >UT</option>
<option value="VI" >VI</option>
<option value="VT" >VT</option>
<option value="VA" >VA</option>
<option value="WA" >WA</option>
<option value="WI" >WI</option>

<option value="WV" >WV</option>
<option value="WY" >WY</option>
</select>

This is how the HTML code looks rendered:


Select a State php function - June 09, 2006 Friday
June 08, 2006 Thursday
Well we almost bought a house yesterday.

I think we got caught up in the "hey look this house is much better than the others that we looked at", idea. I thought the house was much better for us than anything that we had seen, and had a nice view/yard. It did however have one of the smallest kitchens that I have ever seen.

One of our main things that a house must have for us is a nice size kitchen. We aren't looking this (See Below). Well we are we just can't afford it. We are looking for something that can be lived in, and changed to suite our needs over time. This can be paint, new floor, new cabinets, new appliances, etc... For any of these items there must be room for them and good structure to hold them.

The kitchen in this house was 16ft X 6.5ft. I'm not positive, but i think that is the same size as our hallway. 6ft is my height. The average counter depth is 36inches so that gives you 3.5 ft to do want ever you want... This limits many of our current past times in the kitchen such as break-dancing, opening the fridge and walking. On the plus side it would reduce mopping time by 98%. The other problem was the ceiling was only 8ft tail standing straight up.

Kitchen we like
Approximation of what this kitchen would look like after this remodel

Better luck next time.



Well we almost bought a house yesterday. - June 08, 2006 Thursday
June 08, 2006 Thursday
Connect to MySQL using PHP... easy

I decided that since most of what I write is code, not pros. I would start including functions a week related to php, perl, javascript, asp, coldfusion, ect... I hope these will be helpful to young programmers. I will start with a simple way to connect and retrieve data from a mysql database using php. This is any easy scripting language to learn... and with this little bit of information you can create all kinds of database applications.

To connect to a mysql database useing php you simply need a function like this one below. This is the same function I have been using for years. mysql_connect takes 4 paramaters.
  1. Database Location. This can be:
    • "localhost"
    • "ipaddress|domainname:port" -- "192.156.44.74:3306", "example.com:3306" (3306 is the standard port where mysql runs)
    • "localhost:/tmp/mysql.sock" -- socket connection could also be '/tmp/mysql'
  2. Username
  3. Password
  4. Various Client Flags -- usually you won't use these, so I'm just mentioning them

<?
function mysql_db(){
    $connection = mysql_connect('localhost','tim','mypassword') or die(mysql_error());
    $db = mysql_select_db('databasename', $connection) or die(mysql_error());
    return $connection;
}
?>
Lets say in database "databasename" we have a table called "tablename".
In this table we have three columns (id, firstname, lastname) and we want to print out all data. We could use the code below to display the data in a little table. for the example the data is (tim hughes and william shatner) and id is auto num.
<?
## make a database connection, return handle.
$db = mysql_db(); 

## simple sql statement
$sql = "select * from tablename";

## Attempt to run sql with the database handle
$rid = @mysql_query($sql, $db) or die("Cannot Execute Query ".mysql_error());

echo "<table border=1>";

## get each database row as a named array. goes to EOF
while ($row = mysql_fetch_array($rid)){
    $id = $row["id"];
    $firstname = $row['firstname']);
    $lastname = $row['lastname'];
	
    ## do what is nessesary here with these variables
    ## you can also just use the direct call to the array $row.
    echo "<tr><td>".$id."</td><td>".$firstname."</td><td>".$lastname."</td></tr>\n";
}

echo "</table>";

## close the datbase connection
mysql_close($db);

?>
This would produce the following html code:
<table border=1>
<tr><td>1</td><td>Tim</td><td>Hughes</td></tr>
<tr><td>2</td><td>Willaim</td><td>Shatner</td></tr>
</table>
This is how the HTML code looks rendered:
1TimHughes
2WillaimShatner


Now you are a database programmer... go get a job.


Connect to MySQL using PHP... easy - June 08, 2006 Thursday
June 07, 2006 Wednesday
Heat Vision and Jack
Thanks andy,
Apparently in 1999, a tv pilot was created called "Heat Vision and Jack". The pilot starred Owen Wilson, Jack Black and Ben Stiller. If I remember 1999 correctly this would have not really worked then. In comparison I think this would be quite a smart show to todays TV sludge, namely "Joey".

Premise:
Astronaut Jack Austin (Jack Black), whom sunlight gives incredible intellect, and his talking motorcycle Heat Vision (Owen Wilson) are on the run from NASA hitman/actor Ron Silver (Ron Silver).

I think it sounds brilliant.

Related Links:
http://www.youtube.com/watch?v=6lWgXDOAJ5s

Heat Vision and Jack - June 07, 2006 Wednesday
June 01, 2006 Thursday
HTML codes for special characters and symbols

 Punctuations 

  &#32; space
- &#45; hyphen
, &#44;  
; &#59;  
! &#33;  
? &#63;  
  &nbsp; non-breaking space
­ &shy; soft hyphen
. &#46;  
: &#58;  
¡ &#161; &iexcl;
¿ &#191; &iquest;

 Quotations 

' &#39;
&#130;
&#145;
` &#96;
" &quot;
&#132;
&#147;
&#139;
« &laquo;
   
&#146;
&#146;
´ &#180;
   
&#148;
&#148;
&#155;
» &raquo;
'example'
‚example’
‘example’
`example´
"example"
„example”
“example”
‹example›
«example»

 Text enhancements 

# &#35;  
/ &#47;  
@ &#64;  
© &#169; &copy;
§ &#167; &sect;
&#133; &#8230;
& &#38; &amp;
\ &#92;  
&#153; &#8482;
® &#174; &reg;
&#182; &para;
     

Currency symbols

$ &#36;   Dollar
¥ &#165; &yen; Yen
&#8364; &euro; Euro
£ &#163; &pound; Pound
ƒ &#131; &#402; Guilder
¢ &#162; &cent; Cent
¤ &#164; &curren; Currency

 Brackets 

( &#40;  
[ &#91;  
{ &#123;  
< &#60; &lt;
&#139; &#8249;
« &#171; &laquo;
) &#41;  
] &#93;  
} &#125;  
> &#62; &gt;
&#155; &#8250;
» &#187; &raquo;

 Mathematical symbols 

0 &#48;  
1 &#49;  
2 &#50;  
3 &#51;  
4 &#52;  
5 &#53;  
6 &#54;  
7 &#55;  
8 &#56;  
9 &#57;  
¼ &#188; &frac14;
½ &#189; &frac12;
¾ &#190; &frac34;
% &#37;  
&#137; &#8240;
= &#61;  
+ &#43;  
± &#177; &plusmn;
&#150;  
/ &#47;  
÷ &#247; &divide;
* &#42;  
× &#215; &times;
&#149; &#8226;
· &#183; &middot;
^ &#94;  
ˆ &#136; &#710;
° &#176; &deg;
º &#186; &ordm;
ª &#170; &ordf;
¹ &#185; &sup1;
² &#178; &sup2;
³ &#179; &sup3;
µ &#181; &micro;
ƒ &#131; &#402;
¬ &#172; &not;
~ &#126;  
˜ &#152; &#732;
 &#127;  
&#134; &#8224;
&#135; &#8225;
     

 Hyphens, slashes and bars 

- &#45;  
&#150; &#8211;
_ &#95;  
/ &#47;  
| &#124;  
­ &#173; &shy;
&#151; &#8212;
¯ &#175; &macr;
\ &#92;  
¦ &#166; &brvbar;

 Accents 

´ &#180; &acute;
^ &#94;  
~ &#126;  
¸ &#184; &cedil;
° &#176; &deg;
` &#96;  
ˆ &#136; &#710;
˜ &#152; &#732;
¨ &#168; &uml;
     


HTML codes for special characters and symbols - June 01, 2006 Thursday
May 29, 2006 Monday
I'm ranting... you probably shouldn't read this.

Most illegal immigrants in this country not only enter illegally, but they must then obtain documents illegally and create false identities or worse steal another's identity. This is usually done with birth certificate fraud. Between 85 and 90 percent of all birth certificate fraud that is caught by the Immigration and Naturalization Services and Passport Services are genuine birth certificates held by immigrant imposters.

What I don't understand is why no one is bringing up the corealation between our current identify theft problem and our immigration issues. The fact is once you have broken the law, and are "hiding out" you have to continue to break other laws to stay "hiding out". For me the issue at hand is not one of jobs or taxes, but about how America views it's own laws. I work for the 3rd branch, so I probably see "law" differently. I believe that until laws are changed they should be upheld.

Not to change the subject, but another example of how we view "law/justice" in America is the local elections here for Knox County Commission. The Tennessee Supreme court decided to uphold a law that has been on the books for years regarding term limits. This would limit a County Commissioner's seat to two terms. The Elections have not taken place yet, but the preliminary elections took place about a month after the ruling. Most of these Commissioners have been in office for longer than 3 terms. and 13 would have been eliminated from the race, with this law being in place. Keep in mind that these are the people that make laws for the county. Only one person took themselves out of the race. they others all raced illegally. The local media made a big deal about whether or not they would later be kicked out of the commission if the law was to be enforced.

---what---

The local media didn't really talk about how our Law makers blatantly breaking the law. Or about how if you vote for them you are also "kind of" breaking the law. I have a problem with the people who continue to run, but i also understand that they are trying to keep their jobs. I have a bigger problem with the mass of people who still voted for them, knowing that what they are doing is illegal. I don't think a single one of them lost in the primary election. What is wrong with this picture. also If i can find a picture of the rodeo clown that we call County Commissioner I will post it below....
Ok I found one. This is a real picture. She looks like this everyday... usually she is wearing more makeup... I'll try to find one of those too.

Fun Fact:
Between 85 and 90 percent of all birth certificate fraud that is caught by the Immigration and Naturalization Services and Passport Services are genuine birth certificates held by immigrant imposters.

I'm ranting... you probably shouldn't read this. - May 29, 2006 Monday
May 12, 2006 Friday
G might be a Giant
Gabriel has been to several concerts in his short existence, mostly because we live so close to music venues. Up to this point he has never been greatly interested in the music. He usually finds some other children or a dog to follow around. I took him to see "They Might be Giants" at Sundown in the City. After all he listens to "here come the ABC's" quite a bit so I thought he might like it. I think they played the complete flood album while we were there. G danced and danced... and mooched off of other children who had chips that they were reluctant to part with. He really had a great time. I think he might actually look back and remember this as the first concert that he was aware he attended.

And to TMBG... man you guys are getting fat... (:>).. actually you guys rocked the accordian more than I have ever seen or hear. Thanks for that.

Related Links:
www.theymightbegiants.com
http://sundowninthecity.com/
http://www.tmbg.com/textWin.cgi?main=sign&subnav=helloLight

G might be a Giant - May 12, 2006 Friday
May 10, 2006 Wednesday
Frappr.com is in the(not) spam business
I recently was playing with the new google maps API for a site I was working on. You can add so much information to the maps, it's quite interesting.

I stubbled on google code, which has frappr under it's featured projects listing. I thought hey more map stuff I'll have a go. I signed up. It's actaully all my fault but in the signup process I sent invitations to everyone in my gmail address book. This address book is set to save any address I send or receive mail from... that's not spam.

Long story short I sent messages to people that I sent complaints to, others that I haven't talked to in years and for reason, and yet others who are businesses I have had dealings with, both good and bad.

I wrote all these people asking them to be my friend. How great is that.

If you signed up to be on my map, great... If you owe me money, consider the invitation a means of me finding where you live.

Related Links:
http://www.google.com/apis/maps/
http://tned.uscourts.gov/knoxville.php
http://code.google.com/
http://www.frappr.com/


Frappr.com is in the(not) spam business - May 10, 2006 Wednesday
April 11, 2006 Tuesday
Fish food = Feed fish as Cheese food = X


Fish food is eaten by fish. Who eats Cheese food?



Fish food = Feed fish as Cheese food = X - April 11, 2006 Tuesday
April 10, 2006 Monday
Segway Warning
A "co-worker" of mine, has a segway. I've always wanted a segway since I was 5.

He leaves the segway parked at different places. Though he has told me I could drive it, I have never feel comfortable with the thought of taking it for a spin.

After examining the segway and finding the warning label I am less comfortable with the idea.

The picture is to the right... I really can't think of anything funnier to say about the image that the image itself isn't saying.

Segway Warning - April 10, 2006 Monday
March 31, 2006 Friday
Looking for a Table, you never know what you will find

We have been looking for a cheap(but not too ugly) dinning room table. We've looked in many different places online, but haven't really found anything too substantial.

One of my co-workers mentioned k-mart. I haven't been inside a k-mart in 2+ years. I know Martha Stewart has some furniture pieces there and since they bought Sears, I thought I would have a look see.

We didn't end up at a nice k-mart. <- I'm pretty sure there is an oxymoron in that last statement. We pulled up to the front of the store and hopped out of the car. You know how toddlers stand, all swaybacked with there bellies forward, feet apart, with a slight sway from side to side. This was a store filled with adults standing just like that. It looked like 40 huge babies walking around, some had mustaches, others had bright red hair, a few were taking a smoke break outside, but they all looked like huge babies. It was awesome. If I had my camera and a cable for it I would post some pictures.

Back to the table. We found a pretty nice one that we might buy.

disclamer: Tim does not endorse smoking babies, and thinks that babies shouldn't smoke or grow mustaches.



Looking for a Table, you never know what you will find - March 31, 2006 Friday
March 30, 2006 Thursday
Can I borrow $16,000..... Please
EnigmaI could own a piece of history.

I could become the a mechanical Hacker... I could take my rightful place in the analog elite.

Ebay's saleservice-muc is offering an original Enigma 3. This should not be confused the with band Enigma. Actually nothing should ever be confused with that particular musical group. I'm pretty sure you can buy the band for $16,000 as well, but there isn't as strong of a market for them.

Simple Description of the Enigma:
The German Enigma is surely the best known of the WW2 cipher machines used by either side in the conflict. Invented in 1918, it was developed as both a commercial and military encipherment system before and during the war. Enigma is an electro-mechanical device that utilizes a stepping wheel system to 'scramble' a plaintext message to produce ciphertext via polyalphabetic substitution. Potentially, the number of ciphertext alphabets is astronomically large - a fact that led the German military authorities to believe, wrongly as it turned out, in the absolute security of this cipher system.

The description of the Enigma 3 on ebay says:
"Es fehlen ein paar Glühlampen (siehe Fotos) Es handelt sich um ein echtes ORIGINAL! Kein Nachbau!!"
How can you argue with that. If you are not sure that you really need this type of machinary try it out first.

I think my favorite part of this auction is in the condition section.
Condition -- used

Really.... Well how much for a new one... or factory refurb.

Related Links:
Ebay link
http://www.enigmamusic.com/index.shtml
http://russells.freeshell.org/enigma/

Can I borrow $16,000..... Please - March 30, 2006 Thursday
March 29, 2006 Wednesday
No more gold phone for me

nokia gold phoneI'm finally getting a new phone. It turns out my pimped out "GOLD" phone isn't as cool as I thought.

For the past few months I've had to hold the battery close to the phone in order to keep it turned on. I have dropped call after dropped call, but it's not to do with service, the phone just turns itself off. So I'm getting a new phone (the one on the right). This phone has a camera, which probably requires some sort of cable to retrieve the images. I have asked them not to send the cable for risk that I will loose it. It also will take memos, do my laundry and wash my car.

This is one of those free upgrades so I'm not expecting the greatest phone, but if it stays turned on... that's progress, baby.



No more gold phone for me - March 29, 2006 Wednesday
March 27, 2006 Monday
Bad Coffee

It was my turn to purchase coffee for work. It has become a game to see who can spend the least amount of money for the best coffee.
I failed.

I was shopping at a food city, when I remembered it was my turn. The cheapest coffee there as a large tub of "Folgers Country Roast".

[I will post an image as soon as I find my cable... see last post.]

The coffee is described as a finely ground medium roast coffee. I figured there really can't be anything wrong with that. I can only assume the coffee is ground finer to hide whatever nasty they have managed to get by the FDA. This is the worst coffee I have ever had.

In some ways it just lacks flavor in other ways it should but just tastes like dirt. With each sip I remember my grandfather spitting his tobacco into an old coffee can.

I tried mixing it with other things to make it taste better, but I think I am going to redirect my efforts into making it useful in some manner that doesn't involving tasting. Wish me luck.



Bad Coffee - March 27, 2006 Monday
March 20, 2006 Monday
Have you seen my cable?

If you haven't noticed, it has been a while since I have posted any pictures on the site.

It's not for a lack of pictures, I just can't find the USB cable to goes to my camera. It turns out there is a standard cable that almost all cameras now use. It also turns out that I didn't buy one of those cameras.

I have about 600 Pictures trapped on my camera with no means of escape. I refuse to buy one of those card readers, because I know as soon as I plug it in I will find the cable. More than likely I will have to remove the lost cable to plug in the card reader, thus finding the lost cable, and negating the purchase of the card reader.

If you run across a lost USB cable... Check it for ticks and send it my way. I looks like this (Artist Rendering)

Missing Cable



Have you seen my cable? - March 20, 2006 Monday
March 08, 2006 Wednesday
My new guitar puts out 6000 Watts PMPO...
...or possibly more.

At work today, I had to replace hopefully the last set of bad speakers. The speakers themselves aren't bad, but they have no volume. They are powered speakers but are quieter than most non-powered speakers. I read the specs on the back "160 Watts P.M.P.O.". Alright... I have had several power amps over the years, from tube guitar amps to digital t-amps. Most of my amps have been 30-50 and I've never been able to turn them "up to 11". I thought I should research this "PMPO", which I will now refer to as "pimpo".

Sound is difficult to measure, and there are many different ways to measure it. RMS, which is what you see most often, stands for "Root Mean Square". This takes a varying quantity squared, averaged it(I think its actually not the mean, but the average eliminating outliers...), then the squareroot is taken. This gives an average or typical value. That seems usable. Then you have "PMPO" which stands for "Peak Music Power Output". I looked around online to find some conversion between the two value systems. It turns out there is no industry standard for PMPO, so there is of course no method of conversion.

Basically what I found out is that PMPO is nothing. It is a marketing tool that companies use. They come up with some number and then create a formula to result in that number. I think its great. I wish I could do this in other areas of life. I would use "pimpo watts" for everything.



My new guitar puts out 6000 Watts PMPO... - March 08, 2006 Wednesday
March 01, 2006 Wednesday
The Origami Project (The art of Tablet Folding)

Well it's obviously a Microsoft product... and the word on the net is that it is some sort of tablet PC. From the ads on this site.. I think, it thinks its God. I'm not sure... It has some sort of Gates-complex. I will say I'm intriguid, and I want to know more. 3.9.06 is when they will reveal the next product that I can't afford.

Dire Straits RulesMicrosoft has this video on youtube.com that depicts Origami. Microsoft reportedly has confirmed that it produced the video but says that it’s old footage and not necessarily a preview of any product in the works. I'll say it's old footage look at the guy from this video. It's 1985 all over again. And the next shot makes me think it's just a glorified etch-a-sketch.

Anyway It shows the product being used in conjunction with all these other products: cell phone, camera, printer, magazine, fish sandwich. Its bigger than a palm and smaller than a typical tablet. If it remains in the palm price category, I can see it being one of the biggest things on the market. If it soars to tablet prices ($1,500+), I don't think many of the people in the video will be able to afford it.


Related Links

http://www.origamiproject.com
http://www.youtube.com/w/Microsoft-Project-origami?v=rV1WGDW37c0&feature=Views&page=1&t=t&f=b)



The Origami Project (The art of Tablet Folding) - March 01, 2006 Wednesday
February 11, 2006 Saturday
Latest Music
Last night I went to see Ben Taylor at Barley's... it's about 150 yards from my house so I decided to start going here and there. The show was worth the $5 over... and Ben was good.. place was packed... actually he was better than I had expected.

The group that played afterware (about 2 hours after) was great. I think her name was Trisha Freeman... but i might have watched too many episodes of the Boondocks lately and gave her a better last name. She had a drumer that played the Gimba. I stood there and recontemplated my writing style. I may not change... but I really liked it. I think to pull it off I would have to get pretty...

Oh well... I'm going to sleep this all off now.

Latest Music - February 11, 2006 Saturday
January 15, 2006 Sunday
Apple looks to diversify it's audience
MacbookJust look at this latest advertisement from Apple. It seems they are now willing to do anything to get new customers.

Of course this has been marketed for the untapped scottish crowd.

Apple looks to diversify it's audience - January 15, 2006 Sunday
January 12, 2006 Thursday
OSX on Intel

I have been waiting for a Mac OS to run on a PC. The closest thing without emulation has been BeOS, which I used to use until it became pretty much obsolete. (note: PearPC is a good emulator)

I had read (about the time that Tiger came out) that they where working on an Intel based system. I naively thought that I would be able to run OSX on my cheap PC. That is apparently not the case. According to mac insiders the OS will not be able to run on current Intel PC's. I could however run Windows on my new $2000+ MacBook Pro. (that is four times the price of my second car.)

Wow... I will finally be able to run an inferior OS (windows) on a Mac. Thanks Steve Jobs.

I'm currently running Fedora Core 4 at home and Suse 10 (novell released free recently) at work. My other work box is a gentoo box. I have to say as a desktop I am loving Suse. After I got Lotus Notes and Flash Mx running on it...

Until a full fledged OSX will run on true x86 architecture I will stay with what I have.



OSX on Intel - January 12, 2006 Thursday
January 03, 2006 Tuesday
Evolution for Windows
Wow finally... You have no idea how happy this makes me.
Evolution, probably the nicest most secure mail/calendar/organizer thingy is now being ported to windows.  

Evolution was developed by open source company Ximian, which was acquired by Novell in August 2003. Novell was at one time buying up every successfully, but small open source company (SUSE for example) a few years back. but their development/name stamping has been slow going, at least compared to other Open Source development. I'm downloading OpenSuse now. It apparently integrates well in a novell environment... I'll let you know.

I have been using Evolution for years, however I have never found it's equivalent in windows. I thought Thunderbird would be close, and it was, it's just not the same. I guess you just get used to something and it's hard to give it up. It's really the interface and environment that you get used to. I have downloaded all of the developers packages. If I get it up and running I will post instructions, or create some installer for those who don't have as much invested in evolution, but would like to try a really useful Organizing client. until then if you have a linux box and are not currently using Evolution (unless you are using Mutt), you should give Evolution a try.

BTW I currently use Evolution on my windows box via ssh/X-forwarding to my linux box (using putty and cygwin/X). This works well, but problems such as not being able to synch my palm and the slowness of X-forwarding makes this new port look very nice.  

Evolution for Windows - January 03, 2006 Tuesday
December 22, 2005 Thursday
Trip To Jackson
We are getting suited up for our trip to Jackson,TN. It has been a while since we have been there. And years since we have been there for Christmas.

A good friend of mine [Kris] is getting married in Memphis on the 30th so we will get to go to that. He's been one of the few people to visit us here in knox-vegas.

I'm going to try to hangout with [Dave] and Mickey, from [Overflow] fame. I look forward to meeting Mickey's new girl friend... Wedding bells will sound next June.... (i think).

Trip To Jackson - December 22, 2005 Thursday
December 21, 2005 Wednesday
So Close to Christmas
It's so close, I can almost taste the figgy pudding, even though I never have. I have a hard time finding the perfect gift for Lauren. We declared this was a self shopping year. It's easier and you always get what you want... Boy will I be surprised to see what I got her.

I think I got her a few sweaters, some gold shoes... the list goes on.

We are also in the market for one of those new fangled LCD monitors. I have this huge 21inch NEC monitor that flickers and causes mild to medium grade seizures. It's a health hazzard. Here is the monitor that we are thinking about getting. It reminds me of KitchenAid appliances. It is red and white and will clash with pretty much everything in our bedroom/office. It's gonna be great. Merry Christmas to me.

So Close to Christmas - December 21, 2005 Wednesday
December 19, 2005 Monday
Atlanta Trip
We took a little trip to Atlanta this past weekend. I have only been there once, and it's only a few hours away, so we thought it might be a nice change from the ordinary.

The Highlight to the trip was a trek to the Ikea Store. I am a big fan of cheap furniture and fun stores. This was one of the coolest/biggest stores I have been inside. Gabriel had more fun running around that store breaking things than he has had in a long time. We probably own them around $240 in items that he broke, but with my excellent hiding skills we made it out with our wallets.

We purchased a cheap-ish wardrobe, several hanging racks for the kitchen and some fun items for Gabriel (including a table and chair set, that got him eating again). I think we spent 4 hours there and saw half of the store. (the children's area is a big trap, so watch out).


Atlanta Trip - December 19, 2005 Monday
December 14, 2005 Wednesday
Real Estate
I have been reading several articles about disturbing real estate trends...

I found a great little article comparing statistics of "Job Growth vs. House Prices" Click Here. Not being a homeowner personally, I might look at this differently. a) I don't have equity in anything... Those old Topps and Donruss baseball cards aren't going to end up paying for my retirement. b) I do however live... and the housing market effects so many other things in our economy....

I'm torn between wanting to buy as quick as possible and wanting to rent until it all blows over, then wait for foreclosure sales. Maybe instead I will wait until i have enough money saved up for such a large down payment that the interest rate and price will not effect me as greatly. I would have instant Equity. or course I'm not sure how good that is compared to instant money in the bank... Time will tell.

Real Estate - December 14, 2005 Wednesday
December 07, 2005 Wednesday
Computers... Who needs them
I have had the worst luck with computers this year. Being a programmer its hard for me to admit that I hate them sometimes. I have always bought used/Older equipment, (I might not have mentioned, I program for the government.. this is all I can afford). Anyway I bought a brand new DVD recorder from newegg.com (for like $40, shipping and all). I got it in, and was so excited. (I have spent at least $100 on replacing my son's scratched CD's So in the long run this will save me money. 

As I was installing it I decided to take the whole thing apart to clean it. I even took the heatsink/fan out to clean the bunnies out. I put it all back together. Some of the thermal paste had been cleaned off and the connection for the CPU to Heatsink was not tight enough. Burnt the CPU up. After years of overclocking, and all that I have done... With normal "Default multiplexer/voltage, ect setting" I burnt my first CPU. I wasn't sure if I had burnt the CPU or something in the motherboard itself went sour. I decided to purchase a new motherboard as mine was pretty old.

After purchasing the board I remembered that I had an old motherboard in the house an athlon 800. I still fits (big drop from the barton, but it was a good test...) this Processor worked fine. I still thought having a new motherboard was not a bad Idea, so I let the purchase go through... 2 weeks later Still no board... I called to complain. It turns out they Lost my order... (Worked out better in the long run, but really ticked me off) the place I ordered from was targetpcinc.com. I cannot say enough bad things about them. So I won't start. I hope that you never have to deal with them... I will never have to deal with them... They did finally just refund my money, but the time that I waited is lost.

During this time I have also purchased a used laptop... LCD went out, bought a replacement... Found out it was the motherboard on the Laptop not the LCD that was bad. I will now repost the New LCD and the old one on Ebay... Someone please buy these.. I will place the link soon.


Computers... Who needs them - December 07, 2005 Wednesday
December 05, 2005 Monday
It has been a whilte
Well it's been a long time since I have posted anything... It's actually been a long time since the blog was even up. I promise to start posting more. Seems like I not only lost some messages but I also lost all the images.

It has been a whilte - December 05, 2005 Monday
March 11, 2005 Friday
Lego Church
I've always been fascinated with architecture, and lately I've thought about building a miniature version of the house that I would like to build. You know using sticks, paper, sticky tack, jelly beans, etc. I've found a new medium, well not new, quite nice none the less.

Here's a little info:
How long to build it?:::: It was about a year and a half of planning, building and photographing.

How many pieces of LEGO to build it?:::: More than 75,000

How big is it?::::: About 7 feet by 5 1/2 feet by 30"

How many lego people does it seat?::::: 1372

How many windows?:::::: 3976

It features a balcony, a Narthex, stairs to the balcony, restrooms, coat rooms, several mosaics, a nave, a baptistery, an alter, a crucifix, a pulpit and an elaborate pipe organ. I lost the pictures, but found one recently on a blog somewhere.


Lego Church - March 11, 2005 Friday
January 16, 2005 Sunday
looked at houses this weekend

There was this Open House today, We aren't familiar with the neighborhoods in KnoxVegas, so we decided to take a gander at this house. We drove up to the gated community, it looked nice, but the houses looked small, so I thought, maybe we could afford the area. The house was a small two story cottage. Beautiful stone work, large Iron door and a wall fountain greeted us as we approached. The roof was made of slate sheiks, which seemed like it would be very low maintenance. The details in the house were amazing from the rounded wall edges to the wooden refrigerator. The price for this cottage was 400,000 or so above our budget. We found out that we could buy a Lot in the subdivision for the amount we were looking to spend on a house and thought we could possibly pitch a tent or buy a cheap camper. The homeowners association forbids animals over 40 lbs, garage doors left open and chickens, among other things, So the tent or camper would probably not fly with the association. Also who would care for my 50lb chicken.



looked at houses this weekend - January 16, 2005 Sunday
December 20, 2004 Monday
It is Cold
It is so cold here, in Knoxvegas. It's on the same basic Latitude as Memphis
[ (Knoxville 35° 49' N) <--> (Memphis 35° 3' N) ].
I should be getting a new coat for Christmas. Speaking of Christmas it seems like it's already here at my house. Lauren's parents are here from Indy. Gabriel is thrilled to have some one other than me and Lauren to see everyday.
Don't tell him but we decided to build him a real (outdoor type) swing set inside the house. We have very tall ceilings, so that part shouldn't be a problem. The Swing is at the house. We also have a Climbing wall. We need a slide and I guess no playground can really be a playground without the eatable wood chips.

 

It is Cold - December 20, 2004 Monday
December 15, 2004 Wednesday
KORN shell Help
I'm more of a bash guy, So anything to help me with a non-bash box is a great help. This information is a great quick reference.

For the KORN SHELL
first in .profile or command line (set -o vi)
this sets your command line editor to vi.
I would venture to say that all unix systems have vi.

KORN Shell Escape Sequence Commands
ESC+\ = autocomplete, will complete upto the non-unique character.
ESC+* = space delimited list of all files that match the start pattern.
ESC+/str = search the commandline history for str.
ESC+n = search for the next occurrence of str.
ESC+k = go back one in the commandline history.
ESC+j = go forward one in the commandline history.
ESC+$ = go to the end of the current line
ESC+0 = go to the beginning of the current line
ESC+i = return to insert mode
ESC+A = append to the end of the current line
ESC+I = insert from the beginning of the current line
ESC+fx = move cursor to the right until the next occurrence of x
ESC+Fx = move cursor to the left until the next occurrence of x
ESC+x = delete character under cursor and place it in the buffer
ESC+p = place the contents of the buffer after the cursor(combining the last two keystrokes)
ESC+xp = transpose two characters


KORN shell Help - December 15, 2004 Wednesday
December 04, 2004 Saturday
Living to our limits
There is a song by the Barenaked Ladies that says "If I had a million Dollars... We wouldn't have to eat kraft dinners. But we would, we'd just eat more".

I've been thinking lately about how we always seem to live right up to our means. I have thought many times, "If I just make this much... things will be ok". Well it turns out once we get to that level, things really are about the same, you just have more stuff and more bills.

I thought maybe the concept of wanting was mostly Media based. That the commercials we watch make us want things. I've been watching my son lately (He's 16 months old). I would say that he is innocent, (in a manner of speaking) and not commercialized up to this point. So with this (marketing centered wanting idea) you would think he would be a pretty content guy. This is not the case. He wants everything around him, especially things he's not supposed to have. His world is slightly smaller than mine, his desires do not include houses, cars, careers, ect. However the desire is still there. A desire we many times blame on media, or some other influence. But even the media's untouched have the same basic wants.

As I'm working my way up the Corp ladder, I've noticed what I