Anti-Spam

Over the last couple of weeks, I’d started receiving a significant (well, more than previously) amount of spam through the contact form on one of my sites. (the photography one, not that anyone cares)

As a result, I added in a small dollop of anti-spam input on the form – I’ve done this on several forms over the years, and it’s never caused me any problems. It’s probably now only about ten to twenty minutes work (including testing the entire thing) so it’s no hassle – and every time I wonder why I didn’t just put the damn thing in place when I created the original, rather than slamming it in as an afterthought.

In short, I just never remember. And in some cases that’s fine – some forms just never seem to get hit in the first place, whereas others pop up fairly quickly and get hit by spammers. It’s all very odd.

I know I should just put it in with anti-spam by default. It’s just I never remember.

Then again, on one particular form I did for a client, I added in a whole bundle of anti-spam features including the ability to ‘blacklist’ the IP and poster-name/email automatically by clicking on a link in the forwarded message – and that client never makes use of the features. I know for a fact that they get a whole bundle of spam through it – and I do on occasion run through and block a whole load of the IPs for them myself – but it seems equally bizarre for people to not even make use of the tools they’ve been given.


Home Hub Security

Got a BT Home Hub? If so, you really need to read this on the Register, and then go off to BT’s site and follow their instructions for making it properly secure rather than leaving the security settings at their defaults.

Thankfully, we don’t have one of these abortive pieces of crap and instead have our own wireless router/firewall thingy.

But it’s scary to see just how insecure the BT Home Hub is by default…


Missing @Media

Later this week, the @Media conference will be going on in London and for the first time in three years, I won’t be there. The timings would just be too tight, what with it being on Thursday/Friday, and with us supposed to be travelling to Wales (and then Ireland) on Friday.

In fairness, it’s saved me something like £500 all told – and in light of the expense of the car this week, that’s probably a good thing – but it’s still a bummer to be missing it. For me, there’s a whole bundle of things I’d be going to see if I were there – except of course that I’m not – so I know it’ll be a worthwhile investment to go next time.

All told, I’m disappointed I’m not going this time round – but I’ll definitely be there again in the future.


WordPress is 5!

Just a very quick “Happy Birthday” post for WordPress, which turns 5 today.

Amazing to believe it’s already been going that long.

And I suppose that one day I’ll upgrade D4D™ past version 2.1 – the main reason I haven’t is because I know it’ll be a pain in the arse, because of the adaptations I’ve made to the template etc. along the way. So the upgrade will probably come along at about the same time as the redesign.

In other words, sometime.


Gah

Why is it always the simple stuff that never bastard well works?

All I want to do is have a drop-down box that submits itself to a form when it changes. I’ve been trying to use all variants of

document.forms.submit()

(And document.form.submit() and document.form[‘form_name’].submit() , and document.forms[‘form_name’].submit and so on and so on)

And does it work? Does it shit. Ah well, I’ll figure it out next week.

Probably.


Memory Loss

Yesterday evening, I was working on fixing a problem by using a small bit of javascript, and I couldn’t get it to work. Annoying, but them’s the breaks.

Finally, I realised why I couldn’t get the thing to work on a browser, when I was sure I’d written it correctly – and double checked it when it didn’t work first time.

I’d turned javascript off in the browser to do something else, and hadn’t reactivated it yet.

[Edit : I forgot to add the thought in the next par when writing the post initially]
It’s the only time I’ve found so far where tabbed browsing is inferior to separate browser windows – if you turn it off in one place, you turn it off in all of them, which doesn’t happen (as easily) with multiple windows.

Grrr, twenty minutes of debugging and re-reading code – and all because sometimes I’ve got the memory span of a goldfish.


XKCD

I’m just loving today’s XKCD comic.

Sometimes they’re a bit hit-and-miss, but this one’s worth the effort.