Ode to …
So installing Trac on a shared host is a pain in the ass … just a FYI
Here’s my Ode to Guy:
lolz
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
) 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:

I totally still have mine too
Father’s Day
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:

Big Calc 3 test tomorrow
Summer … Except Not
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?
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, $errstr, 2) or die("can't connect\n");
if($fso) register();
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, $errstr, 2) 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