June 06, 2007

Automatically resizing text areas in Flex

From the Flex 2 controls documentation:

The TextArea control does not resize to fit the text that it contains. If the new text exceeds the capacity of the TextArea control and the horizontalScrollPolicy is true (the default value), the control adds a scrollbar.

Why!!!! Auto-resizing a text area is just such an obvious thing. In the app i’m developing I have some fields that might in some cases be very short, and in others very long. I had to override the default TextArea behaviour so that it would resize to fit whatever text it contains when the text is updated:

<?xml version="1.0" encoding="utf-8"?>
<mx:TextArea xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="onLoad()">
  
   <mx:Script>
       <![CDATA[
           import mx.events.FlexEvent;
      
           private function onLoad():void
           {
               this.addEventListener(FlexEvent.UPDATE_COMPLETE, resizeme);
           }
          
           private function resizeme(event:Event):void
           {
               var ta:TextArea = event.target as TextArea;
               ta.explicitHeight = ta.textHeight + 10;
           }           
          
       ]]>
   </mx:Script>
  
</mx:TextArea>

That really should not be necessary!


May 25, 2007

More free iPods and MP3 recorders

Follow-up to Free iPods and professional MP3 recorders from Transversality - Robert O'Toole

Thanks again to the Alumni and Development Office, the EIF and the Communications Office for providing sponsorship. As you can see, I have quite a few MP3 recorders to give away as part of the Warwick Podcasts Competition.

Pyramid

Mr Stevens is obviously bored.


May 24, 2007

Riding the Ruta de la Plata, part 4

Follow-up to Riding the Ruta de la Plata, part 3 from Transversality - Robert O'Toole

Part 1: Santander landing, camping in the Picos de Europa
Part 2: Cares River, Desfiladero de los Boyes gorge, Peurto del Ponton pass
Part 3: Easter processions in León

Lost in La Mancha (or somewhere in Spain)

El Che

It had been a difficult day. But at least el Che, fellow motorcycle traveller, was there to meet us in the small Extremadura town of Plasencia. Our escape from León, haunted by the previous evening's experience, had been of the worst genre of nightmare: trapped in an infinite loop. We now knew what the mass processionists had really been up to as they marched around the town: they had hidden all of the signposts in order to punish the two heathen BMW riders. Within the centre of the city, not a single sign remained to indicate the correct direction out towards Extremadura. After several futile loops, we just got onto whichever main road seemed to head in appoximately the right direction. It was off course the wrong direction. And so we were magnetically drawn to Valladolid, to the East. Even a last minute attempt to find a cross country route was foiled by the European Union road building programme. A new road, not marked on my 2007 Michelin maps, led to confusion and eventually surrender.

Having passed through Valladolid with relatively little pain, we finally turned South to Salamanca. At the entrance to the city of Salamanca, our saviour arrived (praise the lord), aboard a 250cc Yamaha trail bike, revving competitively at the lights. Somehow I managed to mime our key message: please show us how to find the road to Bejar. He seemed to understand. Even more impressive, he led us patiently through the heavy traffic, realising that fat BMWs cannot squeeze through the same gaps as his traillee. We found the road out. He waived us on. We escaped, impressed with the generosity of the Spanish.

South from Salamanca, geographical interest returned. With mountains to each side of the road, and views across yet more reservoirs and up to snow covered peaks, our pace slowed. Having suffered, we agreed to look for somewhere to stop. Extramadura, our target, was still too far off. And therefore we paused for the night at a far-too-expensive hotel in the almost non-descript town of Bejar. The road in offered the most amazing sight: a mountainous rubbish dump colonised by a big flock of white storks (large birds). In fact the hotel was excellent, and cheap for one of its standard (about £40 for each of the two double rooms). With our bikes parked in an underground lair, we looked for food. Again the only option was pizza!  Three days in Spain and little sign of classic Spanish food.

Plasencia graffiti

A short ride the following day led us into Extramadura and welcome changes. Is it possible to mark the transition from Northern Europe to the South? Perhaps the mural on this wall marks the spot?  Or perhaps our first sighting of oranges growing in the streets.

Oranges

Plasencia was, immediately, a hit. It has a different spirit. There is tradition, but also youthfulness, and some pleasing irreverance. The graffiti is as good as that of Barcelona.

Plasencia graffiti 2

Mr Capitalist gets his ass kicked

We stayed for a day and a half, with much of that time spent sipping strong coffee at the oddly named Cafe Parking (it is near to a well hidden car park, but the name does it injustice). From there we could see storks nesting, as they do all over town, as well as peregrines and kites high above.

Storks

Storks nesting in the cathedral

Short rambles were taken through the town centre, with tradition and the new both nearby.

Plasencia arch

The arch seems to bridge between two buildings to which it has no historical connection

Surf shop

Yes, that really is a surf shop in the middle of Spain

