I haven’t posted in awhile due to being rather busy. I’m still around though, and I’ll answer any questions anyone may have. I just upgraded the version of PaginateIt to 1.1.1 to fix a bug mentioned by a couple of users in the original PaginateIt post.

I also have a new version of PaginateIt that is completely rewritten to implement three different methods of pagination. It won’t be based on the same API as version 1. The reason I did this was to be able to write unit tests, so when I make changes, I can catch anything that may have broken. Let me know if you’d like to test it out and I’ll send you a copy.

After coding pagination functionality into a million different sites and wasting too much time every time, I decided to give OOP a shot. I’ve used this class in one site already, but haven’t tested it extensively, so there may still be some bugs.

I also used this opportunity to check out different software licenses and settled on The MIT License as it provided more flexibility. I checked out the GPL that I’ve heard so much about, but I thought it to be too restrictive for this project. This is being provided as is for whatever use anyone may want it, commercial or otherwise, under the condition that my copyright stays intact. I’d like a little credit :)

I had inline documents within the class, but I forgot to save and I don’t feel like going back and writing them again at the moment. So if you want to know what something does, just ask me. The readme documents the methods and usage.

Go ahead and leave feedback and comments about anything (licenses, documentation, coding style/preferences, etc). I’d especially like to know if anyone finds this useful.

PaginateIt.zip – contains readme and source file

Well, I’m gonna have to go get my first Microsoft Certification for work within the next 3 days. I’m not particularly looking forward to it. Not because I think it’s going to be hard, but because I hate getting off my lazy butt and driving up north, especially in traffic. Oh yeah, that reminds me, I need to pick up my license plates from the dealership for my new truck. I think a received a phone call a couple of weeks ago, telling me they were there.

I went down to the Watermelon Thump in Luling, Texas yesterday to spend the day with my family. It’s a pretty interesting festival that’s been going on for years. They have a watermelon seed spitting contest and I think the person who holds the world record is from Luling. ESPN was even down there filming part of the contest and interviewing the record holder. Brody and I walked around checking out stuff when we wandered into a building where an auction for the grand champion watermelon was being held. The bidding got pretty heated between a couple of bidders before the damn thing sold for $8,200 dollars. Reserve champion went for $3,400. I think I need to start growing watermelons.

Later that night, we all went to the Gary Allan concert. Jason Allen opened for him and I was pleasantly surprised. I’ve heard him on the radio a few times, but didn’t pay much attention. He has a strong voice and was a pretty good entertainer. If you’re into country music, or Texas country, I’d strongly suggest checking him out. I think Gary Allan showed up a bit late, but it was definitely worth it. He’s been one of my favorites singers since I first heard him. The performance was awesome, and some of the songs were definitely touching. Anyways, both are great artists that I recommend if you’re into that kinda music.

Occasionally, my cable modem from Time Warner decides it doesn’t wanna work. Actually, it happens a few times a day and I have to recycle the modem (unplug power, wait 30 seconds, plug back in) for it to find the connection again. It drives me insane because it likes to drop the connection exactly when I’m gonna do something mildly important. I’ve called TWC about getting another modem, but I gotta answer all these stupid questions from the support guys who pretend it’s my router or my fault somehow, and I’m just too lazy to drive across town to pick up another one. It wouldn’t be super bad, but once I’m back online, I can’t connect to any sites that I attempted to go to while the connection was down because Windows XP keeps bad responses from websites in the DNS Resolver Cache for 5 minutes. So here’s a fix for anyone else experiencing the same problems.

Open a command prompt by clicking the “Start” button, then click “Run…“. In the command prompt, type this:
ipconfig /flushdns
and press Enter. That’s all there is to it. If you don’t like the command prompt, you can go to Start->Settings->Control Panel->Administrative Tools->Services then click DNS Client and restart it.

I googled DNS Cache after writing this post and found this page that has more information, along with a Registry Tweak to keep WinXP from caching negative responses: DNS Resolver Cache By Vic Laurie

I suppose this is my obligatory re-introduction. I say “re” because I kept a blog a couple of years ago before it was the cool thing, but the amount I’ve learned about web development during that time has increased immensely. Now just seems like the time to jump back on the wagon. I wanted a place to log whatever nifty nuggets of information I might find, to voice my opinions on a whole range of issues, and I just felt left out with Brody (brother) and Junior (friend) starting their own blogs.

I’m by no means a designer, so I gotta throw a thanks to Ian Main for the Green Marinée theme that I modified for this design. I’ll probably end up getting my brother to make me a new design, and I’ll code it up and contribute a theme back to the wordpress community, so don’t get too attached to this one.

Of course I gotta put a plug in for my other site, Crazy Vercher Films. Check it out for some funny videos, and the forums are nice, too *hint hint*

Welp, I’m off to watch the second half of the Spurs game.
Go Spurs Go! :)