Free AI book and a new one coming …

Yes a new AI book is coming … but until then you can download the first edition for FREE 🙂

Many years ago Janet Finlay and I wrote a small introduction to artificial intelligence.  At the time there were several Bible-sized tomes … some of which are still the standard textbooks today.  However, Janet was teaching a masters conversion course and found that none of these books were suitable for taking the first steps on an AI journey, especially for those coming from non-computing disciplines.

Over the years it faded to the back of our memories, with the brief exception of the time when, after we’d nearly forgotten it, CRC Press issued a Japanese translation.  Once or twice the thought of doing an update arose, but quickly passed.  This was partly because our main foci were elsewhere, but also, at the danger of insulting all my core-AI friends, not much changed in core AI for many years!

Coming soon … Second Edition

Of course over recent years things have changed dramatically, hence my decision, nearly 25 years on, to create a new edition maintaining the aim to give a rich but accessible introduction, but capturing some of the recent trends and giving these a practical and human edge.  Following the T-model of teaching, I’d like to help both newcomer and expert gain a broad perspective of the issues and landscape, whilst giving enough detail for those that want to delve into a more specific area.

A Free Book and New Resources

In the mean time the publisher, Taylor & Francis/CRC has agreed to make the PDF of the first edition available free of charge  I have updated some of the code examples from the first edition and will be incrementally adding new material to the second edition micro-site including slides, cases studies, video and interactive materials.  If you’d like to teach using this please let me know your views on the topics and also if there are areas where you’d like me to create preliminary material with greater urgency.  I won’t promise to be able to satisfy everyone, but can use this to adjust my priorities.

Why now?

The first phase of change in AI was driven by the rise of big data and the increasing use of forms of machine learning to drive adverts, search results and social media.  Within user interface design, many of the fine details of colour choices and screen layout are now performed using A–B testing …sight variants of interfaces delivered to millions of people – shallow, without understanding and arguably little more than bean counting, but in numerous areas vast data volume has been found to be ‘unreasonably effective‘ at solving problems that were previously seen to be the remit of deep AI.

In the last few years deep learning has taken over as the driver of AI research and often also media hype.  Here it has been the sheer power of computation, partly due to Moores’ Law with computation nearly a million times faster than it was when that first edition was written nearly 25 years ago.  However, it has also been enabled by cloud computing allowing large numbers of computers ti efficiently attack a single problem.  Algorithms that might have been conceived of but dismissed as impractical in the past have become commonplace.

Alongside this has been a dark side of AI, from automated weapons and mass surveillance, to election rigging and the insidious knowledge that large corporations have gathered through our day-to-day web interactions.  In the early 1990s I warned of the potential danger of ethnic and gender bias in black-box machine learning and I’ve returned to this issue more recently as those early predictions have come to pass.

Across the world there are new courses running or being planned and people who want to know more.  In Swansea we have a PhD programme on people-first AI/big data, and there is currently a SIGCHIItaly workshop call out for Teaching HCI for AI: Co-design of a Syllabus. There are several substantial textbooks that offer copious technical detail, but can be inaccessible for the newcomer or those coming from other disciplines.  There are also a number of excellent books that deal with the social and human impact of AI, but without talking about how it works.

I hope to be able to build upon the foundations that Janet and I established all those years ago to create something that fills a crucial gap: giving a human-edge to those learning artificial intelligence from a computing background and offering an accessible technical introduction for those approaching the topic from other disciplines.

 

 

Meta-tags made easy

I wanted to add OpenGraph/Twitter Card meta-tags to a few static web pages.  It would have easily taken 5-10 minutes each, which seemed tedious, so I took … well let’s say a little longer (!) … and made a general purpose online tool for creating the markup.

If you want your web pages to look good when shared on Twitter and Facebook, it is important to have the right meta tags in the <head> section of the page.  However, as these are invisible it is easy to forget.

It is not that complicated to do, copying your page title and description into a few different meta tags.  The bit I find hardest is remembering (well looking up, no way I’d remember), which of the meta tags are name–content ones and which are property–content ones … I’m sure there is a logical explanation …

The tool allows you to enter the details of your page in a web form and then dynamically creates a preview of the Twitter Card and, most important, generates the meta tags to copy into your web page <head> section.

I’d come across JsViews/JsRender recently, which is used in several Microsoft products.  It is similar to Angular (from Google stable) in that it allows you to create two-way templates, dynamically binding data to HTML content.  My colleagues when i was at Talis used Angular and I’ve used it myself for one project, but I found it hard to adapt when what I wanted didn’t quite fit its model … although, to be fair, I do tend to use everything to breaking point!

