Chris Worfolk's Blog


Home sweet home

February 16th, 2012 | Life

Having decided it had been far too long since we last had a house warming, there was really only one thing we could do to fix this – move. So this is our new place. Actually, it isn’t, but ours is almost identical to this one, but with nicer carpets and air conditioning.

If you’re wondering why the photos are rubbish quality, it’s because they were compressed into GIF accidentally and then re-compressed to JPEG. I could redo them, but I have more important things to do.

Saving files in memory

February 16th, 2012 | Life, Tech

If you need super quick access to a file, for example a log file which isn’t going to be too big but it being used by a script which is time critical, then rather than writing it to disk, you can mount part of your file system in memory and write to it there.

This has the disadvantage that when you restart your system, you will lose the data. But for test scripts, logs or other temporary files that you don’t mind getting lost, it can really speed up performance.

Luckily, most systems come with a an area mounted in memory already – so you don’t even need to configure it!

cd /dev/shm

If said directory exists, you’ll have a memory mounted directory already and can start using it immediately.

Happy Galileo Day

February 15th, 2012 | Distractions

Happy Galileo Day!

Happy Valentine’s Day

February 14th, 2012 | Family & Parenting

Rakastan sinua, Elina.

HCoL February

February 13th, 2012 | Foundation, Humanism

It had been a while since the last meeting of the Humanist Community of Leeds – we didn’t have a January meeting due to conflicts with New Year and the week after, so this meeting was our first since the start of December. It was cold and icy outside, so big thanks to all those who made the effort and braved the freezing temperatures.

Happy Darwin Day

February 12th, 2012 | Distractions

Charles Darwin

According to a recent poll, 17% of people admit to getting themselves off while looking at a £10 note.

Valentine’s Day

February 11th, 2012 | Thoughts

One of my friends recently retweeted a message saying “Valentine’s Day is for people who lack the imagination to be romantic during the rest of the year.” That put me onto an interesting thought process about the origins of the holiday.

Because, if you think about it, Valentine’s Day is almost certainly a holiday created by men, for men.

I mean, imagine if we had to be romantic all year round! There is simply no time for that, we have far too much watching sport and eating pizza to do. Designating one romantic day per year, effectively manages the expectations of the fairer sex so that we don’t have to worry about it for the other 364 days. Genius.

Extraordinary claims require extraordinary evidence

February 10th, 2012 | Distractions

Steak flyer

Apparently, they’re the best steak you have ever tasted – or your money back.

Editing your hosts file

February 10th, 2012 | Life, Tech

If you want to put custom entries in your computer’s DNS (for running addresses for a local server for example) you need to edit your system’s hosts file. On Unix systems this can be found at:

/etc/hosts

On Windows systems, you need to go to:

C:\Windows\system32\drivers\etc\hosts

To add a custom entry, first enter the IP address (if you’re running a local server you’ll want to set this as 127.0.0.1), then put a tab and then the host name.

Message from an unknown number

February 9th, 2012 | Religion & Politics

Received this text message.

Heya! Is this Chris? Its Charlie here, I Just wanted to know whether you got started with Dianetics? What did you think of it? Let me know! Lv, Charlie (Dianetics & Scientology Life Improvement Centre

My question is, how did they get my number?