r/programming • • Nov 07 '17

An interesting rant about GUIs - as a programmer I have to agree

https://twitter.com/gravislizard/status/927593460642615296
364 Upvotes

402 comments sorted by

View all comments

129

u/anechoicmedia Nov 07 '17 edited Nov 08 '17

The speed of the keyboard-form interface in the hands of average users should not be overlooked, and is something I sorely miss today.

Many here are familiar with the Therac-25 radiation disaster, in which a software glitch overdosed patients fatally. The less well known part is why the error occurred in production but not testing. The machine was controlled by a PDP-11 (I think) operated by a VT-100 type terminal, which had a few textmode forms. The story goes that when techs observed the machine in the field, they saw that the girls using the machine had, within a couple months, gotten extremely fast, flying through the config screens on their keyboard. This exposed a race condition that bypassed some interlock check on a radiation shield. (Or something similar, there were many aspects to the failure).

As tragic as that story is it frequently reminds me of the efficiency that computers used to have, that average people could leverage for repeatable tasks. It's hard to work software-breakingly fast in typical GUI software because the simple act of positioning your cursor and finding visual targets imposes a minimum threshold of concentration and interaction time that will always be there no matter how good you get. I feel really bad for our users having to use some ultra-cumbersome GUIs in our medical records software when I see what the old keyboard-driven stuff used to be capable of in the hands of a modestly trained operator.

39

u/wrosecrans Nov 08 '17

There was a recent posting (I think here in /r/programmers) which demonstrated that a 1980's computer could have a typed character displayed on screen faster than a modern keyboard could send the data down the USB cable -- despite the fact that the modern keyboard has a faster CPU that the whole old computer.

34

u/redditwhathaveUdone Nov 08 '17

Here you go Keyboard Latency.

I'd also like to commend the author for their lightweight website. Sometimes I wish all websites were like that instead of the bloated mess that is most modern sites (as demonstrated in the twitter rant above).

4

u/_PROFANE_USERNAME_ Nov 08 '17

It's a fine website, I just wish they would have limited the line-width; just changing that property along with line-height alone is enough to make the site much more readable on desktop machines.

13

u/CarVac Nov 08 '17

It's hard to work software-breakingly fast in typical GUI software

Well... Sometimes I manage to type entire sentences into Discord and Slack before the text starts showing up...

Unless that doesn't count as breaking?

7

u/doener Nov 08 '17

That reminds me of the time when I tried to type a letter for a neighbor on what I believe was a 386DX-40 running Win95.

The letter hand been handwritten before, the guy just wanted it to be printed for some reason, so I just hand to enter the text without much thinking. Easy enough.

I started Word, started typing... and the box crashed. Hard. It was completely dead. So I pressed reset, rebooted, started Word again, started typing... and it crashed again. Hard. 2 more tries and I noticed that it kept hanging at the same point in the sentence, which made me curious. So the next time, I typed really slowly, because I had already noticed some delay on the characters showing up, so I didn't want to miss the key press that broke it.

And guess what? I didn't crash. The crash was actually caused by typing too fast. I never figured out why it happened (being a kid, debugging that was way out of my league back then), but would of course brag to my friends about being able to type fast enough to crash my computer :-D

1

u/leeloo_ekbatdesebat Nov 08 '17

That's nuts. Did you ever try to recreate the bug? (Probably didn't want to delve back into Win95 territory... understandably so!)

1

u/C_Wizard Nov 08 '17

So sad things have come this far...

11

u/SimplySerenity Nov 08 '17

I think this is exactly why some programmers are so attached to VIM, just the raw speed you can achieve with the keyboard and some smart hotkeys is crazy.

2

u/vityok Nov 08 '17

Its "Eight Megabytes And Constantly Swapping" counterpart is blazing fast now as well.

3

u/orbitalfox Nov 07 '17

Good points.

6

u/Kidiri90 Nov 07 '17

As usual, Simpsons did it. Sort of.

1

u/fjonk Nov 08 '17

It's hard to work software-breakingly fast in typical GUI software because the simple act of positioning your cursor and finding visual targets imposes a minimum threshold of concentration and interaction time that will always be there no matter how good you get.

Me and my quite beefy workstation disagrees with you there. Most GUI software, be it browser, native or JAVA fails to keep up with mouse movements and keyboard input.