Paying On Time – universities are failing

Universities are not living up to Government prompt payment targets.  As many suppliers will be local SMEs this threatens the cashflow of businesses that may be teetering on the edge, and the well being of local economies.

I’ve twice in the last couple of months been hit by university finance systems that have a monthly payment run so that if a claim or invoice is not submitted by a certain date, often the first day or two of the month, then it is not paid until the end of the following month, leading to a seven week delay in payment.  This is despite Government guidelines for a normal 30 day payment period and to aim for 80% payment within 5 working days.

I’d like to say these are rare cases, but are sadly typical of university payment and expense systems.  In some cases this is because one is being treated as a casual employee, so falling into payroll systems.  However, often the same systems are clearly being used for commercial payments.  This means that if a supplier misses a monthly deadline they may wait nearly two months for payment … and of course if they are VAT registered may have already had to pay the VAT portion to HMRC before they actual receive the payment.

The idea of monthly cheque runs is a relic of the 1970s when large reels of magnetic tapes had to be mounted on refrigerator-sized machines and special paper had to be loaded into line-printers for cheque runs.  In the 21st century when the vast proportion of payments are electronic, it is an embarrassing and unethical anachronism.

As well as these cliff-edge deadline issues, I’ve seen university finance systems who bounce payments to external suppliers if data is on an out of date form, even if the form was provided in error by a member of university staff.

Even worse are universities finance systems which are organised so that when there is a problem in payment, for example, a temporary glitch in electronic bank payments, instead of retrying the payment, or informing the payee or relevant university contact, the system simply ignores it leaving it in limbo.  I’ve encountered missing payments of this kind up to a year after the original payment date.  If one were cynical one might imagine that they simply hope the supplier will never notice.

The issue of late payments became a major issue a few years ago.  Following the recession, many SMEs were constantly teetering on the edge of bankruptcy, yet larger firms were lax in paying promptly knowing that they were in a position of power (e.g. see “Getting paid on time” issued by the Department for Business, Innovation & Skills, February 2012).

Five years on this is still a problem.  In April last year The Independent estimated that British SMEs were owed 44.6 billion in late or overdue payments(see “The scourge of late payment“).  There is now mandatory reporting of payment processes for larger companies, and recent returns showed that some companies missed prompt payment up to 96% of the time, with bad performers including major names such as Deloitte (see “Ten of the UK’s big businesses that fail to pay suppliers on time get named and shamed by the Government“).

There is also a voluntary “Prompt Payment Code“, but, amongst the signatories, there are only two universities (Huddersfield and Westminster) and three colleges.

Universities are often proud of the way they support local economies and communities: being major employers and often offering advice to local businesses.  However, in respect to prompt payment they are failing those same communities.

So, well done Huddersfield and Westminster, and for the rest of the university system – up your game.

Rich tea biscuits, sugar lumps and Bournville chocolate

I forgot.

How could I forget?

Memory is a fickle thing, not metal storage shelves, or neat filing drawers, but like the tide throwing up flotsam of your past and then withdrawing, just traces in the sand.

We had been sorting boxes long in storage, and I had made my way through plastic crates full of old screws, hinges, locks without keys, and half window-latches. Some I had collected myself over the years, some I’d inherited from Fiona’s grandpa, and some were my dad’s, accreted through a life as builder, carpenter and maintainer of the old Victorian terrace where I was born. All were coated with that dusty brown patina of age, not the rich iridescent rust of wet, but the dull discolouration that rubs off on your hands and leaves small scatterings on the bottom of tins.

There had been one tin, full of such scatterings, and it had gone into the metal recycling box, amongst others.

I had discarded the brown Tupperware box in which I’d kept my own collection of reusable screws as a boy, a few ‘liberated’ from secondary school desks when it seemed fun to see how many screws you could remove from the lids whilst still leaving them, at least apparently, intact.

What would dad have thought? Maybe some would have been the same desks he had repaired when I had still been in infant school.   A few times a year he would be in our school, repairing desks and chairs – in those days all wood. It is likely he also visited the high school where I eventually ended up, wondering how the lids got loose as a previous generation of school children had a short-lived craze of minor vandalism. How many of the scored and inked images and slogans on the desks where I later sat had been there when he had touched them.

