Author Topic: Balanced Keyboard Layout  (Read 50173 times)

mstacker

  • Member
  • **
  • Posts: 37
    • View Profile
Re: Balanced Keyboard Layout
« Reply #1150 on: November 17, 2017, 07:05:14 AM »
I probably could have worded that better. Problem with the net is you never know how much experience the person behind the handle has, and of course written text lacks the subtle nuances of face to face speech...

Cheers, Ian

Dude, you are fine. My bad. Totally agree. Keep posting. Look forward to reading them.

Matt

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Balanced Keyboard Layout
« Reply #1151 on: November 17, 2017, 02:03:38 PM »

yellowedplastic

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Balanced Keyboard Layout
« Reply #1152 on: November 17, 2017, 02:43:38 PM »
With keyboards gravitating towards thinner designs (shorter key travel distances) it is important to understand how these short travel keyboards may affect typing performance, typing forces and operator comfort. Using 15 subjects (7 males, 8 females), we wanted to determine whether there were differences in typing performance when computer operators typed on three keyboards with the same activation force (0.6 N) but with different key travel distances (2.0mm, 2.5mm and 4.0mm). During a 15 minute typing session on each keyboard, typing performance (speed and accuracy), typing forces and perceived fatigue ratings were measured. There were no differences in typing speed (p = 0.39), typing accuracy (p = 0.33) or keystroke durations (p = 0.15) across the three keyboards. However, typing force differences were measured (p < 0.003) with the longest travel keyboard (4.0mm) having higher mean and peak forces compared to the shorter travel keyboards (2.0 and 2.5 mm). These findings indicate that there is no apparent detriment in physical exposure or typing performance when using shorter travel keyboards.

Abstract from http://journals.sagepub.com/doi/pdf/10.1177/1071181311551198

And this:

Keyboards with shorter key travel are becoming widespread yet it is unknown whether there are any biomechanical differences in the typing forces when using these keyboards. If one keyboard promotes typing with more force, this may increase the risk for developing an upper extremity disorder. A total of 17 subjects typed on two short travel keyboards (<2.5 mm) and one long travel keyboard (4.0 mm). The magnitude and angle of the typing forces were measured in the x-, y- and z-axes using a thin, three-dimensional force platform. The aim of this study was to determine whether there were differences between the short and long travel keyboards in the magnitude and direction of the typing forces and the keystroke durations. In addition we wanted to determine whether there were typing force differences between key rows, hands, and fingers. Keyboards with shorter key travel resulted in less extreme angles and smaller magnitudes for forces applied in the x and y directions. Shorter travel distances were associated with smaller peak and mean vector sum forces and shorter keystroke durations. Although these results indicate keyboards with shorter key travel affect typing biomechanics, it is uncertain whether the small differences in keystroke durations and applied typing forces are physiologically meaningful and would reduce a computer user’s risk for developing an upper extremity musculoskeletal disorder.

http://journals.sagepub.com/doi/pdf/10.1177/1541931214581302
No doubt. What I mean, though, is that, FI, trying to simulate that kind of difference goes farther than the layout differences can really account for, and is just as likely to cause erroneous results as correct ones, if tried. IMO, it would introduce too much room for error, trying to get quite that detailed.

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Monitors etc
« Reply #1153 on: November 18, 2017, 04:00:18 AM »
Sorry bit off topic about keyboards, but still about ergonomics etc.

Attached from A METHOD OF EVALUATING THE ERGONOMIC QUALITIES OF COMFUTER WORKSTATIONS, Paul D. Tynan , Ph.D (1981), diagram was borrowed from some Human Factors / Ergonomics guideline that he referenced.

In all my years of using computers I've never had things set up for those sort of angles.... I've always tried to have as close to zero angle (from horizontal) angle between my eyes and CRT or LCD screen.
Observations in various offices tend to show people sticking phone directories etc under monitors to raise them closer to eye level.

Back in the 80s when I was in the video game industry, then yes, we built the cabinets for those sort of angles, but that's because the player was standing, and we had to accommodate a wide range of user sizes, from little kiddies up to adults.

