Sorry for the vague title, but there are various thoughts floating around at the moment. The first is a big thanks to the support at Westhost for recovering my VPS over the last weekend. I had started an automatic upgrade of wordpress in one of the sites hosted in this vps, it hung… so I ssh’ed in and found the vps was essentially ruined – it managed to wipe out quite a bit. I’m not sure if it was a coincidence or if the wordpress upgrade was really the culprit, but it managed to destroy quite a bit. The support at westhost though had things back up within 24 hours. It wasn’t just a matter of the site and database getting deleted, but files in /etc were gone (mail configuration hostname resolution wasn’t working, scp wasn’t working…. it was trashed in a bad way.)
Anyway, I’ve still been tinkering with the free morse code mp3 ringtones. In particular I’ve been tinkering with the Text to morse code mp3 generator. I’ve been trying to add utf support. The backend generator does interpret morse for utf characters, I’ve managed to get a way to decode the url encoding if they’re placed in the text box, my big challange at the moment is the file name. I have to truncate the filename so that it’s not too long, but most everything I’ve tried to truncate counts bits instead of characters. Some, even if I tell it to count characters will assume that 1 character=1bit and I wind up with some of the utf characters cut short which gives unusual filename results. In the testing version of the script I’ve just decided to sanitize things by replacing an extended character with an x….
(more…)