Toggle sidebar

Peter Anderson

Christian - Husband & Father - Web Developer

The Old Baking Dish

A pastor was giving the message to his congregation one Sunday morning when he recounted the following story:

"My wife and I have this old baking dish that we picked up somewhere many years ago. It's a good quality baking dish, which is why we like it, but it's stained and doesn't look very nice. We've tried cleaning it with all sorts of products and chemicals, but the stains simply refuse to come off. So now we've given up. We'll still use it for baking, but not as much as we'd like to."

"One night we had some friends over for dinner. My wife had cooked so much food that we'd run out of...

Facebook Freedom

Facebook app

I'm quitting Facebook.
It's something I've been thinking about doing for a while now, and I'm finally taking the plunge (although it feels less like a dive into the unknown and more like the freedom of being unshackled).

I avoided Facebook for a long time, proudly wearing the (imaginary) I-don't-use-Facebook badge. But then I wanted to promote my business more and decided to setup a Facebook page for it. A Facebook business page requires a personal Facebook account to manage it. I hid my personal account for the first few months, using it solely to manage my business page, but eventually...

Letter Counting Function (and My First Python Script!)

Lots of numbers!

So I was watching Matt Parker's "Four has Four Letters" video, and I was interested to know how the Estonian language compared to English with regard to the letter counting function.

To summarise the video, in English each number has a word (or words) and each of those words have a certain number of letters. In all cases except the number 4, the word has a different number of letters than the number it represents. You can count these letters, then make a chain of numbers, all of which, in English, eventually lead you back to 4.

Example time! The word for the number 8, 'eight', has 5...

My Minimal Phone

Hands holding a smartphone

Smartphones are a great resource. They give us access to the internet wherever we are, allow us to check in with social media, emails and friends online, and provide entertainment through games and interesting (though sometimes pointless) apps. But smartphones have a dark side too. They give us access to the internet wherever we are, allow us to check in with social media, emails and friends online, and provide entertainment through games and interesting (though sometimes pointless) apps.

No, that's not a copy-paste error. The same benefits of smartphones can also be viewed as problems...

Anti-Spam Test: Introduction

No junk mail

I have been thinking recently about porting Drupal's 'Antibot' module to Backdrop CMS. On the five Backdrop sites I've built to date I use the 'reCAPTCHA' module, however I'd like to get away from needing a separate (Google) account to avoid spam, and requiring users to take an extra step to submit a form (tick a checkbox to prove they're not a robot). Antibot looks good in this case, as it doesn't require any third-party accounts and is completely hidden from the user. But before I start porting Antibot to Backdrop, I'd like to know how effective it is in relation to other anti-spam...

Pages