The touch of an object, the feel of it under your fingers, bringing back the past. Only it didn’t, the tin was cast thoughtlessly amongst the decaying ironmongery, detritus of a save-it-just-in-case mentality inherited from those who had seen one or two world wars.

Only after, I remembered.

The tin was long and thin, perhaps ten inches long and two and a half or three wide; square in cross-section; I always assumed it was designed for cream crackers. The lid was large-chequered white and red, with an embossed pattern highlighted in long faded gold, but I only half remember, the way you do with things so intimate, so normal, they are merely the background.

Is it always the way that the things that are closest, most dear, are most easily forgotten?

I took no photograph.

It is gone.

I always say, as a tease, that the smell of meths is the smell of childhood; it reminds me of my dad. And it is true.

He was no drinker, certainly not when I knew him, who knows in his youth. In the sideboard cupboard there was a bottle of cherry brandy that I never recall being opened. Did mum and dad sometimes have a small glass after Jacqui and I had gone to bed? I only ever recall very occasional glasses of sherry at Christmas, and maybe that was only mum.

The smell of meths was surgical spirit; twice a day, regular as the clock that was also wound daily, he would inject insulin. Small bottles with round rubber tops, the needle reused, none of today’s disposable needles, or discreet pens, but his trousers wound down and the needle pressed into his thigh, the skin and needle cleaned with cotton wool soaked in the clear spirit. I wonder how many times he reused the needle; I guess until it was too blunt to break the skin.

When a little older, I recall going together to Cardiff Infirmary, I assume for a check-up – the dull post-war institutional painted corridors, and that smell of hospital … soap and disinfectant, and in those days I’m sure also a touch of meths. I do not know whether it was just once or many times, and why I recall it being just the two of us – maybe it was when Jacqui had started school and I had not, or perhaps Jacqui had gone with mum somewhere, or maybe just that soliloquy of childhood that sees everything through one’s own eyes, forgetting that others were there too.

But in my earliest memories, not the hospital, just the smell, the needle and, in every drawer, handbag, and car shelf, sugar lumps and gold wrapped bundles of Bournville chocolate.

When we went out for the day, or drove away on holiday, mid-morning and mid-afternoon we would always stop for a cup of tea and a bite to eat. Then as now, injected insulin was only half the cure; he had to be careful to eat regularly.

In the summer, on a fine day, we would park the car. Dad would take out a Camping Gaz stove from its blue metal box and the kettle would boil while Jacqui and I played in the sun or sat in the back of the car with a sticky-back-plastic-covered plank as a table.

At other times there were cafés, some with Formica topped tables and counters, others oak panelled – always in those days waitress service. Toasted tea-cakes are still a comfort food.

If we stopped for lunch then we would often have soup with crusty rolls. I’m sure they were in the local bakers too, but I always associate those rolls with days out and restaurants. Jacqui and I would pull out the moist white bread from the middle with our fingers, making mouse houses from the hollow crusts, and then, of course, finish with the crusty parts themselves, still the best portion of any loaf.

Neither dad nor mum took sugar in their tea, but on the table there would always be a bowl full of sugar: sometimes naked white lumps piled high, tempting for a small child, and maybe Jacqui and I would be allowed one each to suck.   Sometimes they came in little paper packets, two bundled together – standard dose for a cup of tea – and, if they did, dad would take a few and add them to his collection, for emergencies, if he felt low on sugar, or if for some reason we were late eating.

Once, I recall dad getting angry and shouting at home, a thing rare enough that I remember it. After a while he and mum realised that he had not eaten, and his temper dissolved as his sugar level rose.

The diabetes was managed, part of the background, one of those things so intimate, so common they are not thought about, but never entirely forgotten.

Once dad broke his toe whilst moving a table in the church schoolroom. His foot was in plaster for weeks, but the worry was always that gangrene would set in.

Only later, after dad had gone, I discovered that one of his brothers had died in the 1920s, still in the early days of insulin treatment when they were trying to understand the correct dosages. The insulin prolonged his brother’s life, but also, in the end, killed him.

I always assume dad’s diabetes was late-onset, otherwise he would never have lived until Jacqui and I were born. Late enough that insulin was better understood. Perhaps it had come at a time of stress, in the 1940s when he divorced his first wife, or when his second wife died.

Nowadays, whenever I have a blood test myself, I always ask about the sugar levels.

And the tin?

