Archive for August, 2012

Ulysses

Friday, August 31st, 2012 | Books, Distractions

Being in Dublin and going round the generically tourist bits, you can’t help but notice there is a lot of stuff about James Joyce – he is one of the major literary figures in the country’s history after all.

So having some time to kill while we waited for our flight back, I decided to attempt to read Ulysses. I use the word attempt not to suggest I was trying to read it all in one sitting, but to suggest I was seeing if I could read it at all. After all, Elina had said she struggled, and her language skills are significantly beyond my own.

I’ve so far made it through the first part, of which there are three, but the first is much shorter. Even that has been hard going – I had to head over to Wikipedia at regular intervals to check my understanding matched up with theirs! I seem to be roughly following though, so all is well.

Digging to the roots

Thursday, August 30th, 2012 | Religion & Politics, Thoughts

I think sometimes, we forget what the problem with a diversity imbalance is.

Take the example of students studying psychology. As of 2005, men made up 28% of students starting or continuing a degree; women made up the remaining 72%. On the face of it, this is an inequality issue. Why is it that men aren’t studying psychology? Are we being discriminated against, victims of stereotype threat, perhaps?

But it might simply be naive to assume that it is because of discrimination. Maybe it is an entirely benign reason behind the gender gap. Maybe it’s just a coincidence, maybe it’s just that men are less interested in psychology than women.

In that case, there would actually be no inequality issue – after all, inequality is about providing everyone with equal opportunities, not about forcing everyone to be the same. Suggesting that there is a problem, merely because the diversity of a particular field doesn’t exactly match the diversity of society, needs a dose of our old friend “correlation doesn’t apply causation” – and how many times have we each had to stress that to a religious person?

The reason that we often consider these issues a problem is that a lack of diversity in a particular field is usually indicative of a problem – such as discrimination- that needs to be dealt with it. But it’s important to remember that a lack of diversity isn’t inherently an inequality issue.

Converting CVS to Git, with branches

Thursday, August 30th, 2012 | Life, Tech

There are quite a number of tools to convert a CVS repository to a Git repository out there. However, most of them don’t seem to be able to copy over the branches properly. A work around is to convert it to Mercurial first, then convert it to Git.

In this example I’m using a repository called RedDog.

First, we need to get Mercurial on the system.

yum install mercurial

Next we need to add the convert extension to the .hrc file. This might be a global file, or might be in your home directory, can’t quite remember.

[extensions]
hgext.convert=

Check out from CVS and convert to Mercurial.

cvs checkout RedDog
hg convert RedDog

This will create a Mercurial repository called RedDog-hg. Now we need to get hold of Fast Export.

git clone git://repo.or.cz/fast-export.git

Once we have the software we can initialise a new Git repository that we’re going to use and then CD into the folder.

git init RedDog-git
cd RedDog-git

Run the Fast Export tool, specifying the location of the Mercurial repository.

../fast-export/hg-fast-export.sh -r ../RedDog-hg

This will migrate everything into your new Git repository. If you run an ls -a you should see the .git folder, which you may want to rename to RedDog.git (something.git locations are actually just .git directories).

You may optionally also want to do a check out into that folder.

git checkout HEAD

However, you don’t have to – you can begin using it remotely without doing a local checkout.

In the public interest?

Wednesday, August 29th, 2012 | Religion & Politics, Thoughts

Recently, The Sun broke ranks and published naked photos of Price Harry in Las Vegas.

The Sun claimed that the pictures are in the public domain, so they might as well print them. Which, I think most of us can agree, is a really rubbish excuse for breaching someone’s privacy.

Their other defence was to suggest that it was in the public interest to see naked pictures of Prince Harry.

Now, perhaps I am a little out of touch with the old generation, but I utterly fail to see how someone being naked at a party in Las Vegas is in the public interest. He might be third in line to the throne, but first in line to the thrown is Prince Charles – a man who supports homoeopathy and suggested he should be defender of the faiths, even though the title defender of the faith was specifically given to Henry VIII for attacking other religions.

More importantly, though, public interest is an important defence. Sometimes you need to break the rules because it’s important for the media to support something – take the New York Times publishing some of the information Wikileaks released about the US military gunning down innocent civilians for example.

Using it for this kind of nonsense (naked photos of Prince Harry) is a real problem because it weakens the argument when newspapers actually need to publish something that is in the public interest, and hands the government a loaded weapon when it comes to shooting down the need for a public interest defence.

The Sun has been journalistically irresponsible. But what should we expect from the same scumbags that shat all over 168 years of British newspaper history because it turned out they were doing very illegal things.

A reluctant hero

Tuesday, August 28th, 2012 | Science, Thoughts

Having just touched down in Dublin (not bragging, just sets the story up…), I’m saddened to hear that Neil Armstrong, the first man to ever walk on the Moon, has died.

Tributes flooded in from all corners and as you would imagine, Twitter was awash with people talking about how sad it was to hear. All of us, despite many of us not even being born at the time, know the phrase “one small step for man, one giant leap for mankind”.