I'm guessing that by aiming at that angle they put the screen closer to the keyboard, and made it easier for the eyes to switch between screen, keyboard, and desk. And probably CRTs were such heavy beasts that advising to "put on books" was just tacky.

I have seen various setups (point of sale, financial services customer support) where the screens are embedded in the desks at an angle, but these are few and far between. It's more normal for the screens to be vertical.

So are the ergonomic experts a bit off here? Or was it just a fashion thing / limit of knowledge at the time?...


iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Preferred layout...
« Reply #1154 on: November 18, 2017, 03:03:30 PM »

Studies on Ergonomically Designed Alphanumeric Keyboards M. NAKASEKO, E. GRANDJEAN, W. HUNTING, and R. GIERER, 1985

Screengrab attached. Fig 5 and Fig 6 refer to sketches of actual keyboard in Fig 7. Layout is suspiciously similar to Ergolinear style although it has a numrow which we've done away with.

I note that "this model was the one preferred by subjects in the first laboratory study." ....
which gave me a warm fuzzy feeling... :-)

 

mstacker

  • Member
  • **
  • Posts: 37
    • View Profile
Re: Preferred layout...
« Reply #1155 on: November 18, 2017, 07:12:06 PM »
Studies on Ergonomically Designed Alphanumeric Keyboards M. NAKASEKO, E. GRANDJEAN, W. HUNTING, and R. GIERER, 1985

Screengrab attached. Fig 5 and Fig 6 refer to sketches of actual keyboard in Fig 7. Layout is suspiciously similar to Ergolinear style although it has a numrow which we've done away with.

I note that "this model was the one preferred by subjects in the first laboratory study." ....
which gave me a warm fuzzy feeling... :-)

