Is it best to pack a backpack with the heavy stuff at the top or the bottom?

When I was in the Scouts, they said to pack the heavy stuff at the bottom – makes sense as you don’t want to crush your rice-crispies. The Duke of Edinburgh award told me to put the heavy stuff at the top (and not take rice-crispies).

Consensus in the office is heavy stuff at the bottom – but the rei.com website suggests to pack the lighter things towards the bottom and heavier things as close to your back and the top of the bag as possible. Sounds good advice to me so maybe at the age of 32 I will finally get my gold DofE award!

http://www.rei.com/expertadvice/articles/loading+backpack.html

Pollution Control Valves

I have always wondered what pollution control valves are at the side of the road, and this great website answered it for me!

http://www.simonandliz.org/SignsAndWonders/PollutionControl.htm

They’re used after accidents and spillages to stop the harmful liquids leaking into rivers and streams…

Why are all US Radio Stations names abbreviations?

I thought I would start blogging when ever the internet answers a question for me – an interesting idea as I am just rewriting the internet – but it gives a good indication over what I have searched for and other people might find it interesting!

So – why are all the US radio stations what I might call crap names? Like KRAP or WOMG? Well, it is all to do with the North American Broadcast “call signs” http://en.wikipedia.org/wiki/Broadcast_call_sign – how exciting!

Quick mencoder tip

Got this from another blog – http://paulojacob.com/index.php/c23/convert_avi_or_something_else_to_flv?blog=6

To convert an avi to an flv in linux run:

mencoder input.avi  -o -aoutput.flv -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3

This works a million times better than the ffmpeg stuff on ubuntu – but first had to run:

sudo apt-get install mencoder
sudo apt-get install lame

More about spam on wordpress

I am not a prolific blogger – that is pretty clear from the amount of posts on here – but to some IP addresses it is as if I am Stephen Fry or something – one IP address is taking 1GB of my bandwidth this month, so I guess something needs to be done.

As far as spam goes – Akismet is absolutely fantastic and has a 100% track record against it…

For some reason, I get lots of new user registrations which don’t appear to have any interest in the content of my site – which is pretty understandable since it is pretty sparse and boring! I guess that they’re trying to use some sort of wordpress backdoor or something?

My guess is that the large volumes of traffic are attacking the passwords – it is unlikely that they will be able to with a brute force attack because it is a complicated password! But I see similar activity on my home Fedora machine, which has its SSH port open to the internet through the firewall. On there I have installed fail2ban – although it looks as if denyhosts would be a better option, since that protects against distributed attacks.

I want something similar for wordpress – ideally I would like a plugin that replicates denyhosts – but the closest thing I have found is “Login LockDown” – which I have just installed and I hope that it works OK.

Other options to try would be:

  • .htaccess changes to allow only my IP to the admin pages
  • .htaccess changes to block prolific bandwidth leechers – I can’t be bothered to do this as don’t have the time!
  • continue hunting for a distributed solution like denyhosts

Maybe I just have a very strange fan of my blog who spends a lot of time on it!

As an interesting-ish aside – here are the last usernames that tried and failed to login to my ssh server:

    sudo lastb | awk '{print $1}' | sort | uniq -c
          1
          2 abel
          2 abelia
          4 admin
          2 alexis
          2 anonymou
          2 apple
          1 btmp
          2 cyrus
          2 eaguilar
          6 guest
          2 httpd
          2 mat3
          2 mat4
          2 matt4
          2 messenge
          1 nobody
          2 oracle
          2 passwd
          4 patrick
          2 payala
          4 plcmspip
          2 PlcmSpIp
         57 root
          4 test
          2 upload
          2 www-data

    Fire

    We haven’t had a fire for almost two years, but I stoked up the wood-burning stove yesterday and it was lovely.

    I was worried last year that Sophie would be intoxicated by the fumes, but she should be old enough now to cope with it – the carbon monoxide detector didn’t set off though and Sophie liked coming into the warm living room after her bath!

    Lovely fire

    Lovely fire

    Spam

    I have been trying to get Akismet to work, and having lots of trouble – it appears that the problem is easily.co.uk again, I am getting the error:


    HTTP/1.0 200 Ok Content-Type: text/html; charset="iso-8859-1"
    The URL you requested has been blocked. URL = XXXXXX.rest.akismet.com/1.1/submit-spamXXXXXX

    will look in to this and post more later…

    Securing directories on easily.co.uk

    OK – not done much work on the website but always playing around. I have been trying to secure a directory on this site, which is hosted by easily.co.uk…

    The easily support is a bit out of date it seems for my hosting plan – so here is how I finally figured it out, and thanks to the easily support page and the “mdid” blog

    So eventually I created a directory in /website named “protected” – I put the .htpasswd in there and referenced it from my .htaccess using the directory /web1/userXXXX/website/protected/.htpasswd where XXXX is my username.

    http://mdid.wordpress.com/2004/03/31/password-protecting-a-directory-easilycouk/

    http://support.easily.co.uk/al/12/2/article.asp?aid=1049&n=1&tab=search&bt=4n&r=1.248878E-02&s=1

    Removed the Wiki

    I removed the Wiki from planetrandall for a few reasons:

    1. I am so impressed with wordpress – have installed it at work (http://www.icr3s.co.uk) and we will be putting it on our website shortly. This has also given me a chance to play around with themes, so I will be working on a new theme on planetrandall.com with all of my artistic license!
    2. Mediawiki was using more php memory than easily hosting would allow – don’t call that easily but it wouldn’t allow me to upload images
    3. I don’t really need a wiki anyway!