The camp site at Plasencia, a short ride outside of town, provided a popular base. But even there we found ourselves in a dramatically different culture, that of macho Spanish hunting and the matador. The number of stuffed animal heads pinned to the walls of bar was to both of us quite shocking. In Africa it's usual to see the odd impala head or zebra skin. But this was simply the result of a massacre - a global massacre. Animals from every conintent were present, crammed onto the walls, tongues hanging out as if strangulated. But of course they had a very different kind of death, as the TV show constantly playing on the big screen demonstrated. In a series of locations, swarms of heavily armed Spanish men leapt from 4x4s, released packs of salivating dogs, and blasted the wildlife to bits. In Britain hunting is rare, and usually undertaken for good reasons by highly skilled experts. In Spain, it seems, any one is welcome to blast off hundreds of rounds randomly. The TV show even included trophy hunters killing roan antelope in Africa. Roan! Beautiful endangered roan!

Bloodshed in the bar was followed by yet another unsatisfying plate of badly cooked meat and chips in the restraunt. This time we were surrounded by the heads of bulls, ritually slaughtered in the ring. And how odd, in the middle of the big collection of bullfighting memorabilia, a cabinet displaying a collection of military medals from around the world: a Purple Heart, the Order of Lenin, an Iron Cross, and the Victoria Cross. Death and glory!

Light relief was supplied by a visit to the local supermarket, a branch of Carrefour bigger than any shop that i've ever seen, and perhaps bigger than any building that I have ever been in. So vast is its floor space, that it is patrolled by a team of shop assistants on roller skates. Having failed to understand local shopping customs, one such girl snatched up my small bag of apples and piroueted off to the counter to have them weighed. Meanwhile the lovely checkout girl practised her quite good english. I like Plasencia. 

On to Part 5...


May 23, 2007

Free iPods and professional MP3 recorders

Follow-up to Warwick Podcasts Competition open now from Transversality - Robert O'Toole

Prizes

I now have an impressive stack of iPods and Edirol MP3 recorders to give away for free – well almost free. This photo shows how a small pyramid can be constructed from just a few of them.

To find out more, see the Warwick Podcasts Competition page.


May 14, 2007

Warwick Podcasts Competition open now

Writing about web page http://www2.warwick.ac.uk/services/elearning/podcasts/

Announcing the Warwick Podcasts compeition for students. Prizes will include iPod Nano mp3 players. The competition will be judged by a panel including Torin Douglas, media and technology expert from the BBC. This is a chance for you to get your journalism skills recognized by the media.

How? Enter a team (2-3 students and a member of staff or alumnus). We will lend you the equipment, and can provide training to use it (it is really easy). We can also provide media skills training.

Any department that enters a team will get to keep the MP3 recorder worth £300.

Only ten recorders are available, five have already been reserved.


May 11, 2007

Riding the Ruta de la Plata, part 3

Follow-up to Riding the Ruta de la Plata, part 2 from Transversality - Robert O'Toole

Part 1: Santander landing, camping in the Picos de Europa
Part 2: Cares River, Desfiladero de los Boyes gorge, Peurto del Ponton pass

Our second day in Spain had been a journey through unsubtle patterns of texture and rhythm. Our passage through the gorge was a rapid sequence of hairpins, barreling along steep rocky mountain walls. Like giant pinball, we bounced from one side to the next and back, occasionaly catching up with our own echoes. Light and shadow, dry warmth and cool dampness, exchanged places in quick sucession. And then the ascent, in which two opposite but more linear vectors passed each other: on the one hand, light and perspective grew as we rose out of the mountain shadows and into the peaks; whilst conversely but in proportion the temperature dropped to an altitudinal chill. Once past the route's highest point (1,280 metres), the road widened and adopted a lazier wind down onto the plateau towards León (883 metres).

In the mountains there had been griffon vultures waiting ready to capitalise on erroneous motorcylists. On the road out of the Picos, all the way into León, a series of funeral cars performed that role. After passing the fourth hearse in an hour, I started to think darker thoughts: remote rural communities, land and blood won through centuries of struggle. Were we perhaps in the middle of some kind of murderous feud? The coincidence seemed uncanny.

That evening, events out on the streets of León further amplified this sense of menace and the supernatural. Another unsubtle pattern of texture and rhythm. It emanated from the great gates of the gothic cathedral. We had established base camp within a room of the Pension Berta (15 Euros for a twin room), looking out onto the Plaza Mayor in the epicentre of town.

View from the Pension Berta

View from the Pension Berta, with the following morning's market being assesmbled.

Down below in the street, hundreds of heavily disguised bodies bobbed from side to side synchronously, edging forwards like a slow moving river passing heavily through the gorge formed closely by the surrounding buildings. Loosely coordinated by some heavily veiled intention, they solemnly proceeded. An accompainiment of marshall drum beats and raucous un-earthly trumpets seemed to have no effect other than to reinforce a deeply buried fatalism. Time, life, death, sin, purgatory, penitence and glory would just carry on as determined by the natural and supernatural order of things.

Leon procession 1

A heavenly cacophony.

Until then I had not realised just what it means to have grown up in a Protestant culture. This Semana Santa (Easter) procession in Catholic León was almost impossible for me to decipher. The audience of onlooking Spaniards were thoroughly absorbed and even a little joyed by the spectacle. But in no way was this a show put on for an audience, or certainly not an earthly audience. It certainly wasn't a display for the sake of tourism or the culture industry. The participants had gone to immense effort, There were many of them, each wearing an immaculate instance of the several varieties of costume. They proceeded in groups all identically attired. One assumes that they might actually enjoy the event, although they were almost all masked so it was impossible to tell. Almost all, with the exception of a large group of women in black. That part of the procession I understood immediately. I guessed them to be widows, and respected their sorrow and grace enough to stop my incessant photography. But there must surely be an element of sacrifice? Certainly for the many people involved in carrying the enormous wooden platforms that display figures and scenes from the life of Christ.

Leon procession 4

As they carried this vast platform they were swaying in time to the music.

Was this penitence? I am an atheist, but within a Protestant culture. I struggled to comprehend. Is there nothing like this in England? Some point of reference? Well I did once live in Lewes, a town famous for its procession. But in Lewes they don't venerate popes, they burn them, in an entirely British way.

Leon procession 2

The figure of Christ is actually quite disturbing (to an atheistic Protestant).

Two things were entirely clear. Firstly, the masks made me deeply uneasy. Not because the dramatically pointed hats evoke images of racism in the American South, one can easily get around that association. Rather, it's the reduction of humanity to an anonymous mass. The elision of the individual. The mass even included masked children. That feels threatening. But worse still is one particular image: men in black masks (rounded, and a little flat on top) carrying a wooden platform in the manner of pall bearers carrying a coffin. The connection is irrational and no doubt a sign of my complete lack of understanding. As I stood there watching this sight, I struggled to rid myself of an image from 1980's Belfast: IRA men in black masks carrying a coffin.

Leon procession 3

Black masks and gloves.

A second part of the dislay made sense. In front of a platform carrying a figure of Christ walked two men dressed as Roman soldiers, complete with spears. I thought they looked rather friendly, jolly even. Good chaps. The sort that you would meet down the pub. At least one could see their faces and hence their humanity. How very odd to end up siding with the bad guys.

Leon Roman

The jolly centurion.

The procession circulated several times around its route, each time gaining in intensity and numbers. After what seemed like half an hour, it disappeared, perhaps returning back into the great gothic tomb of the cathedral, or perhaps just dissipating into the streets.

What we recognized as normality returned. The nice English speaking young lady at the Pension Berta gave us useful instructions as to where to find food. We of course forgot them almost as soon as we got outside. After some exploration, very good pizza were consumed, along with cerveza grande. And then on to the bars, many small fascinating places, usually displaying hams and other tapas ingredients. Here's an important tip for anyone visiting these parts. They drink beer in tiny measures, the size of whiskey glasses. There's no embarassment to be had in requesting a more substantial volume.

Martin in Leon bar

Martin admiring the display in a bar.

On to part 4.


May 02, 2007

Dreaming of Jupiter by Ted Simon

Writing about web page http://www.jupitalia.com

Title:
Rating:
5 out of 5 stars
Ted’s new book is out. I rode down to Dorset to meet him and get a copy. It is really good. Worth reading even if you haven’t read Jupiter’s Travels yet (surely everyone has read that travel writing classic).

59,000 miles on a motorcycle is, in experiental terms, quite a journey. It is many times greater than that same distance travelled by car. And by air? – there is no comparison possible. There is always something special about travelling by motorcycle. Ted Simon has developed conclusive arguments on the subject: being exposed to the elements and the terrain, covering large distances with ease, experiencing sudden contrasts and juxtapositions, meeting people on their own more human terms, the constant physical and mental difficulty that intensifies experience, the ability to just stop anywhere at anytime, changing direction or just letting unplanned things happen, and quite often the humility of being a small individual on a big road. Speed and agility should of course also be mentioned. And danger? Yes, as Ted recently explained to me, that has to be part of it too. You’ll find all of these factors throughout Ted’s latest book, Dreaming of Jupiter. Both on the journey that it documents, and in the resulting book, they combine to make for an exciting and important read.

In 29 months, between January 2001 and June 2003, Ted piloted his bike, with varying degrees of skill and luck, on a journey of just that great intensive and extensive length. For a second time, he encircled the world and joined up countless distinct points and narratives just as he had in the ‘70s, resulting in the classic Jupiter’s Travels . On many occasions, chance and geopolitical forces conspired to pull him away from his planned route, which should have followed that of the 1973 journey. Afghanistan was out of the question, with consequences for Pakistan. The results are, however, still as interesting, and perhaps even more significant in providing us with a picture of how the world has changed in 30 years, and to where it might be heading. Perhaps the most important thread joining the two books together is that of migration, and the plight of the migrant. In 1973, I have claimed (and Ted says I’m on the right track) he was a migrant amongst migrants. Now he returns to the ever moving ever striving ever changing “unfinished world” (Ted’s great alternative description of the developing world). The intensity of it’s desires and frustrations is shocking. This book acts as a warning to the rich nations.

So there then are a few good reasons to read Dreaming of Jupiter. But there’s a lot more. Ted’s style, a master of the art of travel writing, sets these arguments within a thoroughly enjoyable context. There’s more humour than the first book. Characters and situations are drawn up rapidly, but without resorting to cliches and stereotypes. Add to that lots of action (including one of the most dangerous high altitude breakdown rescues ever), beautiful ladies, fun with the Allende’s, and a BMW R80GS, what more could you possibly ask for?


April 29, 2007

