{"id":4617,"date":"2023-11-14T00:04:58","date_gmt":"2023-11-14T08:04:58","guid":{"rendered":"https:\/\/bendwavy.org\/wp\/?p=4617"},"modified":"2026-04-30T16:33:11","modified_gmt":"2026-05-01T00:33:11","slug":"42-or-34","status":"publish","type":"post","link":"https:\/\/bendwavy.org\/wp\/?p=4617","title":{"rendered":"42 &#8230; or 34?"},"content":{"rendered":"<p>My new keyboard came last week, a Piantor Pro from <a href=\"https:\/\/beekeeb.com\/\">Beekeeb<\/a>, a two-person shop in Hong Kong.  Quality work.<\/p>\n<p>But the keys are narrower than my fingers (on average), and the deep pinky stagger \u2013 offset of the pinky finger&#8217;s column of keys \u2013 is hard to get used to, after fifty years of conventional typing.  To mitigate the problem I made the outer columns repeat their neighbors.  I had planned to avoid using them anyway, as practice for maybe someday moving to a board like <a href=\"https:\/\/github.com\/pierrechevalier83\/ferris\">Ferris<\/a> without those columns.<\/p>\n<p>Too often after hitting a key on the upper row, I also hit its neighbor below.  So I&#8217;m considering replacing the nearly flat keycaps with a more traditional style so that my fingers can more easily find the boundaries between them; and if that doesn&#8217;t help, replacing the very light switches with stiffer ones for the lower rows.<\/p>\n<p>Anyway.  I&#8217;ve been fiddling with different algorithms to find an arrangement of the 30 core keys \u2013 letters and selected punctuation \u2013 that minimizes a crude measure of inconvenience. <!--more--> My most recent algo: start with an arbitrary arrangement and try all swaps of two keys, keep the one that gives the most improvement, and start over; if no improvement is found, try rotations of three, and so on up to six.  The best so far:<\/p>\n<pre>\n    B L C M J    Z U I O F\n    W R S T K    X H E A P\n    V N G D Q    \/ Y ' , .\n<\/pre>\n<p>This is 33 moves from <a href=\"https:\/\/github.com\/Apsu\/Canary\">Canary<\/a>; three of the moves are rotations of three, one of four, and one of five.  <a href=\"https:\/\/www.reddit.com\/r\/KeyboardLayouts\/comments\/13e4lm4\/northstar\/\">Northstar<\/a> gives the same, except for exchanging the E and A columns.  Seven other seeds give very similar results.<\/p>\n<p>(Taking an idea from <a href=\"https:\/\/engram.dev\/\">Engram<\/a>, this algo assumes that the characters &lt; &gt; are moved to another layer, shift-comma is semicolon and shift-dot is colon, making room for apostrophe\/quot as a core key.  I implemented this in <a href=\"https:\/\/zmk.dev\/\">ZMK<\/a> on <a href=\"?p=4562\">my previous board<\/a>, but cannot easily do so in the standard version of <a href=\"https:\/\/docs.qmk.fm\">QMK<\/a>.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My new keyboard came last week, a Piantor Pro from Beekeeb, a two-person shop in Hong Kong. Quality work. But the keys are narrower than my fingers (on average), and the deep pinky stagger \u2013 offset of the pinky finger&#8217;s &hellip; <a href=\"https:\/\/bendwavy.org\/wp\/?p=4617\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"class_list":["post-4617","post","type-post","status-publish","format-standard","hentry","category-keyboard"],"_links":{"self":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/4617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4617"}],"version-history":[{"count":6,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/4617\/revisions"}],"predecessor-version":[{"id":4625,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/4617\/revisions\/4625"}],"wp:attachment":[{"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bendwavy.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}