Archive for January, 2013

Good luck in Glasgow

Monday, January 21st, 2013 | Foundation

After three and a half years of serving on the board of trustees for the Foundation, Gijsbert has stepped down.

He recently accepted a position as a Reader at the University of Glasgow, and as a consequence will be leaving Leeds next month. We would like to thank him for all the work he has done over the years and wish him the best of luck in his new position.

NFL divisional playoff round

Sunday, January 20th, 2013 | Distractions

Last weekend saw the NFL divisional playoff round. It was almost certainly the best weekend of American football that there has been this season. The Baltimore Ravens caused a major upset, when, at the longest odds to win the Super Bowl, eliminated the Denver Broncos, who were the favourites at the time, from the competition.

The San Francisco 49ers beat the Green Bay Packers to proceed on to the NFC Championship match, while the Atlanta Falcons kicked a winning field goal with only 31 seconds on the clock to beat the Seattle Seahawks in a tail biting finish. Only the New England Patriots’ confident victory over the Houston Texans really failed to provide such excitement.

You can read all about the matches over on A Brit Talks Football. Tonight the championship round takes place to determine who goes to the Super Bowl – you can follow my updates on Twitter.

Christmas party

Saturday, January 19th, 2013 | Life

Last week, we went out for the Worfolk Limited Christmas party. It was a very small affair – even with all the directors and employees attending, and partners, that still only left myself and Elina. Given the small number, I had decided to hold off until January to avoid large roaming gangs of noisy office employees.

We went to Anthony’s Restaurant, not just because it was located just round the corner, or because it is one of the restaurants in Leeds city centre that I’ve never eaten at but also because of the intriguing possibility of their taster menu.

This was an eight course meal where you don’t know what you’re getting – apparently because the chef just makes it up as they go along – which is brilliant. We ate our way through four starters, two mains and two desserts, along with a home made loaf of bread – each!

It was rather quiet in there – indeed, we had the place to ourselves for the first hour, before two other couples turned up, and that was their entire business for the night. That is simply a cost issue though – it certainly wasn’t because of the food, which did not disappoint.

I have little idea of what I ate in most of the courses, despite an explanation from our waitress. But it was all delicious, if a little rich – by the sixth course, I was starting to think I was on sauce overload. At 10pm, we waddled out of the restaurant, stuffed. My kind of Christmas party.

Imagick not loading on MAMP for Mac

Thursday, January 17th, 2013 | Life, Tech

If you’re running MAMP and you’ve finally managed to get the Imagick extension to add ImageMagick support compiled, the battle may not be over yet. There are more things you need to do. You might get an error similar to the following.

Firstly, imagick.so was probably installed into the sytem’s PHP extension directory. So you might need to copy this into MAMP’s directory. Don’t just copy and paste the code below as you need to check the paths are correct for your system.

php -i | grep extension_dir
cp /usr/lib/php/extensions/no-debug-non-zts-20090626/imagick.so
/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/

Secondly, some of the libraries are out of date. You might get an error like the following.

[01-Jun-2012 08:46:22] PHP Warning:  PHP Startup: Unable to load dynamic library 
'/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/imagick.so'
 - dlopen(/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/imagick.so, 9): Library not loaded: /opt/local/lib/libjpeg.8.dylib
  Referenced from: /Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/imagick.so
  Reason: Incompatible library version: imagick.so requires version 13.0.0 or later,
but libjpeg.8.dylib provides version 12.0.0 in Unknown on line 0
[01-Jun-2012 08:51:54] PHP Warning:  PHP Startup: Unable to load dynamic library '/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/yaml.so' - dlopen(/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/yaml.so, 9):
image not found in Unknown on line 0

We can solve this by editing a configuration file.

sudo vim /Applications/MAMP/Library/bin/envvars

Comment out the first two lines below and add the last one.

#DYLD_LIBRARY_PATH="/Applications/MAMP/Library/lib:$DYLD_LIBRARY_PATH"
#export DYLD_LIBRARY_PATH
export PATH="$PATH:/opt/local/bin"

This should override out of date libraries such as libjpeg. If you’re still having problems, you can manually copy in the freetype library too.

cp /opt/local/lib/libfreetype.6.dylib /Applications/MAMP/Library/lib/

Though in theory this step should not be required. Restart Apache and you should see Imagick appear on the phpinfo() output.

