That Sinking Feeling…

It was all going so well. Although I’d spent about twenty minutes sat in the queues in Wokingham to get across the level crossing, I’d had no problems retrieving the money I’d contributed to the SSE Sharesave scheme over the years from the branch of Halifax in town. Whilst it wasn’t anything like the amount that would have come back in shares based on the current price, it was still a nice sum.

Going back down towards the office, there was what looked like two muddy tracks on the road coming out of a building site, but I didn’t pay much attention to it. I pulled into the car park, and then reversing into the space the steering felt a bit heavy. I got out to a really audible hissing noise, and the front wing of the car slowly sinking…

Space Saver Spare

Anyway, it was tipping down with rain, and since I didn’t much fancy struggling with the weedy little tools in the wet, and after the quick work they made of it last time, I took the easy way out and made use of my rarely used AA membership, and got a patrolman – complete with big beefy jack – to change over to the space-saver spare.

Thankfully, the patrolman appeared in what turned out to be one of the few dry periods in the afternoon. As before, he had a full sized trolley jack, and made quick work of getting the tyre off, the only point of difficulty being the traditional struggle to shift the machine tightened wheel nuts. When the AA man got the tyre off, we had a look around it to see where the hole was – and at first site, it seemed absolutely fine. After a closer look the AA man spotted a small split in the tread, but no sign of the cause. I had a quick look around the car park, but there was nothing obvious, so whatever had caused the puncture must have dropped off pretty quickly. Annoyingly it wasn’t a puncture in the old tyres on the back either, but in one of the two new tyres I bought just before Christmas – I’d got just three months use out of it! Anyway, I put in a call to Ridgeway and ordered in a replacement. Slightly amusingly, after forgetting to note down the tyre details before phoning them last time, I made sure I had all the tyre details, however I needn’t have bothered as Ridgeway had kept a note of them from last time! Hopefully with the relatively new tyre on the passenger side at the front, there won’t be an issue with uneven tyre wear. My experience with the first set of front tyres on the Golf is that the drivers side seemed to have worn a bit quicker than the passenger side anyway, possibly something to do with having most of the weight on that side of the car most of the time I guess. The new tyre will be in by tomorrow lunchtime, so I’ve been allowed to leave work early tomorrow afternoon to get it fitted. I guess I should be more careful of what is in mud on the road in future too!

The Bishop of Oxford at St James

The Bishop of Oxford

We’ve just got back from the first of this years series of Lent Lectures at St James, a talk on inter-faith dialogue from Richard Harries, the Bishop of Oxford. It was quite an occasion in the life of the church, as thanks to the size of the diocese of Oxford, most of the times we see a bishop in Finchampstead, it is the Bishop of Reading.

The subject of his talk came from his long standing interests in communication between Christians and other faiths, including being the Chairman of the Council of Christians and Jews from 1992 – 2001, and as a founder member of the Abrahamic Group in Oxford which brings together Jews, Muslims and Christians for serious theological dialogue. He started by looking at some of the reasons why maintaining a good inter-faith dialogue is important, for example highlighting the part Churches played following the riots in Bradford. He also strongly made the point that we should not shape our opinions of other faiths through stereotypes or caricatures. For example whilst extreme Islam is what makes the headlines, equally there are many many normal Muslims who don’t hold such beliefs, and object in much the same way that many Christians object to groups like Christian Voice claiming to speak for all Christians.

He then moved on to some of the thinking that needs to go on behind the dialogue, particularly looking at, and debunking the four major ways in which people deal with different religions as being valid methods:

  1. The fundamentalist view, that all other religions are evil and the work of the devil.
  2. ‘All religions say the same thing’
  3. ‘There is no truth in any religion’
  4. There are elements of truth in all religions but Christianity (in our case) is the only one which has it all correct.

His core message was that theologically you have to go in to any discussion being open, and certainly not looking on it as an opportunity to convert someone to Christianity. The essential theme was one of respect, that those people you are speaking with hold beliefs that differ from your own just as deeply as you hold your beliefs. This did produce a bit of polite Finchampstead disagreement from some in the audience, who from the phrasing of their questions took more of a literal interpretation of ‘preaching the Gospel’. The Bishop countered that the sort of direct, street corner preaching, or blatantly manipulating a discussion towards religion rarely works as a tool for gaining converst, and if anything has the opposite effect, annoying most people. As an example, he cited a visit to Leeds, where the driver of the taxi that collected him preached at him the whole time, and even handed him leaflets on Islam with his change when he paid the fare. Like most people in that situation he couldn’t wait to escape. He instead said that Christians should be preaching through multiple mediums – through words if appropriate, but as much through lives, and through behaviour and attitudes. As he pointed out, the message of words is lost if people can see that our actions do not match with those words.

The questions following the talk covered a diverse selection of topics, including highlighting the problem of the media, with which he agreed with the questioner that the media makes matters worse precisely by highlighting the extreme Muslim clerics, and groups like Christian Voice. This was then followed up by a comment from someone sat a couple of rows in front of us who demonstrated exactly what had been said about stereotyping, and how the media focuses on extreme groups, by asking whether current problems were caused by the fact that all followers of Islam were taught to hate non-Muslims, citing the example of the fatwa issued against Salman Rushdie. The Bishop countered by pointing out that senior Muslim clerics in Britain had opposed the fatwa at the time. He also highlighted that more recently, although the press primarily concentrated on the high profile Muslim protests, the protests were not representative of all Muslims.

