Archive for the 'software' Category

mailplane - osx gui integration for gmail

Monday, April 28th, 2008

I’ve been using gmail almost exclusively for about 4 years now - I find the convenience of webmail essential as I work at lots of different machines, and it doesn’t make sense to set up desktop email on all of them. One thing I do miss about not using a desktop mail client is the integration with my address book and photo library, and the ability to drag and drop files, but I have so much mail in my account (I subscribe to a few high volume mailing lists, and never do any tidying), that most mail apps choke on the volume of mail they need to download. I mentioned this on twitter, and someone pointed out mailplane - a gui app that loads the normal gmail interface, but adds on integration with addressbook and iphoto, amongst other things. It’s not free, but i’m a couple of days into the 30 day evaluation and finding it very useful so far, so will probably buy it ($25).

Please find attached (no really)

Wednesday, November 14th, 2007

Idea for a killer firefox or email client plugin - a script that scans your outgoing emails for the words “please find attached” and flags up if there isn’t actually an attachment on the email when you hit the send button. Go on someone write one please and save me from the humiliation again!

quick MS word rant

Wednesday, June 20th, 2007

The computer I am writing this on is probably powerful enough to run a small space station, and is certainly capable enough of playing dvds and other media, but will it let me scroll smoothly through a word document that happens to have a few bitmaps in it? no.

A few tips for running a web forum

Tuesday, February 6th, 2007

I recently stepped down from my voluntary role as one of the Administrators for a popular skateboarding web forum (for old gits), due to time commitments (i.e. I couldn’t commit any). I thought I would share a few tips I picked up from that and other forums i’ve implemented. The forum in question uses phpBB, but I think some of my observations will be useful for users of other forum software.

Choose your hosting carefully

A high volume web forum requires more availability than your average website, as regular users accessing it around the clock can get pretty upset when the forum is running slow or timing out. Physical location of the hosting can make a difference too - the host of this particular forum seemed to be having routing problems, with the forum unavailable for days at a time for some people while fine for others. Users complained a lot, and people complained that they couldn’t get to the forum to complain, and that sometimes the forum timed out while they were complaining, resulting in them posting their complaints multiple times!

Over xmas, the (windows) host was infected by a virus, which resulted in the server being rolled back with no warning several days to the point in time before it got infected. This meant that the forum lost all content in the meantime. I had my own nightly off-site backups (i’ll touch on this later), but because this happened over xmas and wasn’t keeping an eye on the forum, people came onto the forum and posted before I had a chance to restore it from one of my backups, so there wasn’t really much I could do without a lot of gruntwork, to merge it all back together, as there would have been problems with duplicate id’s.

I don’t want this to be a “linux vs windows” argument, because a linux server could also be hit by a virus and/or hacked, but I suspect - wrongly or rightly - that it’s much more likely to happen on a windows host. Apparently this one was infected by a customer with ftp access.

Server resources are also important for a forum, particularly if the server is on shared hosting. The phpBB based forum I administrated would frequently grind to a halt, with no real way of telling what the problem was without direct access to the server (as it is on shared hosting). The search index (mysql) table for the forum is massive (i.e. hundreds of thousands of rows) and this is searched everytime anyone hit the site, not just by people making searches, but to display things like “posts since last visit”. This also sais something about the efficiency of the phpBB software - it would be interesting to compare the efficiency with other systems once the search index has reached this sort of size.

I didn’t choose the hosting for the forum in question, but it was chosen by someone (non-techie) on the basis that they host several other (static) sites with the company and never had any problems. Running a web forum is a different ballgame to hosting static sites. People hardly ever complain when they can’t reach a static site, and a static site is less likely to go down because there are less failure points, and less resources needed.

Forums often have email notification functionality, i.e. people can choose to be notified when something is updated - this is also another point of failure on an inadequate host, such as this one.

I wasn’t going to name and shame the host, but they haven’t been too helpful in resolving the problems so I think in the interests of the public I would advise people not to use this company for a high volume web forum.

If your host turns out not to be suitable, you will need to move it somewhere else which can upset forum users even more, as it inevitably takes a few days for DNS servers to settle down.

If it’s not essential, block the forum from search spiders

This won’t be suitable for every forum, but if you don’t want or need the forum content to be indexed by search engines, use robots.txt to exclude the forum directory. I did this after being hit by the infamous phpBB virus which used google to search for phpBB based sites to take down. I reasoned that this alone would help hide it from repeat attacks. It has also proven fairly useful to hide from spambots that use search engines to find victims, and makes the forum less attractive to those seeking to improve their pagerank by having links on the forum.

remote backups

I mentioned before that the host server got hit by a virus resulting in the machine being rolled back several days - database backups stored on that machine would have been lost too. I used a mysql server client and cron job running on a linux machine to keep 30 days worth of remote backups in the form of date stamped sql dump files. If I had managed to disable posting on the forum as soon as it had been rolled back I could have restored remotely from one of the backups and only lost a few hours worth of content.

Don’t make people think

As the majority of the users of the forum are non-techies, they can have trouble with certain features such as posting images and links etc. The more features you give them, the more requests for help you will get. Only enable what you don’t mind supporting. A good example of this is enabling HTML in posts, then requiring people to select “disable HTML” for a post where having HTML could cause problems (e.g. the built in phpBB code that is usually used for formatting).

Avatar Size

One modification I did make was to use CSS to limit the area shown of an avatar. This was in response to people huge avatars and distorting the page, then either complaining, or not understanding when they were asked to limit the width of their linked (i.e not hosted on the server) avatars. Since I made this very simple hack, people tend to understand what they need to do to make their avatar display properly. On systems where avatars are uploaded to the host and resized, this isn’t a problem.

Modification hinders upgrades

The more you modify a piece of forum software, the more difficult it is to upgrade and apply security patches.

Single sign-on and spam handling

On a seperate forum where we (we = netsight) have integrated the sign-on (and sign-up) for an Invision Power Board (IPB) and a Plone site, we have just started having problems with spam, because the default plone sign-on allows people/spambots to bypass the anti-spam measures, and the user management features built into IPB. I should point out that anti spambot mods are available for Plone.

Beware banning IP addresses, and especially ranges of IP addresses

Some users share blocks of IP address, i.e people using a particular ISP. Banning an IP address or range of IP addresses can have the knock-on effect of blocking a whole load of innocent users. As people without fixed IP addresses get a different IP address virtually every time they log on, and spammers are well versed in spoofing and changing IP addresses, using IP addresses to block individuals is largely pointless, unless you can identify a persistent spammer who happens to have a fixed IP address.

Spam, spam, spam

Spam is the biggest challenge in running a public web forum, and it is getting more difficult. Multiple guards (Captchas, email verification, javascript foo, concealed weapons and lie detectors) should be used where possible. The more popular your web forum software is, the more it will be targeted (but also patches and mods will appear quicker)
Anyway, just a few noteson my experiences. I’m keep to hear other tips on this subject and to hear tips from people using a recent version of PloneBoard which I am about to start using for a commercial project.

If you are seeking the best business email hosting check out our Microsoft Outlook Exchange. Our exchange server hosting and ColdFusion web hosting is just right for mid-sized companies looking for an edge.

servage moved me

Monday, January 29th, 2007

I complained to servage that my site had got a bit slow and they offered to move me to their newest cluster. Apologies for any interruptions in service. It seems to be much faster now, plus I now have native (rather than CGI) support for php5, which is handy because I am trying out ActiveCollab. The move seemed to be fairly seamless - I didn’t have to move any of my own files or restore any databases so i’m a happy customer again.

iPhoto ftp export - does it exist?

Wednesday, October 11th, 2006

I’m surprised that I still can’t find an ftp export plugin for iPhoto. This would be really handy for maintaining websites but also using the ftp facility with photobox . In fact a photobox export plugin for iPhoto would be even better. If anyone knows of one or a tried and tested solution please leave a comment here!

Find the best places to buy digital cameras on the Internet. You can compare prices before you shop at Pricerunner.com.

I got the power

Wednesday, October 11th, 2006

cocnut battery app showing high capacity

and just like that my battery fixed itself! Ha. if only - I actually coughed up and bought one from ebay in the end as the Apple store one isn’t going to arrive until well after plone conf seattle (but when it does i’ll have a spare which will give me a full working days worth of battery power). I think the calibration is confused at the moment as it thinks I have 4539mAh capacity (out of 4400mAh) - the battery status think in mac osx is stuck on “calculating”

freeSSHd - ssh and sFTP server for windows

Monday, September 25th, 2006

Being as paranoid as ever I decided that normal ftp was too insecure for my windows server (particularly when developing using dreamweavers ftp-on-save on an open wifi network), so I am experimenting with freeSSHd, to provide me with an sFTP server. This appears to be right up my application, as it has a GUI for managing the users, home folder etc. and a nice easy button to press to start and stop it. It also runs as a windows service.

itunes ignores file import

Tuesday, August 8th, 2006

on windows itunes seemed to be ignoring my attempts to import a video file. turned out either the file name was too long or it objected to something in the file name. After renaming it it worked fine.

Subversion - the penny drops

Friday, August 4th, 2006

I think I might have just had one of those “two problems solved at once” moments. For the last few weeks i’ve been churning over in my mind how deal with version control and backups and also come up with a solution to allow me to develop my freelance stuff on multiple platforms, on multiple machines, but having it all stored in one place.. Then it occurred to me - one of the ways subversion can be used is to check out a whole project to a local machine to work on, then changes can be committed back to the repository, so as long as I have a machine ready to run a local version of whatever it is I want to work on, I check out the project, work on it on that particular machine (disconnected if necessary) then check changes back in later. Even If I manage to get out of sync by forgetting to check stuff back in svn should resolve any conflicts.

So now I need to change my strategy, rather than relying on shared folders and network drives, I need to set up svn repository and find clients for the different environments I will be working in. and err.. learn how to use it properley beyond adding files and committing stuff.