Today, I only rent the land, but a few years ago, I used to rent mobile homes. I had one fellow who had a couple of kids and was squeaking by. Like most people, he tended to live paycheck-to-paycheck. I tried everything short of paying him to help him stay in my rental, but eventually had to evict him.

During the last week or so of his stay, we were still trying to work things out and he said he was speaking with someone about something at lunch earlier that week. Now, I need you to picture how I lived at that time. I had gone to work for Wal-mart because my rentals were not pulling in enough money for me to live on and my savings were quickly dwindling.

I live a pretty meager life. I don’t eat out. I don’t commute. I combine trips to save fuel. I only watch matinees at the cinema. I set up a community book exchange to lower my book costs. I drink a diet powdered drink to save money on food. Back when this was happening I didn’t even have cable TV.
(more…)

In another lifetime, I used to work for The Home Depot. Back then, it was important to me to know as much about big box retail as I could learn. I read the insider magazines and read a lot of the manuals and generally tuned my ear to anything having to do with any of the big box retailers.

I met a fellow once who had worked for a lumber yard who was a competitor of ours. I asked him why contractors seemed more likely to go to his stores rather than mine. He said something which made very much sense at the time and something which later I would participate in as well.

As a mobile home park owner, much of my time is spent doing odds and ends jobs around the park. It is not uncommon for the company pickup truck to be loaded with plumbing parts, tools and other valuable items.
(more…)

I ran across this piece of code in a program I am updating. The original author is a great game designer, but only a fair programmer. He also seems to have very limited experience with SQL.

[php]
if ( $grab == ‘Ammo’ ) {
$check = mysql_query(”SELECT * FROM BF WHERE owner= ‘None’ AND country=’$fetch->location’”);
$num_rows = mysql_num_rows($check);

if ( $num_rows != 0 ) {
if ( $fetch->location == $location ) {
mysql_query(”UPDATE BF SET owner=’$username’, profit=’0′ WHERE country=’$fetch->location’ LIMIT 1″);
$this->content .= “You got the Bullet Factory!”;
}
}
}
[/php]

When writing database applications, you need to be as good at writing queries as you are at writing code. Here’s a rewrite:

(more…)

I tried to watch the movie Stakeout (1987). I kept getting interrupted by the children in my neighborhood, but I did see the opening scene or two.

Richard Dreyfuss and Emilio Estevez play police detectives and they are chasing a criminal on the docks near some body of water. In the second or third scene Richard’s character has the suspect covered when Emilio’s character pulls up in a forklift and breaks the line of sight to the criminal.

During the this first part o f the movie I keep waiting for Richard’s character to ask Emilio’s character what he was doing on the forklift. Forklifts are not generally faster than people and starting one often requires specialized knowledge (like knowing the location of the safety interlock switch). It is very unlikely that the forklift would have aided in the arrest.

(more…)

Picture this. You are called in to a local court and asked by town officials about your earnings over the last year. It is revealed that you have had a really great year. Your pay went up and you were able to pay down your existing debt. You have a few skills that make your labor much in demand. Demand is so great that you will see a massive increase in pay this coming year.

Now, one of the idiot politicians asks, “Since you made so much money last year and since there is a shortage in alternatives to your work skills, why not work for less next year.” I’m willing to bet that you would probably want to ask the idiot politician what he or she was smoking and whether they were willing to share.

Let me make sure you understand what I am saying. You have a highly demanded skill, but there are alternatives for your customers. Unfortunately, all those alternatives are even more expensive than purchasing your skills. Your customers are hitting hard times and they need financial relief from your high prices.

(more…)

I just ran across this web site titled:

Don’t Get Scammed - Top Internet Scams Exposed!

And in the tet I found this. I kid you not:

Our top pick is Grant Search Guide which is %100 free all you have to cover is the shipping costs ($2.95).

Let me get this straight. The bastion of honesty about internet scams is telling me a bold face lie and wants me to somehow believe that paying $2.95 is some how the same as 100% free.

(more…)

Many years ago I lived on Long Island in Suffolk County, NY. I have always been an avid bike rider and I recall a personal best where I rode solo for 42 miles. I don’t recall how I did the first half of the ride, but I took a beach road most of the way back.

I visited the beach on my bicycle at least once a week back then. I occasionally commuted to work 18 miles each way also. I even did Bike New York several times, but I remember that one day especially clear. Perhaps it was because I didn’t plan it or perhaps it was that I didn’t have to wait for others in my group to catch up. That day was just a magical day.

(more…)

In our last exciting episode, I promised a crude flowchart and I don’t want to let anyone down. You’ll need to click on it to see the whole thing. Feel free to open it in another window and follow along.

As I read my previous posts it occurred to me that you may not see where I am leading with all these files. The idea I have in mind is to allow editing a particular section of the web site in just one file, but more importantly, I want to limit the changes made to that file to affect only that portion of the web site we are making changes to. As long as each section edit maintains well formed markup, that should happen in each instance.

(more…)

In our last exciting episode, I presented a very basic use for SSI. Let’s take a closer look. Here’s an example include directive which pulls in the contents of a file named content.html located in my www directory.

[html]

[/html]

Now that’s pretty powerful if you have never seen it before, but it gets old quick. Let’s add a little power using an Apache variable.

[html]


[/html]
(more…)

Oh, I just had the worst meeting and I can only blame myself. More than a year ago, I made a big mistake and I am paying for it now. You see, I own a small mobile home park in Stephenville, TX. I live right in the middle of it. I lease my improved land to mobile home owners. I do not own any home other than my own.

Just about a year ago I was not feeling well and a two homes in the park were purchased while I was shut in my house. When I was notified of the sale, I should have immediately informed the buyers who were the current residents that they had no lease and that they needed to move out of the park immediately. As you can probably guess, I didn’t do that.

(more…)

Next Page »