The Development of the ThinQu Keyboard Layout: Factors that Influence Typing Effort

The ThinQu Keyboard Layout is an optimized keyboard layout I recently developed for standard keyboards. It is designed to maximize both typing speed and comfort.

It turns out to be extremely costly and difficult to build a model for typing comfort or effort. In existing studies, a regression model with several variables is usually built to measure typing effort and compare a few different layouts. The regression coefficients are either calculated by real data or purely speculated. The structures of these models are flawed due to the inflexibility of regression models and lack of data to estimate the coefficients accurately. It’s very costly to obtain real human data in typing speed and effort for multiple layouts because of the low population size and high learning cost of newer layouts. In addition, it’s very hard to measure typing effort and time is not a good proxy for effort; wasting time in waiting for other fingers to finish is more relaxing than spending time to get to the target key.

There are a couple of variables known to correlate with typing effort and I will go through the complexity of each one although it’s hard to talk quantitatively without empirical data. All frequency data come from the Norvig study.

Key location and effort

Workman‘s layout nicely gives each key an effort score. The main inaccuracy is that the N key (of QWERTY keyboard) should be rated a 2 according to the symmetry with the V key. Secondly, the effort score for the low ring finger keys should be more like a 3.5 instead of a 4. Note that due to the difference in the right hand base keys, there is an extra middle column in ThinQu which would be rated a 5 or 6.

Workman’s finger strain mapping. Higher score means more effortful.

From the diagram, we can see a strong interaction between row and finger. Missing this interaction is the major drawback in carpalx’s model and implicitly in Colemak and many other layouts.

To place the most frequent letters in the best locations to reduce finger movement, we consult the letter frequency chart, which is adjusted for the multi-letter keys th, in, qu, and tion:

Clipboard_20180621 (2).png

Note that h loses more than half of its usage due to the th key. The in key takes away 28% of the load on i and n, alleviating the pinkies. Continue reading “The Development of the ThinQu Keyboard Layout: Factors that Influence Typing Effort”

Advertisement

When Should We Replace $5 Bills With $3 Bills?

Almost all currencies in the world have denominations that start with 1, 5, or 0 and the main difference among them is whether $2, $20, $200, etc. bills are used. But prevalence does not prove efficiency. In this post, I will compare the efficiency of different bill denomination systems.

An efficient currency minimizes the cost of transaction. To simplify, we assume that the cost of transaction is proportional to the time spent on it. The cost of transaction can be dichotomized into time spent by the customer (while the cashier waits) and time spent by the cashier (while the customer waits). Each component further divides into the following categories denoted by a, b, and c:

  • Fixed transaction cost (a): time spent on taking out the wallet, opening the cash register, thinking about which bills to use (while doing nothing else), and handing and receiving the money. Avoid double counting if these jobs overlap in time or if the other party is not waiting but doing some other necessary work, such as printing the receipt.
  • Fixed cost for using bills in each denomination (b): time spent on moving the hand to reach a specific slot in the cash register; time spent on finding the place for a specific denomination in the wallet and putting all bills of this denomination on the other hand or the counter before moving on to work on the next denomination.
  • Cost for counting a bill (c).

We acknowledge that cost a can be substantially lower if no change is required from the cashier, which saves the time of passing the changes back to the customer. However, most transactions involve taxes and multiple items that lead to the usage of coins (in the US). Most of the time the customer does not have the exact amount of coins or does not want to pay any coins. Secondly, for the same reason, charges are usually not psychologically convenient numbers (e.g. $5, $20). Nice numbers can make buying decisions easier but they don’t show up in the payment. Therefore we can assume that there are always changes involved and a is constant and can be entirely dropped from this analysis.

Continue reading “When Should We Replace $5 Bills With $3 Bills?”

The Five Goals of Lawmaking and Three Approaches of Combining Them

Making and executing ideal laws with the right penalty is an optimization process with debatable objectives. But at least we can list the five components of the objectives and three components of the costs in an attempt to model lawmaking. Later we can look for the prevailing approaches to combine these goals in ideal lawmaking and determine the origins of these approaches.

Goals of lawmaking

1. Change future behavior of criminals

This is often thought of as the goal of imprisonment. We would like criminals to have limited opportunities to commit another crime while in prison and less likely to commit crimes after they are released, which we attempt to achieve through enrichment programs in prison.

2. Compensate the victims

Victims can be financially compensated through fine or psychologically compensated through apology or by knowing that the criminals will be punished.

3. Deter people from committing crimes

When the punishment is severe enough, it is no longer worth it to commit a crime even when the probability of getting caught is small.

4. Improve the perceived fairness of society

Most people would like to live in a just society where people who harm others without permission are punished.

5. Make the criminals better people

Criminals are people too and many believe that the society should be responsible to help them by pulling them out of the wrong path and teaching them what’s right.

Continue reading “The Five Goals of Lawmaking and Three Approaches of Combining Them”

%d bloggers like this: