I just upgraded to WordPress 2.8 using the automatic method they now provide. I have to say I was very impressed and happy that I didn’t have to break out the FTP client. You just type your FTP credentials into a form, hit submit, and it goes out and gets the latest WordPress tarball, unpacks it, and updates your database. Wow.
Of course it didn’t go off without a hitch. For some reason, any new directories that get created on my server have permissions 700 instead of the more usual 755. My webspace is owned by my user account, and Apache is considered “other” here, so it could not read the files in the new directories. Once I figured that out and did a chmod all was well.
The other drawback of using the automatic method is there may be a chance some php files are no longer being used anymore, and are gathering as cruft. I suppose I will do a clean manual install every once in a while to delete these orphan files.
I just upgraded the blog to WordPress 2.7, and wow am I impressed. They sure did a great job of building the user interface in the admin section and making it customizable. The automatic upgrade feature sure looks cool as it was kind of tiring doing the whole ftp dance. We’ll see how well it works. I wonder if it will delete old files?
And all of a sudden today I am getting a torrent of comment spam. I’ve installed the akismet filter, I sure hope it works.
Let me know if you see anything out of place. So far it looks good.
I guess if I am going to start posting code, I need to make sure I can do that with WordPress. It turns out there are a couple of plugins available to make this task easier. I am currently trying out SyntaxHighlighter Plus for syntax highlighting, and Visual Code Editor to allow one to continue using the visual editor when posting code.
So let’s see how they work!
Here is some C++:
#include <iostream>
#include <ostream>
int main()
{
std::cout << "Hello World!" << std::endl;
return 0;
}
And here is some Python:
def index(request, page=1): stories = Story.objects.all() paginator = create_paginator(stories) try: the_page = paginator.page(int(page)) except InvalidPage: raise Http404
Pretty cool! A big thank-you to the plugin authors!
Just an update on the blog itself. I’m getting the hang of wordpress and even managed to update it. It was about the same process as updating a Nuke site. I looked around for a theme for a while, and nothing jumped out at me. I finally settled on this nice Google Chrome theme. It’s simple and clean and seems like it will do the job just fine.
I’ve been wanting to blog some more about the SG101 2.0 project. I can see that blogging isn’t an easy task. A lot of time has passed on some of the subjects I wanted to write about, so the lesson learned is to blog while it is fresh in your mind. With that in mind, I’m about halfway through the shoutbox application, so I’ll start a series of posts on how that is going.
Tags: Blog
Greetings. This is Brian, aka, in some circles, Gremmie. Never in my right mind did I think I would start a blog. However I’ve recently started a web development project in Django, and I thought it would be fun to use a blog to document its progress, design decisions, and to receive feedback from other developers. Blogs seem to be thee way for web developers to exchange ideas these days, so I thought I would give it a go. I’m sure I will also throw in a post about my other interests from time to time: surf music and gaming.
Yes I am using WordPress, and yes I am using the default theme. I know the cool kids write their own blogging software as a rite of passage, but I am spending what little free time I have coding my main project in Django. I’ve never used WordPress before, but I’ll give it a whirl (mainly to show I don’t completely suffer from the “not invented here” syndrome). As for the default theme, I’m still looking for a good one.
More to come. Thanks for reading and be sure to leave me feedback!
Tags: Blog