Riding the Ruta de la Plata, part 2

Follow-up to Riding the Ruta de la Plata, part 1 from Transversality - Robert O'Toole

See by motorcycle to Seville through rural Spain, part 1 for an account of the first day of this trip.

Day 2

It was entirely obvious, surely? The obstacle had first appeared as the boat drifted into Santander harbour; in the distance to the south west, but massive enough as to clearly establish psychogeographical dominance over the landscape; an attractor re-aligning the paths of south-bound travelers. For an expedition like ours, the possibility was irresistible. And yet I did not consciously consider a crossing at altitude through the snow until deep drifts began to appear at the roadside. To a simple English mind Spain equals sunshine, warmth, and near desert conditions. Concentrate that simple mind upon the task of keeping a heavily loaded GS bike upright and on track through some of the most “exciting” roads in the world, and there is no time for reflecting upon the absurdity of these preconceptions concerning the climate. Of course Spain has many mountains, some quite big. By the time we were at the top throwing snow balls, the sense of surprise was still overwhelming.

new_compressed_zipped_folder 1

On our first day in Spain we had ridden a short way from Santander and into the Picos de Europa National Park. The following morning, mountain air and the sounds of wilderness accompanied breakfast and strong coffee in a nearby café bar. A pathway led from the campsite upwards to a viewpoint looking out over the valley. From the west, the Rio Cares surges through the valley. To the east it passes through a gorge in the limestone cliffs. On my 1/250,000 scale Michelin map of the region, it is marked as “gargantas”, a Spanish word indicating “gorge”: it actually translates to English as “throat”. The geological truth is that in time the river has subjugated the mountain and cut deeply into it. However, the more immediate perception sees things in reverse: the river is swallowed by the vast mountain range down its gargantuan throat. In the past the easiest way to travel this route would have been by boat. Imagine yourself being carried along the river towards this terrifying mouth. Which interpretation would be more obvious: the science of geology or the more immediate mythic-aesthetic anthropomorphism of giants devouring rivers?

When viewed from the side of the valley, the Cares River looks insignificant compared to the surrounding mountains. The camp site extends almost to the banks of the river, but not quite all of the way. Access is barred by a tall metal fence, with only one sturdy gateway. The fence says something about the true power of the waters. Even the Spanish, with their pathological disregard for health and safety, would not want unaccompanied children going anywhere near a river like this. A snapshot at this point would be misleading. Even close up it can look insignificant. Its real power is made obvious by the thundering sound that it produces as it travels at great speed through the narrow passage of its course. I guess that the snow fields at higher altitudes must be melting, adding to the volume and speed of water. Melting snow changes the character of a river; not just its power, but also its beauty. This would be hard to capture on film. Perhaps a professional photographer could match the colour adequately: a vivid turquoise blemished only by the occasional tree branch passing at speed. However, its texture would be impossible to convey.

At the start of the day, with the sun rising rapidly into the gap between the overlapping walls of limestone along the zigzagging path of the river, light patches of fog are lifted upwards. A golden eagle soon followed them, finding and exploiting the day’s first thermal. We could hear it calling hundred’s of metres above us, far beyond the clanking bells of the goats on top of the ridge behind the camp. We would soon follow its example, and get out chasing the warmth of the day ourselves.

Westwards, the shape of the road already provided interest, through the small town of Poo ( indeed), and on towards the larger centre of Cangas de Onis. The mountains grew nearer and more mountainous. Cangas feels a little like a basecamp. There were almost as many quad ATVs as cars, some of which carried tourists to rock climbing and canoeing centres. In high season no doubt it is crammed with such people. We stopped at the Plaza de Mayor (town square), and attempted to park on the pavement in the square itself. Unusually for Spain, this was not allowed, as we were informed by a policeman. It is a rather well kept square, with fancy paving. We found a convenient space nearby and then a table at a busy restaurant, part of a smart hotel overlooking the Plaza. The next half hour was spent people watching and acclimatizing. The restaurant’s tables in the Plaza were mostly occupied by families, doing what Spanish families seem to be most happy with: drinking wine (watered down) and chatting. The children were playing in the square, football and other games. One small boy rode an electric quad, unimpressed by his mothers order that he should wear a helmet. I commented that this is a town in which I could live.

A little beyond the centre of Cangas, we turned southwards into the Picos. Before going too far, I stopped to check the map. A twisty looking road was ahead. And yet I still did not realise just what we were heading for. We did know that this ride would be worth recording, and so Martin decided to try a new technique: with tape he attached a small Mini-DV video camera to the “beak” at the front of his R1100GS, using a small patch of foam to eliminate vibrations. After some more experimentation, a good recording was made, and the results are currently being edited.

Martin Conquers the Mountain

I admit that I am not a particularly fast rider. Also, unlike Martin, I didn’t have the incentive of a video camera strapped to the front of my bike. My ride through the Desfiladero de los Boyes was slow, cautious and concentrated on scenery. Martin, I’m sure, saw just as much of this amazing gorge as I did. But after waiting for me at our first stop half way through the gorge, it was impossible for him to hide his “where have you been for the last ten minutes” expression. Where had I been then? Pottering in amazement along a really great road. The Desfiladero runs along the wall of the cliff that rises almost vertically alongside the Rio Sella, through the Picos mountain range. At times it seems to head directly into the fearsome rapids of the river, only to twist back upon itself at the very last moment.

