Upgrading Wordpress

June 24th, 2007

Well, after my earlier problems with the automated Fantastico upgrade, I did the “manual” upgrade to my Wordpress installation. I was moving from 2.0.6 to 2.2.1 following the instructions from Wordpress.

It all went perfectly. Well done on the instructions (and the software).

At the end of the upgrade instructions, there’s a section called
Special note for Fantastico Upgrades, which mentions removing the DB_CHARSET and DB_COLLATE parameters if upgrading with Fantistico. Presumably the DB_CHARSET parameter is what affected the accented characters in my earlier upgrade attempt. So, if upgrading Wordpress using Fantistico, read the manual instructions! (pity I didn’t see this earlier.) I expect this will soon find itself into the Fantastico procedures, or at least the documentation, however I think I’ll stick with the manual upgrade in future.

Back to basics (or some rules for software upgrades)

June 24th, 2007
  • Don’t upgrade just because there is a newer version available.
  • Check the release notes and other documentation for any problems with the new software.
  • Verify the upgrade in a test environment first. This is not always a realistic option, but if you don’t do it then backups become even more important.
  • Backup your current live system (and verify the backup).
  • Allow enough time for the upgrade of the live system.
  • Verify everything is working correctly after the upgrade. This is the point where the problems appeared for me. However, I was able to revert to the earlier version - which had luckily been backed up by the software doing the installation and not me (I should learn to follow my own advice.)

In case you’re wondering, the problem was “just” a visual, where accented characters were not being displayed correctly in Wordpress 2.2, hopefully 2.2.1 fixes it. I’ll have to wait until I get some more time to do a test and a hand install, rather than the automated Fantastico install.

Flash Lite: Graphics for Mobile Devices

June 22nd, 2007

This is an interesting introduction to Flash Lite - including getting data from the network - in the current issue of Dr. Dobbs Journal. Well it’s probably only interesting if, like me, the only thing you already know about Flash Lite, is that some people can make nice looking demos with it ;-)
Dr. Dobbs | Flash Lite: Graphics for Mobile Devices | June 8, 2007

RubyCocoa 0.11.0 released - The Unofficial Apple Weblog TUAW

May 25th, 2007

Just saw this post on TUAW: RubyCocoa 0.11.0 released - The Unofficial Apple Weblog TUAW

Looks interesting for anyone wanting to develop Mac applications in Ruby.

RTÉ entertainment goes mobile - ireland.com - Breaking News - Tue, May 22, 2007

May 22nd, 2007

Interesting news about RTÉ programmes on 3’s mobile network. ireland.com - Breaking News - Tue, May 22, 2007 - RTÉ entertainment goes mobile
50 cent a day doesn’t sound to bad for the amount of data. Let’s hope other data rates come down also.
(I wonder if you need a “televison reception aparatus” licence for your phone also :-)

Although, I don’t know how well a fashion program would work on such a small screen.

RFID being tapped to stifle exam cheaters

May 14th, 2007

Not convinced about the usefulness of this RFID application, reported on Ars Technica: RFID being tapped to stifle exam cheaters

Given that this only seems to be used to check if all the exam papers are still in the package. Surely, someone could count them? Also, it doesn’t seem to account for the fact that whoever might steal the papers, may now just photograph/photocopy them instead.

On the other hand using statistical analysis to flag particular answer papers for further investigation seems reasonable but it doesn’t prove that someone has cheated.

My voice is my passport

May 14th, 2007

Wow, this is the second movie reference in 2 posts.

You may have guessed that I’m interested in security and alternative computer input/output systems. This morning, I saw this post “Voice biometrics: coming to a security system near you.” about banks using voice print technology.
Interesting discussion about using voice to combine 2 id methods, something you have: voiceprint, and something your know: security question. The usual concerns about “Big Brother” are also mentioned.

Humorous, even if not politically correct, referring to some users as “goats” :-)

Eyeball-tracking camera could change real-world ads

May 11th, 2007

Interesting story about a camera that can count eyes. They suggest that it might be used by advertising companies to count the numbers of eyes that have looked at particular ads. Eyeball-tracking camera could change real-world ads
Getting closer to the ads in “Minority Report”
This might be interesting for anyone researching computer vision or pervasive and ubiquitous computing.

YouTube - Microsoft oPhone

May 10th, 2007

Very funny video: YouTube - Microsoft oPhone

[link via Furrygoat]

“lsof” command

April 18th, 2007

Just found out about this command today.

“lsof” displays information about open files by processes on *nix systems (including network “files” - TCP/UDP). I don’t know how I managed to miss such a useful command over the years.

As an example, listing network ports (which I would previously have done with netstat):

# lsof +c0 -n | grep IP 

java             1022    martinm   28u     IPv6
          467902                 TCP 192.168.2.104:51769->192.168.10.1:xmpp-client (ESTABLISHED)
java             2961    martinm    6u     IPv6
          322274                 TCP *:8083 (LISTEN)
evolution        6408    martinm   59u     IPv6
          472527                 TCP [fffe:111:11:2:111:72ff:fe10:2bd]:51943->[fffe:111:11:1::11]:imaps (ESTABLISHED)
mysql           18407    martinm    3u     IPv4
          489375                 TCP 192.168.2.104:49021->192.168.2.146:mysql (ESTABLISHED)
firefox-bin     24396    martinm   52u     IPv4
          490170                 TCP 192.168.2.104:52906->192.168.0.1:webcache (ESTABLISHED)

I added linebreaks to make it more readable
As usual, further information is available with man lsof.
Now I’ll just need to find out a way of setting the command to be the Java Start Class to identify which java program has the port open.

Update: the number after the command is the PID so a ps -fpXXXX will show the comamnd line.