But despite all that, I’m going to suggest that Armstrong wasn’t actually the hero I wished he had been.

He was the first man to walk on the Moon. That’s incredible! As my friend Norman wrote, “landing on the moon was probably man’s greatest ever achievement.” It was an event that brought the world together – despite it’s inspiration being a metaphorical war that was driving the two dominant ideologies of the world, apart.

But Armstrong almost never made public appearances.

The man was a hero – we all looked up to him as a real life superhero, someone who had actually gone and walked on a different planet (I know the Moon isn’t a planet, but it sounds more effective to use the word).

His words, his actions, his public appearances could have inspired a new generation to pursue a space programme with just as much zeal as we fought to get to the Moon. But he didn’t. He shrank away from the spotlight and rarely talked about his experiences.

That isn’t to say the reason we haven’t walked on other planets is his fault. That would be ridiculous – the problem was primarily the race for the Moon was spurred on by a clash of political ideologies and once capitalism had won, there was no justification for such a emphasis on the space race.

But I think it’s a shame that Armstrong never became the hero he should have been.

Exam results

Monday, August 27th, 2012 | Thoughts

Yes, it’s that time of the year again when we compare exam results to previous years.

It seems silly. If the exam results get better there is a big news story about how the exams have got easier, if the results get worse, there is a big news story about how we’ve let an entire generation down. What do they want, exactly the same results every single year?

Actually, that is exactly what I suggested last year. Standardised exams are really for comparing people against each other (if they were for the benefit of those taking them, we would personalise, or destandardise them), so why not just hand out a certain amount of each grades. It also avoids many other issues – but you can read last year’s post for the full story.

According to the BBC News story, they are also changing the way GCSEs are assessed.

Modular GCSEs are being dropped in England so that pupils starting GCSE courses this September will have to sit all their exams at the end of the course.

It has been suggested before that the modular system is partly responsible for the gender gap in education so it will be interesting to see how this change affects it in years to come.

Mystic Moon

Sunday, August 26th, 2012 | Distractions

We went for a wander round the newly renovated Central Arcade on Briggate. Turns out the Woo pushers have already moved in their and opened a shop named Mystic Moon. They even do tarot readings.

Panic on a Plate

Saturday, August 25th, 2012 | Public Speaking

Having really enjoyed Rob Lyon’s Skeptics talk on his book Panic on a Plate, I decided it would be a great topic to give a talk on at Toastmasters. Turns out it worked quite well, and I was lucky enough to pick up my second Best Speaker ribbon.

Ribbons

ActiveRecord::ConnectionNotEstablished in Rails

Friday, August 24th, 2012 | Programming, Tech

I ran into this error while trying to get Ruby on Rails 3.1.1 which I installed from the Rails Installer to talk to MySQL. My stack is built from WAMP, so it might not have been as easily as it would be on a standlone MySQL installation.

Here is are the steps I took to fix it.

Edit Gemfile in project and add the following line.

gem 'mysql2', '< 0.3'

Rebuild the MySQL adapter with your version of MySQL.

gem uninstall mysql2
gem install mysql2 -- --with-mysql-config="C:/wamp/bin/mysql/mysql5.5.16/bin/mysql_config.pl"

Download the MySQL connector from the MySQL website.

http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstall-6.0.2-win32.zip/from/pick

Once you have the zip file, uncompress it and copy lib/libmysql.dll to the Ruby bin directory. Finally, go back to your Rails project and run the following command.

bundle install

I was finally then able to run a command such as the following.

rails generate model Something name:string

Without it throwing any errors up.

Wrestling the Troll

Friday, August 24th, 2012 | Religion & Politics

A few months ago, Paula Kirby, executive director of the Richard Dawkins Foundation, publicly wrote about some of the problems see saw in the freethought movement, in her essay Sisterhood of the Oppressed .

Since then I’ve found an increasing number of blog post and other links arriving in my inbox regarding the current splits in opinion. I hadn’t actually seen The Amazing Atheist’s Don’t Take This The Wrong Way video, nor indeed had I see Rebecca Watson’s original video until I saw it embedded in that one. I hadn’t heard about Thunderf00t getting kicked off FTB for daring not to toe the party line either.

PZ Myers video response is worth a watch too, as it lays out a good dogma for atheist. Perhaps dogma isn’t the right word, but I’m not being sarcastic there, if you wanted to lay out what movement was about, it was a great way to do it.

Unfortunately, I didn’t feel the video ended as strongly as it began. PZ then to try and what I can only describe as deliberately trying to divide people into an “us and them” mentality when he suggests that FTB is going to continue to promote “equal respect for everyone at conferences and in everyday life”, suggesting (or in Thunderf00t’s case, openly stating) that anyone who doesn’t conform to the FTB dogma is against equality. This is obviously nonsense.

It’s concerning how often PZ and FTB’s name keeps coming up in a wide range of criticism from lots of other atheist writers. As I mentioned at the start, Paul Kirby was already aired her concerns, and now Sam Harris has become the next big name to speak out against how he feels mistreated in his blog post Wrestling the Troll.