Dr Administrator

Author's posts

The Lake District – Santon Bridge

Wast Water with Great Gable

Once again we return to the Lake District for a holiday. This time to Santon Bridge, close to the foot of Wast Water, at Hallflat Farm where we have a one bedroom converted cowshed rather more modern feeling than our previous stays in the Lake District with rather fine exposed wooden beams making it feel almost tent-like. The farm has been turned over completely to tourism, with half a dozen or so rentable units. We have a little area to sit out in the sunshine and neighbours to whom we can merely nod if we so desire. Shopping seems to be best done at the village store in Gosforth, a few miles down the road. There are local great-spotted woodpeckers the male apparently sports a natty red beret, the female is a little more subtle. Mrs SomeBeans managed to capture some video, I’ve never had a clear sight of a greater-spotted woodpecker – here they’re regular visitors to the bird feeder outside the kitchen.

It is traditional for each Lake District holiday that I show Mrs SomeBeans a campsite with it’s distant toilet block and flimsy canvas walls and highlight the comparison with the great luxury in which we stay. I saw much of Europe and the UK from a tent as a child, and whilst this no doubt greatly broadened my horizons I intend never to sleep under canvas (or nylon) again.

Last year we stayed at Chapel Stile in Great Langdale, a fine location from which we walked everyday with only one brief trip in the car to the head of the valley to ascend Bow Fell (whose head remained steadfastly in cloud). The cottage we stayed in was good, with an excellent kitchen the only drawback slightly restricted parking (not a problem if you never use the car) and rather limited outdoor seating. My parents honeymooned at the Dungeon Ghyll Hotel (famous amongst climbers), a mile or so up the road from our cottage. For shopping we used the local village general store which furnished our needs admirably, providing in addition to food, two very light macs which turned out to be rather useful. The previous two years we stayed in Borrowdale, at Rosthwaite, again providing walks from the door for most of a week. A slightly quieter location with fewer neighbours. Shopping this time was in Keswick, or rather Booths – a rather fine slatey version of Waitrose.

Alfred Wainwright is the undisputed king of the Lakes for people like us, not only was he intensely well-organised – planning his fantastic guides to be completed over a 13 year period which he hit almost to the week, he was fond of peaks and hated people. We differ only slightly in that we like the valleys too, and enjoy the wide variety of nature. A successful days walk for us is one in which me meet no other people and see some interesting nature: sundews, butterwort (carnivorous plants), miscelleous beetles, birds, orchids, and rocks. It’s unlikely that Wainwright strode along the broader, flatter paths with the Imperial March from Star Wars running through his mind, which is what Mrs SomeBeans and I do – it’s the syncopation of marching foot on gravel path.

What we did on our holidays this year (sounds like a school project):

Sunday: We venture out on a short walk of our own devising over to Nether Wasdale, part way around it starts raining VERY heavily, and we trudge through the rain for an hour and a half or so. Towards the end my well water-proofed boots are squelching vigorous and I struggle to identify any part of my body which is not wet. On our return to the cottage I wring out my socks. In the afternoon we head out to the local countryside: visiting Seascale, neighbour of the Sellafield nuclear reprocessing plant, Drigg (low level waste disposal). Ravenglass (we return here for a walk on Friday), sporting the terminus of a dinky steam railway. Later we head up towards Eskdale Green, a mile or so from Boot where the Cumbrian shooter finally met his own end. We’d passed flowers by the roadside on the way to Seascale (a grim settlement whipped by the wind, featuring much gray concrete render). Eskdale, in which Boot lies, is different – almost fairy tale with heavily mossed deciduous woodland and little crags.

Steam train at Ravenglass