Interesting photo. The body looks vaguely similar to the tron keyboards from the 80s (https://commons.wikimedia.org/wiki/File:TRON-keyboard-OKI-front.jpg) and the keys seem to be arranged similar to an Iris keyboard; https://keeb.io/products/iris-keyboard-split-ergonomic-keyboard?variant=1302742761502.

Very cool. Where do you find these articles/studies, prey tell?

Matt

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Preferred layout...
« Reply #1156 on: November 19, 2017, 12:36:14 AM »
Interesting photo. The body looks vaguely similar to the tron keyboards from the 80s (https://commons.wikimedia.org/wiki/File:TRON-keyboard-OKI-front.jpg) and the keys seem to be arranged similar to an Iris keyboard; https://keeb.io/products/iris-keyboard-split-ergonomic-keyboard?variant=1302742761502.

Mm interesting.
I thought my designs (eg http://www.keyboard-design.com/layouts/ergo/75/x1-ergo-compact.jpg ) were original but I guess there's still nothing new under the sun... :-)

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Preferred layout...
« Reply #1157 on: November 19, 2017, 12:41:56 AM »
Interesting photo. The body looks vaguely similar to the tron keyboards from the 80s (https://commons.wikimedia.org/wiki/File:TRON-keyboard-OKI-front.jpg) and the keys seem to be arranged similar to an Iris keyboard; https://keeb.io/products/iris-keyboard-split-ergonomic-keyboard?variant=1302742761502.

https://keeb.io/collections/frontpage/products/fully-assembled-nyquist-iris-split-keyboards

Interesting solution to the tenting/feet problem... I've been scratching my head for months about how to solve it, did consider similar approach but without the "stuck on the sides" idea. Was looking at screw-in balancing feet like on some furniture, but hard to find something that looks nice, offers adjustability from zero to some distance, and still fits onto the keyboard without interfering with the keys. Ideally would like be be able to do tenting as well as positive or negative forward-backward slope.

Commercial key boards tend to offer zero or some preset angle only. Microsoft has published some papers about their design process for some of their "ergo" style keyboards, and even them, with their vast resources, opted for zero or fixed angles.

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Preferred layout...
« Reply #1158 on: November 19, 2017, 10:30:59 AM »
I note that "this model was the one preferred by subjects in the first laboratory study." ....
which gave me a warm fuzzy feeling... :-)

Pic that went into production, by Nippon Electric if I remember what I sped-read correctly...

I see it has tab keys above the numpad, as well as comma and minus, but no other calculator-type keys.


mstacker

  • Member
  • **
  • Posts: 37
    • View Profile
Re: Preferred layout...
« Reply #1159 on: November 19, 2017, 01:27:47 PM »
https://keeb.io/collections/frontpage/products/fully-assembled-nyquist-iris-split-keyboards

Interesting solution to the tenting/feet problem... I've been scratching my head for months about how to solve it, did consider similar approach but without the "stuck on the sides" idea. Was looking at screw-in balancing feet like on some furniture, but hard to find something that looks nice, offers adjustability from zero to some distance, and still fits onto the keyboard without interfering with the keys. Ideally would like be be able to do tenting as well as positive or negative forward-backward slope.
Agreed. I've got a nyquist (5x6) and will have a viterbi (5x7) at some point. I should try this tenting solution. Guess I figured I'd wait and at some point, I'd begin to experiment with different angles far more aggressive and in the forward or rearward like you are thinking.

Incidentally, the viterbi is my current choice for a keyboard who's keys are arranged on a flat pcb. It takes qmk firmware. A bit less expensive than most everything else like an ergodox. Your dream keyboard looks pretty promising.

To date, i'm convinced the key wells on the kinesis advantage are the most comfortable arrangement. To me at least. I think I've found a way to hack it for beakl. You can obtain a pcb that will replace the main factory pcb. If this works, I believe you can program a teensy++ with qmk firmware.... you can have total control.

https://michael.stapelberg.de/Artikel/kinesis_custom_controller
https://oshpark.com/shared_projects/BwWRYP5c

I'll try this out sooner of later. My advantage has been sitting for a few weeks since I switched to beakl full time. It's getting pricey though. The keyboard itself was originally something like $350 USD, prior modification.

Also keeping an eye on the dactyl; http://xahlee.info/kbd/dactyl_keyboard.html.

Matt
« Last Edit: November 19, 2017, 04:19:02 PM by mstacker »

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Preferred layout...
« Reply #1160 on: November 20, 2017, 12:07:00 AM »
Also keeping an eye on the dactyl; http://xahlee.info/kbd/dactyl_keyboard.html.

Interesting, kinda combines Ergodox with Kineses/Maltron. Found the wrist rests in bottom pic interesting, but have seen some items which caution against supporting the wrist there because it may contribute to carpal tunnel issues (by compressing wrist in wrong spot).

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Left hand mouse
« Reply #1161 on: November 20, 2017, 12:21:28 AM »
As you may or may not know, I'm a big fan of using the mouse (or trackball) on the left hand.

Someone did a study back in 2003 on this. I have some issues with their results (possibly because of the methodology) because I don't think I'm slower with my left hand than I was with my right. In fact, I find it 'awkward' when I use someone else's computer and the mouse is on the right .. I immediately swap it to the left.

Here's the abstract from "Left-handed versus right-handed computer mouse use: effect on upper-extremity posture"

Quote
Alternatives to reduce postural constraints have to be sought in order to reduce musculoskeletal complaints related to computer work. This study aimed at documenting the impact of using the mouse on the left side of a standard keyboard (with a right numeric keypad) on upper-extremity posture. A simulated computer task was performed by 27 subjects in a laboratory before and 1 month after ergonomics training. Shoulder flexion and abduction, as well as wrist extension were reduced with left-handed mouse use. Sixteen of the 27 subjects truly converted to using the mouse with the left hand. After a month of using the mouse with the left hand, the time required to perform the same task reduced, the perceived difficulty and discomfort improved, though the time to perform the task was still longer than when using the mouse with the right hand. For work involving both keyboard and mouse use, and without the need of the numeric keypad, it would probably be preferable to use a keyboard without the numeric keypad if the mouse is to be used on the right-hand side. If such keyboards are unavailable, an interesting alternative would be to use the mouse on the left side provided sufficient time is allowed to get accustomed to it.

They were looking at arm/shoulder/neck issues (ergonomics etc), and totally ignoring other issues like the fact that the Enter key/other nav is on the right, and if you use mouse on right you need to keep moving your hand between keyboard and mouse.

Anyway, once upon a time I was in the video game industry... attached screen shot from typical coin-op video game console, to refresh your memory.

You will observe that the joystick is on the left, even though most people are right handed. Positioning the joystick for left-hand use was industry standard.
When we built home-made cabinets we used to put the joystick in the middle in an attempt to satisfy people who insisted on using their right hands, but that meant an awkward hands-crossed stance because the action buttons still went on the right.

So it has always puzzled me why people were happy to use the joysticks with their left hand, but think they need to use their right hands for the mouse....

</rant>

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
AbKey
« Reply #1162 on: November 21, 2017, 09:21:15 AM »
Found out about it while browsing Carpalx site.

http://abkey.com/

Wonder what happened. Or maybe still coming.

Nah, putting A, T and N all on pinkies? Not gonna fly. :-)
« Last Edit: November 21, 2017, 09:41:07 AM by iandoug »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1083
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Balanced Keyboard Layout
« Reply #1163 on: November 21, 2017, 05:32:10 PM »
Pressing, tapping buttons require precision and speed, both of which dominant hand does better. In case of joystick, the buttons need that attention more, so they are operated by dominant right hand.
Support me on Patreon

I saw. I conquered. I came.

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Balanced Keyboard Layout
« Reply #1164 on: November 21, 2017, 10:21:58 PM »
Pressing, tapping buttons require precision and speed, both of which dominant hand does better. In case of joystick, the buttons need that attention more, so they are operated by dominant right hand.

Think I will disagree with you a bit here ... most early games required precise control in 8 directions with joystick, and buttons relegated to (relatively infrequently, compared to number of frequency of actions on joystick) Fire or Jump.
Even the grand daddy, Space Invaders, had left-right on left hand and fire (one shot at a time) on right.

But this is off topic anyway... :-)

Here's some curious variations on MTGap as we know it:

https://www.purezc.net/forums/index.php?showtopic=70715 (Posted 22 December 2016 - 06:35 PM)


iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Balanced Keyboard Layout
« Reply #1165 on: November 22, 2017, 07:36:38 AM »
Lmao.  people are suppsed to learn typing with this trash home row. But it's "better" than Dvorak and others.

now which first lesson do you think will keep people interested in learning to type? The gibberish home row, or sensible home row that produces actual words?

For beakl 9....
insatiateness
scientificophilosophical

Have switched to using a Linux Word List instead of the Scrabble list ... has longer words, included Proper Nouns, and excludes silliness like "aahs" and "aahing" ...

For what it's worth I have basically decided to try my hand at writing some papers for these esteemed scientific journals... think the first one must be along the lines of "Is Dvorak really only 5% better than QWERTY" (*) or "QWERTY vs Dvorak: Showdown" or somesuch... was actually on Martin's site yesterday and by his metrics Dvorak is like 40% better than QWERTY (IIRC), and other newer layouts even better (as we know).

But will use this approach to sneak in said better layouts to wider audience... :-)

