Skip to content
Tibor ŠeděnkaWriting

Interfaces need reflexes

, 780 words

The model was right, and my contact field ignored it. I built it that way.

“Love the mountain shots. Do you also design websites for small studios?”

The compliment is about the photographs. The question is about hiring me. The rules I’d written picked up on both and left the field alone. The model read it as a work enquiry. So did I. On screen, the e-mail address stayed optional. The message would still have reached me.

Try this message in the contact field

In the pause after a keystroke

My contact form has no Subject menu. You can say hello and leave it at that. If you’re asking about work, I’d like an address where I can reply. If you’d like a print, it helps to know which photograph caught your eye.

I borrowed the idea from anishfn’s Shapeshift. In my version, a few rules in your browser read the message as you type. After a pause, a small decision model gets the same question. It has three answers to choose from. Work, a photograph, or neither.

I chose to wait 450 milliseconds after the last keystroke before asking. One evening I timed 25 tries from my desk. The median reply took 207 milliseconds. The longer wait was the one I’d put there myself.

In her talk on speculative design, Maggie Appleton asks what becomes possible when a model is cheap and quick enough to use almost in passing. Here, the field has time to ask which photograph you mean before you’ve finished your message. That’s the sort of small adjustment I mean by a reflex.

There’s a cost to doing that while you type. With JavaScript on, my server can pass the draft to the model’s provider during a pause, even if you never press Send. With JavaScript off, the plain form still sends. The privacy page explains what the provider receives.

What counts as a second reading?

A reflex that changed its mind on every keystroke would be a twitch.

Suppose the field has been treating your message as a question about a photograph. For it to switch to work, two readings in a row have to point that way. If the rules read your message as a work enquiry and the model agrees, that can be the second reading. If the model sees work where the rules saw a photograph, it revises the first reading. The field still waits for another before it switches.

With the mountain shots, the rules had been undecided. The model saw a work enquiry. It had one vote.

Then I tried “Dobrý den, prodáváte své snímky z Lysé hory jako obraz na zeď?” I was asking whether I could buy a photograph of Lysá hora to hang on the wall. This time the rules got as far as asking “Is this about a photograph?” When the model agreed, two fields appeared, labelled “Which photograph” and “What it’s for”.

Once you start filling in those extra fields, they stay put. Saying Yes to the form’s suggestion does the same thing. You can still change your mind. The form has to leave that part to you.

Seven messages from my desk

I tried seven messages I’d written myself. On six, the model and my rules agreed. The odd one out was the question about mountain shots. I wrote the question, I wrote the rules, and I decided that “work” was the right answer. For a measure of accuracy I’d need real enquiries and someone to label them independently.

The model’s confidence tells me how strongly it favours one answer. It can be quite sure and still be wrong. So the field keeps the number to itself. What you see is a question you can answer or a form you can undo. If the model takes more than 400 milliseconds to reply, the field carries on with its own reading.

A work enquiry that slips past the rules still lands in my inbox. If someone writes to say they liked a photograph and the form decides it’s about work, I’ve just asked for a return address on a compliment. I’d rather do the sorting at my end.

A reflex worth having knows when to stay still.

The working examples are on Seams. In How much to ask, the page can pause an agent’s press and leave the decision to you. Hold lets you try the rules the desk uses to make that call. In Two hands, you can take back an agent’s edits and keep your own.

I also tested how reliably agents use this site. How reliably can agents use my site? records what the models managed and what the test could see.

Credits: anishfn’s Shapeshift and Maggie Appleton’s “Fortune Telling and Speculative Design”.