## Mar 2, 2017

### Arithmetic vs Reality: The Sawdust Principle

I thought about calling this post "The Sum is Less than the Whole". I also thought about calling it "2/1 < 2". Changed my mind at the last second. This whole post is about how misusing simple arithmetic can really mess things up. I had this lesson drilled into me in junior high school wood shop class. We actually had a lecture about measuring and sawing and error. Didn't see anything like that in a math class until I was in grad school. That just isn't right.

Try this: Take two boards of the same length and cut one of them into two parts. Is the length of the two cut boards lined up end to end the same as the length of the uncut board? The answer is NO. The sum of the lengths of the cut pieces are less than the length of the uncut board. The lost length is on the floor as sawdust. Hence the name "The Sawdust Principle." Many processes are lossy. On the other hand, arithmetic gives precise answers. But, if you do the math with out factoring in the sawdust. Your precise answer will be precisely wrong.

Let's try another example: Let's say I need 5 boards exactly 1 foot long. (Sorry about not using metric units.) I set up my table saw to cut sections that are exactly that length. The process of squaring up a table saw and setting the distance just right is not as simple as it sounds so I will run a test cut or three to make sure I am cutting exactly the length I want. Using good old arithmetic I grab a 5 foot board and start cutting it up. After all 5/1=5. That is, I trust arithmetic and forget about the reality of sawdust. What happens?

After 4 cuts I have 4 boards that are the correct length and a piece of scrap that is just about a half inch too short. Why is it too short? The kerf (yes, that is a real word that means the width of a cut) of my current blade is right around an 1/8 of an inch. That means that after 4 cuts about a 1/2 inch of board has been turned into sawdust. You have to remember the sawdust.

Here is the thing, arithmetic only works when you use it correctly. We humans make the mistake of ignoring small losses and discrepancies because we just really do not see them. That mistake lets tiny bits of error build up until it becomes a real, sometimes dangerously large, mistake. Or, as I learned when studying numerical analysis: Error accumulates. Sawdust piles up on the floor.

Do you worry about the milk that sticks to the side of a measuring cup when you are making biscuits? Do you worry about the variation in the size of "large" eggs when you are scrambling them? No, and No. For very good reasons we are used to ignoring small errors in measurement. But, if you are making biscuits and scrambled eggs by the ton the small errors start to add up to real money.

The sawdust principle is a specific example of a general principle, the misapplication of knowledge. In the examples arithmetic is misapplied. There is no question the 5/1=5 which is why I picked a 5 foot board to cut up. The problem is that I forgot about the kerf. The kerf is so small we want to just ignore it. We should have asked what (1 + kerf) * 5 equals. We used perfectly valid arithmetic, the way we used it was wrong.

Misapplication of perfectly valid knowledge will mess you up every time. There is an old saying that covers this concept and a bit more:
1. Data is not information.
2. Information is not knowledge.
3. Knowledge is not wisdom.
The examples I have given show what happens when we lack the wisdom to select how to properly apply knowledge.

Ignoring small absolute errors when measuring largish amounts usually doesn't cause any problem because the error is a tiny percentage error too. The habit of ignoring small absolute errors will really bite you when they are a large percentage error. There is a real difference between percentage error and absolute error. An error of 0.06 ML (milliliter, see I can use metric!) is nothing to worry about when measuring liters. When you are measuring fractions of a milliliter 0.06 ML is a large percentage error and significant. Percentage versus Absolute you have to recognize the difference.  Context makes the difference. People I deal with constantly make the mistake of thinking that a small absolute error is meaningless, even when the tiny value is a large percentage error.

Recently I ran into 2 pharmacists who do not understand this concept. I'm not picking on pharmacists, well not more than a little bit. I will say that I have found myself frustrated several times by people who just could not see the error they were making or just refused to believe the correct math when I showed it to them. I normally don't care if idiots want to stay idiots, but pharmacists can really hurt me. I have cutaneous t-cell lymphoma (CTCL), diabetes, ocular lattice degeneration, and a prostate that is no longer my friend. I really need my meds. I spend way to much time at the pharmacy.

What happened is that I have a prescription for a controlled substance that is good for my mind and my prostate gland. If you have ever had a prostate infection you know how much I want this medication. Really... imagine one of your most favorite body parts doing its best job to emulating a rotting, swelling, porcupine. Oh, ouch? Hand me that catheter I need to pee.

I have to inject exactly 0.5 ML of my medication every five days. I get the medication in a 10 ML vial. Because it is a controlled substance pharmacists have very good reasons for making sure I don't have a chance to abuse it or get any extra that I could sell on the street. As soon as you have legal access to a controlled substance you are immediately assumed to be an addicted drug dealer. Now, that is often true of pharmacists... and some patients. Me? No. Pharmacists? Yes, too often. That is why they can go to jail for filling prescriptions.