Salad

Wednesday, January 16th, 2013 | Photos

salad

Elina strongly dislikes onions and tomatoes, so I think I was pretty safe from her stealing some of my salad.

You may or may not know less than you think

Tuesday, January 15th, 2013 | Humanism

Last week, Paul Hopwood delivered a talk to the Humanist Society of West Yorkshire entitled “You Know Less Than You Think”.

Though, for the sake of those being busy, he included a more accurate title that went something along the lines of “you may or may not know more, less or the same as you may or may not think you know.”

It is a really interesting talk and one that he has previously given at Leeds Skeptics, as well as round the country. So interesting in fact that I actually went away from the event and read The Invisible Gorilla – one of the books Paul recommends in the talk.

I think what it comes down to is that Paul is just a really interesting guy. We went for a couple of drinks after the talk and settled in to some fascinating conversations – it was only realising I had to be at work in eight hours that made me call it a night.

If you missed it, don’t worry, you can see the version he gave to Leeds Skeptics online via Worfolk Lectures. Or, why not see it in person – Paul will be speaking at Sheffield Skeptics on 28 January!

Bettakultcha

Monday, January 14th, 2013 | Events

Last week, we attended BettaKultcha for the first time.

It’s an idea that seems to have sprung up across the UK – the idea is that you have lots of speakers, usually at least a dozen, and they each get to speak for five minutes. They have twenty sides, and these automatically transition every 15 seconds – so you have to fit your talk around that!

This event was the first one they had held at Leeds Town Hall, and an audience of 100-150 people were probably there. Talks included competitive dominos, fashion blogging, things you can do your body in the name of art, pet psychics (mocking of) and many others. All in all, a really good night of entertainment.

The mobile stack

Sunday, January 13th, 2013 | Tech, Thoughts

These days, its trendy for companies to control the entire mobile stack – Apple, Blackberry, Nokia (until recently) and several other companies all make their own hardware and mobile OS, claiming that it provides a better user experience.

However, I have to wonder if this is always the case. As mobile becomes the dominant form for computer use (in many sectors, mobile use already exceeds desktop use, in others it is rapidly catching up), it may well be that the market matures in the same way that the PC market did.

Think back to before you knew what a computer was (I originally said before you were born, but we’re probably getting too old for that now). All the PC manufacturers produced their own operating system and shipped it with the computer. It was a nightmare, nothing worked with anything else and there was no consistency – you switched hardware, you had to switch software too.

Then a young man came along, named Bill Gates (and Paul Allen of course). He had the idea of an operating system that would work across everything. Thanks to that, today, you can buy whatever hardware you want, load Windows onto it and you have a consistent experience across all hardware configurations, and all your software works on it.

It can be argued that mobile is currently in a similar fragmentation at the moment. A recent report suggested that there were now 4,000 Android devices – and that was published in May and they’ve been growing since then. Add this to the number of Windows phones, iOS devices and many other smaller operating systems (Nokia still have a huge market share in the developer world, RIM are still in there too, Samsung have their own operating system, the list goes on) – that is a huge range of devices to support.

No wonder so many companies fail to provide a consistent mobile experience, or end up saying “we’re only going to support iOS.” It would help if everyone implemented web standards to the letter, but what we really need is a Windows equivalent for the mobile world.

Trust is a Must

Saturday, January 12th, 2013 | Public Speaking

In a few months, the Public Speaking World Championship qualifiers begin. Last year’s winner, Ryan Avery won with a talk entitled “Trust is a Must.” The talk combines superb use of language, a strong moral message, gestures, humour and many other techniques to form a phenomenal competition speech.

Installing ImageMagick and Imagick on Mac OS X

Friday, January 11th, 2013 | Life, Tech

Trying to get ImageMagick and it’s PHP extension working on OS X Lion is a frustrating process. It will often fail and even if you try to configure it manually you may get an error like the following.

checking ImageMagick MagickWand API configuration program...
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.

First of all, install ImageMagick via MacPorts.

sudo port install ImageMagick

Now install the imagick PECL module.

sudo pecl install imagick

Very importantly however, make sure you specify the path when prompted, to be /opt/local, do not let it auto detect! Once this is done it should compile successfully and you will be prompted to add imagick.so to your php.ini file.