My blog has moved!

You will be automatically redirected to the new address, all posts have been transferred from this blog. Use site search to find them. If that does not occur, visit
http://www.ianhopkinson.org.uk
and update your bookmarks.

Saturday, June 25, 2011

“Ridiculously long vacations”?

Lord Adonis, former education minister, is reported here as saying universities should:

…just abandoning these ridiculously long vacations … That only really makes sense as far as I can see if you want to travel the world or you need to get a job…

This is to misunderstand what happens during the long university vacation – the teaching staff, who are also research staff are getting on with doing research or, more painfully, trying to get funding for research. His point is not entirely without merit: universities have a distinctly schizophrenic attitude to teaching. If, as I have, you have applied for a number of lectureship positions you will learn that the time in interview dedicated to discussing your teaching experience, aspirations and ideas is approaching zero. Status in a university department depends largely on your research achievements, not your teaching achievements. This means there is scope in the market for universities that make teaching their priority, rather than research.

Monday, June 20, 2011

Book Review: The Visual Display of Quantitative Information

 

tufte

**I’m now blogging at http://www.ianhopkinson.org.uk/, please adjust your links – this post can be found here**

The Visual Display of Quantitative Information” by Edward R. Tufte is a classic in the field of data graphics which I’ve been meaning to read for a while, largely because the useful presentation of data in graphic form is a core requirement for a scientist who works with experimental data. This is both for ones own edification, helping to explore data, and also to communicate with an audience.

There’s been something of a resurgence in quantitative data graphics recently with the Gapminder project led by Hans Gosling, and the work of David McCandless and Nathan Yau at FlowingData.

 

The book itself is quite short but beautifully produced. It starts with a little history on the “data graphic”, by “data graphic” Tufte specifically means a drawing that is intended to transmit data about quantitative information in contrast to a diagram which might be used to illustrate a method or facilitate a calculation. On this definition data graphics developed surprisingly late, during the 18th century. Tufte cites in particular work by William Playfair, who was an engineer and political economist who is credited with the invention of line chart, bar chart and pie chart which he used to illustrate economic data. There appears to have been a fitful appearance of what might have been a data graphic in the 10th century but to be honest it more has the air of a schematic diagram.

Also referenced are the data maps of Charles Joseph Minard, the example below shows the losses suffered by Napoleon’s army in it’s 1812 Russian campaign. The tan line shows the army’s advance on Moscow, it’s width proportional to the number of men remaining. The black line shows their retreat from Moscow. Along the bottom is a graph showing the temperature of the cold Russian winter at dates along their return.

800px-MinardInterestingly adding data to maps happened before the advent of the more conventional x-y plot, for example in Edmund Halley’s map of 1686 showing trade winds and monsoons.

Next up is “graphic integrity”: how graphics can be deceptive, this effect is measured using a Lie Factor: the size of the effect shown in graphic divided by the size of the effect in data. Particularly heroic diagrams achieve Lie Factors as large as 59.4. Tufte attributes much of this not to malice but to the division of labour in a news office where graphic designers rather than the owners and explainers of the data are responsible for the design of graphics and tend to go for the aesthetically pleasing designs rather than quantitatively accurate design.

 

Tufte then introduces his core rules, based around the idea of data-ink – that proportion of the ink on a page which is concerned directly with showing quantitative data:

  • Above all else show the data
  • Maximize the data-ink ratio
  • Erase non-data-ink
  • Erase redundant date-ink
  • Revise and edit.

A result of this is that some of the elements of graph which you might consider essential, such as the plot axes, are cast aside and replaced by alternatives. For example the dash-dot plot where instead of solid axes dashes are used which show a 1-D projection of the data:

ddp

Or the range-frame plot where the axes are truncated at the limits of the data, actually to be fully Tufte the axes labels would be made at the ends of the data range, not to some rounded figure:

range

Both of these are examples are from Adam Hupp’s etframe library for Python. Another route to making Tufte-approved data graphics is by using the Protovis library which was designed very specifically with Tufte’s ideas in mind.

Tufte describes non-data-ink as “chartjunk”, several things attract his ire – in particular the moiré effect achieved by patterns of closely spaced lines used for filling areas, neither is he fond of gridlines except of the lightest sort. He doesn’t hold with colour or patterning in graphics, preferring shades of grey throughout. His argument against colour is that there is no “natural” sequence of colours which link to quantitative values.

What’s striking is that the styles recommended by Tufte are difficult to achieve with standard Office software, and even for the more advanced graphing software I use the results he seeks are not the out-of-the-box defaults and take a fair bit of arcane fiddling to reach.  Not only this, some of his advice contradicts the instructions of learned journals on the production of graphics.

Two further introductions I liked were Chernoff faces which use the human ability to discriminate faces to load a graph with meaning, and sparklines - tiny inline graphics showing how a variable varies in time without any of the usual graphing accoutrements: - in this case one I borrowed from Joe Gregorio’s BitWorking.

In the end Tufte has given me some interesting ideas on how to present data, in practice I fear his style is a little too austere for my taste.There’s a quote attributed to Blaise Pascal:

I would have written a shorter letter, but I did not have the time.

I suspect the same is true of data graphics.

Footnote

Mrs SomeBeans has been referring to Tufte as Tufty, who UK readers of a certain age will remember well.

Tuesday, June 14, 2011

Choosing to die

Terry Pratchett was recently diagnosed with Alzheimer's disease and has made a programme, Choosing to die, about his enquiries into assisted suicide. It's pretty difficult viewing: Pratchett visits the widow of a Belgian writer who, like him, had Alzheimer's disease and had chosen to end his life. He visits a former taxidriver in a hospice with motor neuron disease, who had chosen not to die. The bulk of the programme is spent with two men who went to the Dignitas clinic in Switzerland, where they were helped to die. Andrew, only a couple of years older than me, with multiple sclerosis and Peter, born in 1939, with motor neuron disease. The death of Peter is shown in full. It's not this that is my abiding memory though, that will be of the courage and dignity of the wife and mother of these two dying men. Neither woman wants their loved one to go.

The striking thing for me was how both men appeared to be heading off to Switzerland before their time, for fear of not being able to go when they felt they had to. The current legislation seems to be wilfully sadistic, obliging early death for those that chose whilst holding out the threat of prosecution to the family.

The Swiss are allowed to be helped to die at home, whilst foreigners go to die in a small blue apartment in an industrial estate. Incongruously the shallow steps to the front door are protected by black and yellow safety tape: because if you're going to die you don't want to fall over and crack your head open. This seems a great pity since in the background you could see the snow clad Swiss Alps, a glorious place to die.

A number of members of my close family have died over the last ten years. I don't think we're an unusual family, we've discussed assisted dying, often in the aftermath of a death. My paternal grandparents both died in their nineties in retirement homes, very much reduced from their previous vigorous selves, moving gradually to death. My maternal grandparents both died at home, quite suddenly. My stepfather died at home in a hospital bed, cared for by my mum with the support of nurses. He'd known he was going to die since cancer stopped him eating a couple of months earlier. Mum is the bravest person I know.

The consensus in the family appears to be for assisted dying but I think we all know privately that as the law stands now it will not happen. We will be left to face what lingering or sudden deaths nature serves up to us, in the knowledge that modern medicine has got so much better at keeping us alive but not necessarily living.

This is one of the few places where my atheism collides with the established church: any time the right to die is discussed it appears to be a Christian or one of the Lords Spiritual who is called upon to make the case against: often citing the idea that my life is a gift from God, and that I have no right to dispose of it. Clearly for an atheist this is an argument discarded in a moment.

I may die in an accident tomorrow. I may hang on to the absolute end waiting to see what is over the the next ridge. Or maybe, when I am old and have had enough, I'll want to go at a time and place of my choosing.

How I choose to die is none of your business - I won't presume to choose for you.