At home, cups of tea were as much a ritual, dad’s cup bigger than mum’s, but always a cup and saucer; mugs for tea were still many years off. Jacqui and I learnt to drink tea from dad’s saucer. He would pour a little tea on the saucer, blow it and let us sip the cool liquid. It was not just for us, but a trick he sometimes used himself to cool his tea rapidly – a habit from his work as a carpenter to drink quickly in short tea breaks.

With the tea there were no custard creams or bourbons, no chocolate biscuits, nothing iced topped nor anything too sweet, but instead rich tea fingers, thin oval-shaped biscuits with crimped edges. Dad would have two, resting on his saucer and then dunked in the tea until they were soft and warm.

They came in two kinds, one in blue and white packets and slightly lighter in colour, similar in taste to the thicker, round rich-tea biscuits that are more common today; the others in clear packets, with a darker colour and a subtly richer, more savoury, almost nutty taste.

I don’t remember now whether we regularly ate them too as small children or whether they were a grown-up thing. I do recall Jacobs Club biscuits as a treat, always the orange ones. Later as an older child, when I had my own tea, I was always torn between the soft melting texture of dunked finger biscuits, or nibbling them, first around the edge, removing just a few millimetres of the neat crimping, before starting at one end – then, with rodent-like reciprocating teeth, reducing them to sawdust-like powder in my mouth.

The rich tea fingers lived in a tin, and the tin on the sideboard, always.

Pantoum in Eindhoven

While sorting some old files I came across a small pack of notes, stapled together.  They were clearly written in a bar (the beer glasses are a give away!), and the notes mention Eindhoven.

I then remembered.  On one of my visits to Eindhoven, either teaching USI students at TU/e, or for the Desire conference,  I was sitting with someone at a bar, I think waiting for others to join us and I was describing the pantoum, a Malayan poetry form I had originally read about in “The Making of a Poem: A Norton Anthology of Poetic Form“.  This is a lovely book I was given for birthday or Christmas some years ago, that describes many poetical forms, some common such as the sonnet, others, like the pantoum, that I had never heard of before.

In a pantoum the second and fourth lines of the first stanza become the first and third lines of the second stanza, and then so on for the rest of the poem, like voices calling from verse to verse.  My favourite example was “The Method” by J. D. McClatchy, which stretches the idea of the repeated lines, modifying them slightly to be almost the same, but not quite: perhaps modified, punctuated differently or simply sounding similar but completely different words. For example, the second line of the first stanza is “Seem to pee more often, eat“, which becomes “Sympathy, more often than not” as the first line of the second stanza.

By way of demonstration I tried to write a pantoum on the spot.  There were paper slips on the table, to allow you to write your order to take to the bar, and these became manuscript paper. The lines are very short, which is only fair as I was writing a five line poem on the fly, but I had also clearly forgotten the proper rules (I just rechecked now) as I have six-line stanzas, instead of four-line quatrains.  However, I did manage to get the last stanza to cycle round and use the unrepeated (1st, 3rd and 5th) lines of the first stanza, not bad for a two minute demo 🙂

The Pantoum of the Guinness in Eindhoven

in the bar
on the street
of old Eindhoven
we sat drinking
Guinness in glasses
dark and deep

on the street
on the pavement
we sat drinking
of the visions
dark and deep
all around us

on the pavement
they told us
of the visions
they saw here
all around us
hidden souls

they told us
as children
they saw here
lonely spirits
hidden souls
are drawn to

as children
in the bar
lonely spirits
of old Eindhoven
are drawn to
Guinness in glasses

physigrams – modelling the device unplugged

Physigrams get their own micro-site!

See it now at at physicality.org/physigrams

Appropriate physical design can make the difference between an intuitively obvious device and one that is inscrutable.  Physigrams are a way of modelling and analysing the interactive physical characteristics of devices from TV remotes to electric kettles, filling the gap between foam prototypes and code.

Sketches or CAD allow you to model the static physical form of the device, and this can be realised in moulded blue foam, 3D printing or cardboard mock-ups.  Prototypes of the internal digital behaviour can be produced using tools such as Adobe Animate, proto.io or atomic or as hand-coded using standard web-design tools.  The digital behaviour can also be modelled using industry standard techniques such as UML.

  