new_compressed_zipped_folder 6

Between the wall of the cliff and its continuation at the edge of the road there seems to be barely enough space for two vehicles.

new_compressed_zipped_folder 5

The narrowing sensation is accentuated by rock overhangs. The surface of the road is excellent, apart from where water runs across it at the base of mini waterfalls. Rocks and mud add further hazards, falling in large chunks often just out of sight in blind corners. Fortunately the traffic is light, especially given the local tendency to drive flat out in the middle the road. I had several worrying moments trying to lean my fully loaded GS around these tight bends. Most disconcerting were the tunnels, dark and wet and not at all suited to motorcyclists wearing sun glasses. At the top of one tunnel is a machine gun emplacement left over from the Civil War, another of the tunnels has a wire mesh above the entrance, holding back some quite large boulders that would otherwise crash into the road. The first stretch ends with a safe stopping place, outside of a hotel and restaurant that overlooks a waterfall. Here I found Martin again waiting patiently for me.

new_compressed_zipped_folder 2

Until this point the road stayed at quite low altitude. I still did not really think about the likelihood of it heading significantly upwards, despite its accent being marked clearly upon the map. Very soon after the waterfall, things changed. I didn’t really notice much of incline to start with. I did notice a change in the temperature. Down in the gorge, when away from the shadows, the sun provided warmth. Further into the mountain road, away from the river, I could feel the temperature dropping (perhaps by 1 degree per 100 metres, as is often stated). Wearing only summer clothes, with the air vents open, I began to feel a little chilly (though not that chilly, as I barely topped 30mph). The surface of the road started to deteriorate a little. Frost shattering does bad things to tarmac. We had already seen signs warning of ice. With water flowing across tight hairpin bends, some with adverse cambers, I regarded the warnings with some nervousness. Glancing away to the sides of the road, I started to see what looked like tiny glaciers up above. Just after the first of these mini glaciers, the snow poles started, at regular distances: striped with red and white to mark out heights, they act to provide a visual indication of the edge of the road when it is buried in deep snow. I considered a possibility: what if there were snow on the road ahead? Would we continue? Could we? I’ve ridden the GS in deep snow before, but on flat roads, not dangerously twisty precipices. But surely there would be a warning sign? Some kind of indication that the pass were impassable? The answer arrived quickly in the form of a deep layer of fresh snow lying at the side of the road. There had been a recent snow fall, but a plough must have been through since then, neatly clearing a path through.

As the road twisted upwards the snow deepened. I was now surrounded by a landscape that at lower altitude could only belong to mid-winter. As we reached the top of the pass, the views to each side opened out revealing snow fields stretching into the distance. The curves of the road became less extreme as we turned towards the sign marking the Peurto del Ponton pass at 1,280 metres. Just as we approached the top, an eagle swooped by (Bonelli’s eagle I think).

new_compressed_zipped_folder 4

The road down was less technical, but still through snow. After a short distance the large Embalse de Riano reservoir came into view, looking more like a Norwegian fjord.

new_compressed_zipped_folder 7

I passed quickly over a small bridge and then a much more impressive dam wall, to find Martin yet again waiting for me just outside of the town of Riano. We stopped to look at the scenery, and the snow.

new_compressed_zipped_folder 8

A vulture drifted past. We agreed, this was a really great journey.

Where to next?

new_compressed_zipped_folder 3

On to Part 3.


April 26, 2007

Adobe Flex is rather good

Writing about web page /stevencarpenter/entry/flex_course_day/

Writing about an entry you don't have permission to view

I have just attended a three day Adobe training course on the new Flex Rich Internet Application development tool (with Symbiosis of Leamington). I really am very impressed. Developing sophisticated applications with good UI, data access and run-anywhere capability is now very easy indeed.

Here’s an example. It does a Sitebuilder keyword search (for either “showcases” or “gadget_store”) and populates a data grid with the results. You can click on a page title to open the page.

This may take a while to load the data – i need to add a spinner! Flash 9 required.

In this case I am using the Flex HTTPService to load the data as JSON. The JSON component then converts it to an Array. I convert the “items” array within that array into an ArrayCollection (better than an array), and then bind that data structure to the data grid. Further tweaks are required to turn the Item column into a clickable link.

Here’s the code that does the binding once the data has loaded…

arr = (JSON.decode(rawData) as Array);
var dp:ArrayCollection = new ArrayCollection(arr[0].items);
grid.dataProvider = dp;

That would all be possible in HTML with Prototype javascript. But in Flex it would only take perhaps ten minutes to build. Flex uses the powerful and familiar Eclipse IDE, with almost all of the features and tools that I use for Java development, including debugging and cvs. In addition, there is a visual design tool. Use it to arrange UI components on the page, then switch to developer mode, and edit the code behind the components.

With components for video, images, forms, charts, data access etc, the possibilities are great.


April 21, 2007

Riding the Ruta de la Plata, part 1

The Santander Landing