Saturday, June 11, 2011

How do I setup my own website?

A post in the style of random notes today: I’ve been making a new website for The Inelegant Gardener – there’s a teaser here, I’ve done this before for the Chester Liberal Democrats. I thought it might be handy to provide a compact description of the process as a reminder to me and a warning to others…

The steps are as follows:

  1. Getting a domain name
  2. Finding a web host
  3. Making your website
  4. Going live

1. Getting a domain name

The domain name is the www bit. You can put your domain name registration with your web host but conventional wisdom is that it’s better to separate the two. I chose http://www.just-the-name.co.uk/ based on a twitter recommendation. Once you’ve chosen your domain name, you get access to a simple control panel which can be used to redirect your domain name to another site (such as this one), set up e-mail redirection and so forth. Mine gives me access to DNS Settings but I left these alone. When the time comes you’ll need to set the names servers to those provided by your web host.

2. Finding a web host

A web host is where your website will live. In the end I settled with EvoHosting for a few of reasons: they have live status updates for their servers, they have a twitter account and mentions of evohosting on twitter do not reveal any frustrated users, a search for the term “evohosting is crap” reveals no worrying hits in Google! They’re also reassuring slightly more expensive than the cheapest hosting solutions which seem to suffer from the “X is crap” syndrome. I selected a scheme that allows me to host several sites.

3. Making your website

You can make a website using Wordpress – the blogging software. Building a website is a question of managing content – and for a small site Wordpress does this nicely and is free. You don’t have to be blogging to use it – you can just make a set of static pages. I understand that for bigger sites Joomla is good. Wordpress is a combination of a PHP application talking to a SQL database. I found a passing familiarity with SQL databases quite handy, not so much to write queries but just to know the basics of accounts and tables.

Wordpress handles the mechanics of your website, what goes where, posting and making pages whilst the “theme” determines appearance. I’ve used the Atahualpa theme for my two websites so far – it’s pretty flexible, although if you want to put anything top-right in the logo area I’d find a good reason not to - I’ve spent days trying to do it to my satisfaction! For debugging your own website and snooping into others the developer tools available on all major browsers are very handy. I use Google Chrome, for which the Window Resizer and MeasureIt extensions are useful. Window Resizer allows you to test your site at different screen sizes, and MeasureIt measures the size in pixels of screen elements.

I’ve found Paint .NET useful for wrangling images, it’s either the old Windows Paint program on steroids or a very limited Photoshop.

For my efforts I have created the website locally, on my own PC, before transferring it to web hosting. I’m not sure if this is standard practice but it seemed a better idea than potentially thrashing around in public as you learnt to build your website. To do this I installed xampplite, this gives my PC web serving capabilities and provides everything needed to run Wordpress –except Wordpress which you need to download separately.

Wordpress can be extended by plugins, and I’ve found I can achieve most the functionality I’ve wanted by searching out the appropriate plugin. Here are a few I’m using:

  1. Contact Form 7 – to create forms
  2. Drop cap shortcode – to easily add drop caps (big letters) to posts and pages.
  3. Dynamic Widgets – to put different widgets on different pages
  4. NextGEN Gallery – more advanced photo gallery software
  5. Simple Page Ordering – allows you to shuffle the order pages appear in your static menus, which is a bit tricky in basic Wordpress
  6. WP-dtree – a dynamic tree structure for showing the blog archive, as found in Blogger.
  7. WP Maintenance Mode – for hiding your site whilst you’re fiddling with it!
  8. Wordpress Mobile Pack – a switcher for making your blog more readable if someone arrives using a mobile browser

Since Wordpress is a very heavily used platform there’s a lot of help around, you identify Wordpress sites by looking in the site footer, or viewing the page source (Wordpress sites tend to have references to files starting “wp-“)

4. Going live

I must admit I find the process of moving a site from my own machine to a web server the most complicated bit of the process – you can see the instructions on the Wordpress site here. The basic idea is to change the base URL for your website to the target address then copy the pages (zipped them all up before upload) and the database (using phpmyadmin import/export) of the Wordpress installation to the web host. If you want to keep your local copy running then you need to take a copy before changing the base URL and load it back up once you’ve done moving. Things that caught me out this time: I had to use MySQL to create a database into which to import the database, and it wasn’t enough to create a user, I also needed to attach it to the appropriate account, and I had to save the settings on the permalinks for pages to show up. Finally, I also had some typed links in my website, which needed manually adjusting (although you can do this automatically in MySQL).

I wish I knew a bit more CSS, my current technique for fine tuning appearance involves a lot of rather ignorant typing, a bit more knowledge of good graphic design wouldn’t go amiss either!

This is the way I did it – I’d be interested in any suggestions for improvements.

Monday, June 06, 2011

The New College of the Humanities

AC Grayling is fronting the formation of a new private institution, The New College of the Humanities (NCH) providing degree level education, based in London and charging £18k per year. The degrees will be awarded by the University of London, under an existing scheme, the University of London International Programmes, the NCH simply being a new supplier.

The New College of Humanities is heading for the prestige market with its headline fees of £18k per year, a list of celebrity professors, a Bloomsbury location and a staff to student ratio of 1:10. It's clear from the supporting material that the celebrity professors will not be providing all of the teaching. The novelty here is that the NCH will be a private institution. The University of Buckingham has been plugging away quietly for the last 30 years or so as the UK's only private university, it is now getting increasing company. Buckingham has achieved very good student approval ratings, and has been innovative in the way it delivers degrees, managing to offer degree courses at around £18k, so it's going for a different unique selling point.

Returning to the NCH: as usual for stories involving universities in the UK, a comparison to the universities of Oxford and Cambridge must be made by commentators in the press (here and here, for example). These should be ignored as fatuous and ill-conceived - there's much more to universities in the UK than Oxford and Cambridge.

I've been rather bemused by the reaction to NCH on twitter by the people I follow, they generally have the character of "How dare a private university be created". This is bizarre to me, the thesis that some big names should endow an institution with prestige is wobbly, however opposing the idea that people should be free to decide how to spend their money on how they attain their degree seems to me rather illiberal. To cover some of the points thrown around:
  1. It's not a research university. Much is made of the research / teaching link, in my experience Russell Group universities recruit lecturers on the basis of research potential (or achievement) rather than any teaching ability or teaching qualification. Having done both I can't help thinking that if I'd spent more time learning and doing teaching I'd be better at teaching. 
  2. It'll be like Jamie's University, a reference to Jamie's School where celebrities were sent to teach some of our more difficult pupils with hilarious consequences. In a way we already operate this system when we recruit our top-flight researchers to teach.
  3. The professoriate are not ethnically or gender diverse. Well neither are our current institutions!
  4. It teaches to the University of London syllabus, which is unsurprising since that who's awarding the degree! 
  5. It's narrowly parasitic, in the sense that it is taking advantage of the University of London's "public" facilities for free. This is contradicted by statements by both the University of London and the NCH, it will pay for facilities it uses.
  6. It's broadly parasitic. This seems to be based on the idea that people trained with public money should only serve public institutions. Not sure where this puts people trained abroad, coming to the UK, or even worse those trained here and emigrating or myself - trained by public funds and working in a private company. It does sound like indentured slavery to me. I don't buy the idea that the UK is short of people capable of teaching at degree level.
  7. They professoriate are doing it for money. Take a look at professorial salaries in the current institutions - £80k a year is not at all bad, they're already doing it for money. 
  8. It only teaches humanities, no science. My experience is that outside the Oxbridge college system the intermingling of disciplines in universities is poor, particularly across the great divide.
  9. A GP in the neighbourhood offers complementary medicine.
  10. It's straightforward evil because private money is involved. 
There is still a "to do" list for NCH:
  • they need to finalise their relationship with University of London;
  • they need to fill a large part of the teaching roster; 
  • they need to demonstrate the £18k per year price point will attract sufficient students to be economically viable;
