sugardeath

So. After who knows how long of not working on my plugin, I came to a revelation last night: Why bother replacing the spaces in the URLS with plusses?? Browsers nowadays should be able to handle that with no problem! Opera replaces the spaces with “%20″s automatically. Firefox doesn’t replace them, but can handle them just fine. Same with Internet Explorer. So what was I even trying to do that? Hell, even Links behaves exactly like Firefox and IE! After realizing that and fixing the plugin as such, I now present to you… the Everything2 Pipe Linker Plugin! Download, share, use, abuse! Well, perhaps not abuse… but you get the idea! Hahaha! I’m so happy the thing is finally done! Huzzah! I even added a sink that allows one to use pipe links in comments! Go crazy! For those unacquainted with pipe links, see this node. They’re really nifty things.

Check out the wp-plugins.net dowload link as well:
http://wp-plugins.net/plugin/e2pipe/

How about you?

Anyone have any idea how one might go about creating a graph (specifically a line graph) with PHP? I wanna record and plot my connection speeds over a period of time (I’ve been having issues for the past two months or so). Plus I would learn more about PHP in the process.

Um. Not much. I still haven’t asked Ashley to Homecoming :cry: Everytime I see her, I just get… scared, almost… I know I should ask her though, no matter what she says, at least I would have asked. We actually talked yesterday, though, so that was cool. Why I didn’t ask her then, I don’t know.

School is almost to the point of whipping my ass. Physics, while at first glance seems pretty easy, is actually very time consuming and challenging. I don’t like it. Trig isn’t bad, but I keep falling asleep in class. If only I could stay awake, then I would never have trig homework. We have homework everyday in English. German prepositions are kicking my ass. Sociology and Swim are my only classes I can really relax in. And even then, I can’t really relax in swim… Problem is, they’re both in the morning. Nice classes to wake up to, yes, but I’d like a break later in the day between the evil classes.

Can’t have everything.

Apparently Opera went free a few days ago. Go download it and try it out. It took me a bit (read: well over an hour) to get everything how I wanted it, but once I goet everything set, I was happy. I was amazed at how much I could change and customized. It’s crazy. It feels a bit more responsive than Firefox, I think I may be converting (gasp!)..

If you’ve always wanted to try Opera, but the ad-supported, free version scared you, and/or you were just to cheap to pay for the browser, I suggest you check it out NOW. It’s really nice.

This doesn’t mean I won’t uninstall Firefox though.

PortableFirefox is a fscking godsend. Opera can’t beat it there.

Why consider switching?
1) Smaller download.
2) Many features that are only availabe as extensions in Firefox come built in.
3) Eats less RAM than Firefox.
4) Looks damn nice.
5) Why not? If you don’t like it, simply uninstall it and go back to Firefox or Konqueror or Netscape or whatever (just as long as you don’t go back to Internet Explorer, which hopefully isn’t possible if Konqueror’s on your system).

Monkey.

Alright! I’ve got a basic example of what I want to happen!

My Poem (without the spaces) becomes My Poem!!

However! It doesn’t replace the spaces in the URL with +’s yet, nor does it add the title attribute to the a tag…

But! I DO have a script that does JUST that with a fixed string (ie. NOT the random content produced whenever I post) over here. Thing is, it can only be done with one string right now. Somehow, I need to incorporate the second script into the currently functioning (albeit limited) plugin. I would need a way to search the $content for any string that starts with , and ends in . I don’t want [$any_text] because that would include additions to quoted text, and even what little BBCode I use. Plus it just plain wouldn’t work, as there would be no $result[2] to call for the link text.

All in all, I’ve still got a lot work ahead of me. I’ve managed to come this far, though, and I’m quite proud of myself. For several hours I was confused as all hell trying to figure out regular expressions, but I think I’ve got them pegged now.

Time to sleep.

(6/28/2005 - 17:5)

Alright, plugin turned off for now, due to some major errors that it’s causing with the wp-header. I’ll try to figure that out in due time.

(6/29/2005 - 3:24)

I lied! Plugin back up and running! No errors!

Check it out:

It’s my very own little “progress” bar script that shows how far along I am to getting my computer! I didn’t realize PHP could output graphics, that’s so cool! This brought me back to the days of Demonica (a playerworld Paul and I used to work on for Graal). I created an EXP, MP, and HP system MUCH different than that of the main Graal game (the main one was still there, one could never get rid of it entirely) and created little bars that could easily represent how much of whatever you had in a quick glance. The only real difference, however, was that the images weren’t generated on the fly, I had to whip them up in Photoshop before hand. But this is so cool! Granted, I still have to edit the file to input a new value, but the fact that it will update everything else on it’s own is awesome. There’s also a vague little description of how I came up with the formula here. There’s probably a better way, but this way works. Now I just need to stick this progress bar in my sidebar.

edit: Accomplishing this also brought me back out of my… um… “weird feeling”… Yea. Nothing like scripting to brighten one’s day! Now I just need an exact value instaed of 20.4. I chose that number because it sticks out in my head as my first paycheck (’twas just the training class) for some reason.

edit (12:20AM): Alright, exact value found. $20.89. Next paycheck should be a bit more, this last one was just the training class that I had.

edit (12:37AM): Added progress bar to the side bar under the “other” tab, resized and everything.

My mom just came back from the store and gave me a pair of pajama pants that are lighter and softer than the sweat pants I’ve been wearing. They’re really nice, soft, and (most importantly) large! They’re awesome, I won’t be changing out of these for a looong time =P

Earlier, Jason asked me if I knew how to make a page (specifically, the main TF page) use a different style sheet based on the time of day. Jason was trying to do it with mod or something like that. I still have no clue what mod is, even though he tried to explain it to me. So, after a nice Tribes 2 session, I hopped on google and searched for ‘php time of day script.’ I came across this nifty script which displays different greetings based on the time of day. Well, I just took it and stripped it down HEAVILY. It now only checks to see whether it’s before 10PM, or after 10PM, and displays the appropriate stylesheet.

Also: I added a link to Questionable Content, a hilarious comic about the life of an introverted guy, his anthropomorphic PC, and a chick that moved in with him after she caught her apartment on fire. It’s awesome, and seeing as how they’re only on comic #140, it’d be best to catch up now and read periodically, than to catch up once they hit #300 or so.