Physigrams allow you to model the ‘device unplugged’ – the pure physical interaction potential of the device: the ways you can interact with buttons, dials and knobs, how you can open, slide or twist movable elements.  These physigrams can be attached to models of the digital behaviour to understand how well the physical and digital design compliment one another.

Physigrams were developed some years ago as part of the DEPtH project., a collaboration between product designers at Cardiff School of Art and Design and  computer scientists at Lancaster University. Physigrams have been described in various papers over the years.  However, with TouchIT ,our book on physicality and design (eventually!) reaching completion and due out next year, it felt that physigrams deserved a home of their own on the web.

The physigram micro-site, part of physicality.org includes descriptions of physical interaction properties, a complete key to the physigram notation, and many examples of physigrams in action from light switches, to complete control panels and novel devices.

Timing matters!

How long is an instant? The answer, of course, is ‘it depends’, but I’ve been finding it fascinating playing on the demo page for AngularJS tooltips. and seeing what feels like ‘instant’ for a tooltip.

The demo allows you to adjust the md-delay property so you can change the delay between hovering over a button and the tooltip appearing, and then instantly see what that feels like.

Try it yourself, set a time and then either move over the button as if you were about to click t, or wondering what it does, or simply pass over it as if you were moving your pointer to another part of the page.
 
If the delay is too short (e.g. 0), the tooltip flickers as you simply pass over the icon.
 
If you want it as a backup for when someone forgets the action, then something longer about a second is fine – the aim is to be there only if the user has that moment doubt.
 
However, I was fascinated by how long the delay needed to be to feel ‘instant’ and yet not appear by accident.
 
For me about 150 ms is not noticeable as a delay, whereas 200ms I can start to notice – not an annoying delay, but a very slight sense of lack of responsiveness.

Everything feels easy

Today looked like a good Tiree Ultra day, with 40 mile an hour winds (the odd gust at 50) and occasional shafts of sunshine between driving rain!

So buoyed by knowledge from three weeks ago that I could do it, I took my first run since the ultra.

My left leg is still feeling a little gammy, but with a 40 mph wind at my back I fair sailed along – until I turned round.  Progress on the return leg was … well suffice say I could have walked faster.

I have always avoided running in the rain, but after the ultra I knew I could do it and it wasn’t so bad.  I also had a new rain poof that I’d got for the ultra – good equipment really does help.

There is something liberating about that “it can’t be worse than …” feeling.

When I did the first Tiree Ultramarathon in 2014, it was a year after I’d walked around Wales.  If I got a pain whilst walking there was always the fear that it would be worse the next day, or that it would be the thing that stopped me entirely.

Just over 2/3 of the way round the 2014 ultra I began to get some pain in my right leg.  I’d pulled the Achilles tendon on that ankle a few years before, and so I was a little worried that it would go again.  But I thought, “only 10 miles to go, and it’s just one day. I don’t have to run again tomorrow and the next day; so what if I’m hobbling for a few weeks.

After walking 1000 miles day on day, a single day and mere 35 miles was suddenly less daunting.

Now, knowing I could endure a whole day running with horizontal rain stinging my cheeks, well what of a couple of miles in heavy drizzle and 50 mile an hour winds …

After Tiree Ultra 2017, everything feels easy.

Tiree Ultra 2017 – what a difference a week makes

Last Sunday I completed my third Tiree Ultamarathon … and definitely the wettest, windiest and boggiest!

However, this Sunday what a difference …

The ultra circuit flows the coast of Tiree taking in almost all of the beaches, but also includes some road sections as well as off-road grass sward and boggy moor. There is relatively little height gain, but Will Wright tries to organise the route to ‘make the most’ of the hills there are.

Previous years have been wonderful weather, light breeze and some sun, enough to be pleasant, but not enough to cause heat problems. However, the fates had been saving their fury, and this year the heavens opened and Odysseus let the western winds loose gathering water from the warm Atlantic and flinging it at us in horizontal sheets.

It was the first time I had every run in the rain so was, well maybe not a baptism of fire, but certainly a dramatic introduction., I had recently bought a waterproof for running in, but it sill had its label on as each wet August day, I thought “well maybe run on a brighter day”. Although everyone says that the right equipment helps, I sort of only half believed it – however, I was amazed at how even driving rain was not a problem.