(*) Consensus amongst researchers in papers I've seen so far is : Dvorak 5% better than QWERTY, and "best possible layout" only 1.2% better than Dvorak. Which I think is nonsense and in need of correction.
But with that mindset, it's no wonder mainstream has not switched to better layouts.



iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Balanced Keyboard Layout
« Reply #1166 on: November 22, 2017, 07:43:00 AM »
Before you ask, "best possible layout" was determined by some researchers auto-generating 50k layouts and then evaluating them.

Why they think 50k is a representative sample out of the possible 30! layouts, I have no idea.

Also, standard method for evaluating seems to be something along the lines of
1. time a bunch of typists typing every possible bigram on qwerty
2. get averages for each bigram
3. use these averages to evaluate new layouts by mapping to same physical keys, run against a corpus.

Which as a methodology, immediately raises red flags with me....
Bigram speed depends on where your fingers were before.
« Last Edit: November 22, 2017, 07:48:50 AM by iandoug »

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
So you think you can type?
« Reply #1167 on: November 22, 2017, 12:11:05 PM »
Attached long words from word metric tests (home keys, home block, easyblock, one-handed) for all current layouts, from Scrabble and Linux word lists.
Ten per line. Not sorted.

All of these can be typed in one of those four categories, by one or more layouts.

Now if someone could write a story using all of these.... :-)

