{"id":404,"date":"2009-07-07T13:38:38","date_gmt":"2009-07-07T17:38:38","guid":{"rendered":"http:\/\/patorjk.com\/blog\/?p=404"},"modified":"2014-01-25T17:53:39","modified_gmt":"2014-01-25T21:53:39","slug":"new-keyboard-layout-analyzer-less-lines-of-code","status":"publish","type":"post","link":"https:\/\/patorjk.com\/blog\/2009\/07\/07\/new-keyboard-layout-analyzer-less-lines-of-code\/","title":{"rendered":"New Keyboard Layout Analyzer, Less Lines of Code"},"content":{"rendered":"<p>I&#8217;ve uploaded a new version of my <a href=\"http:\/\/www.patorjk.com\/keyboard-layout-analyzer\/\">Keyboard Layout Analyzer<\/a>. You can see a full screen capture of the output page below. The new version has a layout similar to the one I discussed in my last post, and has a different chart set up, as well as a hand full of other small new features.<\/p>\n<figure style=\"width: 200px\" class=\"wp-caption alignleft\"><img loading=\"lazy\" decoding=\"async\" alt=\"The New Layout For Keyboard Layout Analyzer Output\" src=\"http:\/\/patorjk.com\/images\/blog-2009\/keyboard-layout-analyzer-1-0-0.png\" title=\"New Layout\" width=\"200\" height=\"542\" \/><figcaption class=\"wp-caption-text\">The New Layout For Keyboard Layout Analyzer Output<\/figcaption><\/figure>\n<p>This new version is essentially a complete re-write of the old version. I had been making mental notes of features I thought would make the program a lot more useful, and after thinking about how I&#8217;d implement these new features, I realized I&#8217;d be better off just re-writing the application instead of modifying the old one. <\/p>\n<p>This re-write was also a way for me to &#8220;pay down&#8221; my <a href=\"http:\/\/www.codinghorror.com\/blog\/archives\/001230.html\">&#8220;technical debt&#8221;<\/a> (I think I like that term), as I was able to more efficiently implement certain things to make them a lot more flexible. When I write stuff for fun, a lot of the time I just go with the first or second implementation I think of and then get to work. This re-write will probably serve as a good lesson learned, since the re-write was a little more painful than I expected. Only one of the new features that I thought up is in the program right now (the new chart set up), I didn&#8217;t have time to get to the rest of them, though I hope to implement them in the next couple of weeks.<\/p>\n<p>Here&#8217;s an overview of what&#8217;s in this version:<\/p>\n<ul style=\"list-style-position: inside;\">\n<li>Updated interface.<\/li>\n<li>Able to view charts of different layouts all at once.<\/li>\n<li>Able to select what pieces of information you want to factor into the charts.<\/li>\n<li>Addition of the <a href=\"http:\/\/www.geocities.com\/smozoma\/projects\/keyboard\/?20096\">Capewell<\/a> and <a href=\"http:\/\/www.pvv.org\/~hakonhal\/keyboard\/\">Arensito (Simplified)<\/a> layouts. However, this set up isn&#8217;t final. These layouts will still be in the next version, but the options will be a little different.<\/li>\n<li>&#8220;Personal Layout&#8221; factored into the statistics.<\/li>\n<li>A layout recommendation is made based on what you typed.<\/li>\n<\/ul>\n<p>This new implementation also consists of 26% fewer lines of code. \ud83d\ude42<\/p>\n<p>This new version was tested out in Firefox 3.0 and 3.5, Chrome, and IE8. Unfortunately, the new IE8 messed up my install of IE6Eolas, so I&#8217;m not sure how the app works in IE6 or IE7. Oh, and I hate to rehash the clich\u00e9 of bashing IE, but IE8 is actually a lot slower than IE6 and IE7 when it comes to executing JavaScript. Enough so that I was actually a little dismayed. I had been hearing mostly positive things about IE8, but I just didn&#8217;t see anything that I thought was that impressive. <\/p>\n<p>Anyway, if you have any suggestions for the Keyboard Layout Analyzer or find any bugs in it let me know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve uploaded a new version of my Keyboard Layout Analyzer. You can see a full screen capture of the output page below. The new version has a layout similar to the one I discussed in my last post, and has a different chart set up, as well as a hand full of other small new &hellip; <a href=\"https:\/\/patorjk.com\/blog\/2009\/07\/07\/new-keyboard-layout-analyzer-less-lines-of-code\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">New Keyboard Layout Analyzer, Less Lines of Code<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-404","post","type-post","status-publish","format-standard","hentry","category-web-apps"],"_links":{"self":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/comments?post=404"}],"version-history":[{"count":26,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/404\/revisions"}],"predecessor-version":[{"id":466,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/404\/revisions\/466"}],"wp:attachment":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/media?parent=404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/categories?post=404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/tags?post=404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}