Monday: we do a walk from “the book” (#12 Wast Water and Irton Fell), taking in the foot of Wast Water and heading up Irton Fell. The walk is very varied with some meadow on the valley floor, lake side, steep brackened climb, forestry woodland, and high moor. The view up Wast Water towards Great Gable (scaled on a previous holiday) is excellent. Nature-wise we catch our first sight of sundew, a very large caterpillar and note we are walking on granite, not the slate of Borrowdale. Very few people seen.

Tuesday: a trip to Ennerdale to walk around the Water and then onto St Bees where we looked in rock pools. We did the book-walk (#13) around Ennerdale Water, although it’s a very simple affair. The path on the left of the lake is a forestry road, and hence well-made, we met no-one on this stretch although a few vehicles passed us in each direction. The path back along the right of the lake is much more rugged and was much busier, this is part of the coast to coast path. For lunch, naturally overlooking the lake, we were joined by a frog. St Bees and Egremont seem to have seen better days, they both have quite significant buildings (St Bees a smart school, a hall and a large church) which don’t seem consistent with their current situation. Honeysuckle seems to be the flower of the week.

Wednesday: another trip of our own devising, today the weather was uncertain in the morning so we made a relatively late start to walking (10am). We parked close to Nether Wasdale and went up to Whin Rigg and then on to Illgill Head then dropping down into Wasdale Head. As it was clouds wafted across us for an hour or so in the morning then it cleared, and as we finished walking just before 4pm it was fairly clear and sunny. For the first time on a walk, Mrs SomeBeans and I parted ways at Wasdale Head. I walked along the near shore of Wast Water, whilst Mrs S. took the road. This was for fear of the screes, probably justified, there are two bands of scree: the first is fairly civilised with a path across it. The second is rather more challenging, with no discernable path just a jumble of boulders of man-size and above. I collected an impressive scrape on the approach to the screes, spotting a distant Mrs S across the lake apparently pulling ahead I hurried on rather quicker than was wise and ended up head first in bracken! I am forming a fine scab, the like of which I have not had since childhood.

Thursday: We walked up Overbeck to Dore Head from where fantastic views of Pillar and into Mosedale are available. The original plan was to head up on a great loop over Red Pike but this turned out to be a bit over-ambitious. We contemplated Yewbarrow which looks quite difficult to get onto, Wainwright appears to agree but finds a easier route. Cows were used in the valley, and each cowpat had it’s own little forest of mushrooms.

Friday: A wet day with intermittent showers most the morning as we did the Ravenglass and Muncaster walk (#15), this is a fairly long walk (7 miles) well suited to the poor weather, with a large fraction of the route under cover of trees and relatively low altitude – even so we briefly entered cloud on the Muncaster ridge. Highlights were the ruins of a Roman Bath on the outskirts of Ravenglass, these ruins comprise walls several metres above ground level including complete arches and an alcove, very few Roman ruins in the UK extend above ground level. A second highlight was a infestation of tiny frogs on a forest path.

Tiny frog!
Ravenglass Roman Baths

All in all not a bad holiday, weather about par for the Lake District with 2 days seriously affected by rain, and the rest threatening rain at some point. Not as much big mountain walking as we have done in the past, but more varied with trips to the seaside. The area feels quieter than the central areas of the Lake District, with free or honesty box parking. Once again mobile phones entirely useless for the entire length of the holiday due to lack of reception.

A brief return to politics – the Budget

Following on from my pre-Budget “Sceptical look at the economy“, I thought I’d return to politics and the Budget.

The financial position seems to be largely what was expected before the election and the size of the proposed cuts seems consistent with the scale of cuts in Spain, Greece and Ireland.

What I would have done? I suppose I prevaricated in my last post on what I would have done in the recent Budget. To be a bit more explicit: I would have put probably something like 3p on basic rate tax, lifted the lower threshold of basic rate and brought down the threshold to the higher rate. And looked to cutting something like 15% across government spending with no ring-fencing. I may have put up capital gains tax a bit more at the higher rate and not reduced corporation tax – but to be honest these measures don’t bring in much cash anyway. As for benefit cuts, I’d probably have gone for means-testing things such as child benefit, winter fuel allowance and so forth. My impression is this would approximately fill the appropriate gaps (but I haven’t done any calculation).

But then nobody voted for me, and the Liberal Democrat experience is if you offer the voting public an increase in income tax they say how great this is, and how they’d really love you to spend the money where you’ve said you’ll spend it, and then vote for someone else who has promised not to raise income tax. Of the national parties the Green Party manifesto was the only one to imply they would not make any cuts, but increase overall taxation to cover the structural deficit; electorally the Green Party didn’t do that well in the General Election with about 1.0% of the vote.

As it stands the Budget was somewhat different from my preferred option. There are a few mitigating factors but I’m not convinced that VAT rises are a good way to raise tax (it has been suggested that they are better than income tax rises because they do not fall on essentials and they are “voluntary” to a degree, which income tax rises most definitely are not). It seems rather notable that there was much symbolic “dipping of the hands in the blood” by Nick Clegg, Danny Alexander and Vince Cable, you’d have though the Tories would have been a bit more forthcoming about defending a budget in which they were the majority partner and which largely matched their electoral commitments.

The Labour Party has started pointing out that this is a very political Budget, that’s true, and so was their idea of defering cuts into next year. For the Opposition this has the positive political benefit of not needing to be clear about what you would do until well after the General Election (and not even then) and allows you free-reign to criticise cuts by the incoming government without proferring an alternative because obviously you’d be doing this next year when things would have become magically better.

I’ve come to the conclusion that macroeconomics is almost entirely about politics, and the vehemence with which economic opinions are presented leads me to believe that everyone realises they don’t actually know what they’re talking about and that by shouting loudly they can get away with it. Presumably MP’s and ministers feel they have learnt to run the economy through the odd lecture course on the infamous Politics, Philosophy and Economics undergraduate degree course at Oxford. It seems notable that prior to the election the global consensus appears to have been for “economic stimulus” and after it is for “deficit reduction” (with the exception of the US). I’m not clear how this has happened, because I can’t believe it’s entirely driven by the UK election.

Inferring what the voting public want from elections and opinion polls is always a tricky business but the evidence seems to be they’re happy with the Budget and it’s pretty much what they expected. I suspect the reason for this is that the majority of them will be in the private sector and over the past few years the companies they work in would have laid people off, been on pay freezes and, over a longer period, treated employees less generously in pension terms but this largely hasn’t happened in the public sector. The same opinion poll shows fairly good support for maintaining the state pension whilst “cutting benefits for those of working age”. 

The Office of Budget Responsibility is pretty upfront in saying it’s estimates for GDP growth are subject to large uncertainty (see p10 of this report, and also Annex A on how figures are derived – hat-tip to Christopher Cook for that). The biggest problem seems to be that recession are utterly unpredictable. I’d be interested to see similar analysis for unemployment figures – can’t help thinking they’re not going to be good.

My useful pieces of contextual information for the day: UK employed population is about 30million, of which about 5million are in the public sector.

Some notes on SQL: 3 – changing a table

This is the third in a series of blog posts on SQL, the first covered creating a database, the second selecting information from a database. This post covers commands to modify the structure and contents of an existing database. No claim of authority is made for these posts, they are mainly intended as my notes on the topic.

UPDATE and DELETE allow the rows in a table to be either updated or deleted according to a select-like WHERE clause. This is UPDATE, acting on multiple columns:

UPDATE your_table
SET    first_column = ‘newvalue’,
second_column = ‘another_value’
WHERE  some_column = ‘a test’;

And this is the DELETE command:

DELETE FROM your_table
WHERE  some_column = ‘a test’;

In combination with the ALTER keyword, the following operations can be performed:
The CHANGE keyword allows the name and data type of an existing column to be changed.

ALTER TABLE project_table 
CHANGE COLUMN a_silly_column_name a_better_column_name VARCHAR(100), 
CHANGE COLUMN another_poorly_named_column a_better_name VARCHAR(30);

It’s necessary to be cautious here because data loss can occur depending on the source and destination types, for example going from VARCHAR(100) to VARCHAR(30) could potentially lose 70 characters.
The MODIFY keyword allows the data type or position of an existing column to be changed.

ALTER TABLE my_table 
MODIFY COLUMN target_column VARCHAR(120), 
MODIFY COLUMN another_column AFTER target_column;

The ADD keyword allows new columns to be added to a table:

ALTER TABLE my_table 
ADD COLUMN new_column INT NOT NULL AUTO_INCREMENT FIRST;

The ADD and MODIFY keywords take position identifiers: FIRST, LAST and BEFORE, AFTER – which require a second column identifier as indicated in the MODIFY example.

In addition RENAME TO allows the table to be renamed:

ALTER TABLE poor_name RENAME TO good_name;

And DROP deletes a column:

ALTER TABLE my_table DROP COLUMN unwanted_column; 

Obviously you should use DROP COLUMN cautiously!

Keywords: ALTER, UPDATE, CHANGE, MODIFY, ADD, DELETE, AFTER

Book review: Botany of Desire by Michael Pollan

Yet another in my erratic series of book reviews cum notes. This time I’m reading “The Botany of Desire:A Plant’s-eye View of the World” by Michael Pollan.

The introduction lays out the land of the book, sections on apples, tulips, marijuana and potatoes and the central thesis: that it’s a useful idea to consider that not only do we domesticate plants but that in a sense plants naturalise us. As stated in the introduction this thesis felt a bit hardline, grating a little for my taste but once into the reading this feeling receded since the illustrative stories are enticing and nicely written.

First up, are is the story of apples in American and the folk hero, Johnny Appleseed, who travelled the mid-West, setting up ad hoc orchards from seeds, a little way in front of the settler-wave, and sold them trees as they moved into the area.

The point about apples is that they don’t grow true from seed, take a fine apple and plant its seed and what you get is a lucky dip. This is a recurring theme, plants amenable to domestication appear quite often to be those amenable to quickly producing a wide variety. To grow “true” from an apple you need to graft from the parent onto a root stock. It’s always struck me as something of a miracle that grafting works and that people managed to discover it.

Apples were significant to the early settlers since they offered sweetness (sugar would not have been very available), a sense of order when planted in neat orchards and cider. It seems cider played a big part in the popularity of Johnny Appleseed during his life, since the apples grown from seed were most often best suited to cider-making rather than eating. After he died the temperance movement gained strength in the US, and this aspect of apple cultivation was pushed into the background.

Despite the focus on Johnny Appleseed (and comparisons to Dionysus) the thing that will remain with me from this section is the descriptions of the wild apple forests around Alma-ata in Kazakhstan. You can get a flavour of the place from the fabulous images here, in an article in Orion Magazine and here, on the BBC website. These wild trees are important because they represent massive genetic diversity. The drawback of grafted plants is that they are genetically identical to their parents, so over time they become more and more susceptible to pests and diseases which evolve freely to take advantage of their stasis.

After the apples come the tulips, and Tulip Mania amongst the unlikeliest of enthusiasts: the Dutch. Tulips are a relatively recent addition to the pantheon of flowers, unlike the rose and the lily which appear in the Bible, tulips appear to have been introduced to Europe from Turkey in around 1550.

Interesting thought from this section: flowers became beautiful before there were ever humans to appreciate them – in a sense flowers are the result of the aesthetic decisions of bees (and other pollinating insects).

Tulip Mania was a speculative bubble in the Netherlands slightly before the middle of the 17th century wherein the prices paid for tulip bulbs skyrocketed, a single bulb fetching the equivalent of a acres of land or a fine townhouse, only to crash thereafter.

The flower in the picture to the left is Semper Augustus, emblematic of the most valued of the tulips during tulip mania. The interesting thing is that the most prized of these flowers – those that had “broken”  – were actually suffering the effects of a virus from which their line would eventually weaken and die. “Broken” refers to the variegated appearance with a dark colour, appearing in streaks on a lighter background. The modern Rembrandt tulips are similar in colouring but, according to Pollan, less impressive than the best of the virus “broken”.

A common theme through all these stories is the large variability of the species from which the domesticated cultivars are drawn and the vulnerability of the much more uniform varieties once domesticated.

The third section is devoted to marijuana, clearly a plant for which the author has some fondness. Marijuana has long been cultivated for two reasons: one for fibre as hemp, and one for drugs. Since the early 80’s and the American “War on drugs” marijuana production has been pushed underground, or rather indoors. Pollan recounts the story of the recent cultivation of marijuana by Dutch and American growers. The plant has undergone fairly rapid change in the last few years with the crossing of the large, traditional cannabis sativa and the more compact, frost resistant cannabis indicas. A substantial amount of work and horticultural ingenuity has gone into this process, leading to plants that can produce high yields of the active material in small, indoor spaces. The prize being the $13,000 that a hundred plants grown on a 6 foot square table can yield in a couple of months.

For Pollan there is an element of horticultural challenge in this process, he clearly grows a wide range of plants  in his own gardens (from each of the sections of this book) valuing the challenge and the diversity. The garden at SomeBeans Towers is similar: more a plantswoman’s garden than a designer’s garden.

He digresses at length on purpose of intoxication and whether drug taking really does open the doors of perception, or just lead to inane blithering, falling eventually for the former. There’s an interesting section on the neuroscience of cannabis.

The book finishes with a chapter on potatoes, in particular on a genetically modified potato called NewLeaf which was developed by Monsanto to express the pesticide from the Bacillus thuringiensis bacteria (Bt). Organic certification schemes allow the limited ‘manual’ application of the Bt pesticide. In this chapter he visits various potato growers, spanning the ultra-technological to the organic. He highlights the dilemma that he finds GM potatoes more palatable than the non-organic equivalent when presented with the choice, in large part because the level of inputs, in particular fungicides and insecticides, to conventionally grown potatoes is very high.  His visit to an organic highlights something from the organic movement in which I’m in favour: which is a willingness to explore different methods of cultivation (and a wider range of cultivars), where I part company is where they say “There must be no X” where X is a somewhat arbitrarily drawn list, enforced with religious fervour.

The section also covers the history of the cultivation of the potato, from the wide variety in the mountain gardens of its native Peru, to its introduction into Europe as a favoured staple crop. Prior to the introduction of the potato bread was the staple food in Europe; wheat is somewhat fussy in its growing conditions particularly in Northern Europe and getting bread from wheat is quite an involved process. Potatoes, on the other hand, are less fussy on growing conditions and exceedingly simple to prepare for eating (stick in fire and wait, or if feeling extravagant: boil in water).

Overall I enjoyed this book, each section seemed to divide into two unlabelled parts one largely factual and one rather more philosophical – I preferred the more factual sections but appreciated the philosophical too.

Some notes on SQL: 2 – Basic SELECT

Part 1 of this sequence of blog posts provided a preamble and showed how to create databases. This post introduces the basic SELECT command, which shows you what lies within your database and as it’s name implies allows you to select only parts of the data contained within.

The basic form of SELECT is:

SELECT*FROMmy_contacts
WHEREfirst_name=‘Anne’;

* indicates that all fields should be returned from the table ‘my_contacts’, where the first_name field = ‘Anne’. We don’t have to take all the fields from a table:

SELECTfirst_name,last_name,emailFROMmy_contacts
WHEREfirst_name=‘Anne’;

As well as the equivalence operator =, we can also use comparison operators <> (not equal), <, >, <=, >= these work not only with numerical values, but also with text values. WHERE clauses can also be combined with AND and OR operators.

SELECTdrink_nameFROMdrink_info
WHEREcalories>=30
ANDcalories<=60;


SELECTdrink_nameFROMdrink_info
WHEREcaloriesBETWEEN30AND60;

The second select using the BETWEEN keyword is equivalent to the first.
In addition there are wildcards, % meaning ‘any number of characters’ and _ meaning ‘one character’ which are accessed via the LIKE keyword:

SELECTfirst_nameFROMmy_contacts
WHEREfirst_nameLIKE‘%im’;

This first search will return ‘Tim’, ‘Slim’, and ‘Ephraim’.

SELECTfirst_nameFROMmy_contacts
WHEREfirst_nameLIKE‘_im’;

This second search will only return ‘Tim’. NULL is special, nothing equals NULL but you can check if something is NULL:

SELECTfirst_nameFROMmy_contactsWHEREflagISNULL;

Comparisons can be made to a list with the IN keyword:

SELECT drink_name FROM drink_info
WHERE rating IN ( ‘good’, ‘excellent’, ‘average’ );

Finally, the NOT operator can be used to find the inverse of the selection made, the NOT keyword goes directly after IN but otherwise goes after WHERE:

SELECTdrink_nameFROMdrink_info
WHEREratingNOT IN (‘good’,‘excellent’,‘average’);


SELECTfirst_nameFROMmy_contacts
WHERE NOTfirst_nameLIKE‘_im’;

Keywords: AND, OR, BETWEEN, IS NULL, NOT, LIKE, IN