I only run the Tiree ultra in September and sometimes the Tiree half marathon in May. I always mean to keep on running between, but then I forget, or I am too busy – so many excuses. So, in previous years I haven’t got round to any running until a month before the ultra doubling my distance each week – far from the recommended 10-15% a week increase! To be honest I’ve been very lucky to have not injured myself.

This year I decided to break my habit and be well prepared, so started a whole two months in advance. I wondered if this had been wise as I felt I’d peaked at the end of July and seemed to be going downhill ever since.  However, this year I am definitely hobbling less afterwards and I managed to run every inch of road and beach, with just a few walking sections over bog. This said, when the wind gusted mid to high thirty miles an hour in my face, I would almost certainly have walked faster than I ran.  Indeed on Gott Bay as I ran (very slowly) into the wind another runner was power walking just behind me sheltering in my lee.

One thing I noticed while running was a subtle change in psychology.  After about 10 miles, as pain and exhaustion kicked in, I was aware of myself occasionally wondering if there was any way I could bow out without losing too much face, and then not that many miles later I caught myself thinking “next year I’ll ….” – at that point I knew I was OK!  However, the exhaustion must still have been in my face at mile 17 as the marshal as we came off the beach at Balephetrish said, “you look as if you could do with a hug”.

This year two off-island friends, Albrecht and Alun, also came to Tiree for the Ultra, which was wonderful.  Being a good host I of course let them finish ahead of me by an hour or so 😉

Albrecht has already booked for next year, but not sure if Alun is convinced!

However, the weather can only be better.

 

 

running on the verge

Tiree Fitness Facebook – Photo by Alan Millar

In a week and half’s time I’ll be joining about 250 others on the Tiree Ultramarathon, running around the edge of Tiree, which is itself on the Atlantic edge of Scotland.   Some of this will be on beach and moor, but some along single track roads, where you often have to step onto the grassy verge as cars go by.

Running on the verge has its own challenges which I’m sure are shared by many rural areas as well as Tiree.  For those coming to the Tiree Ultra or running (or cycling) in rural areas, here’s my short guide to the hazards of the verge.

on narrow roads do stop – Some roads do have space for a car to pass a runner or cyclist, but it can be close especially if you are a little tired and ‘wandering’ a little as you run.  So usually best to stop … and you get a moments breather 😉

beware the ragged tarmac edge – It is tempting to just squeeze to the left and keep going, but the tarmac often peters out, this is worst of you are cycling as the wheel can slip off the road and get trapped in the furrow between tarmac ad grass (cyclists have ended up in hospital!), but you can also trip when running … and you don’t want to fall into the path of the car that is passing.

Tiree Fitness Facebook photos – verges are not the only road hazard

running on the verge – I know many will ignore this, but just don’t.  They seem wide, tamer than running on full off-road terrain, and well within the capabilities of a off-road bike.  However there are often drainage channels hidden by the long grass – these can be a foot or more deep and can be invisible.  Even when there isn’t a deep drainage channel running parallel to the road, there are often smaller drainage channels running outwards from the road; these are typically only a few inches deep, but just designed to trip you up.  The one possible exception is where someone has mown the verge outside their house, but even then be careful of the cross-channels as they often aren’t obvious even on mown grass.

stepping onto the verge – At the risk of sounding like your granny, still take care!  I have stepped off the road and, even looking down at the ground as I did so, my foot has disappeared into a channel and I’ve almost sprained my ankle … and that was standing still not running.  On the bike be even more careful, you stop, put your outer foot into what you believe to be grass and … on a bike there is little you can do apart from topple full head over heels … and, yes, I know because I have done it.

standing on the verge – Will it never stop!  Yep, even standing has it’s dangers.  On Tiree it is normal to wave to those passing, friend and stranger alike.  However, if you are a little tired twisting round can put you off balance.  Don’t feel embarrassed to put a hand on a fence post to keep you sure footed, better than stumbling back into the path of that nicely waving driver.

stepping off the verge – Do take a peek back down the road before stepping back onto the tarmac.  Tiree is windy and when the wind is coming from in front it is hard to hear cars from behind, as a car passes you it is easy to just step back, but often there is a second car driving in convoy, especially when the road has had a lot of obstacles (such as runners), so that cars catch up with one another.

Tiree Fitness Facebook photos

… and then if you survive the verges

… there is just Dun Mor to climb …

Solr Rocks!

