Chris Worfolk's Blog


Wendy House November 2012

November 28th, 2012 | Friends, Life

A Wendy House without The Fonze? Oh the horror. Somehow, we survived it though, with good memories intact.

A market for markets?

November 28th, 2012 | Thoughts

It’s hard to ignore the fact that Kirkgate Market, Europe’s largest indoor market, is empty. In it’s lower halls, up to 30% of the stalls are vacant; it’s like a ghost town in there sometimes.

So, Leeds City Council have put some money into trying to work out how to fix it. And indeed, they staged a big public consultation, where everyone was invited to come down and find out what their research had done.

Turning up to it, I walked into a room with one hundred chairs laid out – and one other person there. I was a little late, and nobody else turned up behind me. Apparently, there are only two members of the public that are interested in the future of Kirkgate Market.

They have also set up an information centre where you can pop in to. So, I did that today, asking for basic information like what the footfall levels are and what research they have done on shopper profiles. They didn’t have any. So much for bringing more traders in with a helpful information centre.

I did get one useful piece of advice though – looking at one of the vacant stalls, a trader overheard our conversation and proceeded to talk to us at length about the amount of traders closing down and trying to get out.

Things are looking bleak indeed for the market.

PHP complains date.timezone is not set

November 28th, 2012 | Programming, Tech

Sometimes, PHP will kick up a fuss complaining about date.timezone not being set. We found this on the Symfony framework and were able to replicate it on standalone scripts.

[Exception]
DateTime::__construct(): It is not safe to rely on the system's timezone settings.
You are required to use the date.timezone setting or the date_default_timezone_set()
function. In case you used any of those methods and you are still getting this
warning, you most likely misspelled the timezone identifier.
We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead

Normally, you would fix this by editing your php.ini file and adding a declaration there.

date.timezone = "Europe/Berlin"

But we had already done this and it still wasn’t working! After some further investigation, it seemed that PHP simply couldn’t access the value.

echo(ini_get("date.timezone"));

This doesn’t make any sense, and we never got to the bottom of what was going on, but there are two ways around the problem. Firstly, you could modify your PHP script so that it makes a call to set the system timezone.

date_default_timezone_set("Europe/Berlin");

However, this involves having to modify your code, which is bad as you don’t want to have to set the timezone manually, especially in a piece of code which could be deployed to servers in different timezones.

A better approach is to set it in the vhosts directive in Apache.

php_value "date.timezone" "Europe/Berlin"

This isn’t the cleanest solution but allowed us to solve an otherwise unexplainable error.

That Mitchell & Webb Sound

November 27th, 2012 | Distractions

Peep Show is a brilliant show. That Mitchell & Webb look is a great sketch show too. But in my opinion, the best work they have ever done, isn’t any of the material they are famous for.

For me, the best work they have ever done is actually their Radio 4 series – That Mitchell & Webb Sound. It must have been popular (for Radio 4 at least) as it ran for four series, and each one of them was brilliant.

Highly recommended.

Leeds City Museum

November 26th, 2012 | Life, Photos

We went to Leeds City Museum to see the Stolen, Saved, Smuggled? exhibit. It was pretty disappointing to be honest.

A Humanist Soup Kitchen?

November 25th, 2012 | Public Speaking

For my fifth project in the Toastmaster’s Competent Communicator series, I presented a talk entitled “A Humanist Soup Kitchen?”

This referenced my open letter to David Cameron, inviting him to come and see the Humanist Action Group doing its thing, after he had suggested that no such humanist enterprises existed.

Despite the talk creeping up on me somewhat (mainly due to being ill all the previous weekend), I managed to get everything in shape and took home another Best Speaker ribbon. Good times.

Crochet

November 24th, 2012 | Photos, Religion & Politics

Elina made me a pig. I’ve decided to name it Muhammad.

Four more years

November 23rd, 2012 | Religion & Politics, Video

Take a deep breath in, we’ve done it!

Another four more years. Then my mum can retire! Also, there was something else that we were celebrating four more years of, but it slips my memory. Here is a bad recording to remind us why…

Running CruiseControl on Gentoo

November 22nd, 2012 | Life, Tech

If you are trying to run CruiseControl on Gentoo Linux, you may find that you get an error similar to the following.

line 109: /bin/java: No such file or directory

There is due to the Java path. You can find it using the following command.

whereis java

You can then create a symlink to it.

ln -s /usr/bin/java /bin/java

Try running the command again and it should work.

HAG food drive guide

November 22nd, 2012 | Foundation, Humanism

In April last year, the Humanist Action group launched our first set of guides. These were the feed the homeless guide and the organiser’s guide, allowing you to start a Humanist Action Group in your town or city, and get started with a basic programme.

Today, we’re excited to announce that we’re launching our third guide – on running a food drive. This will take you through all the steps required to run your own food drive, similar to our Holiday Food Drive – though it can be at any time of year, and indeed for anyone who needs it.

The guide is available for free to anyone who would like a copy – if that is you, get in touch!