A Harley Davidson sounded the alarm, welcoming the slow approach of the still distant Spanish mainland by roaring out an un-necessarily raucous grumble from its perfectly polished show pipes. Had a fight actually broken out over his impetuosity, the short fat guy in a chromed open-face lid would not have stood a chance. Fortunately he understood the anger of the other hundred plus riders waiting on the bike deck of the ferry. He fumbled for the kill switch and abruptly turned his vanity off for a few minutes of humility.

Bikes on the boat to Santander

It took longer than anyone had expected for the ship to dock and the way to be cleared for our procession onto Cantabrian dry land. While we waited, a family of hippies in a hand painted Luton van provided comedic interest. My old Beemer looked just as anachronistic, but instead attracted respectfully awed looks and comments from other riders, despite of, or perhaps because of, its age. Then finally a very tall man on a very tall bike, a KTM Adventurer complete will full overlander kit including jerry cans, led the way out into the sun. BMW GS overlanders were predominant, with several groups target-fixated on the dunes of Erg Chebbi, Morocco, or further: Mauritania, Senegal, perhaps even Cape Town. Martin (R1100GS) and I (R100GSPD) followed cautiously along the Paris-Dakar style caravan of bikes.

And then Santander received us.

This whole cavalcade of two wheeled adventurers, many riding machines capable of crossing deserts with ease, came to an instant and almost complete halt only a couple of hundred metres into its soon to be divergent trajectory: road works, of the kind that the Spanish do worst, right in the middle of town between the ferry terminal and the route out to the south. An interminable inching forwards followed. Politely, the mass of bikes edged its way through small one-way streets pretending not to have even a tenouos connection to the noisy idiot on the Harley Davidson. A hundred would be desert heroes. And one small girl in a flowery dress and matching pink helmet. What? How? Too late, she had already filtered through half the mass of bikes like a butterfly, barely noticeable. Spanish attitude. Breathtakingly audacious. And when she finally found no further gap, surrender was not an option – but the pavement was. Within seconds she was gone whilst we just sat there in amazement.

We did eventually break free, spewed out onto a badly pot-holed high street, as rough as a Saharan piste. One particularly large crater swallowed a quarter of Martin’s rear wheel. And then we reached smoother tarmac. I didn’t even bother trying to estimate the length of our imprisonment in the jam. “Head south” was my only thought. Martin no doubt shared this desperation to forget our first minutes in Spain. We filtered out onto the A8 motorway, and put a pleasing amount of distance between ourselves and Santander, heading towards Torrelevegas and a roadside café in order to get coffee, cakes and some kind of plan. The coffee was freshly ground and blasted excellence, as is almost always the case anywhere in Spain. It worked. I had an idea.

Why?

Two English chaps on old German desert racers. 2000 miles of road. Many petrol stops, and many, many more cups of strong Spanish coffee. One litre of high mileage Castrol GTX to keep the almost run-in valve gears and pistons ticking freely. And hours of concentrated riding. There had to be a reason, surely? There is always something special about travelling by motorcycle. Ted Simon has developed conclusive arguments on the subject: being exposed to the elements and the terrain, covering large distances with ease, experiencing sudden contrasts and juxtapositions, meeting people on their own more human terms, the constant physical and mental difficulty that intensifies experience, the ability to just stop anywhere at anytime, changing direction or just letting unplanned things happen, and quite often the humility of being a small individual on a big road. Speed and agility should of course also be mentioned. Rural Spain offers opportunity for all of this. We found it on the snow covered mountain roads, endless twisting gorges and passes, along great lakes and through beautiful national parks. But there was also something else, something very personal for me. Having now ridden over 50,000 miles on my old GS, it actually feels like home. Bolting on the panniers and filling them with camping gear accentuates the sense of being a “one man caravan” (in the words of Robert Fulton). I have spent a significant part of my life piloting that bike through all kinds of traffic, weather and news. The M40 in the snow. The City of London on September 11th 2001. Oxfordshire in full flood. The Paris Peripherique in the rain, smelling like the ocean. It provides a platform from which I have experienced the world, its many textures and colours. And then to sit on that familiar seat, look out over those old handlebars at somewhere as exotic as a mountain pass or the orange-tree lined streets of Sevilla attunes my perceptions, my sense of difference, place and time. To “be” is to experience difference, to move through a world of contrasts (subtle or abrupt), to differentiate. Motorcycling is a great way of being. That then is my reason for travelling in this way.

And Then Someome Turned the Volume Up

I think it all started with a blackbird, sometime after 4am. A tawny owl then asked repeatedly “who is there?”. Within a few minutes hundreds of different points around the valley and mountainside began to mark out intensive and extensive territories with a great variety of songs. The voices were mostly familiar, perhaps accented with a Spanish twist (birds do have regional accents, as has recently been demonstrated). A few sounds were entirely new to me – maybe an alpine chough? However, the overall effect, the pattern of their distribution, was entirely unfamiliar. Whereas the birds of Kenilworth Common always seem hemmed in by the surrounding urbanization, the symphonic arrangement in this big wide valley was much more expansive and free. Birds called from every direction, at many different altitudes. In my tent, not far from the fast flowing river at the centre, I was overwhelmed and sleepless. I didn’t mind at all. It was a testimony of the biodiversity and natural wealth of this place. I lay down with my tent open, listened to the sound scape, and recalled the previous day’s ride.