After struggling with large FULLTEXT indexes in MySQL, Solr comes to the rescue, 16 million records ingested in 20 minutes – wow!

One small Gotcha was the security classes, which have obviously moved since the documentation was written (see fix at end of the post).

For web apps I live off MySQL, albeit now-a-days often wrapped with my own NoSQLite libraries to do Mongo-style databases over the LAMP stack. I’d also recently had a successful experience using MySQL FULLTEXT indices with a smaller database (10s of thousands of records) for the HCI Book search.  So when I wanted to index 16 million the book titles with their author names from OpenLibrary I thought I might as well have a go.

For some MySQL table types, the normal recommendation used to be to insert records without an index and add the index later.  However, in the past I have had a very bad experience with this approach as there doesn’t appear to be a way to tell MySQL to go easy with this process – I recall the disk being absolutely thrashed and Fiona having to restart the web server 🙁

Happily, Ernie Souhrada  reports that for MyISAM tables incremental inserts with an index are no worse than bulk insert followed by adding the index.  So I went ahead and set off a script adding batches of a 10,000 records at a time, with small gaps ‘just in case’.  The just in case was definitely the case and 16 hours later I’d barely managed a million records and MySQL was getting slower and slower.

I cut my losses, tried an upload without the FULLTEXT index and 20 minutes later, that was fine … but no way could I dare doing that ‘CREATE FULLTEXT’!

In my heart I knew that lucene/Solr was the right way to go.  These are designed for search engine performance, but I dreaded the pain of trying to install and come up to speed with yet a different system that might not end up any better in the end.

However, I bit the bullet, and my dread was utterly unfounded.  Fiona got the right version of Java running and then within half an hour of downloading Solr I had it up and running with one of the examples.  I then tried experimental ingests with small chunks of the data: 1000 records, 10,000 records, 100,000 records, a million records … Solr lapped it up, utterly painless.  The only fix I needed was because my tab-separated records had quote characters that needed mangling.

So,  a quick split into million record chunks (I couldn’t bring myself to do a single multi-gigabyte POST …but maybe that would have been OK!), set the ingest going and 20 minutes later – hey presto 16 million full text indexed records 🙂  I then realised I’d forgotten to give fieldnames, so the ingest had taken the first record values as a header line.  No problems, just clear the database and re-ingest … at 20 minutes for the whole thing, who cares!

As noted there was one slight gotcha.  In the Securing Solr section of the Solr Reference guide, it explains how to set up the security.json file.  This kept failing until I realised it was failing to find the classes solr.BasicAuthPlugin and solr.RuleBasedAuthorizationPlugin (solr.log is your friend!).  After a bit of listing of contents of jars, I found tat these are now in org.apache.solr.security.  I also found that the JSON parser struggled a little with indents … I think maybe tab characters, but after explicitly selecting and then re-typing spaces yay! – I have a fully secured Solr instance with 16 million book titles – wow 🙂

