Archive for August, 2012

PHPUnit and PEAR packages break on Mountain Lion

Monday, August 6th, 2012 | Programming, Tech

If you have recently upgraded to Mac OS X Mountain Lion (10.8) you may find that PHPUnit and other PEAR packages no longer work. You may get errors similar to the following.

PHP Copy & Paste Detector

Warning: require(PHPCPD/Autoload.php): failed to open stream: No such file or directory in /Users/chris/pear/bin/phpcpd on line 49

Fatal error: require(): Failed opening required 'PHPCPD/Autoload.php' (include_path='.:') in /Users/chris/pear/bin/phpcpd on line 49

PHP Mess Detector

Warning: require_once(PHP/PMD/TextUI/Command.php): failed to open stream: No such file or directory in /Users/chris/pear/bin/phpmd on line 38

Fatal error: require_once(): Failed opening required 'PHP/PMD/TextUI/Command.php' (include_path='.:') in /Users/chris/pear/bin/phpmd on line 38

Unfortunately, there doesn’t seem to be an easy way to fix them, other then by reinstalling each package.

sudo pear install --force --alldeps phpunit/phpunit
sudo pear install --force --alldeps phpmd/PHP_PMD

The tools should then run as expected.

Doormat

Monday, August 6th, 2012 | Photos

Doormat

How can they possibly manufacture, ship and sell a doormat, at a profit, for 99p?

The problem with FGM

Sunday, August 5th, 2012 | Religion & Politics

Over the past decade, the term female circumcision has been replaced by the term FGM – female genital mutilation.

It’s almost certainly a more accurate term. FGM is entirely unpalatable, the cutting out of a young girl’s genitals (you could say “before she is too young to consent” but that would be meaningless as almost nobody would ever give their consent for such an act, certainly nobody in the right state of mind) no for no reason than depriving her of one of the most basic human pleasures is a beyond-abominable act.

But such a change, without it’s male counterpart, has one drawback.

At the launch of Pro Life Through Pro Choice campaign, a pro choice group which advocated such a stance was also pro life, Norm innocently used the term “female circumcision”, only to be hounded for the rest of the meeting for having the nerve to accidentally use what some people in the room considered the wrong term.

But, when we used the term male circumcision, no such outcry was heard. Even though we now know such a procedure is just as unjustified as its female equivalent, the voices remain oddly silent.

This is a real problem because it creates a double standard – female circumcision gets upgraded to FGM because it’s so heinous, yet male circumcision is allowed to keep its name because it isn’t as wrong. That, as far as I can see, is the only message you can take away from such a change.

It creates at atmosphere where circumcision remains an acceptable term because we have a whole different term of something that is wrong. This gives the term circumcision a free pass – and it shouldn’t have one. It’s a betrayal of the young boys in our society to grant it one.

That isn’t to say that we should rename FGM back – we could simply rename its male equivalent to male gentile mutilation. But either way, we shouldn’t grant any more credence to the idea that it is more acceptable to mutilate a boy’s genitals, than it is a girls.

EDIT: Since originally penning this article, a friend pointed me to a news story on The Guardian in which some campaigners were quite open about the fact that thought millions of males should suffer in case it jeopardised their own position in some unknown way.

Flash

Saturday, August 4th, 2012 | Photos

I recently got a flash gun for my camera, so I’ve been taking lots of pictures of Moomintroll.

Defining the EU

Saturday, August 4th, 2012 | Religion & Politics

EU definition

Mixed grill, in a burger

Friday, August 3rd, 2012 | Events, Photos

It’s been a while since I last stopped by York Brights, so I decided it was high time to turn up to a meeting. It was a somewhat intimate affair, with only six of us there (usually there are loads of people these days), but the conversation was never the less it’s usual excellent standard. We also noticed an item on the menu we hadn’t seen before.

The mega mixed grill burger as it is known is just that – a mixed grill in a burger. They start off with a huge burger, was at least half a pound, if not more – I just don’t really know how much a pound is but it was definitely at least as big as two McQuarters. They then put a fried egg, a gammon steak, a chicken fillet, a pineapple ring and a sausage, wrap it all in the world’s largest bread bun and surround it with chips. Amazing.

Mega mixed grill burger

Jennifer Government

Friday, August 3rd, 2012 | Books

Jack having mentioned Jennifer Government a few times, I decided it was worth giving a read.

It’s a science fiction book, though set in the present day, except that society has taken a very different course of action. Capitalism has been allowed to run rampant and now almost everything is privatised – even the police is a private company. It was almost about to say “even the healthcare system”, but then I remembered that isn’t some kind of horrible nightmare, that is just present-day United States.

I enjoyed it, but to discuss the reasons why would only end in spoilers, so I will simply say, if you’re a fan of Brave New World and Nineteen Eighty-Four, then you’ll probably enjoy this.

Surviving Identity

Thursday, August 2nd, 2012 | Events, Religion & Politics

Recently, Leeds Salon hosted Ken McLaughlin, author of Surviving Identity: Vulnerability and the Psychology of Recognition.

The book itself is a good read. I found the first chapter or so, which discusses the transition from the old social movements (such as traditional labour and trade union movements) so the new social movements that we say today, went over my head somewhat. Not that it wasn’t well written or easy to follow, but I won’t claim to understand the nuances of the historical development of sociology. But beyond that, I settled into an enjoyable read.