Ride to Arenas de Cabrales

On our first afternoon in Spain we covered just a short distance. Riding westwards on the A8 dual carriageway, we had turned off at Peseus. A small road then led into the mountains of the Picos de Europa National Park, through Panes and a series of small villages. Out of season, much was quiet. The road narrowed and cut its way through overhanging rock. This was exciting in itself, but only just the start. In the distance occasional glimpses of snow covered mountains appeared and then vanished. Promising, but our first day would end at the excellent Naranjo de Bulnes campsite near Arenas de Cabrales, to be followed by one of the best dawn choruses I have heard.

Lizards at the Arenas camp site

Before sunset, some time was spent photographing skittish lizzards in an old tree trunk. With our tents established, we walked the one kilometre along the road to the village, past an impressive hydro-electricity plant piping mountain waters through humming turbines. Upon our return, the restraurant and bar was the obvious destination. Drinking beer like the sun parched Alec Guiness, we quickly established ourselves with the friendly natives. Dinner was had. Sardine-sized trouts grilled with chips for me. Pleasing.

That evening I made two seemingly incompatable observations. Several times an old man cycled past towards the village. He was dressed in green tweed, with a flat cap. Tall, thin and angular, he propelled the cycle with a mechanical awkwardness, but also an ease of ancient familiarity. Each village-bound leg of his circuit saw a surprisingly large bundle of firewood strapped to the rack at the back of the bike. Thomas Hardy may well have been the last man in England to witness such activities. But in Spain, as we were to discover, such rural manual labour is common. And then later, another very natural and rural scene. Wooden pitchforks. Cartwheels. Rough adobe materials. Images of woodland birds painted onto windows. Vivaldi’s Four Seasons wafting out of speakers in each corner of the roof. Scorchingly hot water piped in with the music. The ammenity block of the Naranjo de Bulnes campsite tries really really hard, and somehow manages to be quite charming. It certainly is well looked after; a welcome discovery for a tired motorcyclist.

Camping at Arenas de Cabrales

Now read part 2 of this trip.


March 24, 2007

Sporting Lawrence

Somehow, being given a football to play with in Abbey Fields park for the first time, Lawrence knew how to run up to it and kick it quite hard. This was followed by a series of spectacular Brasil style manouvres culminating in an overhead kick into the opposition’s goal.

Footballer

Fortunately he later abandoned this unhealthy interest in team sports, instead dancing balletically along to some ice skaters on the television.


March 21, 2007

R100GS PD – latest progress

Follow-up to Balancing a Bing and other esoteric BMW motorcycle restoration rituals from Transversality - Robert O'Toole

With only a week and half before we leave for Spain, the bike is almost ready.

After fitting a new throttle cable, I couldn’t quite get the carb setup correct. Worse still, one of the cable kept jamming, and then jumping out of the holder at the twist grip end. To get it sorted quickly, I called on Phil the Boxerman Hawksley, the renowned BMW specialist from Leicester. Phil did a service at my house, for a very reasonable fee. He set up the carbs perfectly, as well as tightening the steering bearings to prevent the bar wobbles that I had been experiencing.

Proof of the quality of Phil’s work came on a ride down to Dorchester (to see Ted Simon). The bike ran well. On the way back, after a fast motorway dash from the south coast, I stopped at a petrol station with the counter saying that I had done 220 miles since the last full tank. I would normally expect to have to put in around 28 litres for 220 miles. Efficiency can be as low as 43 mpg on an old airhead GS at high speed. It most often makes about 45 mpg. On this ocassion, I was surprised to find that it had used much less fuel than expected. The bike ran at around 50 mpg at high speed on the motorway. Well tuned carbs? And perhaps a change of engine oil: Castrol GTX rather than the usual Castrol GP.

Since then it’s had a couple of new tyres fitted by the very helpful Behind Bars trail bike specialists in Kenilworth. Metzeler Tourance as usual, although I am considering a change. They also did an MOT. It passed with no problems.

The last few jobs to do:

  1. use some new bolts to secure the pannier rails to the subframe;
  2. re-attach the sump guard;
  3. find a small box to put next to the smaller than standard Hawker Odyssey battery;
  4. mount the panniers and tank bag.

Lawrence in training to go RTW by motorcycle

Follow-up to Jupiter's Travels by Ted Simon – a really great book of travel or migration from Transversality - Robert O'Toole

A couple of photos of Lawrence at the Museum of British Road Transport in Coventry, with some quite famous overlander bikes.

Ted Simon probably wouldn’t mind (he let me sit on his R100GS), but the security guard certainly did. However Lawrence absolutely insisted upon climbing up onto the Triumph Tiger made famous in Jupiter’s Travels:

On Ted

And here’s a photo of me on Ted’s GS:

Ted Simon

The Long Way Round expedition by Charley Boorman and Ewan McGregor was a genuinely tough RTW, leaving many scars on this R1150GS Adventure, including some rather neat welding to the rear subframe carried out in Mongolia. Lawrence of course prefers the old Airhead R100GS, but was happy to pose next to Charlie’s bike:

On Charlie


Equipment list for Easter expedition

