Error 

Archive for August, 2006

Journey back to being fit

Posted August 29, 2006 at 09:08pm in Cycling, Health

When I moved to California I was not able to go to the gym everyday like I was in Virginia. With my current situation with the bearing on my car and living so far away from everything the gym is not an option right now. When I was younger I used to ride a road bike with a neighbor, but in this area people did not seem to care too much about the safety or right of way of cyclists and being 13 or 14 it was not safe for me to ride alone with that driver mentality.

I recently picked my bike up from my storage unit to see about replacing the tires which we thought had become damaged from dryrot. Not the case. I purchased a new pump that will handle a tube with a presta valve and went on my first ride tonight. While I did well, it really let me know just how out of shape I have become.

Tommorrow night I plan on riding 10 miles, but considering riding to exhaustion so that when I ride in an area that is not a circuit I know I can get back. I’m really excited though. When I worked out I had a blast and when I would ride all the time I was excited so the two should put me in a better place not just physically but also mentally.

P.S. I have felt like crap today which hasn’t helped much

Birthdays Bah Hum Bug

Posted August 21, 2006 at 07:08pm in General, Life

Tommorrow is my 24th birthday and for me it is just another year that has not worked out the way I wanted, not even a little bit. The other downside of it is that most of my friends will forget about my birthday as they have for the past 4 years. Birthdays aren’t even that big a deal, but I would just like someone to care enough to remember my birthday. I know there are people who care, but sometimes that isn’t enough. One of the worst things about it is that most of my friends are on MySpace and there is a nice little feature on their site that notifies them when a friend’s birthday is coming up. I had one idea that I would only speak to the people who remembered, but there are friends, more specifically Casey and Lawrence that I wouldn’t do that to. I know they care, they have cared for the 10 years I have known them, while the other friends I have continuously hint by way of actions that they have no real interest in being a real friend.

With all the bad there is at least one good thing, I get to have the afternoon off, which I will actually be spending configuring two Shuttle systems I built for a client.

As I write this one of my friends wished me a happy birthday.. Thanks Josh

One reason not to live in the country

Posted August 17, 2006 at 05:08pm in General

I live in a very rural area in South West Virginia, NOT West Virginia, SW Virginia. On most days I would say there is a big difference (No offense WV residents), but today I do not know if I can ever say that again. I come home at noon to grab some lunch and I see this white thing laying in my driveway. Knowing I didn’t leave anything white on the roof I get out to examine this object. To my discust I find that someone drove down my driveway and took a SHIT in the middle of it. You heard me right, someone took a shit in my driveway. Granted it is not paved or anything special and hell if someone has to go then by all means use the outdoors, but did you have to leave a PILE of paper towel covered in POO in the middle of my driveway.

The way people are in this county it would not suprise me if someone who disliked me thought it would be a good way to stick it to me. That also deminstrates the intelligence of the people in this county. OOOO you poo’d 50 yards from the entrance of my 4/10ths of mile long driveway that will teach me. Please… piss off and find a new hobby.

I hope I catch someone doing it one day, not that I want to see anyone taking a crap, but anyone that would do something like that deserves to be embarrassed.

Another thing that makes it bad is on the left side of my driveway is a area that would have been better suited for such activities and I never would have noticed. It is a brushy area with trees and plenty of cover, but if your IQ is < 50 you may already have a hard enough time remembering how to wipe.

Wordpress Post Popularity

Posted August 12, 2006 at 10:08pm in Computers, Programming, Wordpress

For anyone wanting a popularity ranking for Wordpress posts that are also using the WP-Postviews plugin this is a solution. It isn’t the best version, but it does what I want. Someone has already created a popularity plugin, but it did not work for me and taking the time to make it work could not be justified.

$int_tpop = 0;
the_pop();

function the_pop() {
        global $wpdb, $int_tpop;
        $total_views = $wpdb->get_row("
                SELECT SUM(meta_value) as tviews
                FROM wp_postmeta WHERE meta_key = 'views'"
);
        $int_tpop = $total_views->tviews;
}

function return_pop ($views = 0, $total = 0) {
        $formatted = number_format((($views/$total)*100), 1, '.', ");
        $out = $formatted;
        echo ' <b>&middot;</b> '.$out.'% Popularity';
}

Enter this where you would like the popularity to be displayed.
<?php return_pop(trim(the_views(",FALSE)),$int_tpop) ?>

I placed the above code into my header template file and placed the last line of code in my post display file. If you have any problems please let me know.

The Cheetah goes GRRRRR

Posted August 12, 2006 at 12:08am in Computers, Programming

I started playing with Cheetah tonight and as of right now I hate it. Not for the system itself but because I can’t get the shit to work. I keep getting errors and cannot find solutions to them. I have tried running examples people have put online and they don’t work either. I am about to just give up on it because there are other templating systems that will give me less headache. And after giving this post the title I did I want that toy with the pull string that tells you what noise the animal makes.

The Pete goes NIGHT