This is my final security.json file (actual credentials obscured of course!

{
  "authentication":{
    "blockUnknown": true,
    "class":"org.apache.solr.security.BasicAuthPlugin",
    "credentials":{
      "tom":"blabbityblabbityblabbityblabbityblabbityblo= blabbityblabbityblabbityblabbityblabbityblo=",
      "dick":"blabbityblabbityblabbityblabbityblabbityblo= blabbityblabbityblabbityblabbityblabbityblo=",
      "harry":"blabbityblabbityblabbityblabbityblabbityblo= blabbityblabbityblabbityblabbityblabbityblo="},
     },

  "authorization":{"class":"org.apache.solr.security.RuleBasedAuthorizationPlugin"}
}

why is the wind always against you? part 2 – side wind

In the first part of this two-part post, we saw that cycling into the wind takes far more additional effort than a tail wind saves.

However, Will Wright‘s original question, “why does it feel as if the wind is always against you?” was not just about head winds, but the feeling that when cycling around Tiree, while the angle of the wind is likely to be in all sorts of directions, it feels as though it is against you more than with you.

Is he right?

So in this post I’ll look at side winds, and in particular start with wind dead to the side, at 90 degrees to the road.

Clearly, a strong side wind will need some compensation, perhaps leaning slightly into the wind to balance, and on Tiree with gusty winds this may well cause the odd wobble.  However, I’ll take best case scenario and assume completely constant wind with no gusts.

There is a joke about the engineer, who, when asked a question about giraffes, begins, “let’s first assume a spherical giraffe”.  I’m not gong to make Will + bike spherical, but will assume that the air drag is similar in all directions.

Now my guess is that given the way Will is bent low over his handle-bars, he may well actually have a larger side-area to the wind than from in front.  Also I have no idea about the complex ways the moving spokes behave as the wind blows through them, although I am aware that a well-designed turbine absorbs a fair proportion of the wind, so would not be surprised if the wheels added a lot of side-drag too.

If the drag for a side wind is indeed bigger than to the front, then the following calculations will be worse; so effectively working with a perfectly cylindrical Will is going to be a best case!

To make calculations easy I’ll have the cyclist going at 20 miles an hour, with a 20 mph side wind also.

When you have two speeds at right angles, you can essentially ‘add them up’ as if they were sides of a triangle.  The resultant wind feels as if it is at 45 degrees, and approximately 30 mph (to be exact it is 20 x √2, so just over 28mph).

Recalling the squaring rule, the force is proportional to 30 squared, that is 900 units of force acting at 45 degrees.

In the same way as we add up the wind and bike speeds to get the apparent wind at 45 degrees, we can break this 900 unit force at 45 degree into a side force and a forward drag. Using the sides of the triangle rule, we get a side force and forward drag of around 600 units each.

For the side force I’ll just assume you lean into (and hope that you don’t fall off if the wind gusts!); so let’s just focus on the forward force against you.

If there were no side wind the force from the air drag would be due to the 20 mph bike speed alone, so would be (squaring rule again) 400 units.  The side wind has increased the force against you by 50%.  Remembering that more than three quarters of the energy you put into cycling is overcoming air drag, that is around 30% additional effort overall.

Turned into head speed, this is equivalent to the additional drag of cycling into a direct head wind of about 4 mph (I made a few approximations, the exact figure is 3.78 mph).

This feels utterly counterintuitive, that a pure side wind causes additional forward drag!  It perhaps feels even more counterintuitive if I tell you that in fact the wind needs to be about 10 degrees behind you, before it actually helps.

There are two ways to understand this.

The first is plain physics/maths.

For very small objects (around a 100th of a millimetre) the air drag is directly proportional to the speed (linear).  At this scale, when you redivide the force into its components ahead and to the side, they are exactly the same as if you look at the force for the side-wind and cycle speed independently.  So if you are a cyclist the size of an amoeba, side winds don’t feel like head winds … but then that is probably the least of your worries.

For ordinary sized objects, the squaring rule (quadratic drag) means that after you have combined the forces, squared them and then separated them out again, you get more than you started with!

The second way to look at it, which is not the full story, but not so far from what happens, is to consider the air just in front of you as you cycle.

You’ll know that cyclists often try to ride in each other’s slipstream to reduce drag, sometimes called ‘drafting’.

The lead cyclist is effectively dragging the air behind, and this helps the next cyclist, and that cyclist helps the one after.  In a race formation, this reduces the energy needed by the following riders by around a third.

In addition you also create a small area in front where the air is moving faster, almost like a little bubble of speed.  This is one of the reasons why even the lead cyclist gains from the followers, albeit much less (one site estimates 5%).  Now imagine adding the side wind; that lovely bubble of air is forever being blown away meaning you constantly have to speed up a new bubble of air in front.

I did the above calculations for an exact side wind at 90 degrees to make the sums easier. However, you can work out precisely how much additional force the wind causes for any wind direction, and hence how much additional power you need when cycling.

Here is a graph showing that additional power needed, ranging for a pure head wind on the right, to a pure tail wind on the left (all for 20 mph wind).  For the latter the additional force is negative – the wind is helping you. However, you can see that the breakeven point is abut 10 degrees behind a pure side wind (the green dashed line).  Also evident (depressingly) is that the area to the left – where the wind is making things worse, is a lot more than the area to the right, where it is helping.

… and if you aren’t depressed enough already, most of my assumptions were ‘best case’.  The bike almost certainly has more side drag than head drag; you will need to cycle slightly into a wind to avoid being blown across the road; and, as noted in the previous post, you will cycle more slowly into a head wind so spend more time with it.

So in answer to the question …

why does it feel as if the wind is always against you?

… because most of the time it is!