Ken’s thesis looks at the increasing prevalence of the “survivor mentality” – once a term used for people who survived the Holocaust, now an increasing number of groups describe themselves as survivor groups, even though the category of things you can die from had been left long behind.

He also commented on the increase of people classified as “vulnerable adults”, which only 40 years ago was restricted to those with mental health issues that explicitly put them at risk of serious abuse, to today’s standard where simply being old can qualify you as a vulnerable adult, in which everyone who comes near you must be rigorously CRB checked, of which the extended CRB checks can include information like accusations – even if you are found innocent. Such restrictions don’t help the field of social care, but more importantly, they don’t help the people they are designed to protect.

If interested, you can find the book on Amazon.

You want to pay in “money”?

Thursday, August 2nd, 2012 | Thoughts

Banks are a joke. While most shops are offering increasingly extended opening hours, most banks continue to open 10-5 on weekdays, preventing anyone with a job, and therefore money, the very thing the banks are after, actually being able to go there and use it.

Luckily, this is gradually, very gradually, starting to change. The HSBC in the city centre now opens on a Saturday.

So last Saturday I headed down there to pay some money in for CWF.

However, when I arrived, I found all the counters closed. So I asked the customer service person standing on the door, how I was to go about paying money in. “I’m sorry sir, we don’t offer that facility on a Saturday. It’s only Monday to Friday.”

Apparently, because I had some coins to pay in, and they don’t operate a counter service on a weekend, I couldn’t actually pay any money into the bank account, despite the bank being open. You couldn’t make it up…

State of the job market

Wednesday, August 1st, 2012 | Religion & Politics, Thoughts

The recent global recession has been a real boom time for me. I’ve switched jobs several times and now gone self employed. When I was lead developer over at Buzz we couldn’t hire people fast enough, and even when we could, the often ended up going elsewhere as other companies desperately tried to attract them with ever spiraling pay increases. Kick backs for referrals started reaching four figures.

Never the less, I heard a lot in the media, and from other people, about how hard it was to get a job and about the record levels of unemployment. The news is full of headlines about how bad things are.

I put it down to the industry I was in. We must be an island, resilient to the global economic downturn, ever-expanding while the rest of the world was reseeding. Sure it was easy to get a job if you worked in software development, but everyone else must be struggling.

Then, in April, Elina moved over to the UK. She had just graduated and had no real work experience. But together we wrote her a CV, put together a “job hunting action plan” and did some interview practice. Within two weeks she had a series of interviews lined up and was offered two of the first three she went to.

In fact, they wanted to start her so quickly that she had already done two days work for one company before receiving a better offer and leaving to go another one.

This once again made me question as to whether there really were no jobs available out there. We certainly didn’t find a lack of them when looking for Elina – just trawling through Gumtree threw up dozens of local vacancies each day.

Having spent three years working at McDonald’s, I have quite a few friends still working in McManagement. Conversations with them tell a similar story to the IT industry – they’ve been pretty much continually recruiting throughout the entire recession.

Last weekend, I also spoke to my auntie who works for a charity shop. While she took the job part-time to give her something to do in her retirement, she is currently working full time because they can’t fill the two paid vacancies they have at the moment.

So if the industry I work in has plenty of jobs, the industry my friends work in has plenty of jobs, the industry my relatives work in has plenty of jobs and Elina can get a job without any real work experience in only a matter of weeks, how then can you make the case that there are no jobs available?

The answer is, I’m not sure you can. The last resort of an answer I could pull up was perhaps due to age barriers as most of my friends are young – but as I’ve already said, my auntie has retired once!

That then opens the question up as to why there is so much unemployment.

Two answers spring to mind.

First off, people just won’t take the jobs available. It’s almost certainly no coincidence that the biggest constant in recruitment are companies like McDonald’s – nobody wants to work there. Many people consider themselves too good to work there. You can argue that it is demeaning for people with a degree to go work in fast food, but I think that is a real insult to people like myself and Norman who did go work there – and we’ll both tell you that we learnt loads!

Not to mention the fact that a bachelor’s degree is far from anything special anymore. But more to the point, it’s totally reasonable for employers to want to hire well rounded people, who have some knowledge of the real world outside of academic the academic environment.

Secondly, I think there is a failure of our education system to prepare people to job hunt. When I finished school, I will put my hand up and admit that I didn’t know how to job hunt. We had gone over writing a CV at school but that is about where it ends.

Job hunting is a lot of work! Loads! I actually much prefer being in a job (although being self-employed is even better) than looking for one because it’s LESS work. When you’re job hunting you need to be putting in a full 40 hour week, you need to be up first thing in a morning, looking presentable to go round speaking to people. When I’m working I can role out of bed any time up until 10am (I like to be in the office by 7:30, but the point is I could go in at 10), and turn up in “whatever you wake up in” – that’s a quote from one of my manager’s.

But I didn’t realise how much effort was required. Nobody at school ever said to me, “it should be a 40 hour week and you need to make sure you have an action plan and a spreadsheet of who you have contacted and when you’re chasing them up.” School should be teaching that because otherwise, it is no wonder that people are unable to find themselves one of the many jobs that are out there.