Just a short note to tell you that I fixed (most of) the layout in IE6, which was hopelessly broken. […] there’s more! »
Technical mumbo-jumbo
I use the PHP function strrpos in some of my code. Last night I discovered that it behaves very strangely. The fact that it has worked this far is a miracle.
The purpose of strrpos […] there’s more! »
Just a quick post to tell you that I’ve added some graphs to give a better overview of the torrents on this site. On each torrent info page there’s now a graph showing the activity of that torrent during the last seven days. It also shows the tracker status history, like this:
This should make it clear how often the torrents are seeded. I’ve also added a feature that shows the files that are in the torrent (only works for the recent torrents). The torrent info page still looks like crap, but I’ll make it nicer when I have the time.
End communication
I’ve added a feature to the site that allows the visitors who use the browser in the PlayStation Portable to save the videos and thumbnails without %20 and similar in the file name (that the PSP browser refuses to decode for some reason). It’s not that difficult to implement, I know, but I wanted to find a way of doing it without using PHP to serve the file. Since I haven’t found any other way, I’m now using PHP for serving locally hosted files.
Now, the only thing you have to do to save the file is click the download link and then click the thumbnail link and choosing “/VIDEO” as the save folder, as illustrated below.

The example is from this post.
Let me know if you have any problems downloading with the PSP. The new links should also work in Internet Explorer 7.
I’ve just made some changes to the site with regards to the problems I had with download accelerators a couple of months ago.
Hopefully you shouldn’t notice any difference, as long as you’re downloading the videos and songs directly in your web browser and not with a third party software.
I was going to post some new videos this weekend, but I have to postpone that because a visitor used a poorly written download accelerator to download all the videos from my site and ate up all my monthly bandwidth.
It seems that my web host is becoming slower and slower. I’ve installed WP-Cache that caches the output in the blog which results in shorter loading time for the visitors. I’m using Counterize for website stats and to be able to run that together with WP-Cache I’ve had to make my own stats script that adds the stats without using any Wordpress functions. Since I had to make this change I took the opportunity to collect stats by loading the script via an image tag instead of loading it directly in the PHP. This is the way I did it back in the day. A benefit of this is that most bots aren’t logged since they don’t load the images, so there’s less maintenance needed for the bots exclude list.
The gallery is not a part of this caching yet. I’m going to make my own solution there when I have the time. Until then I’m afraid the long load times is something you’ll have to live with.
I’m happy to report that since I made my little alteration to the comment form I’ve had a total of zero spam comments. A couple of bots have been caught in the traps I’ve laid out, but most bots don’t even get that far. I know how I would develop the idea further, but I don’t have to worry about doing that until the bots figure out how to post the spam.
I’ve been getting an increasing amount of comment spam on this blog. You probably haven’t seen any of it since I use the Akismet spam filter, but it’s still a bit annoying to have to check the spam box for false positives (so few comments are made, so I want to keep every single one). I’ve been looking at different plugins for Wordpress that fight spammers in different ways, but they all have the same problem: as soon as they become popular, spammers will upgrade their bots to work around the protection. […] there’s more! »
I just installed the Firefox Add-on GetFireBug. It’s an amazing piece of software for web developers. You can basically load any page and edit the HTML and CSS on the fly. I’ve only tried it out a little, but so far it works like a charm and offers much more than the Web developer tool bar that I’ve been using until now. It will be interesting to see how GetFireBug holds up in a “sharp” situation. My expectations are sky high. It’s amazing that software of this calibre free.
edit: However, it seems that GetFireBug has a huge memory leak because both me and a co-worker installed GetFireBug last week and left our computers on over the weekend and today (monday) Firefox was using about 600 MB RAM (out of 768). Theoretically it could be because of something else, like another add-on, but I find it most unlikely.
I just typed “jolin scan” into Google’s search engine and among the top results was a Symantec security response page. It turns out that someone has been trying to lure people to open a script attachement by claiming that it’s a nude picture of Jolin Tsai (Taiwanese singer that you can find many posts about on this site). The worm is old news. I just thought it was funny.
Almost as funny as Symantec’s description:
This script is intended to be a mass-mailing worm […] [The samples] were not able to spread due to bugs in the worm’s code.
So when the guy finally got an idea how to get people to open the file, the script doesn’t work.