« Last Edit: November 22, 2017, 12:18:10 PM by iandoug »

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
keyboard layout learning
« Reply #1168 on: November 23, 2017, 10:09:23 AM »
Found while looking for something else...

https://github.com/kenanbit/KeyboardLayoutLearning

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Balanced Keyboard Layout
« Reply #1169 on: November 23, 2017, 12:23:49 PM »
I thought that at some point in the distant past I had tried a left hand home row like this, but seems not... unless it was a discarded experiment.

https://github.com/jackrosenthal/threelayout

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Symmetric typing...
« Reply #1170 on: November 24, 2017, 11:10:30 AM »
https://kennetchaz.github.io/symmetric-typing/index.html

@Den: you could take a look at his approach to scoring. Haven't thought about it deeply yet so no opinion yet.

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Balanced Keyboard Layout
« Reply #1171 on: November 24, 2017, 11:22:20 AM »
For beakl 9....
insatiateness
scientificophilosophical


Was feeling a bit bombed today from working too late last night, so played around a bit...

It was twenty years ago today
Sgt. Pepper taught the band to play
They've been going in and out of style
But they're guaranteed to raise a smile
So may I introduce to you
The act you've known for all these years
BEAKL 9's Custom HomeKeys Tutor....

Lesson 1:
aba abb aes ait ana ani ann ant ase ass ast ate baa bae ban bas bat bee ben bes bet bib bin bis bit ean eat ebb ens ess eta
iba inn ist its naa nab nae nan nat nea neb nee nei net nib nit saa sab sai san sat sea see sen set sib sie sin sis sit taa tab
tae tai tan tat tea tee ten tib tie tin tit tst

Lesson 2:
abas abet aint anan anba anes anis anna ansa anta ante anti asse assi asta ates atis atta baba babe bain bait bane bani bant
base bass bast bate bats batt bean beat been bees beet bena bene beni benn bent besa best beta bias bibb bibi bien bine bint
bite biti bitt ease east eats ense esne etna ibis inbe isba nabs nain nais nana nane nant nasi nast neat neet nese ness nest
nete neti nibs nine sabe sain sane sans sant sasa sate seat seen seit sent sess seta sett sina sine sise sisi siss sist site snab
sneb snee snib stab sten stet stib taen tain tait tana tane tass tate tean teat teen teet tent test tete tien tine tint tite titi tsia

Lesson 3:
abase abate abbas abnet absit anana anent anise annat annet antes asana assai asset assis babai banat banns bases basin
basis basta baste batea batta beant beast beata bebat beest beisa benab benet benne besan besee beset besin besit betis binna
bisti eaten enate entia inane innet insea insee inset issei nanes nasab nates neese neist nenta niata nisei nisse saint sanai
sansi sasan sasin satan satin seine seise senna sensa sense sesti setae snite staab staia stain stane state stean steen stein
stent stine stint stite tabes tabet taint taise tanan tania tanti tasse taste tatie tatta tease teens teest tenai tenet tenne tense
testa teste tibet tibia tinea tinta tsine

Once again I am reminded of how many English words I just don't know ....
For that matter, neither does the spell checker on this machine....

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Tri layouts
« Reply #1172 on: November 24, 2017, 12:24:32 PM »
@ Den... for your work with Chinese/English layouts:

https://github.com/WesleyBlancoYuan/SymmeTri-Keyboard-Layout

I'd like to add it to the layout collection but not sure how he expects finger allocation to work ... reading between the lines leaves me with the impression that either hand could access the middle keys, but that won't work for KLA.

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Friday humour
« Reply #1173 on: November 24, 2017, 01:10:08 PM »
"The more I look at this keyboard layout the more I want to refer to it by a QWERTY-like name — only, using the home row — and call it ARST. As, in I’m going to learn that ARST keyboard layout. That said, I still intend to give it a serious go."

https://iandanielstewart.com/2012/01/15/colemak-keyboard-layout-craft-project/

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
updates to letter layout DB
« Reply #1174 on: November 26, 2017, 11:35:48 PM »
For when the USA recovers from Thanksgiving, Black Friday, Cyber Monday, and whatever else is going on there ...