So the problem is that the pharmacists believe that given my prescription a 10 ML vial gives me 20 doses and should cover me for 100 days. Except for the sawdust effect. If you just look at a syringe you see some empty space between the end of the plunger and the end of the needle. It is a very small space. No matter how big or how small the dose you load into the syringe that small gap space has to be filled too and the medication in that gap is wasted. That is, a syringe has a kerf!

The kerf on my table saw is about 1/8 inch. To the best of my ability to measure the kerf, the waste, from the syringes I use is 0.06 ML. That is a tiny volume. Easy to assume it can be safely ignored. But in this case that is 12% of the size of the dose. That means that for every dose I inject roughly 1/8th of a dose is wasted. Turns out I can can only get 17 doses from a 10 ML vial. So a vial only covers me for 85 days. Not good. I see problems coming.

Not to worry. Turns out I have to get a new prescription every time I get the medication. No refills allowed by law. So, no problem. I just get a new prescription. Pharmacists usually fill new prescriptions with no questions. Well, they do when you are an established customer, the doctor is local, the pharmacist is in a good mood, and he knows how a syringe really works

So, I have been filling my prescription at the same place for quite a few years. For lack of knowledge of sawdust and syringe operation the last time I tried to fill it the pharmacist refused to fill the prescription. As far as he was concerned I was getting a refill way too early. I tried to explain the situation to him. My doctor tried to explain the situation to him. I got CVS to call him and he refused... I talked to a "corporate pharmacist" at CVS who told me I had received at 100 day supply. No thought need apply to their opinion. No explanations allowed. Reality need not interfere with their decision. To make matters worse the fact that I complained was reason enough for CVS to tell me they do not want my business and to call my doctor and tell him the same thing. Wow. All because I tried to explain how a syringe works.

I guess I should mention that my doctor had a nurse call the pharmacist and give him the same explanation I did. He didn't believe her either.

The story gets worse from there. My lawyer says that even though I have a good basis for a suit it would cost more to sue than I could recover.... So, it is not even worth the fun suing the dumb shits. Anyway, I filled the prescription at the Walgreens across the street.

The best part of this is realizing how many people who are supposed to be highly educated "professionals" who are trusted to protect my health don't know how to use arithmetic. Amazing, disturbing, disgusting, horrifying... I want to puke just thinking about it. In fact, just writing about it makes my prostate ache.

It would not have been so frustrating if I could have gotten even one of these pharmacists to look at a syringe or actually test and measure the syringe loss. I have found that truly stupid people are usually smart enough to refuse any opportunity to learn.

On the other hand, only 3 (these 2 and 1 other) of all the many pharmacists I have had to deal with showed this lack of knowledge of syringe fundamentals. I have never met a nurse who didn't know about syringe lossage. I have run into a few doctors who didn't but a couple of minutes of explanation and they got it...

The only thing worse than getting older is not getting older. I feel much better now. Time to go take some pills, and one of my other 3 or more daily shots. I get lots of experience filling and using syringes.

BTW, I have not only calculated how many doses I get from a 10 ML vial I have counted them. I keep a daily log of my medications and several other vital stats. (I have found I do a much better job than my Doctors on tracking my long term health trends. You see, I want to get really really old and Doctors in the US get paid for services, like all other piece rate workers. They do not get paid for keeping me alive.) I get the number of doses I calculated. That is, theory is backed up by experiment. Theory must be substantiated by experiment... ALWAYS.

## Jan 13, 2017

### Hey! Web Designers, WHY DO YOU HATE ME???

Ok, I've had it. You may have noticed that I have not been posting much the last few months. There are several reasons for that... But, one is that it is actually physically painful for me to use Google any more. It isn't just Google... it is also Wells Fargo and just about all other web sites that have gone through a recent redesign.

You see (probably better than I do), I have several vision problems. One is just called old age, everyone gets cataracts. Everyone. Well,  everyone who lives long enough. Mild cataracts make things just a little blurry. I have mild cataracts. My opthamologist says I will need cataract surgery in 15 or 20 years. That is some time my mid '80s.

The trouble is that even now I have trouble seeing the tiny fonts that people use on modern web sites. They are just indistinct blobs. My vision in the one eye that works is 20/10. I can see just fine. But, I can't read the text on many web sites. To try to fix the problem I have a 32 inch monitor, I have set my desk top to scale everything up by 25%, I have Chrome set by default to magnify everything on the web by another 25%. So... by default I have to scale up the web by 56%. But, since Google uses such tiny tiny fonts I have to scale up by 50%. That means that to see the fonts on Google I have to scale every thing up by 86%.