I also see it having little wider significance to the teaching of humanities in the UK.

I must admit I quite like the idea of teaching degree level science to students at a 1:10 staff to student ratio without having to worry about all that grant application stuff - when do we get the New College of Science?

In summary, the NCH is a novel proposition based on a premise whose value is to be established - it's ultimately about how other people wish to spend their money and, in the absence of any obvious harm to others, they should be left to get on with it. We should be welcoming new ideas in providing degree level education: like this initiative, the Open University and the University of Buckingham, not trying to put them down at birth.

Footnotes
Some background on Cambridge Colleges, teaching and tuition fees by me.

Sunday, May 29, 2011

House of Lords Reform

At the 2010 General Election nearly 90% of us voted for parties enthusiastic for an elected House of Lords. The Conservatives said in their manifesto:

"We will work to build a consensus for a mainly-elected second chamber to replace the current House of Lords"

The Liberal Democrats said in their manifesto:

"Replace the House of Lords with a fully-elected second chamber with considerably fewer members than the current House."

And Labour said in their manifesto:

"We will ensure that the hereditary principle is removed from the House of Lords. Further democratic reform to create a fully elected Second Chamber will then be achieved in stages."

This is also reflected in the Coalition Agreement:

"We will establish a committee to bring forward proposals for a wholly or mainly elected upper chamber on the basis of proportional representation."

The reasons for this unanimity is several-fold:

  1. There is a current pressing problem of overcrowding of the House of Lords. This arises because although there is a mechanism for appointing Lords there is no mechanism for retiring them, as a consequence Britain has one of the largest legislatures in the world relative to the population. The convention in recent years has been to add members such that the composition of the house reflects the proportion of votes for each party at the most recent general election - with no exit route this is unsustainable.
  2. The British scheme of appointing a second chamber is almost unique in western nations, with only Canada following suit, it’s wholly appointed nature raises serious questions of democratic legitimacy. Attempts to make the composition match recent elections are a recognition of this lack of legitimacy but are an inadequate solution to the problem.
  3. The appointed nature of the House of Lords leads to transparency issues. It serves in part as an honours system for services rendered to political parties as well as a working revision chamber. Although the current composition contains 23% crossbenchers it is still very substantially a political chamber.
  4. The current average attendance in the House of Lords is around 388, nearly 20% of members only attend once or twice a year.

The Labour government made a start on House of Lords reform by removing the voting rights of all but 92 of the hereditary peers with an intention of moving to a House of Lords with a larger elected component. These subsequent changes ran into the sands of complex parliamentary procedures and an obstinate upper House.

The proposals put forward by Nick Clegg, backed by David Cameron, are for a second chamber containing 300 members elected using a proportional system based on large constituencies. The proposal is to elect one third of the house at each general election with members elected for 15 years but no possibility of re-election. The draft bill includes provision for 20% of the house to be appointed but there is a consultation with the option that the house be 100% elected.

These proposals are evolutionary: the legislative powers of the House of Lords remaining as now; an elected house is only attained after 15 years and the membership will only be 25% smaller than the current active membership.

I look forward to the parties at Westminster fulfilling their commitments to an elected second house!

Sunday, May 22, 2011

The House of Lords by numbers

Reform is in the air for the House of Lords, to be fair reform has been in the air for large parts of the last hundred years. Currently reform comes in the form of a proposal put forward by Nick Clegg and backed by David Cameron – you can see the details here. It comes in the context of all three main Westminster parties supporting a largely elected House of Lords in their 2010 General Election manifestos.

The purpose of this post is not to go through the proposals in detail but simply to provide some charts on appointments to the House of Lords over the years. The current composition of the House is shown in the pie-chart below:

CurrentComposition

The membership of the House of Lords currently numbers 789, I have excluded the handful of members from UKIP, DUP, UUP, the Greens and Plaid Cymru since they are too few to show up in such a chart.

The website www.theyworkforyou.com provides a handy list of peers in an easily readable format, this list includes data such as when they were appointed, what party they belong to, what name they have chosen and when they left and whether they used to be an MP. We can plot the number of appointments each year:HoLTotalByYear

I’ve highlighted election years in red, as you can see election years are popular for the appointment of new members, and it would seem many of those appointed in such years are former MPs, as shown in the graph below:

HoLexMPs

But to which parties do these appointees belong? This question is answered below:

HoLTotalByYearAndParty

I hope this provides a useful backdrop to subsequent discussions on reform.

Thursday, May 19, 2011

More news from the shed…

CWACResults2011

In the month of May I seem to find myself playing with maps and numbers.

To the uninvolved this may appear to be rather similar to my earlier “That’s nice dear”, however the technology involved here is quite different.

This post is about extracting the results from the local elections held on 5th May from the Cheshire West and Chester website and displaying them as a map. I could have manually transcribed the results from the website, this would probably be quicker, but where’s the fun in that?

The starting point for this exercise was noticing that the results pages have a little icon at the bottom saying “OpenElectionData”. This was part of an exercise to make local election results more easily machine-readable in order to build a database of results from across the country, somewhat surprisingly there is no public central record of local council election results. The technology used to provide machine access to the results is known as RDF (standing for Resource Description Framework), this is a way of providing “meaning” to web pages for machines to understand - this is related to the talk of the semantic web. The good folks at Southampton University have provided a browser which allows you to inspect the RDF contents of a webpage. I used this to get a human sight of the data I was trying to read.

RDF content ultimately amounts to triplets of information: “subject”,”predicate”,”object”. In the case of an election then one triplet has a subject of “specific ward identifier” the predicate is “a list of candidates” and the object is “candidate 1;candidate 2; candidate 3…”. Further triplets specify the whether a candidate was elected, how many votes they received and the party to which they belong.

I’ve taken to programming in Python recently, in particular using the Python(x,y) distribution which packages together an IDE with some libraries useful to scientists. This is the sort of thing I’d usually do with Matlab, but that costs (a lot) and I no longer have access to it at home.

There is a Python library for reading RDF data, called RDFlib, unfortunately most of the documentation is for version 2.4 and the working version which I downloaded is 3.0. Searching for documentation for the newer version normally leads to other sites where people are asking where the documentation is for version 3.0!

The base maps come from the Ordnance Survey, specifically the Boundary Line dataset which contains administrative boundary data for the UK in ESRI Shapefile format. This format is widely used for geographical information work, I found the PyShp library from GeospatialPython.com to be well-documented and straightforward way to read the format. The site also has some nice usage examples. I did look for a library to display the resulting maps but after a brief search I adapted the simple methods here for drawing maps using matlibplot.

The Ordnance Survey Open Data site is a treasure trove for programming cartophiles, along with maps of the UK of various types there’s a gazetteer of interesting places, topographic information and location data for UK postcode.

The map at the top of the page uses the traditional colour-coding of red for Labour and blue for Conservative, some wards elect multiple candidates and in those where the elected councillors are not all from the same party purple is used to show a Labour/Conservative combination and orange a Labour/Liberal Democrat combination.

In contrast to my earlier post on programming, the key elements here are the use of pre-existing libraries and data formats to achieve an end result. The RDF component of the exercise took quite a while, whilst the mapping part was the work of a couple of hours. This largely comes down to the quality of the documentation available. Python turns out to be a compact language to do this sort of work, it’s all done in 150 or so lines of code.

It would have been nice to have pointed my program to a single webpage and for it to find all the ward data from there, including the ward names, but I couldn’t work out how to do this – the program visits each ward in turn and I had to type in the ward names. The OpenElectionData site seemed to be a bit wobbly too, so I encoded party information into my program rather the pulling it from their site. Better fitting of the ward labels into the wards would have been nice too (although this is a hard problem). Obviously there’s a wide range of analysis that can be carried out on the underlying electoral data.

Footnotes

