30Jun

Ode to …

Coding, School

So installing Trac on a shared host is a pain in the ass … just a FYI :P

Here’s my Ode to Guy:
lolz :D

So I bought a whole cheesecake for me, myself, and I the other day. MMMMMMM It’s so good! I’m a 300lb man trapped in a 140lb body :D. (Don’t ask for any, it’s almost gone ;) lol)

Got a 97% on my Differential Equations test! Yay, although I’m slightly upset I missed those 3 points :’( I wanted the A++ personal bragging rights lol. Had a friggin Calc 3 test today … I’m so tired of studying :/ it’s teh lameness.

If anyone’s interested (I doubt anyone is :P ) here’s the main class I use that powers TheSpiffyLife.com: comic.class.php
I’ve thought about making what I use available to others (admin section, etc) because I’ve only come across a couple of other methods to make a comic site with PHP. One being ComicPress (which is nice, but it’s a theme/plugin for WordPress [obvious by the name], and not everyone wants / needs WordPress along with what they have) and the other ComicCMS (which is fairly basic but doesn’t utilize an actual database to save the info, so it’s scope of future features is pretty limited).

PS. Ode to PHP ;)

PPS. Hilarious Blast From the Past via Sega:
sega = hilarious
I totally still have mine too ;)

15Jun

Father’s Day

Ramblings

So yeah, today is father’s day, so they tell me. If my dad weren’t such an ass maybe I would have remembered/cared. Anyway, this is highly entertaining:

father's day

Big Calc 3 test tomorrow :( … full of suck

06Jun

Summer … Except Not

Coding

Summer is supposed to be a time of uber laziness … waking up at 10 in the morning (at the earliest) and going on all sorts of random trips to random places with friends.

Alas, I have class monday through friday at 7:30 in the friggin morning … what’s up with that? :/

It’s not all bad I suppose. Right now it’s rather easy, but I guess I have my “big head” to blame (or thank?) for that, now don’t I? :P

I made an ircbot in php out of sheer boredom. It was actually a lot easier than I had imagined. The main file is below, the others are here.


<?php
include("config.php");
include(
"functions.php");

$fso = @fsockopen($host$port$errno$errstr2) or die("can't connect\n");
if(
$fsoregister();

while(1) {

    $buffer fgets($fso);
    
    if(
strlen($buffer) > 2){
        echo 
"[RECV] {$buffer}";
        
$bad 0;
        include(
"commands.php");
    }
    else{
        ++
$bad;
        if(
$bad >= 2) echo "connection issue?\n";
        if(
$bad >= 10$restarting TRUE;
        
#if we haven't heard from the server in a while, reconnect?
    
}
    
    if(
feof($fso) && $restarting !== TRUE) die("connection broke!\n");
    if(
$restarting === TRUE){
        
sleep(1);
        
$fso = @fsockopen($host$port$errno$errstr2) or die("can't connect\n");
        if(
$fso){
            
register();
            
$restarting FALSE;
        }
    }    

    flush();

}

?>

The semi-interesting stuff is inside the commands.php file which plays ping/pong with the server, alerts NickServ to who you are, and replies to my random commands.

Yay for boredom!

Elaine’s coming over tomorrow, :D.

-josh

PS. fun convo with guy

Guy: who knows
Guy: hmm i’m going to go exercise and shower
Guy: brb
josh: at the same time?
josh: that’s nasty, i know what you’re doing in there
Guy: lol

11May

Mother’s Day

Mom

So today was the everso popular Mother’s Day. A day meant to be grateful and cherish everything our mothers have done for us throughout the years. My sister and I decided to go to New Tazewell, TN to my grandma’s house (where my mom is buried) yesterday and come back today. I hadn’t been back there since the funeral, so I hadn’t even seen her grave yet. I had almost been avoiding it purposely for some time now. We went to church this morning (the graveyard is connected to the church) and saw the grave before we went in. It was really weird. As I looked down my mind just took me to the funeral when her coffin was being lowered into the ground. That’s all I could see. I lived most of today in my head, with my eyes wide open experiencing the past as if it were happening right then. We then go inside and sit down, and about five minutes after I sit down I realize that I’m sitting in the exact same spot I was during the funeral service. Everytime I look up, for a split second part of me sees her coffin sitting right where the alter is. If I wasn’t already close enough as it was this just got me crying like a baby. My grandma hadn’t even thought about it until it was obviously too late. I was afraid we’d have to leave but I managed to pull myself together and withstand a two hour service without going insane.

It was a hard, weird, awkward, out-of-body experience kind of day. Plus a three and a half hour drive home by myself left a lot of time for reflection and crying. I guess it was needed … I guess in the grand scheme of things it was time that I did it. Doesn’t make it any easier or more profound.

To keep my mind off it I took a few pictures while I was driving home. My grandma lives in the mountains … it takes about an hour to get back to the paved road… good times.

01May

More Random Crap

Ramblings

So exams are almost over … in fact they will be mid-afternoon tomorrow… JOY! I can’t sleep, so I end up thinking too much and finding silly pictures.

chucky doing coke

ouch

For when people should really just … stop

stop talking!

this one reminds me of a song I just listened to: To Hell With the Devil by Stryper

the serpent and the apple

this is for all you that use twitter like you have alzheimer’s

Of course this may been because it’s exam time, but I tend to wonder if countless hours of really, really upperlevel calculus, physics, and circuits work is going to be very entertaining 20 years from now. By the time I graduate I may decide it’s time to switch to Computer Engineering or Comp. Sci. … who knows. This can’t have anything to do with that calc final I just took … nothing at all.

Sleep would be nice … how does that work again?

And God, although I do appreciate the work you put into creating sunrises, is there anyway I could miss this next one? Preferably off on some distant adventure having the time of my life … a lucid dream would be nice … one that doesn’t make me wish I hadn’t slept.

  • Archives