Yeah, look at that again. I have a 32 inch HD screen with everything on it scaled up by 1.25 and then in the web browser everything is scaled up by between 1.25  and 1.5 larger than that.

Just. So. I. Can. See. The. Text.

Now that isn't half the problem. That isn't even the worst part of the problem. Even after all of that I often can not even find the text. What? Why not? The big new thing in web design is to use  soft grey, or soft blue grey text on a bright white background.

The bright white background causes me so much eye pain that I have to have the brightness on my monitor turned down to 20% of normal. Put soft grey or blue grey text on a bright white screen, turn the brightness down to 20% and see if you can find it. I can not.

Google is by far the worst offender that I deal with. Wells Fargo, which up until recently was my bank.... Is the second worst. I say second worst because Wells Fargo actually responds to complaints from old farts. I have had several nice conversations with people at Wells Fargo who have the job of keeping the company from facing huge class action law suits. They were not happy to find out that their new site is in violation of the ADA (Americans with Disabilities Act). They are also facing charges of age discrimination over their new site. They are losing customers over their new site. Wells Fargo cares.

Google does not care. They do NOT reply to complaints. They do not make changes to make their sites more usable. It is hard to believe they have ever heard of the ADA and if they have they do not care about it. I'm really starting to hate Google. They used to be one of my favorite companies. Not any more.

To Google a customer is just a statistical abstraction. They do not have to deal with customers face to face. Wells Fargo does have to deal with individual human beings all day, every day. They have to care about the individual human beings who walk in and scream at them.

I wish I could say this is a problem of just a few bad companies. But, it isn't. Web design follows fads. There is almost 0(zero) innovation in web design. One designer does something slightly new and every one copies it. Right now the fad is sites designed for the 16 year old eye. The designers do not care about accessibility, they are not taught about it in school (if they went to school). It is not talked about in books, if they read books. But worse, the CEOs, COOs, CFOs, CTOs of the companies that hire web designers do not care about accessibility. Expect a LOT of very large class actions law suits to hit the Internet very soon.

Oh, I should mention some good sites. If you want to see a site that is designed to be accessible take a look at Amazon.com, take a look at NewEgg.com. Well designed, highly usable sites. I can spend as long as I want on those sites and I get no eye pain. Sure tells you where I spend my money.

I'll finish up with my favorite memory of talking to the very nice and highly professional lady from Wells Fargo:

Her: Our designers are surprised that people have so much trouble seeing the site. They say none of them have any trouble seeing it.

Me: Ahhh... Designers tend to have exceptional color and detail perception, otherwise they would not be designers. Anyway... if they had trouble with the site they would not have designed it that way.

Her: Oh....

Me: How old are the designers? Are any of them over 30?

Her: I don't know.... I don't think so.

Me: How much focus group testing did you do before you rolled out the new site?

I wound up teaching her about user interface focus group testing. I also sent her a list of ADA documents covering requirements for accessible web site design.

I guess I should not take it personally. The people I have come to hate do not care about me or anyone like me. They will not care until they wind up paying billions to settle the suits that I am sure are coming. This is an area where some smart lawyers can get very very rich in a short time. More power to 'em.

## May 19, 2016

### George Washington on Religion in the USA

With all the crap going on in the USA right now over "Religion" I thought that a few people might be interested in what George Washington, commonly known as the father of our country, had to say about what religion means in the US.

In the summer of 1790 Washington made a visit to the Jewish congregation of New Port, New Jersey. Later they sent him a letter thanking him for his visit and asking just how safe it would be for Jews to live in the new country. You might understand that they have a reason to be worried about their safety. Every member of every minority religion in the US had and has a reason to worry about their safety. Just like Muslims do now.

Washington gave his reply in a letter that should be taught in every school in the US. I actually did learn about it in school, from a Jewish teacher.