The discussion then moved on to a question over whether if the Church of England were ever disestablished, with greater attendance at mosques than Churches, Britain would cease to be a Christian country. As would be expected, he disagreed with the proposition that disestablishing the church would result in people suddenly not regarding themselves as Christian, certainly a recent survey found that most Britons regard themselves as Christian despite not attending Church. We then went down a route that has come up quite often at Church meetings before, with several people putting forward the opinion that the country is being flooded with Muslim immigrants, which tends to annoy me as it isn’t backed by the figures which show that of the top five largest groups only one is from a Muslim country. Again I see it as an example of peoples fears being whipped up by the press. In response to this the Bishop then said that he believed that disestablishment could result in a resurgence of Christianity, almost as a wake up call. I think the big point to make here is that rather than bemoaning the rise of Islam we should be looking at how to bring people into Churches, for example if the Church could bring even a quarter of the 67% of people in the BBC survey who said they were Christian, then would there even be a problem. Indeed other statistics in the same survey seem to imply that Muslims are more likely to go to a mosque, with 38% of Muslims going weekly compared to only 17% of Christians. Rather than endlessly discussing what can be done about ‘the rise of Islam’, Churches really need to be focusing on why they are putting off the vast majority of people in this country who regard themselves as Christian. The Bishop finished this bit of discussion with an interesting comment, that the biggest proponents of keeping the Church of England as an established Churches were a senior Islamic cleric, and the UK’s Chief Rabbi, both of whom regarded the presence of an established church as acting almost as a steadying, tolerant force that protected minority religions such as theirs. Indeed he made the point that liberal Christians, Muslims and Jews were probably a lot more comfortable with each other, than with the more fundamentalist wings of their own religions!

As you will probably be aware, the Bishop retires at the beginning of June, with his last service at Oxford at Easter, so we were given the opportunity to buy a book of reflections on the Bishop, ‘Public Life and the Place of the Church: Reflections to Honour the Bishop of Oxford’ being sold to raise money for his outreach fund.

As my pretty epic posting probably shows, this was a pretty thought provoking way to kick off the lent series. The relatively big name speaker, reflected in a pretty high attendance, with at least a third of the ninety or so people who came along being from other Churches. Julie Kentish-Barnes, Beth’s landlady when she first arrived in the UK had even come up from her new place down near Odiham, which allowed us to catch up with her news, and to arrange to go down to see her when Beth’s parents visit in the summer. It certainly will be interesting to see whether this is repeated with next weeks lecture, both in terms of the discussion it provokes, and the attendance.

Maybe the Cat is Putting On Weight?

Sophie Looking Relaxed

Now when we moved into this house back in 2001, we took the option to have a security system wired into the house whilst it was being built. Amongst other things it has a number of movement sensors throughout the house. Although we were fairly certain that Sophie was small enough when wandering around the house not to trip the sensors, we did have a reduced activation set-up that enabled us to, having shut various doors in the house, arm the alarm in those areas, but not in those that Sophie spent her time. So we’ve been carefully ensuring that we use the reduced set when she is in the house.

Anyway, when Beth got home, she got to the front door, put the key in the lock, was about to open the door and the alarm went off. She came in and checked the house, but all the doors that were supposed to be closed were closed, and nothing seemed amiss. When I got home a little while later, I dug out the manual, and following the instructions tracked back through the log to see what caused the activation. Thankfully it was only activated when Beth got home – so the alarm hadn’t been going off all day, but what was surprising was that the activation was from one of the sensors that was supposed to be disabled. Checking on through the settings, it turns out that the reduced activation set-up that we thought we had, wasn’t set, instead it has been fully arming the whole system all the time.

Now what is quite amazing is that she hasn’t set it off up to now, so it does seem to confirm what we thought, that the sensors don’t pick her up. Having said that, we don’t quite know what she did to set it off today. She does tend to get up and come downstairs when she hears someone pull in to the drive – maybe she’s put on more weight, as she certainly is bigger since her treatment settled down her hyperthyroid. Having said that, having tried a bit of experimentation, and watching the sensors as she moves around, she doesn’t seem to be activating anything.

Of course, needless to say she’s being totally uncooperative about helping experiment with what sets off the sensors, suddenly all the places we usually have problems with her jumping on to, she won’t jump to… Typical.

St James Welsh Supper

After our patriotic English supper near St Georges day last year, with Rev Richard having Welsh roots, this year it was decided to do a Welsh supper, held close to St Davids day.

Women of the Choir

So last night we all gathered up at the Parish Centre for a meal of Leek and Potato soup, followed by a Welsh stew, and then Bread and Butter pudding, with a mixed bag of entertainment including Rev Richard singing the Welsh National Anthem, John Dewhurst reading from Dylan Thomas, and as usual with a number of contributions from the choir.

