Chris Worfolk's Blog


September Wendy House

September 18th, 2012 | Friends, Life

Due to Freshers’ Week, Wendy House was moved to a week earlier – which means Wendy House sooner, but then of course a huge gap between this one and October’s. It also should have landed bang on Norm’s birthday, but ended up seven days earlier – inconsiderate.

Never the less, we took quite a good crowd there – we booked taxis for 19 people and despite still not drinking, I made it to a very respectable 2am before heading home.

Installing Mongo PHP driver on CentOS 6 cPanel

September 17th, 2012 | Life, Tech

Once again, the PECL installer. In order to get the Mongo driver for PHP working, you need to install it manually.

mkdir mongo
cd mongo
wget https://github.com/mongodb/mongo-php-driver/zipball/master
unzip master
cd mongodb-mongo-php-driver-df8b217
phpize
./configure
make install

Add the extension to your php.ini file.

extension=mongo.so

Restart Apache, and Mongo should appear inf your phpinfo() output.

Seriously, quit your job

September 17th, 2012 | Success & Productivity

To be clear, you shouldn’t quit your job. Well, maybe you should. In any case, read on…

We’re all trapped like rats in a capitalist system, right? None of us enjoys going to work. Sure, many of us are in jobs that we describe as liking, and in many ways, I do like my job, but that is a subjective term.

What we mean when we say we like our job is that we’re content with it – as jobs go, we’ve got one we want to be in, with the alternative being in a job that we don’t want to be in. But ultimately, we’re not doing jobs for fun, or voluntarily, we’re doing it because we live in a society where we are forced to work to live.

Unfortunately, it’s very difficult to break out of said system so the best most of us can hope for it just to play the game as best we can. The better you play the game, the more money you earn and the better job you can get – better probably meaning less work, because it’s an inverse pyramid – those Crew Members at £4.30 an hour (and that is what they are paid if they’re under 18!) are doing a lot tougher work that us sat in our offices in salaried jobs. Meanwhile, Richard Branson starts each day with a swim around his private island – more money equals less work.

So how do we play the game better?

The best tip I can give you is to leave the company you are currently with.

It almost never pays to stay with the same company. Even if they’re giving you good promotions and good pay rises, you can almost certainly get even more by going elsewhere, to a different company.

Why? Because the current company has you and thinks you will probably stay with them because it’s a hassle to switch jobs. Another company doesn’t have you, and is hiring, so it clearly in need of extra resource and knows it will have to pay to go out there and get it.

Don’t just take this statement is automatically true, though. I’m not claiming to be an expert on the subject. But I got the inspiration for this blog post when doing analysis on my pay rises over the years. Here are the results:

Year Increase Moved/Stayed
2008 58% Moved
2009 39% Moved
2010 21% Stayed
2011 19% Stayed
2012 124% Moved

The results are striking – the years when I stayed with the same company, I achieved pay increases of 19 and 21 percent, while the years I moved to a different company, I achieved 58, 39 and 124 percent.

Those aren’t small, insignificant differences – we’re talking double the pay increase, at least, by moving company. Clearly, it pays to go elsewhere.

Who gets to care about equality

September 16th, 2012 | Religion & Politics

Recently, the following tweet appeared on my timeline.

I’m not ensure sure what so called men’s rights activities are. People who the author feels are not actually interested in men’s rights but have some other kind of agenda? How would you tell the difference between these people and people genuinely interested in men’s issues?

This recurring theme is very interesting though, as it suggests, as many comments have done recently, that someone can be disqualified from having an opinion or interest in equality, because of their gender.

This seems very strange to me. The idea that you could improve gender equality by banning one gender from having an opinion.

To me, having a fair and equal society is everyone’s business. Some people may consider it advantageous to their specific demographic to be privileged, but I believe that it is everyone’s interest to work towards equality.

Indeed, it may be considered more admirable for such individuals to fight for equality. Fighting for your rights if you are at a disadvantage is a welcome attitude, but ultimately, you are only acting in your own self interest. But those who are in the privileged group, and still fight for equality, are the epitome of morally conscientious citizens.