George Washington replied with an eloquent letter stating his position on the subject. I include the full text here, the highlighting is my own.
Gentlemen:
While I received with much satisfaction your address replete with expressions of esteem, I rejoice in the opportunity of assuring you that I shall always retain grateful remembrance of the cordial welcome I experienced on my visit to Newport from all classes of citizens.
The reflection on the days of difficulty and danger which are past is rendered the more sweet from a consciousness that they are succeeded by days of uncommon prosperity and security.
If we have wisdom to make the best use of the advantages with which we are now favored, we cannot fail, under the just administration of a good government, to become a great and happy people.
The citizens of the United States of America have a right to applaud themselves for having given to mankind examples of an enlarged and liberal policy — a policy worthy of imitation. All possess alike liberty of conscience and immunities of citizenship.
It is now no more that toleration is spoken of as if it were the indulgence of one class of people that another enjoyed the exercise of their inherent natural rights, for, happily, the Government of the United States, which gives to bigotry no sanction, to persecution no assistance, requires only that they who live under its protection should demean themselves as good citizens in giving it on all occasions their effectual support.
It would be inconsistent with the frankness of my character not to avow that I am pleased with your favorable opinion of my administration and fervent wishes for my felicity.
May the children of the stock of Abraham who dwell in this land continue to merit and enjoy the good will of the other inhabitants — while every one shall sit in safety under his own vine and fig tree and there shall be none to make him afraid.
May the father of all mercies scatter light, and not darkness, upon our paths, and make us all in our several vocations useful here, and in His own due time and way everlastingly happy.
G. Washington
It is important that when you read this that you understand what "tolerance" meant at the time. It is not what we think of now. In places with a state religion, such as England in the 1700s, all citizens were required to be members of that state religion. No other religions were tolerated. That is, no other religion was allowed. There were criminal penalties for being a member of another religion. Some countries had toleration laws. That means that other religions were allowed, but usually some rights were lost or members of tolerated religions paid a tax to the state religion even though they were not members of that religion. Only in the USA did people have the natural right to believe any damn thing they want and to practice their religion as they see fit so long as it does not infringe on other peoples natural right to do the same thing. A natural right is one you are born with, no one gave it to you, and no one can take it away.

When our political leaders call for religious discrimination, when they call for imposing their religious beliefs on other people, they are saying that George Washington was a liar. They are calling our entire revolution a lie. They are saying that the United States is a lie. They are saying that everyone who has died for our natural rights since long before July 4, 1776 died for a lie. They are saying that they died for nothing.

What I see happening in the USA right now brings me to tears. I am so frustrated by this crap. I really can't think of anything else to say. I guess I'll end by saying that hatred is not supposed to be an American value.

## Mar 23, 2016

### Crispus Attucks

On March 5, 1770 British troops shot down 5 British subjects at Boston Commons. This incident became known as the Boston Massacre. Many consider that event to be the start of the American Revolution. Crispus Attucks is widely believed to be the first person to die during the Boston Massacre. The first person to die in the American Revolution.

Funny thing, I learned about the Massacre in grade school. I first heard about it when I was younger than that. I didn't learn about Mr. Attucks until I was in my '50s. You would think that such an important person would have been mentioned during one of the many American history classes I have taken. The American Revolution is important to Americans. We tend to make heroes out of people who died at important events in our history.

But, you see, Mr. Attucks was not white. He seems to have been of both Native American and African decent. Two strikes against him right there for the white bigots who scrubbed him out of the text books used in the schools I attended.

Turns out there is a monument to the men killed at Boston Commons. Mr. Attucks is the man lying on the ground. If you are an American, and even if you just want to understand something about America, read about Mr. Attucks and think about why I didn't even hear of him during the my first 50 years as an American?

Americans are being gunned down in the streets of America just for being black. Mr. Attucks was killed for being an American, not for being black. Every black man gunned down in the US dies as an American. Even if he is shot for the color of his skin.

## Mar 8, 2016

### The Self Winding Smart Phone

Today I was asked by one of my many doctors offices for my cell phone number. I explained that my cell phone spends half of its life in my pocket with a dead battery and the other half of its life on a charger at home many miles from where I am. I further explained that I liked my phone better dead in my pocket because I keep a charger in my car so I can make calls whenever I want even though I can't receive calls. They gave up on the idea of getting my cell phone number.

Gee, wouldn't it be nice to have a self winding cell phone?

If you are a old enough you will remember a kind of primitive personal clock that was usually worn on the wrist or sometimes carried in a pocket. These personal clocks had "hands" and made a funny tick, tick, tick noise. These personal clocks were called "watches" (not to be confused with the iWatch). Believe it or not they could not take videos or access the web. Their only use was to keep track of the current time.  These devices are so primitive that their use predates the invention of the steam engine. These primitive time keepers were replaced by the dumb cell phone and forgotten years before the advent of the smart phone.

These ancient personal clocks were, believe it or not, powered by kinetic energy derived from tension in a spring. To keep the watch working properly you had to recharge it daily by taking a few seconds to "wind" the spring using a knob on the side of the device.

People didn't like having to wind a watch any more than we like spending time charging cell phones. (Though I do have to wonder how many friendships and even romances have resulted from people clustering around public charging stations. Winding a watch was never a social occasion and was rarely done in public.)

Some early gear tech genius came up with a method to collect kinetic energy from arm motions and store it in the spring. This feature was called "self winding" and it kept your watch from stopping when it ran out of stored kinetic energy. A good self winding watch could run for years without ever running down!

It turns out that several individuals and groups have developed methods for adapting self winding gear tech for use with modern smart phones. They use the same type of kinetic energy trap and use it to charge a battery rather than adding tension to a spring. These systems have been developed and tested and they work.

So... why the hell can't I buy a self winding cell phone?