Implemented some major updates to my letter layout database at http://www.keyboard-design.com/internet-letter-layout-db.html

    Bar graphs showing how many words each layout can type on the Home keys, Easyblock, Homeblock, and individually with left and right hand.
    Some statistics for each of those categories, for the layout.
    A quick comparison showing minimum, maximum, and layout score, for each of those categories.
    A customised selection of words for each layout, in effect a month's worth of lessons for helping you to learn any given layout, for use with any of the online typing tutors that lets you load your own inputs.

Probably broke something in the process. If you pick up any errors, please let me know.
I think I may have some selection errors with the One Handed numbers. Will need to check the code.

Will upload all the json files here presently, need to add some KLA patches as well.


mstacker

  • Member
  • **
  • Posts: 37
    • View Profile
Re: updates to letter layout DB
« Reply #1175 on: November 27, 2017, 03:52:06 AM »
For when the USA recovers from Thanksgiving, Black Friday, Cyber Monday, and whatever else is going on there ...

Implemented some major updates to my letter layout database at http://www.keyboard-design.com/internet-letter-layout-db.html
Wicked cool.

Thanks,

Matt

sdothum

  • Member
  • **
  • Posts: 23
    • View Profile
Re: updates to letter layout DB
« Reply #1176 on: November 27, 2017, 01:54:49 PM »
Implemented some major updates to my letter layout database at http://www.keyboard-design.com/internet-letter-layout-db.html

Very nice. Plus, I discovered your BEAKL8 Ian Mod. Just started using it and like it already.

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: updates to letter layout DB
« Reply #1177 on: November 27, 2017, 03:02:28 PM »
Will upload all the json files here presently, need to add some KLA patches as well.

Yuch. This is more complex than I thought it would be... have successfully written the patches for db.js for KLatest and templates.js for Den1, but need to modify the loading code as well, since the names are now in a different format to what Patrick invented.
And I so enjoy mucking around in JS and Angular...

Wanted to run all the evaluation tests on my laptop, updated things, now Firefox is the new version and iMacros doesn't work and the suggested replacement (Wildfire or somesuch) is overkill and not nice to use.
Tried switching to Chrome but WebDev tools are different and seems to log errors to console that Firefox didn't. Also have to figure out how to extend console buffer to handle all the output.

So will probably end up running the tests on this poor machine, 371 layouts x multiple tests x 3 versions of KLA is going to take a while....

Actually got around to investigating how to run Perl in the browser... since Perl runs way faster for these sort of things than JS....
[speaking of which started looking at CarpalX which is written in Perl, it zips through processing large corpus in fraction of time JS would take.]

Will see how far I get tomorrow.

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: updates to letter layout DB
« Reply #1178 on: November 28, 2017, 12:25:21 PM »
Yuch. This is more complex than I thought it would be... have successfully written the patches for db.js for KLatest and templates.js for Den1, but need to modify the loading code as well, since the names are now in a different format to what Patrick invented.
And I so enjoy mucking around in JS and Angular...

Okay after the usual fun and games have got Den1 to load the new-name versions fine. (*)
Also generated iMacros script which runs through fine. Ignoring ISO format layouts because they're typically not for English, but I think there's one or two I need to add in.

Discovered again why I took the two one-handed Dvorak layouts out of the test mix ... KLA barfs because the layouts want you to type two things at the same time with your pinkies, and that doesn't work.
Am contemplating removing them from the "word metrics" on my site, since obviously you can type ALL the words with one hand on a one-handed layout (albeit with the 'wrong' fingers). So that makes everything else look bad.
On the other hand, Ian like "completeness" ... so I dunno...

Also found a few other layouts with minor errors.

Will clean up some more and rerun. Current version of Firefox is writing garbage to console log, apparently fixed in later versions but have to wait for Gentoo devs to release that. Will need to make a plan for how to do these tests when we migrate to Quantum, unless iMacros gets around to releasing an update.

(*) ToDo: rewrite all the layouts to change keyboardType from "standard" to "ansi" and "european" to "iso". Then need to also modify pre-loaded layouts, and Keymaps etc...

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
1001 Arabian Layouts
« Reply #1179 on: December 03, 2017, 03:38:43 PM »
As promised, all the layouts....