Humorously speaking

September 15th, 2012 | Public Speaking

On Thursday, it was Leeds City Toastmasters “humorously speaking” competition. The club holds biannual competitions, one in the spring for motivational speeches and this one, for comedic ones – these then advance to the area competition and then continue moving on and up from there.

We started the evening meeting at Nawaab, an Indian restaurant on Wellington Street. It was good value at £11 for a three course meal, but my stomach certainly wasn’t too happy with what I put in it and the desserts were straight out of the freezer – packaging included and no time to thaw.

We made it to the competition just in time and I certainly didn’t fancy my chances – all three of the other speakers who had entered the contest were senior members of the club, one a former area governor who regularly speaks from the advanced manuals.

Somehow, I turned up with the victory though and now move onto the area competition in a few weeks!

La Grillade

September 14th, 2012 | Reviews

It was Wednesday evening and Elina was being too lazy to cook (we take it in turns, and it was hers). So we decided to head out to grab something to eat and eventually settled on La Grillade.

As a French restaurant in the city centre, it has tough competition from Sous le Nez.

We decided to take advantage of their three course set meal. I say set, we went for the slightly more expensive one, from which you can just pick any starter and dessert off the main venue.

I decided to go for the frogs legs as I haven’t tried them before. Turns out they taste a lot like chicken, but not as nice. I don’t think I’ll be having them again, but it was an interesting experience.

For the main we had a rack of venison, that was cooked to perfection and extremely delicious. It also came with a wide variety of side dishes – you wouldn’t think you could do that much with chips and veg, but apparently, you can.

The desserts were excellent too – you know what you’re getting with a mouse au chocolat, and the lemon sorbet lived up to expectations as well.

All in all, a fantastic meal, but comes up at least as expensive as Sous le Nez, so I would expect it to. Recommended, in any case.

Veritas

September 13th, 2012 | Reviews

Last week, we had dinner at Veritas. It’s a great pub, so we thought it would be nice to try the food.

It was reasonable, though I can’t even remember what I had, so clearly not very memorable. Elina had the special chicken and bacon pie, which she described as “a lot of meat”, which is definitely a compliment. Don’t think I’ll be rushing back there for the food though.

TGI Friday’s

September 13th, 2012 | Reviews

Apparently, in there, every day is Friday. Except for us, it was a Monday. But now that me and Elina work over the road from each other, and TGI Friday’s is just next door, we decided to try it out for lunch (I have been to TGI before, but not in the past 15 years, which is quite a long time lol).

We both went for the ribs, which were good, but then given how close we live to Cattle Grid, it was always doomed to leave us a little disappointed. It didn’t help that they had run out of the beer glaze sauce, so we had to have the regular.

Service wasn’t too snappy either, so ended up getting back slightly late. It is otherwise very convenient for lunch though.

September Humanist Community

September 12th, 2012 | Foundation, Humanism

This month saw the first of the new format “roving venues” Humanist Community. As such, we met for a meal at Akbar’s on Greek Street.

Install Memcache on CentOS 6 cPanel

September 11th, 2012 | Programming, Tech

Here is how to install Memcache for PHP on a CentOS 6 cPanel / WHM box. Some of the guides suggest that you need libevent (well, you do need libevent), though when I tried it, I already had it installed. But if you need it, yum will sort you out.

yum install libevent

Next, install memcache itself. Note that the package is called memcached.

yum install memcached

Of course, just installing it doesn’t mean that the daemon is running. So don’t forget to start it too!

/etc/init.d/memcached start

Finally, we need to add the PHP extension. Beware that the PECL installer on WHM won’t work! So you need to compile it manually from source. That isn’t too difficult though.

wget http://pecl.php.net/get/memcache
tar zxvf memcache
cd memcache-3.0.6
phpize
./configure
make
make install

And add the extension to your php.ini.

extension=memcache.so

Now restart Apache and a memcache section should appear in your PHP info.