It has to be said that there were some decidedly non-Welsh items on the running order – indeed some that we used at the English evening last year! However, the gentlemen of the choir contributed the finale, a male voice choir version of When I Survey the Wondrous Cross written by Emrys Jones. The first four verses are comparatively quiet, at least according to the music, however the final verse is marked double f, so with the full group of eight men in our choir is apparently pretty loud! Following on from that, the full choir did a new version of the well known Cwm Rhondda, with words to welcome John Edwards, our new assistant priest. When it was announced, Rev Richard started to look worried – as the past couple of concerts, he has been the subject of various items with new words – there was a definite look of relief when Andrew said that Rev Richard was being given a break this time, closely followed by “Hello John!â€?.

As before, the revised words for the item were written by Andrew Powell, one of the other basses, who spends a lot of time during the week on the road for work (not sure if that is a valid excuse…). However, he provided two items this time, the other involving Beth. Outside Beth, Julia, Andrew Powell and Andrew Bosely who played the piano, I think I was the only person who knew what was going on. Certainly Paul, Julia’s husband, based on his intro didn’t know what was going on, and apparently Andrew Powell had some awkward questions earlier in the day when his wife found a long black hair in their bathroom! Anyway, thanks to Andrew having brought his video camera along, you can enjoy Beth, Julia and Andrew performing a version of Three Little Maids from The Mikado by Gilbert and Sullivan. Dodgy camera-work by yours truly, comedy introduction by Paul…

VB.Net from a C# Perspective

Earlier in the week, in my post about the new job I mentioned that I was doing some VB.Net development.

The generally accepted belief is that since VB.Net and C# both compile down into the same thing, the languages are much the same, certainly that it’s not too much of a problem to cross-train.

I have to say that my experiences this week have no reason to disagree with that assessment. Given a good reference, an experienced programmer in one language shouldn’t have too much difficulty picking up and working with code written in the other. Having said that, there are some differences, some pretty subtle, that could either trip up, or just annoy someone making the crossover.

Perhaps the biggest annoyance from my point of view is how verbose everything ends up being when coding in VB.Net. Although Visual Studio will fill in quite a bit if you skip over it, there is still a lot more typing to accomplish the same thing. What is a bit frustrating (and I know this is an old VBism) is the way VB.Net uses two different constructs where C# uses one. Take functions and sub-routines. In VB.Net a function returns a result, and a sub(-routine) doesn’t. In C#, everything is a function, the equivalent of a sub(-routine) is a function that returns nothing, by using the void keyword. Looking at class definitions, in C# you can inherit from classes, and implement interfaces by just listing them in the definition following a colon (‘:’). VB.Net have the two words, ‘Inherits’ and ‘Implements’ followed by the relevant class and interface names.

So far I have only come across one issue that I regard as a major problem, and it is worth saying that this has been addressed in the 2005 release of VB.Net. Quite often when trying to write generic functions you want to check whether an object is a particular type, or implements a particular interface, and then cast the variable to that type to perform some actions on the object. When you run code through FXCop, it will always throw up an objection if you check the type, and then cast it as two separate calls, as this will unnecessarily cast the type twice, impacting performance. What it suggests is using the C# ‘as’ operator instead, as this will return ‘null’ if the object is not of the right type, rather than the other options which will throw an exception. In this way you make the conversion straight off into a local variable, and just have to check for null, knowing that if the variable isn’t null, then it is already the right type. To be blunt, you can’t do this in VB.Net prior to the 2005 release. However you try to convert the type, it will always throw an exception. You’re either faced with doubling conversions, or having your application generate and catch the exception, something that is even slower.

Having said that, there are some nice constructs. One that has made the transition from VB6 which aids readability – and in VB6 helped performance too, is the ‘with’ statement. Certainly for blocks of code where you are setting a whole series of properties and methods from the same object, it makes for more readable code.

I’ve only given a quick overview of some of the differences. Certainly if you’re a C# programmer handed some VB.Net or a VB.Net programmer handed some C# there is not too much to worry about. If you’re a non-technical manager who is in a situation such as the one I heard about recently where a C# team (many of whom had done VB6 before) refused to take over a project written in VB.Net until it had been entirely re-written for them in C#, I certainly think that it is financial lunacy to waste the resources doing the re-write, especially as the assemblies produced in each language interoperate directly. A good reference to each language, or a good conversion guide such as the excellent “C# & VB.NET Conversion Pocket Reference” by Jose Mojica, a bargain at only £6.95 are enough that any competent programmer in one language, should be able to work in the other.

If you’re starting a new project, the choice really comes down to other things, and to be honest I’d recommend people go with C# every time. Whilst there is an argument that VB6 programmers may find VB.Net easier, there are again some subtle problems to catch you out, and in some ways the whole way of thinking about an application is different. The new syntax in the C# might be easier to handle than the more subtle spot-the-difference that swapping between VB.Net and VB6 may produce. Quite apart from that there are more reference books, and more examples around written in C# – indeed out of all the .Net training and presentations I have seen, only a single, hour long session has been in VB.Net rather than C#