At the start of April I am heading South on my bike, travelling with Martin (R1100GS), aiming to find some dry dirt roads, good weather and wilderness (Spain, maybe further). Here is my list of equipment to take.

My GS will be loaded up with its full luggage set. That provides plenty of space:

  • 33 litres in the Touratech Zega top box (TP);
  • 46 litres in the left Tesch pannier (LP);
  • 46 litres in the right Tesch pannier (RP);
  • 45 litres in the Touratech V45 tank bag (TB);
  • 2.5 litres in the built in glove box (GB);
  • 1 litre in the underseat tool box;
  • 35 litres in an Ortlieb dry bag (OB);
  • some extra space on the rear seat for large/long items (RS).

A total of 208.5 litres of covered storage. If that were completely filled, and accompanied by 35 lites of fuel, it would most certainly be far too much. But that’s not the plan. Four rules apply when packing for motorcycle camping: 1. take all of the essentials; 2. keep weight to a minumum; 3. distribute weight low and evenly; 4. pack so that any item can be retrieved without every other item having to first be unpacked. Hence my approach is to have far more luggage capacity than I actually need.

Camping
  1. a lightweight one man tent with pegs (RS);
  2. tent mallet (can this be replaced with something smaller?);
  3. combined torch and tent-light;
  4. mini maglight;
  5. self inflating sleeping mat (RS);
  6. small pillow;
Wardrobe
  1. five pairs of boxer shorts;
  2. five pairs of socks;
  3. three t-shirts;
  4. one short sleeved shirt;
  5. swimming shorts;
  6. one pair of BMW summer motorcycle trousers;
  7. one pair of Heine Gericke Air desert motorcycle trousers;
  8. one Heine Gericke Tuareg armoured jacket, without Gore-Tex liner;
  9. one pair of Diadora motocross boots;
  10. desert boots;
  11. one pair of Heine Gericke brown leather gloves;
  12. one pair of Heine Gericke windstopper glove liners;
  13. BMW Sports Integral helmet;
  14. Hein Gericke Tuareg waist bag;
  15. four sets of foam earplugs;
Kitchen
  1. Coleman petrol stove;
  2. plate, fork, knife, spoon, cup;
  3. 2.2 litre Camelback water carrier;
  4. box of matches;
Bathroom
  1. one small towel;
  2. toothbrush;
  3. small toothpaste;
  4. soap;
  5. small medicine kit;
Office and photography
  1. watch;
  2. small digital camera;
  3. binoculars;
  4. Palm M515;
  5. Palm keyboard;
  6. mobile phone (check coverage);
  7. phone car charger;
  8. camera battery charger;
  9. BMW power socket converter;
  10. paper notebook;
  11. Nikon F50 SLR with 80-300mm lens;
  12. 35mm film;
Navigation
  1. Magellan Palm GPS;
  2. map measurer;
  3. compass;
  4. maps;
Bike tools
  1. electric tyre pump (RP);
  2. Ultraseal tyre sealant (RP);
  3. disc lock;
  4. security chain and lock (RS);
  5. wheel spanner;
  6. allen keys;
  7. screwdriver set;
  8. 1 litre of engine oil (LP);
Documents
  1. driving licence;
  2. V5;
  3. E111;
  4. insurance certificate;
  5. passport;
  6. credit cards;
  7. tickets;
  8. travel insurance documents;
  9. contact details.

March 15, 2007

Live collaborative online seminar between Warwick and Witwatersrand (SA)

A brief report on an online conference using Warwick Forums.

At lunchtime today I helped Erica Carter of German Studies to run a live online collaborative seminar with a group of students here and a group at Witwatersrand in South Africa.

We had hoped to use our new web based videoconferencing tools, but unfortunately they are not ready yet. It may also be the case that the Wits net connection is too slow. So instead we simply used a Warwick Forums discussion setup. I created external user accounts for the Wits staff and students, and gave them access to the forum. We started off by posting introductory messages, with the Warwick students divided into four groups. Here are a few observations:

  1. the UK students were entirely digitally native – they instantly understood Warwick Forums, and quickly discovered how to upload images of themselves taken on an Apple laptop, or from their Facebook accounts.
  2. even so they found the live interaction to be exciting.
  3. the discussions were a little chaotic, with people posting into threads with no specific structure, the plan had been to setup threads in advance, but Forums maintanance prevented this from happening.
  4. dividing up the class into four groups, worked well.
  5. assigning threads to each group is a good model, but it would be useful if it were possible to see the thread in which one is working AND an indication of activity in other threads.
  6. being able to set up these groups and discussion threads ad hoc is useful, having a more visual representation of these relationships would be really useful.
  7. Warwick Forums no longer seems to auto-refresh, a useful feature in a live collaboration.

Most significantly, the students were asked to write extended entries as a group and then post them. A forum type setup perhaps supports this model better than Instant Messaging. I suspect that this is a good pedagogical pattern, with students taking more time to prepare their statements, but still getting the benefit of quick feedback. This may well help less confident students. It is possible for the tutor to give them personal help in drafting their statements, something that can never happen in a traditional seminar.

Steve Carpenter is working on a new interface for video conferencing seminars. Pleasingly, many of the features he is considering will work in this way.