Attached zip file contains all (*) the layouts.

0. This collection somewhere between Alpha and Beta. Subject to further improvement.

1. They have been renamed. Like it or leave it :-). Aim was to get standardised naming so that like sorts with like, unlike at present where Dvorak is called Simplified Dvorak and lists far from Programmer's Dvorak or Dvorak with Ordered Numbers, etc etc etc.

2. May (probably) revert back to Prettier Names in KLA... by splitting the "name" part and then uppercasing first letter of each word.

3. Also included in .zip file is copy-and-paste patches for templates.js for Den1, (may also work in Patrick's original if you bypass the 'build' method), as well as for db.js for Den3/Klatest, as well as Ergolinear code (my version, slightly different to Den's) for kb.js. The included Ergolinear layouts work with this version of the Ergolinear, and Den is not using any layouts on his version any more ...

(*) : All means "all that I currently have loaded for KLA". I have other dev and probably broken layouts, and some foreign that were in original KLA that I need to add back in. Not all of these layouts end up in my test suite, because I test for English layouts, and Russian layouts are no good for that. Etc. Also the one-handed Dvorak layouts are not technically valid for KLA purposes.

Attached .ods file is current "Average" score on Den1 scoring, for a range of English tests:
Alice               
Putin               
Classics             
Jonathan             
Litte Prince         
Animal Farm         
Scroll II           
Message to Garcia   
Magic Story         
War Prayer           
As a Man Thinketh   
Typing Champ 1       
Typing Champ 2       
Daede Jing           
Poems               
Uni Decl Human Rights
Quotes               
US Dec Ind           
Magna Carta Eng     
Pangrams lines       
Pangrams paragraphs 
Classic songs       
Nice cup of tea     
Aesop's fables 
Plato's Republic
Fable of the Keys   

Aesop and Plato from Klatest... I fixed a few bugs in Aesop and added some extra line spaces.

@Den: I took a look at the Wikipedia and Scientific papers... the formatting needs a bit of cleaning up, and it seemed like too much work. So I went to look myself and had the same problem with what I found... formatting not good. Line breaks in middle of words etc. Then I came across The Fable of the Keys (about QWERTY vs Dvorak, from an economic rather than ergonomic point of view) which is I suppose "technical writing" ... so used that. Seemed appropriate too, given the subject matter. The paper itself is found freely on the net, and has attracted its own share of criticism. Attached. Also A Nice Cup of Tea (by George Orwell of all people) which I thought was a nice offbeat "different" style of writing.

Current versions of pangrams also attached.

ToDo:
1. Do the "programming" tests, as well as the non-English stuff. Not going to do the word lists, bi/tri/quad-etc-grams, or digits/punctuation ... these things are for optimising particular layouts and IMHO are not real-world enough for comparing layouts against each other with. Also takes a huge amount of time.

2. repeat for Patrick's original scoring
3. repeat for Den3 / Klatest

4. fix all the "Author" fields, a lot are just plain wrong.

5. check the layouts... for example I accidentally discovered that the Colemak JJT Ergodox had the thumbs set to the other thumb's home position... which of course resulted in terrible scores.

Results from Patrick/Den3 will be different.

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Balanced Keyboard Layout
« Reply #1180 on: December 03, 2017, 03:42:12 PM »
ToDo 2: remove some of my layouts. Still too many in there. Will cull after testing.

iandoug

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Keyboard Design
Re: Balanced Keyboard Layout
« Reply #1181 on: December 04, 2017, 01:30:10 PM »
some patches I forgot yesterday...

1. patch for controllers.js to parse the new names and get the correct form factor
2. slight patch for get-layout.php in /api to work with patch in controllers.

Code can probably be prettied up, but it works.

Sc0tTy

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Balanced Keyboard Layout
« Reply #1182 on: December 06, 2017, 01:16:42 PM »
Hey guys!

Back at the lay-outing again, is there anyway to get the old heatmap back? The one in V3 is really tiny now and doesn't show keycount.
Not sure how you guys use KLA to optimise. I check usage/distance and then go to the heatmap to see what keys I can change.