The python code to do this analysis is here. You will need to install the rdflib and PyShp libraries and download the OS Boundary Line data. I used the Python(x,y) distribution but I think it’s just the matlibplot library which is required. The CWac.py program extracts the results from the website and writes them to a CSV file, the Mapping.py program makes a map from them. You will need to adjust file paths to suit your installation.

Sunday, May 15, 2011

“Progressive Alliance”

I keep hearing about the “Progressive Alliance”, and it never fails to irritate me. In the UK “progressive” is taken to mean “Everyone except the Tories and UKIP1”. Progressivism is defined (in wikipedia) as:

...a political attitude favouring or advocating changes or reform through governmental action. Progressivism is often viewed in opposition to conservative or reactionary ideologies.

This seems to me a definition sufficiently broad as to be largely useless, Tories could claim the progressive mantle through any legislation they care to enact and liberals could lose it through their opposition to authoritarian measures such as the ID card scheme, and for economic liberalisation.

The problem I’m having here is that Labour only start getting interested in “progressive alliances” when they’ve lost an election, whilst in power they ignore other progressive parties. Labour will only form a “progressive alliance” if they are electorally forced to do so, and otherwise seek Liberal Democrat annihilation.

Since the General Election there’s been a great deal of effort spent by Labour in trying to split the party into Good Liberal Democrats (Social Democrats, who they wish to absorb) and Bad Liberal Democrats (Orange Bookers, who they think the Tories should absorb). The “progressive alliance” is part of this - we should not be playing to this narrative. The truth is that Labour and Tory only get into government when they’ve convinced the electorate that they are close enough to the Liberal Democrat centre ground so as not to be scary.

Ed Miliband can frequently be found “reaching out” to Liberal Democrats but this reaching out is solely about recruitment to the Labour Party and the planned extinction of the Liberal Democrats. I’m a pluralist, as such I value the existence of other political parties – but I see little sign of this respect for the existence of others in the Labour Party.

In opposition their key strategy has been to attack the Liberal Democrats and their policies, rather than the Tories, who they claim lead the Coalition. Labour consistently opposed the passing of the AV referendum bill. Indeed they spent more energy opposing the AV referendum bill than any other government measure2. Their campaign for the Yes vote was fatally flawed in that it was largely seen as a platform to attack Nick Clegg and the Liberal Democrats: every outing of “Labour Yes” involved a ritual statement of how venial the Liberal Democrats were and, if Ed Miliband was involved, a discussion as to why he would not share a platform with Nick Clegg. It looks like Labour are summing themselves up to oppose Lords’ reform as well – both this, and the AV campaign, are “progressive” goals.

There are a number of Liberal Democrats who are keen on the “progressive alliance”, and since I’m an open-minded sort of chap I’m assuming they’re not deranged, but can you tell me – why are you engaged in this? I don’t rule out discussions between our parties but those engaged in such discussion need to be clear what the benefit to us is, because at the moment all we’re getting is another forum in which Labour can abuse us and attempt to divide us3.

Footnotes

  1. Technically I should probably put the BNP in here but they’re not a serious political party.
  2. At this point Labour normally complain that the bill also contained “gerrymandering” measures regarding the work of the Boundary Commission. However, the current system gives them a 90 seat advantage for parity of votes with the Tories, so it’s substantially “gerrymandered” in Labours favour already. The chances are that boundary fiddling will do little to address this and really the only solution to such problems is to go for some form of proportional representation, neither of the two main parties has the honesty to recognise this.
  3. None of this is to say that the Tories are not trying to destroy us as well!

Sunday, May 08, 2011

Post-election Reflection 2011

A year into the Coalition and in the aftermath of some rather poor electoral results for the Liberal Democrats I thought I should write down some thoughts from the perspective of a Liberal Democrat of 20 years.

On May 5th the LibDems lost nearly 700 local councillors from an original population of 1751 and 9 of 19 councils, 12 of 17 seats were lost in the Scottish parliament and there was an emphatic "No to AV" in the referendum. At a personal level, I was involved in the campaign for the Cheshire West and Cheshire council, where ultimately we polled 12% of the votes and got 1.3% of the seats. This is a reduction from 4 seats to 1, although in a reconfigured council.

Why did this happen?

The LibDems were in a relatively good position based on the last occasion these council seats were contested, having steadily picked up seats from Labour through the years of Labour government 1997-2010, in particular from 2001 onwards. Our previous standing reflected a popular vote of around 23%, currently our opinion poll standings are around 15%.

In this sense it should not be seen as "electorate punishing LibDems for coalition" rather "former Labour supporters returning to Labour now it's out of power", similarly talk of LibDems being human shields for the Tories is not a particularly useful analysis. Tories and LibDems have different electorates, the Tory electorate is clearly happy with the Coalition, the LibDem electorate less so. Looking at the overall results with the Tories on 38% of the vote, Labour on 37% and LibDems 17%, we're actually above the top end of our current opinion poll ratings with a share of the vote between our 1997 and 2001 general election result.

Also popular in the news is the idea that Nick Clegg must go as leader of the Liberal Democrats, if you rummage around amongst several hundred rather bruised (ex-)local councillors you are bound to find a few who'll agree with this but it is idiocy for several reasons:

  • Nick Clegg got strong party backing for going into the Coalition from MPs, the federal executive and a special conference. We all stand with Nick, the idea that he has led the party off at the head of an Orange Book clique is a fantasy built by Labour, familiar with this type of internal schism.
  • Our drop in the opinion polls was pretty much inevitable as soon as the Coalition agreement was signed, regardless of anything any leader could have done: we dropped 2 points from the 23% showing at the election almost immediately, and then by mid-late summer were down to 18% even before the tuition fees issue had really hit.
  • A new leader at this point would continue to take the blame for simply being in coalition and leave us in no better position at the next general election.

The no to AV result was a disappointment, not because of the rejection of AV itself but because it likely rules out electoral reform for years to come. I thought Nick Clegg struck the best note on this, close to the end of the campaign when he said this was just a small change. I found Ed Miliband's refusal to share a platform with Nick Clegg in support of the Yes campaign deeply unhelpful, listening to him try to justify this having just explained to John Humphries how AV forced politicians to reach out to other parties was entertaining; as was his jaw-dropping hypocrisy in justifying Labour's failure to implement AV in 13 years of government as being because they'd won a 170 seat majority under first-past-the-post - remember this when he bleats about the "progressive majority".

I note that over on ConHome the Tories are trying to claim that Labour made them make Nick Clegg the target for the No campaign. This seems to me a rather spineless statement - they funded the No to AV campaign, they could have called the shots. They should realise how massively they have pissed off a large chunk of pro-Coalition LibDems, and that there will be consequences for this. Going forward we should be looking at each item we have on the Coalition Agreement and asking ourselves: can we trust the Tories to support implementation of this? If the answer is "no" then we should be looking to bargain with something in the coalition agreement that they hold dear and not let it pass until our target has been achieved.

Obviously another election brings another crude pass at Liberal Democrat ministers by Ed Miliband, like a creepy uncle at a wedding party. This is entirely for his own supporters and has nothing to do with the Liberal Democrats, as Ed has said before - he seeks our extinction. We should all bear this in mind when he talks about "progressive alliances".

I don't see the point in believing that we can now go to the Tories for concessions because we have lost some elections, it seems needy and unnecessary to me. Similarly I don't see much mileage in fiddling around with the infantile "getting into bed with" and "marriage" metaphors. Vince Cable and Chris Huhne have prototyped the "cooperating but sulkily" look and, to be frank, it is unedifying.

Liberal Democrats have succeeded in getting policy implemented over the past year in Coalition: in getting the income tax threshold raised, in linking pensions to earnings, in providing some protection to the poorest students through the Pupil Premium, in reducing the 28 days detention without charge to 14 days, in reducing dramatically, (if not entirely eliminating) child detention for failed immigration claimants. There is some interesting analysis by the University of Essex on how much of the Liberal Democrat manifesto got into the Coalition agreement. If you want to see a more detailed comparison here is a document on the Guardian Datablog which analyses, in detail the Coalition agreement. Or there is a document produced by the Party here.

