PHP upgrade, server downtime, and WordPress wierdness

I’ve upgraded the server to PHP 5.3.  The packages just showed up as alternative (php53) in the list of available upgrades and I was having troubles with earlier PHP versions, so I went for it.  It didn’t go quite as easy and simple as I expected.  Apache started crashing often.  It took me a few re-installs and configuration tweaks to fix these things.  It looks like now it’s fine.

As a side effect, I noticed a whole bunch of posts titled “Auto Draft” showing in the front page of my blog.  I wasn’t working with WordPress at the time, so it was strange to see new empty content posted.  Apparently, it’s a somewhat known issue with WordPress 3.0.  While I was trying to get rid of the empty posts, it seems I deleted a few posts  of mine own from the last couple of days. Maybe they will still show up.  Maybe not.

Anyway, I apologize for all the inconvenience.  If you notice anything else misbehaving, please let me know.

Trying out CloudFlare

I’ve heard a few mentions of CloudFlare before, but I never gave it much attention. Today, after reading this blog post, I decided to give it a try.

What’s more, that 30-40% increase that people used to see is now in the range of at least 50-60% as the team continues to find ways to make CloudFlare faster, while still offering security at the forefront.

What is CloudFlare, you ask?  As per their own website:

CloudFlare protects and accelerates any website online. Once your website is a part of the CloudFlare community, its web traffic is routed through our intelligent global network. We automatically optimize the delivery of your web pages so your visitors get the fastest page load times and best performance. We also block threats and limit abusive bots and crawlers from wasting your bandwidth and server resources. The result: CloudFlare-powered websites see a significant improvement in performance and a decrease in spam and other attacks.

In simple terms: CloudFlare is very cheap (even free) content delivery network (CDN).  It provides speed and security improvements, and it is extremely easy to configure.  I know so, because I’ve already registered for the free account and configured this site to benefit from the service.  Whether it actually lives up to all the hype – I don’t know yet, but I’ll see in the next few days.  I suspect it does, since there are numerous positive reviews around the web.  I will of course let you know.  Especially if you remind me.

[youtube=http://www.youtube.com/watch?v=AaMWqyg_xMo]

 

Upgrading to PHP 5.2.x on CentOS

Today while setting up yet another project on my hosting server.  The server runs CentOS 5.6, which means PHP 5.1.6 is used.  However the new project required PHP 5.2.0+.  It turned out upgrading PHP is trivial.  There is even a Howto Guide in CentOS wiki.  The steps are:

  1. Add CentOS Testing repository to yum.
  2. yum update PHP packages.

That’s all folks!

How not to spoil a spoiler

Here is something that I am trying to figure out – movie spoilers.  Since I now like how my movie reviews are listing, I want to write more reviews.  But even with the ones I already wrote it’s difficult to remember specifics of each movie.  “good movie” and “bad movie” only work in reviews for so many times.

What I want to do now is to actually have a brief story of what the movie was about.   This should give me more grounds to cover for review, as well as make the review easier to read, and what’s more important – it will simplify the decision of whether or not to see the movie, at least for those (three) of you who trust my opinions enough.

The problem with putting the story in the review is that it can often spoil the movie experience.  Not everyone wants to read the story before they see the film itself.  For that, of course, there is a technical solution.  My blog runs on WordPress software, which has tonnes of plugins.  For example, there is an Easy Spoiler plugin and even an Advanced Spoiler plugin.  If I install either one of these plugins and then mark the story in the review to be hidden, then those of you who’d like to read everything will be able to do so with just one click.

But it’s not that easy.  There are people who read reviews off the front page of this blog.  And there are those who read them via RSS feed subscriptions.   To deal with those people, I’d probably have to structure a review in a such a way that only a part of it appears on the front page and in RSS feed, and whoever wants to read the whole thing will need to click through to the full text. It is still a possible solution, easy on the technical side, but I already dislike it a bit.   I like things in simple, and this doesn’t look so anymore (from the reader’s perspective).

On top of that I worry about the structure of the review.  It seems like too many elements are in free format.  A full review in this scenario consists of a excerpt that is shown on the front page and in RSS, spoiler-covered text of the story, and then the actual review.  There are plugins for WordPress which can help me add more structure (especially now that WordPress supports custom post types).  And I know how to use them.  But a re-structure like that will render all previous reviews weird.  And that I don’t want to do.  On the other hand, I’ll never find the time or will to re-adjust them.  After all, I am still in the process of reorganizing them from my old tag-based system to the new category-based system.

I’m still thinking about the best way to do this.  I still haven’t decided.  If you have any input on this issue, please let me know.  I’m interested.

More improvements for Movie Reviews

I’ve just added even more improvements to Movie Reviews.  If an article is a movie review, the list of assigned categories is not shown anymore.  Instead of the boring ‘All, Movies, 4 stars’ only the rating is displayed, using an appropriate amount of stars.  Images are way more fun to look at than text, aren’t they?

Also, in movie review articles, ‘Tagged with’ has been replaced with ‘Cast: ‘.  I know, I’ve used all sorts of different approaches to tagging my movie reviews, but the most recent direction seems to be tagging movies with people who directed, wrote, produced, acted, etc.  Hence the caption change.

And now for my favorite change so far.  Related movies are not displayed using poster thumbnails rather than the boring text.  It looks way better and makes me wanna click and read more.  Hopefully other visitors will feel the same.

Here is a screenshot that demonstrates the above described changes.