JsViews is closely aligned to jQuery, which I use pretty much everywhere, so it seemed sensible to have a go at using JsViews for this micro-project as this was essentially a single page web page with no backend.  So far so good with JsViews; although, again to be fair, this was a lot easier than what I’d been doing with Angular.

I provided a few click-to-see examples using my own pages and of course an obvious example was the page of the online tool itself … only no image. I did emphasise in the tool how useful it is to have a good image for social media sharing, and the Twitter Card looked a bit boring.

So the fastest logo ever (thanks to Wikimedia and OpenGraph for the building blocks!

Software for 2050

New Year’s resolutions are for a year ahead, but with the start of a new decade it is worth looking a bit further.
How many of the software systems we use today will be around in 2050 — or even 2030?
Story 1.  This morning the BBC reported that NHS staff need up to 15 different logins to manage ‘outdated’ IT systems and I have seen exactly this in a video produced by a local hospital consultant. Another major health organisation I talked to mentioned that their key systems are written in FoxBase Pro, which has not been supported by Microsoft for 10 years.
Story 2.  Nearly all worldwide ATM transactions are routed through systems that include COBOL code (‘natural language’ programming of the 1960s) … happily IBM still do support CICS, but there is concern that COBOL expertise is literally dying out.
Story 3.  Good millennial tech typically involves an assemblage of cloud-based services: why try to deal with images when you have Flickr … except Flickr is struggling to survive financially; why have your own version control system when you can use Google Code, except Google Code shut down in 2016 after 10 years.
Story 3a.  Google have a particularly bad history of starting or buying services and then dropping them: Freebase (sigh), Revolv Hub home automation, too many to list. They are doing their best with AngularJS, which has a massive uptake in hi-tech, and is being put into long-term maintenance mode — however, ‘long-term’ here will not mean COBOL long-term, just a few years of critical security updates.
Story 4.  Success at last. Berners-Lee did NOT build the web on cutting edge technology (an edge of sadness here as hypertext research, including external linkage, pretty much died in 1994), and because of this it has survived and probably will still be functioning in 2050.
Story 5.  I’m working with David Frohlich and others who have been developing slow, meaningful social media for the elderly and their families. This could potentially contribute to very long term domestic memories, which may help as people suffer dementia and families grieve after death. However, alongside the design issues for such long-term interaction, what technical infrastructure will survive a current person’s lifetime?
You can see the challenge here.  Start-ups are about creating something that will grow rapidly in 2–5 years, but then be sold, thrown away or re-engineered from scratch.  Government and health systems need to run for 30 years or more … as do our personal lives.
What practical advice do we give to people designing now for systems that are likely to still be in use in 2050?

Is Corbynism dead? The data says not.

The December 12th election saw the most disasterous Labour defeat in nearly a century and the collapse of the ‘red wall’ of Labour heartlands in the North-East. Jeremy Corbyn and John McDonnell are standing down in the New Year, and the vultures are gathering to pick the meagre bones of Corbyn’s political body.

Many Labour canvasers reported that on the doors the problem was four parts Corbyn for every one part Brexit. The message is clear, Corbyn was toxic on the doorstep and Labour needs a change.

But the numbers tell a different story.

Labour’s vote share fell dramatically from the surprise successes of 2017, when Corbyn’s campaign charisma unexpectedly set back Teresa May’s ambition to win the sort of majority that Boris Johnson has today.

But if you look before that to 2015,, the picture is less clear

.Comparing the recent election with 2015, the Labour share of the vote in 2019 is actually higher than its vote share in 2015. Yes, Labour is still performing better under the avowedly socialist Jeremy Corbyn than it did under ‘centrist’ Ed Miliband.

The difference between David Cameron’s small majority and Boris Johnson’s landslide is predominantly about the collapse of the UKIP/Brexit vote, with the hard Leavers exchanging Farage for Johnson. In 2017, Labour took a soft Brexit position, which, while annoying many Corbyn supporters at the time, seemed to hold onto many of the Leave voters who last week voted Conservative in Labour heartlands

Increasing vote share since 2015 is remarkable in the face of long-term excoriating press attacks against Jeremy Corbyn personally and a Conservative Facebook ad campaign that fact checkers rated as 88% false, not forgetting persistent undermining by sections of the Labour party itself.

More crucial is who voted for Labour and Conservative. It has always been the case that voters drift right as they age, often favouring economic security over youthful idealism. However this has dramatically shifted in the last few years. Conservative support in younger age groups has crashed utterly and it is now predominantly a party of the old. The Tory Party has effectively mortgaged its future for current electoral success.

This is evident in the demographics of voting on Dec 12th collected by Lord Ashcroft’s post-vote poll. Labour has a vast lead over Conservative in voters under 45, whereas Conservative vote share, which is over 60% in the over 65’s, shrinks to less than 20% in the under 25s.

These under 45s have lived entirely under the neoliberal individualism that started with Thatcher and adopted in large part by New Labour and Tory governments since. They have seen it, and rejected it. A generation is growing who are looking beyond themselves, recognising the disastrous impacts of past policies of all governments on the environment and humanity, and believing in the power of society to transform, not just their own lives, but those of the whole nation and world.

As Labour chooses its new leader, it should ponder whether it wants to revert to the old policies and combat the Tories for the votes of the old, or embrace the spirit of hope and change that has galvanised the youth of the country.

This post is also published in Medium.

On the edge of chaos

Running in the early morning, the dawn sun drives a burnt orange road across the bay. The water’s margin is often the best place to tread, the sand damp and solid, sound underfoot, but unpredictable. The tide was high and at first I thought it had just turned, the damp line a full five yards beyond the edge of the current waves. Some waves pushed higher and I had to swerve and dance to avoid the frothing edge, others lower, wave following wave, but in longer cycles, some higher, some lower.

It was only later I realised the tide was still moving in, the damp line I had seen as the zenith of high tide, had merely been the high point of a cycle and I had run out during a temporary low. Cycles within cycles, the larger cycles predictable and periodic, driven by moon and sun, but the smaller ones, the waves and patterns of waves, driven by wind and distant storms thousands of miles away.

I’m reading Kate Raworth’s Doughnut Economics. She describes the way 20th century economists (and many still) were wedded to simple linear models of closed processes, hence missed the crucial complexities of an interconnected world, and so making the (predictable) crashes far worse.

I was fortunate in that even in school I recall watching the BBC documentary on chaos theory and then attending an outreach lecture at Cardiff University, targeted at children, where the speaker was an expert in Chaos and Catastrophe Theory giving a more mathematical treatment. Ideas of quasi-periodicity, non-linearity, feedback, phase change, tipping points and chaotic behaviour have been part of my understanding of the world since early in my education.

Now-a-days ideas of complexity are more common; Hollywood embraced the idea that the flutter of a butterfly wing could be the final straw that causes a hurricane. This has been helped in no small part by the high-profile of the Santa-Fe Institute and numerous popular science books. However, only recently I was with a number of academics in computing and mathematics, who had not come across ‘criticality’ as a term.

Criticality is about the way many natural phenomena self-organise to be on the edge so that small events have a large impact. The classic example is a pile of sand: initially a whole bucketful tipped on the top will just stay there, but after a point the pile gets to a particular (critical) angle, where even a single grain may cause a minor avalanche.

If we understand the world in terms of stable phenomena, where small changes cause small effects, and things that go out of kilter are brought back by counter effects, it is impossible to make sense of the wild fluctuations of global economics, political swings to extremism, and cataclysmic climate change.

One of the things ignored by some of the most zealous proponents of complexity is that many of the phenomena that we directly observe day-to-day do in fact follow the easier laws of stability and small change. Civilisation develops in parts of the world that are relatively stable and then when we modify the world and design artefacts within it, we engineer things that are understandable and controllable, where simple rules work. There are times when we have to stare chaos in the face, but where possible it is usually best to avoid it.

lovefibre – waves

However, even this is changing. The complexity of economics is due to the large-scale networks within global markets with many feedback loops, some rapid, some delayed. In modern media and more recently the internet and social media, we have amplified this further, and many of the tools of big-data analysis, not least deep neural networks, gain their power precisely because they have stepped out of the world of simple cause and effect and embrace complex and often incomprehensible interconnectivity.

The mathematical and computational analyses of these phenomena are not for the faint hearted. However, the qualitative understanding of the implications of this complexity should be part of the common vocabulary of society, essential to make sense of climate, economics and technology.

In education we often teach the things we can simply describe, that are neat and tidy, explainable, where we don’t have to say “I don’t know”. Let’s make space for piles of sand alongside pendulums in physics, screaming speaker-microphone feedback in maths, and contingency alongside teleological inevitability in historic narrative.

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.