Now is a bloody awful time to be in government, there is no money to spend on cherished schemes, rather an absolute need to cut pretty much the largest deficit in the world, left behind by a Labour government desperately trying to spend it's way to salvation but we're getting on and doing it. It's worth remembering that at this point Labour would have been making 7/8ths of the cuts currently being made by the Coalition (under the Darling plan) - difficult to believe given their current statements.

Despite all of this, it is still the best time it has ever been to be a Liberal Democrat since I joined the party in 1991.

Saturday, May 07, 2011

Lavoisier: Chemist, Biologist, Economist

Lavoisier

Recently I read Vivian Grey’s biography of Lavoisier. Although a fine book, it left me wanting more Lavoisier, so I turned to Jean-Pierre Poirier’s more substantial biography: “Lavoisier: Chemist, Biologist, Economist”. Related is my blog post on the French Académie des Sciences, of which Lavoisier was a long term member, and senior, member.

This is a much longer, denser book than that of Grey, with commonality of subject it’s unsurprising that the areas covered are similar. However, Poirier spends relatively more time discussing Lavoisier’s activities as a senior civil servant and as an economist.

The striking thing is the collection of roles that Lavoisier had: senior member of Ferme Générale (commissioned Paris wall), director of the Académie, director of the Gunpowder and Saltpeter Administration, owner and manager of his own (agricultural) farms. It’s difficult to imagine a modern equivalent, the governor of the Bank of England running a research lab? Or perhaps an MP with a minor ministerial post, running a business and a research lab? In practical terms he did experimental work for a few hours each morning and evening (6-9am, 7-10pm) and on Saturdays - having a number of assistants working with him. 

Lavoisier was wealthy, inheriting $1.8million* from relatives as an 11 year old he joined the Ferme Générale with an initial downpayment of about $3million. However, this provided an income of something like $2.4-4.8 million a year. On a trip to Strasbourg as a 24 year old, he spent $20,000 on books – which you have to respect. As the collector of taxes levied on the majority but not the nobility or clergy, the Ferme Générale was one of the institutions in the firing line when the Revolution came. Wealthy financiers, such as Lavoisier, bought stakes in these private companies, provided exclusive rights by the King, and made enormous rates of return (15-20%), at the same time serving the Kings needs rather poorly.

As for his activities in chemistry, Poirier provides a a good background to the developments going on at the time. Beyond what I have read before, it’s clear that Lavoisier does not make any of the first discoveries of for example, oxygen, carbon dioxide or nitrogen, nor of the understanding that combustion results in weight gain. But what he does do is build a coherent theory that brings all of these things together and overthrows the phlogiston theory of combustion. With Guyton de Morveau he develops a new, systematic, way of naming chemicals which is still used today and, as a side effect, embeds his ideas about combustion. It’s from this work that the first list of elements is produced. Furthermore, Lavoisier sees the applications of the idea of oxidation in explaining “chemical combustion” as entirely appropriate for understanding “biological combustion” or respiration. In a sense he sets the scheme for biochemistry which does not come to life for nearly 100 years, for want of better experimental methodology.

It’s interesting that gases are arguably the most difficult materials to work with yet it is their study, in particular understanding the components of air, which leads to an understanding of elements, and the “new chemistry”. Perhaps this is because gases are their own abstraction, there is nothing to see only things to measure.

The book also gives a useful insight into the French Revolution for someone who would not read the history for its own sake. The heart of the Revolution was a taxation system that exempted the nobility and the clergy from paying anything, and a large state debt from supporting the American War of Independence. Spending appears to have been decided by the nobility, or even just the King, with little regard as to how the money was raised. At one point Paris considered an aqueduct to bring in fresh water to all its citizens, but then decided that rebuilding the opera house was more important! The Revolution was a rather more drawn out than I appreciated with Lavoisier at the heart of the ongoing transformation at the time of his execution during the Terror, only to be lauded once again a couple of years later as Robbespierre fell from power and was executed in his turn.

On economics: Lavoisier was one of the directors of the French Discount Bank, during the Revolution he was involved in plans for a constitutional monarchy and amongst the ideas he brought forward was for what would essentially be an “Office for National Statistics”. The aim being to collect data on production and so forth across the economy in support of economic policy. This fits in with the mineral survey work he carried at the very beginning of his career and also on his work in “experimental farming”. Economic policy at the time alternating between protectionism (no wheat exports) and free-markets (wheat exports allowed), with many arguing that agriculture was the only economically productive activity.

It’s tempting to see Lavoisier’s scientific and economic programmes being linked via the idea of accounting: in chemistry the counting of amounts of material into and out of a reaction and in economics counting the cash into and out of the economy. 

Definitely a book I would recommend! It’s remarkable just how busy Lavoisier was in a range of areas, and the book also provides a handy insight into the French Revolution for those more interested in science. I wondering whether Benjamin Franklin should be my next target.

Footnote 

*These are equivalences to 1996 dollars, provided in the book, they should be treated with caution.

Saturday, April 23, 2011

The naming of things

This post is a response to one of the points Rebekah Higgit makes over at “Whewell’s Ghost” on “Dos and Don’ts of history of science”. It’s all about scientists:

1) Do not ever call anyone a scientist who would not have recognised the term. The word was not coined until the 1830s (by William Whewell himself) but a) he meant something rather different by it and b) the word was not actually used until the 1870s. If we use the term to describe anyone before this date we risk loading their views, status, career, ambitions and work with associations that just do not exist before this date.I may know what I mean if it slips out in my description of an 18th-century astronomy, but the person listening to me will hear all sorts of other things. It too easily glides over points such as the fact that individuals probably did something else to make their living, or were personally wealthy. Science was not a career, or a vocation. I could give many further examples, and expand this rule into to using actors’ categories elsewhere, but this is the fundamental point. Not only did the word not, essentially, exist pre-1870 but there was no equivalent and no such idea. Awkward as it can sometimes be, man of science, natural philosopher, mathematician, astronomer, physician, naturalist or whatever should always be used instead.

I disagree with this. I should point out that I don’t consider this a Marmite* argument: the point Rebekah makes is not unreasonable and arguing serves to reinforce the point she is making. That the lives of “scientists” in the past were very different from the lives of most modern “scientists” is an entirely fair point, and is perhaps what the history of science is all about.

Since Rebekah is a professional historian of science, I feel my best approach is to argue this point on linguistic and scientific grounds, since I am a scientist not a historian. The OED says a scientist is:

  1. A person with expert knowledge of a science; a person using scientific methods.

it goes on to describe its coining via almost joking discussions over the British Association for the Advancement of Science in 1834 to Whewell’s use in 1840.

Precluding the use of the word “scientist” from application to people living before it was introduced seems to rather limit our options – how far must this sanitisation of language extend? Our use of words evolves in time. There are parallels here with Maxwell’s equations: in the mathematical language of his time his equations were clumsy and verbose, in more modern notation they are much more compact (and to overuse a word “elegant”). Working scientists don’t use Maxwell’s original notation, they use the modern notation because it captures the essential elements of the original work but is easier to use.

In my view the heart of the issue is the way in which we define scientists, to me being a scientist is defined operationally: by what I do in applying the scientific method, and by inference what people did in the past. Rather than socially or economically: what I have been trained to do or what people would pay me to do. I would still be a scientist if I were not paid for it, and hadn’t been trained. In both cases I might be poorer, but in different senses of the word!

There is also a point about communication here too: using a word for which you and your colleagues hold a specialist, narrow meaning may be “correct” but not help with communication. Knowing that your definition and the definition your audience hold is different is important but does not mean you should hold your definition sacrosanct – I face the same issue communicating my specialist area of science.

Perhaps the issue here is that Rebekah takes scientist to mean “modern professional scientist” whilst my definition is more catholic.

This does lead to the question: should I describe myself as a historian?

*Appropriate here since I work for the company that makes Marmite.

Friday, April 22, 2011

L’Académie des Sciences

ColbertPresents

I’ve written a number of times on the Royal Society, Britain’s leading and oldest learned society, often via the medium of book reviews but also through a bit of data wrangling. This post concerns the Académie des Sciences, the French equivalent of the Royal Society. It has gone through several evolutions, and is has been one of five academies inside the Institut de France since its founding in 1795. As a physical scientist the names of many members of the Académie are familiar to me; names such as Coulomb, Lagrange, Laplace, Lavoisier, Fourier, Fresnel, Poisson, Biot, Cassini, Carnot …    

The reason I’m interested in scientific societies is that, as a practitioner, I know they are part of the way science works – they are the conduit by which scientists* interact within a country and how they interact between countries. They are a guide to who’s hot and who’s not in science at a particular moment in time, with provisos for the politics of the time. As I have remarked before much of the “history” taught to scientists comes in the form of Decorative Anecdotes of Famous Scientists, this is my attempt to go beyond that narrow view.

The Académie des Sciences was founded in France in 1666 only a few years after the Royal Society which formally started in 1660. It appears to have grown from the group of correspondents and visitors to Marin Mersenne. In contrast to the Royal Society it was set up as a branch of government, directed by Jean-Baptiste Colbert who had proposed the idea to Louis XIV. The early Academy ran without any statutes until 1699 when it gained the Royal label. The Academy was based on two broad divisions of what were then described as mathematical sciences (astronomy, mathematics and physics) and “physical” sciences (anatomy, botany, zoology and chemistry) within these divisions were elected a number of academicians, and others of different grades. Numbers were strictly limited: in 1699 there were 70 members and even now there are only 236. Unlike the Royal Society, funded by member subscriptions, the Academy was funded by government – giving a number of generous pensions to senior academicians to conduct their scientific work.

The Academy avoided discussion of politics and religion, echoing the founding principles of the Royal Society, and was explicit in making links to foreign academics giving them the formal status of correspondent. This political neutrality was sustained through the French Revolution: although the Academy was dissolved for a few years at the height of the Terror and was subsequently reformed with essentially the same membership as before the revolution. Furthermore work on revising the French system of weights and measures carried on through the Revolution.

The Scholarly Societies Project has an overview of publications by- and about the Academy. The earliest scientific papers of the Academy appear in “Journal des Sçavans”, which commenced publication in 1665, shortly before the “Philosophical Transactions of the Royal Society” and therefore the earliest scientific journal published in Europe. From 1699 a sequence of work is published in “Histoire de l'Académie royale des sciences” until 1797.  Finally “Comptes Rendus Hebdomadaires des Séances de l'Académie des Sciences” has been published since 1835. Most of which are freely available as full-text digitized editions at Gallica (the French National Library).

The British government established the Longitude Prize in 1714, by act of parliament, to award the inventor of a simple and practical method for determining the longitude at sea. Subsequently Rouillé de Meslay invested a similar prize for the Academy, which commenced in 1720. This sequence of Academy prizes was awarded yearly to answer particular questions and alternated between subjects in the physical sciences and subjects in navigation and commerce. Those in commerce and navigation revolved around shipping: with questions on anchors, masts, marine currents and so forth. These prizes were open to all, not just members of the Academy. Subsequently the Academy became a clearing house for a whole range of prizes, these are described in more detail in “Les fondations de prix à l'Académie des sciences : 1714-1880” by E. Maindron.

In summary, although similar in their principles of supporting science, scientific communication and providing scientific support to the state and commerce the Royal Society and the Académie des Sciences differ in their internal structure and relationship with the state. The Academy being more closely aligned and funded by the state, certainly in formal terms, and rather more limited in its membership.

In common with the Royal Society the membership records of the Académie are available to play with and in common with the Royal Society they are in the form of PDF files which are a real pain to convert back into nicely structured data. I could engage in a lengthy rant on the inequities of locking up nice data in a nasty read-only format but I won’t!

Footnotes

  • Image is “Colbert présente à Louis XIV les membres de l'Académie Royale des Sciences crée en 1667” by Testelin Henri (1616-1695)
  • *Yes, Becky, I know you don’t want me to use “scientist” in reference to people living before the term was first coined in the 19th century ;-)

References

MacTutor History of Mathematics Archive is the best English language resource I’ve found on the Académie des Sciences. Winners of the Grand Prix can also be found on this site.

Saturday, April 16, 2011

The elephant in the room

comparison

In my last blog post I wrote about the AV referendum and party political self-interest. Before that I wrote about AV, preference and how parties hold their internal elections.

In this post I will just explain the chart at the top of the page.

It shows the number of parliamentary seats each of the three main national parties gained in the UK 2010 General Election under first-past-the-post (FPTP) – these are the blue bars. The red bars show the number of seats each party would expect to gain under Alternative Vote (AV), based on a mock election involving 13,000 people. Finally the yellow bars show the number of seats which would be obtained under a proportional system.

The proportional system, where the number of seats is proportional to the number of votes gained nationwide, is what I would call “fair”.

Labour and Tory parties both benefit significantly under the current FPTP system and proposed AV systems.

Thursday, April 14, 2011

Self-interest and electoral perversions

In this post I will argue that all of the political parties are arguing the case for AV in their own self-interest, this is very obviously what they are doing and admitting such will make a change.

I’d like to start with the electoral system as it stands today:

Two things are going on at an a general election: there are “local” elections in 650 constituencies which determine which individual represents each constituency in parliament and then there is the government formed as the result of this set of elections. Once elected to parliament MP’s represent their constituents interests but vote largely as whipped by their political party.

First past the post (FPTP) and Alternative Vote (AV) are both algorithms for determining local representation: they make no deliberate effort to make the output of a collection of constituencies proportional to the proportion of votes cast for a particular party across the country. The degree to which they give proportionality is dependent on the spatial distribution of voters for each party across the country and the locations in which electoral boundaries are drawn1. The current distribution of party support is not far off the point where it can give completely perverse results with the Liberal Democrats gaining the largest fraction of the popular vote and the fewest parliamentary seats and Labour gaining the smallest fraction of the popular vote and the largest number of parliamentary seats2.

The FPTP system acts to supress the formation of more than two political parties, this is known as Duverger's law. You can see this in action in the UK, with the separation of the SDP from Labour in the early 1980’s, gaining a large fraction of the popular vote: approaching that of Labour, but nothing like the same number of seats3.

Best estimates for AV in a UK general election are that the Liberal Democrats will gain seats in a Westminster election and Labour and the Tories will lose some, it isn’t particularly clear who will lose most.

So moving on to the self-interest of parties:

The Liberal Democrats are in favour of AV because they will get more seats, this is OK because they will still have far fewer seats than their proportion of the vote should allow.

The Tories are against AV because they believe that they will lose seats to the Liberal Democrats for the same share of the vote, and that Labour-Liberal Democrat coalitions are more likely than Tory-Liberal Democrat coalitions. Wait! What?

Labour is split on AV, this is because some believe that Labour-Liberal Democrat coalitions are more likely than Tory-Liberal Democrat coalitions, and the Tories could be basically locked out of power for ever. Others in Labour, on the left of the party, believe that the Socialist utopia should be pure and that coalition is anathema and so oppose AV.

UKIP is in favour of AV because they believe that they will be first preference for a number of people who vote Tory tactically and second preference for a number of Tories. Their visibility will rise, even if it doesn’t lead to much increase in seats.

The Greens are in favour of AV because they believe they will pick up second preferences from Liberal Democrats and Labour.Their visibility will rise, even if it doesn’t lead to increased seats.

The BNP is against AV because it judges that it will not pick up second preferences from anyone. It decreases the likelihood of them gaining seats even if it increases the visibility of the party. The BNP is entirely visible already but for the wrong reasons.

Oddly those on either side of the debate are able to draw on arguments that match the self-interest of their parties. What is the non-aligned voter to make of this?

Footnotes

  1. Oxford is a nice example of this: across the two Oxford parliamentary seats (Oxford East and Oxford West and Abdingon) the number of votes for the three main parties are (LibDem: 41087, Tory: 33633, Lab: 27937. The two constituencies return a Labour and a Tory MP.
  2. Don’t believe me? Put Tory: 33.2%, Labour: 27.2%, LibDem: 27.7% Other: 11.9% into this BBC seat calculator. The actual result was Tory: 36.1%, Labour: 29.0%, LibDem: 23.0% Other: 11.9%
  3. The 1983 General Election. Vote share: Tory: 42.4% Labour: 27.6% SDP+Liberal Alliance: 25.4% Number of seats: Tory: 397 Labour: 209 SDP+Liberal Alliance: 23.
  4. Given 1-3, on what basis is it that we claim to live in a democracy?

Monday, April 11, 2011

Yes to AV!

Alongside the local elections on the 5th May, we will all have an opportunity to vote in a referendum on voting reform*. The choice is between keeping the current system, First Past the Post (FPTP) or switching to the Alternative Vote (AV) system.

The Liberal Democrats use Single Transferrable Vote (STV) to elect their leaders. Labour uses straightforward AV. The Tories use a system to elect their leader which is substantially equivalent to AV: a ballot is taken with all candidates standing; if more than two candidates are standing then the last placed candidate is knocked-out and the ballot is repeated – this process is continued until only two candidates remain. In this two candidate election the candidate with most votes wins. The Tories could have used a straightforward FPTP system, but they didn’t: if they had then David Davies, not David Cameron, would have won the 2005 leadership election.

AV is substantially similar to this process of successive ballots but rather than a sequence of ballots, a single ballot is held with voters ranking candidates by preference. In common with the Tory system, the last candidate is eliminated after the first ballot but rather than return to the electorate for another round of voting the second preferences of the people who voted for the loser are inspected and votes redistributed accordingly. This process is repeated until one candidate has more than 50% of the votes.

The Tory leadership election is not identical to AV because the electorate can switch votes between rounds, whilst in an AV election the rankings are chosen and frozen at the time of the first (and only) ballot. With electorates of tens of thousands the Tory leadership system could not be used for parliamentary constituencies without substantially increased cost and time taken to conduct the election, I will assert that it would produce the same result as AV.

These political sophisticates have rejected FPTP as a method of choosing who represents them, why do so many of them not support the same for us?

AV will not bring great changes to our elections, the majority of constituencies would return the same MP under AV as they currently do under FPTP. The benefit of AV over FPTP is that tactical voting, where you attempt to encode your preferences with a single X by second guessing who everyone else will vote for, becomes largely irrelevant.

We are not being given a choice between FPTP and an ideal electoral system, we are not being asked whether AV is a perfect system for voting, we are being given a choice between FPTP and Alternative Vote. Personally I would prefer a system of proportional representation, but that isn’t on offer.

In the absence of a better choice I will vote “Yes to AV”!

*The BBC have apparently banned themselves from describing the choice of AV over FPTP as “reform”

Saturday, April 09, 2011

Book Review: The Chemist Who Lost His Head

Portrait_of_Antoine-Laurent_Lavoisier_and_his_wife
Following on from “The Measure of All Things” my interest in Antoine Lavoisier was roused, so I went off to get a biography: “The Chemist who lost his head: The Story of Antoine Laurent Lavoisier” by Vivian Grey. This turns out to be a slim volume for the younger reader, in fact my copy appears to arrive via the Jenks East Middle School in Tulsa. As a consequence I’ve read it’s 100 or so pages in under 24 hours - that said it seems to me a fine introduction.
Antoine Lavoisier lived 1743-1794. He came from a bourgeoisie family, the son of a lawyer, and originally training as a lawyer. Subsequently he took up an education in a range of sciences. As a young man, in 1768, he bought into the Ferme Générale which was to provide him with a good income but led to his demise during the French Revolution. The Ferme Générale was the system by which the French government collected tax, essentially outsourcing the process to a private company. Taxes were collected from the so-called “Third Estate”, those who were not landed gentry or clergy. Grey indicates that Lavoisier was a benign influence at the Ferme Generale, introducing a system of pensions for farmers and doing research into improved farming methods. Through the company he met his future wife, Marie Anne Pierrette Paulz, daughter to the director of the Ferme – Antoine and Marie married in 1771 when she was 14 and he 28. 
Lavoisier started his scientific career with a geological survey of France, which he conducted as an assistant to Jean Etienne Guettard between 1763 and 1767. This work was to be terminated by the King, but was completed by Guettard with Antoine Grimoald Monnet although Lavoisier was not credited. There seems to be some parallel here with William Smith’s geological map of the UK produced in 1815.
Through his geological activities Lavoisier became familiar with the mineral gypsum, found in abundance around Paris. He undertook a detailed study of gypsum which sets the theme for his future chemical research: making careful measurements of the weight of material before and after heating or exposure to water. He discovered that gypsum is hydrated: when heated it gives off water, when the dehydrated powder (now called plaster of Paris) is re-hydrated it forms a hard plaster. He wrote this work up and presented it to the Académie des Sciences – the French equivalent of the Royal Society, on which I have written repeatedly.
He was to present several papers to the Académie before being elected a member of this very elite group at the age of twenty-five, half the age of the next youngest member. Once a member he contributed to many committees advising on things such as street lighting, fire hydrants and other areas of civic interest, the Académie was directly funded by the King and more explicitly tasked with advising the government than the Royal Society was. Lavoisier was also involved in the foundation of the new metric system of measurement, which was the subject of “The Measure of All Things”. Lavoisier became one of four commissioners of gunpowder – an important role at the time. During his life he would have had contact with Joseph Banks – a long term president of the Royal Society, and also Benjamin Franklin – scientist and also United States Ambassador to France.
From a purely scientific point of view Lavoisier is best known for his work in chemistry: his approach of stoichiometry – the precise measurement of the mass of reactants in chemical reactions led to his theory of combustion which ultimately replaced the phlogiston theory. It is this replacement of phlogiston theory with the idea of oxidization that forms the foundation of Kuhn’s “paradigm shift” idea, so Lavoisier has a lot to answer for! 
The portrait of Antoine and Marie Laviosier at the top of the page is by Jacques-Louis David painted ca. 1788. It strikes me as quite an intimate portrait with Marie pressed against Antoine, looking directly at the viewer whilst her husband looks at her. Marie played a significant part in the work of Lavoisier, as well as recording experiments and drawing apparatus (something that takes good understanding to do well), and assisting with correspondence and translation  she was also responsible for publishing Mémoires de Chimie after his death. She was a skilled scientist in her own right. The equipment on the table and floor can be identified: on the floor is a portable hydrometer and a glass vessel for weighing gases. On the table are a mercury gasometer, and a glass vessel container mercury – likely illustrating the properties of oxygen and nitrogen in air. 
Antoine Lavoisier was executed in 1794, for his part in the Ferme Générale. His execution is attributed, at least in part to the ire of Jean-Paul Marat, who Lavoisier had earlier blocked from membership of the Académie des Sciences. It seems Lavoisier had been warned by friends that his life was in danger but appeared to think his membership of the Académie des Sciences would protect him. Ironically Jacques-Louis David also painted “The Death of Marat”.
100 pages on Lavoisier was not enough for me, I’m going for “Lavoisier” by Jean-Pierre Poirier next – some fraction of which appears to be available online, but I’m going for a paper copy. 

Sunday, April 03, 2011

Obsession

This is a short story about obsession: with a map, four books and some numbers.

My last blog post was on Ken Alder's book "The Measure of All Things" on the surveying of the meridian across France, through Paris, in order to provide a definition for a new unit of measure, the metre, during the period of the French Revolution. Reading this book I noticed lots of place names being mentioned, and indeed the core of the whole process of surveying is turning up at places and measuring the angles to other places in a process of triangulation.

To me places imply maps, and whilst I was reading I popped a few of the places into Google Maps but this was unsatisfactory to me. Delambre and Mechain, the surveyors of the meridian, had been to many places. I wanted to see where they all were. Ken Alder has gone a little way towards this in providing a map: you can see it on his website but it's an unsatisfying thing: very few of the places are named and you can't zoom into it.

In my investigations for the last blog post, I discovered the full text of the report of the surveying mission, "Base du système métrique décimal", was available online and flicking through it I found a table of all 115 triangles used in determining the meridian. So a plan is formed: enter the names of the stations forming the 115 triangles into a three column spreadsheet; determine the latitude and longitude of each of these stations using the Google Maps API; write these locations out into a KML file which can be viewed in Google Maps or Google Earth.

The problem is that place names are not unique and things have changed in the last 200 years. I have spent hours transcribing the tables and hunting down names of obscure places in rural France, hacking away with Python and loved every minute of it. Cassini's earlier map of France is available online but the navigation is rather clumsy so I didn't use it. Although now I come to writing this I see someone else has made a better job of it.

Beside three entries in the tables of triangles are the words: "Ce triangle est inutile" - "This triangle is useless". Instantly I have a direct bond with Delambre, who wrote those words 200 years ago -  I know that feeling: in my loft is a sequence of about 20 lab books I used through my academic career and I know that besides an (unfortunately large) number of results the word "Bollocks!" is scrawled for very similar reasons.

The scheme with the the Google Maps API is that your program provides a place name "Chester, UK", for example, and the API provides you with the latitude and longitude of the point requested. Sometimes this doesn't work, either because there are several places with the same name or the placename is not in the database.

I did have a genuine Eureka moment: after several hours trying to find missing places on the map I had a bath and whilst there I had an idea: Google Earth supports overlay images on its maps. At the back of the "Base du système métrique décimal" there is a set of images showing where the stations are as a set of simple line diagrams. Surely I could overlay the images from Base onto Google Earth and find the missing stations? I didn't leap straight from the bath, but I did stay up overlaying images onto maps deep into the night. It turns out the diagrams are not at all bad for finding missing stations. This manual fiddling to sort out errant stations is intellectually unsatisfying but some things it's just quicker to do by hand!

You can see the results of my fiddling by loading this KML file into Google Earth, if you're really keen this is a zip file containing the image overlays from "Base du système métrique décimal" - they match up pretty well given they are photocopies of diagrams subject to limitations in the original drawing and distortion by scanning.

What have I learned in this process?
  • I've learnt that although it's possible to make dictionaries of dictionaries in Python it is not straightforward to pickle them.
  • I've enjoyed exploring the quiet corners of France on Google Maps
  • I've had a bit more practice using OneNote, Paint .Net, Python and Google Earth so when the next interesting thing comes along I'll have a head start.
  • Handling French accents in Python is a bit beyond my wrangling skills.
You've hopefully learnt something of the immutable mind of a scientist!


View



Thursday, March 31, 2011

Book review: The Measure of All Things

TheMeasureOfAllThingsThe Measure of All Things“ by Ken Alder tells the story of Pierre Méchain and Jean Baptiste Joseph Delambre’s efforts to survey the line of constant longitude (or meridian) between Dunkerque and Barcelona through Paris, starting amidst the French Revolution in 1792.

The survey of the meridian was part of a scheme to introduce a new, unified system of measures. The idea was to fix the length of the new unit, the metre, as 1/10,000,000th of the distance between the North Pole and the equator on a meridian passing through Paris.

At the time France used an estimated 250,000 different measures across the country with each parish having it’s own (uncalibrated) weights and measures with different measures for different types of material i.e. a “yard” of cotton was different from a “yard” of silk, and different if you were buying wholesale or selling to end users. These measures had evolved over time to suit local needs, but acted to supress trade between communities. Most nations found themselves in a similar situation.

Although the process of measuring the meridian started under the ancien regime, it continued in revolutionary France as a scheme that united the country. The names associated with the scheme: Laplace, Legrendre, Lavoisier, Cassini, Condorcet, leading lights of the Academie des Sciences, are still well known to scientists today.

Such surveying measurements are made by triangulation, a strip of triangles is surveyed along the line of interest. This involves precisely measuring the angles between each each vertex of the triangles in succession: given the three angles of a triangle and the length of one side of the triangle the lengths of the other two sides can be calculated. It’s actually only necessary to measure the length of one side on one triangle on the ground. Once you’ve done that you can use the previously determined lengths for successive triangles. All of France had been surveyed under the direction of César-François Cassini in 1740-80, the meridian survey used a subset of these sites measured at higher precision thanks to the newly invented Borda repeating circle. As well as this triangulation survey a measure of latitude was made at points along the meridian by examining the stars.
The book captures well the feeling of experimental measurement: the obsession with getting things to match up via different routes; the sick feeling when you realise you’ve made a mistake perhaps never to be reversed; the frustration at staring at pages of scribbles trying to find the mistake; the pleasure in things adding up.

Méchain and Delambre split up to measure the meridian in two sections: Delambre taking the northern section from Dunkerque to Rodez and Méchain the section from Rodez to Barcelona. Méchain delayed endlessly throughout the project, trusting little measurement to his accompanying team. Early on in the process, at Barcelona, he believed he had made a terrible error in measurement, but was unable to check whilst Spain and France were at war. He was wracked by doubt for the following years, only handing over doctored notes with great reluctance at the very end of the project. He was to die not long after the initial measurements were completed, leaving his original notes for Delambre to sift through.

At the time the measurements were originally made the understanding of experimental uncertainty, precision and accuracy were poorly developed. Driven in part by the meridian project and similar survey work by Gauss in Germany, statistical methods for handling experimental error more rigorously were developed not long afterwards. I wrote a little about this back here. Satellite surveying methods show that the error in the measurement by Méchain and Delambre is equivalent to 0.2 millimetres in a metre or 0.02%.

In the end the Earth turns out not to be a great object on which to base a measurement system: although it’s pretty uniform it isn’t really uniform and this limits the accuracy of your units. The alternative proposed at the time was to base the metre on a pendulum: it was to have the length necessary to produce a pendulum of period 2 seconds. This is also ultimately based on properties of the Earth since the second was defined as a certain fraction of the day (the time the Earth takes to rotate on its axis) and the local gravity which varies slightly from place to place, as Maskelyne demonstrated

Following the Revolution, France adopted, for a short time, a decimal system of time as well as metric units but these soon lapsed. However, the new metric units were taken up across the world over the following years - often this was during unification following war and upheaval.

The definition of the basic units used in science is still an active area. The definition of the metre has not relied on a unique physical object since 1960, rather it is defined by a process: the distance light travels in a small moment of time. However, the kilogram is still defined by a physical object but this may end soon with some exquisitely crafted silicon spheres.

I must admit to being a bit wary of this book in the first instance, how interesting can it be to measure the length of a line? However, it turns out I like to read history through the medium of science and the book provides an insight into France at the Revolution. Furthermore measuring the length of a line is interesting, or it is to a physicist like me.

Thanks to @beckyfh for recommending it!

Footnotes
1. The full-text of the three volume “Base du système métrique décimal" written by Delambre is available online. The back of the second volume contains summary tables of all the triangles and a diagram showing their locations.
2. The author’s website.
3. Some locations in Google Maps.