Saturday, August 17, 2019

Work life balance: A Matter of Energy


     Jeff Bezos, of Amazon fame, in an interview, indicated that he doesn't like the phrase "work-life balance" because he considers the phrase "debilitating" -- implying a trade-off between work and non-work time. His general idea is that your time at work will provide the energy for you to take home and your time at home (or off work) will provide the energy for you to jump-start yourself at work.
     There are a couple of fairly large assumptions in that. The first is that your work is something that you love, with people you enjoy working with, and has just the right amount of stress to keep you at optimum performance. The second is that the same is true for your time at home (or off-work). I applaud all of the people in the world in this situation and wish them the very best. It also can be considered as an ideal goal for businesses and individuals.
     This principle can be generalized in such a manner that it can be applied to everyone's life. Although the terms are not exactly applicable, each part of life can be considered endothermic (absorbing energy) or exothermic (producing energy). Jeff Bezos' situation describes something where both worktime and non-worktime are exothermic and contributing to a large net positive amount of energy to use for many purposes.
     While I hope that no one reading this is in such a situation, a work area where the same thing is done over and over, with little (or no) interpersonal interactions, could be considered to be a high endothermic situation. The person just cannot wait to get off work and all their energy that is produced off-work is used to allow them to get through their workday.
     It can be argued (and I cannot say that I am certain of the best answer) that a work situation where you hate the work, or have negative interactions with people at work, would be a more energy losing situation. Personally, I don't think that is true. It may be much more stressful and less healthy but you probably head home and talk about all the terrible things that have gone on during the day. That may be negative (and I would not encourage you to continue in such a position and situation) but I would not call it low energy.
     So, what is meant by "work-life balance"? I propose that it is a net positive amount of energy. As said earlier, an ideal goal is a very strong net positive result from a very energy-producing work-life AND a non-work-life. However, if you have a net positive amount of energy then you are probably able to live a life that you can enjoy. This definition removes the idea of a "trade-off" but it does imply that everything that a business can do to improve work life AND the support they can give to non-work life will be beneficial to both the business and the individual.

Wednesday, July 3, 2019

The spectrum of ethics: morality, amorality, and immorality


     All thoughts of morality are based within the social contexts and agreements of a society. In other words, in spite of our social upbringing and lessons, there are few (if any) actions that are universally "good" or "bad".
     However, we do not live within a potential, alternate, parallel universe. Within current Earth conditions, laws, and priorities, there ARE items of "good", "bad", and "mixed". It is within this context that people, and actions, are evaluated according to the morally approved/disapproved conditions of the society.
     In this context, the non legally sanctioned killing of another is considered murder (there are many times at which such killing IS legally sanctioned). In this context, there is the notion of personal ownership of property and the unwilling (and non legally sanctioned) transfer of such property is considered theft.
     The term ethics is generally used in the same manner as the matter of luck. If you wish someone luck, it is assumed that you are wishing GOOD luck for them. If you ask whether someone is meeting ethics standards, it is assumed that you are asking about the achievement of GOOD ethics codes.
     Ethics or morality, it is possible to be positive, neutral, or negative. Someone who is actively trying to achieve the "good" standards and actively avoid the "bad" standards is guiding their life/actions according to morality.
     Someone who does not care about meeting "good"/"bad" standards evaluates their actions according to some other criterion. It could be financial/money, ego-reinforcement/narcissism, or some other criteria. This is called amorality. A psychopath is, in fact, an amoral person. They don't actively go against the societal norms unless it meets some other desire -- for "fun", for profit, for self-aggrandizement, for curiosity, ... If it meets their criteria for desirability, they are perfectly agreeable to do what society wants them to do. It does not matter to them.
     In the corporate world, a business is more likely to be amoral than immoral -- as being moral or amoral is most likely to increase profits. Within recent (30 year) history, there is the story of the car manufacturer who determined that the gas tank was likely to explode in a certain percentage of accidents. Accountants determined that the number of likely accidents, and subsequent lawsuits and damages, was less expensive than changing the design. Another worldwide consumer corporation has run cost analysis figures on deaths from improper (but likely) use of their products -- determining the likely costs of lawsuits and damages versus the loss of profits in not heavily marketing the product. These are both instances of amorality.
     So, what is immorality? That is the active pursuit of "bad" actions and the avoidance of "good" actions. Sometimes, it is difficult to distinguish between amoral actions and immoral actions as the objective, observable, results are often the same. The above corporate actions might be considered by many to be immoral but they are not done primarily to violate societal standards -- violation of those standards is secondary to their primary goals (in the above cases -- to increase profits).
     It is, of course, completely possible for an individual, or group, to deliberately pursue immoral activities. These are the "villains" of history or within books or movies or even popular media. Unlike within amorality, it is the active pursuit of socially disapproved behavior that is the goal. Doing "bad" things is the purpose.
     Another factor in the morality spectrum is that, based upon societal approved/disapproved conditions, it is not constant and, thus, can change. What was moral in one century may be considered immoral (or amoral) in a subsequent century. For example, slavery was widely considered acceptable in the 1700s and before. While slavery still exists within the current period, it is no longer considered acceptable. It has moved from moral to immoral. And, during the transition period in the 1800s, people who fought to eliminate slavery were often considered to be behaving immorally while, from the viewpoint of our current time, it is now considered very moral and their opposition considered immoral.
     While it is quite natural to view things of the past according to the current standards of morality -- it is dangerous to alter historical records to impose current morality and lose the reality of the past.

Saturday, June 8, 2019

It's dinnertime : logistics working from the end date


     A full-time homemaker requires a multitude of skills:
  • chauffeur
  • chef
  • house cleaner
  • laundry services
  • facilities manager
  • chief-of-Staff
  • child care
  • nutrition and menu planning
  • buying goods
  • finance manager 
  • versatile errand runner
  • ...
     Logistics is defined as "the detailed coordination of a complex operation involving many people, facilities, or supplies." If you need an experienced logistics manager, just find a successful homemaker.
     One of the everyday tasks of a homemaker is that of getting meals on the table and ready to eat. Let's decompose the task into parts.
  1. Get the ingredients and preparation materials
  2. Prepare the ingredients for cooking/assembly
  3. Cook and/or assemble
  4. Serve
     So, when do we do what -- what is our timeline? We must work backward, assuming that all food is expected to be ready at the same time. We must also treat the meal by components -- the dishes to be served -- such that we can coordinate all of them.
     Let's agree on a menu. How about a quiche, warm rolls, salad, and drinks? Also, agree on a time to serve everything -- say 6:00pm.
  • A quiche requires preparation of the crust, preparation of the filling, baking, and cooling and serving.
  • Warm rolls (assume pre-made rolls) must be warmed up (so an oven must be available).
  • A salad must have the components (greenery, other vegetables or fruit, dressing if desired) assembled and then put into serving bowls (or a communal bowl from which to be served).
  • Drinks must have glasses, the contents sorted and poured, and then served.
     Of these four items, two of them are time-independent. Salad and drinks can be prepared in advance. The quiche and the rolls both need to be served soon after completion -- and there is a competition for resources because both need an oven (assume only one oven is available).
     In order to arrange proper scheduling for these two items, let us list the times needed in reverse order. Ten minutes cooling, 40 minutes at 375 degrees Fahrenheit, 10 minutes filling preparation (could be done in 5 if needed), 8 minutes baking the crust at 375, 15 minutes crust preparation, 10 minutes gathering materials.
     For the rolls, it is fairly simple. 4 minutes at 400 degrees.
     Add up the times for the quiche (we could overlap the filling preparation time and the crust baking time but we will keep it simple) and we have 83 minutes. To have it ready at 6pm, we would thus have to start at 4:37pm. After we have pulled the quiche from the oven to cool, we can turn up the heat of the oven and put the rolls into the oven at 5:56.
     The time-independent items do not really enter into the planning except to make sure that they are done in time. I would recommend doing them during the time that the quiche is baking.
     That is a simple meal. What other duties are required from our homemaker/logistics manager? Here we may enter into the "shortest distance algorithms" area. If I have to pick up a child from school, go to the bank for a deposit, and drop off the dry cleaning then I have to figure out the best order and then the best route.
     All very small parts of a normal day.




Friday, May 10, 2019

The Thanos scenario: why it doesn't work


     If anyone out there has missed all of the Avengers' movie cycle -- in particular the "Infinity War" then I apologize for what may be a spoiler and warn you to not continue -- though this pertains only to a little bit of the movies.
     Thanos, the antagonist (villain/lunatic/self-described savior/your label here), has a mission -- to improve the lives of sapients in the galaxy by reducing overpopulation. Most people would probably agree that overpopulation can be very stressful to a society and its available resources. However, eliminating half of the human population would be, at best, a very short term solution. As seen from the following graph on human population, doubling population -- while variable -- is typically not an infinite process (though it could be):




As seen above, the human (it would likely be different for other sapients) population doubling rate has varied throughout history -- with the most rapid doubling taking place around 1987. Expected doubling time slows down to 95 years in 2088 -- about 2 2/3 times as long as in 1987.
     Population increase rate is a correlation between birth rates, death rates, and life expectancy. If as many people die within a year as are born, the growth rate is 0 (zero). If more people die than are born, there is a negative growth rate. It people never die (the goal of universal immortality is achieved) then you would need a zero birth rate to achieve stability. All of these scenarios have been examined in literature (and speculated upon in "non-fiction").  Many of the variants, as considered, have their own challenges and advantages.

Some factors which affect birth rates, death rates, and lifespan:
  • Medical care -- the ability to prevent, or fix, "natural" causes of death
  • Peace/war  -- how many people's lives are preserved or eliminated by direct action.
  • Procreative drive -- the desire for more, or fewer, children
  • Fertility -- the ability to create more, or fewer, children
  • Resource access -- having enough food, environmental support, etc.
  • Environmental health -- local and global contaminants and poisons
  • Societal policies -- agreed upon rules that decrease, or increase, birth rates, death rates, and lifespan
  • More -- ???
     Most of the above factors are self-explanatory. Of course, the above factors sometimes interact -- in surprising ways, at times. Increases in resource access tends to reduce the procreative drive (desire for more children). It appears (unproven) that environmental contaminants are decreasing fertility -- especially in the more resource accessible areas of the world. Thanos' wars, or use of the Infinity Stones, falls into the "peace/war" category while Dan Brown's "Inferno" works by doing an "end around" for medical care by creating a pandemic -- or perhaps it is a decrease in environmental health? Certainly, the conditions that foster cholera, or accelerated the bubonic plague, could be directly attributed to environmental health. The book, and movie, "Logan's Run" had all adults over 30 killed -- a definite societal policy. Categorization can be a problem -- is access to birth control a "resource access" problem or a "societal policies" problem?
     However it is categorized, we can easily see that a single event will not make a long-term result. If we look at general human history, wars and pandemics made only a very temporary dip in population. Long-term problems require long-term analysis, agreement, and planning.

Saturday, April 27, 2019

True consensus and the power of the micro-minority


     Many people use the word "consensus" as meaning a general agreement -- but that is not the original, or primary, definition. The primary definition includes the UNANIMITY of opinion. In other words, everyone must agree. Within the Religious Society of Friends (Quaker), consensus does still mean that -- everyone must agree -- but there is also the concept of "standing aside" such that a person who is not convinced that the majority is correct but is also not convinced that they are NOT correct can allow movement. They "stand aside" so that some decision, or action, can be made.
     But, if they feel strongly that the decision, or action, is the wrong one, then they can stop the action -- true consensus must happen. Throughout history, this situation has stopped Quakers from taking action on some items for a period of years or even decades. Sometimes, the final action is the opposite of what was originally expected -- the minority disappears as it is absorbed within the majority.
     Although the basis for this practice within Quakers is religious, the principle of the majority not always being correct applies throughout society. This is parallel to the stereotypical parent asking their child "if everyone decided to jump off a bridge, would that mean it was right for you to do it?"
     In fact, looking through history and science, this is the "normal" process. One person decides that slavery is wrong but the rest do not. Then a group shifts their viewpoint (and starts becoming vocal about their view) and more and more people change their view and -- at the end of the process -- almost all think that slavery is wrong. One person examines the solar system and skies and applies mathematics to the movements and decides that the Earth really isn't the center of everything -- starting with a minority of one and now almost (rarely ever everyone) everyone understanding that view.
     It isn't easy to be that beginning minority of one. Even in situations where such is explicitly allowed and encouraged, it takes a firm grasp on an individual position to stay there. This applies to scientific, business, and social situations. Failure may sometimes be considered a path to learn how to succeed but most people would rather be part of a supporting group than being the dissenting opinion.
     Those ultra-minority opinions are often suppressed -- sometimes with legal mechanisms -- more often with disparagement and attacks against the person and ideas. This can be done with the best of motives -- and it may be that the "majority opinion" proves to be the "correct" one such that that ultra-minority opinion SHOULD be removed. Various tricks and movements may be made to suppress the minority, or ultra-minority, opinion. Of course, it can also be done with malicious intent -- such as, within the Harry Potter series, Harry Potter's trial's time and location being changed and Dumbledore is "accidentally" overlooked to be informed.
     We often think of people being of majority/minority voices. If 5% believe X, then we think that 95% believe non-X. It seems to make sense, but it is more likely that 5% believe X, 15% believe non-X and 80% follow along with the perceived greater voice. This situation can be looked at as a silver lining or as a forecast of doom. Is it a matter of 80% being "sheep" and unable to make their own decision or is it a situation where 5% only have to convince another 6% in order to move the fulcrum to change the balance? Perhaps both are true. It is even possible that the 5% can shift part of the 80% and change the balance in that manner.
     Within a large group, a single individual can always have the potential to see things the most clearly.

Tuesday, April 16, 2019

Responsibility and Fault: Just where does the buck stop?


     "The Buck Stops Here". That is probably President Harry Truman's most famous quote. Obviously, he was not talking about a dollar bill. He was talking about responsibility. He recognized that he, as commander-in-chief and chief executive of the United States, was responsible for the words, actions, lack of actions, morality, and so forth for all of the people to whom he had delegated work.
     But, even though there is recognition that the final responsibility lies at the top of the management structure -- those that are delegated may likely delegate further -- and those people delegate even further down. Is the CEO of a company with 30,000 employees responsible for the actions of every one of these people?
     In the 1800s and earlier (pre-circa 1970) 1900s, it was felt that the head of the company DID have responsibility for all the people that worked for her or him (in those periods of time, usually a "him"). In exchange for taking that responsibility, there was also a lot of control -- dress codes, behaviors out-of-office, fixed and stringent company manuals, and so forth. The responsibility was also connected to employee "loyalty". The company, and head of the company, guaranteed certain things and the employee, in return, agreed to act in certain ways (including productivity within work).
     Starting in the later 1900s, work and non-work time began to decouple. Company pensions became rarer and rarer. Length of time of employment shortened. A lifetime of work for the same company became very unusual rather than very common. Employees decided on what they could, or could not, do outside-of-work hours. Within work hours, there were still various expectations of dress and behavior but, outside of work, it was up to the employee as to what they did and how they behaved. In this situation, certainly, a CEO would not be responsible for what an employee did outside-of-work.
     From the other point, the head of a company would certainly be responsible for the words and actions of all those she, or he, directly delegated. And, as Harry Truman indicated, the head has some responsibility for all. But if they are truly unaware of what the grand-delegates are doing/saying then it is hard to say they are directly responsible. In the post-1960s, the phrase of "plausible deniability" came into use -- basically a way of saying "you can't prove that I knew about what they were doing so don't try to hang the responsibility on me".
     But this blog is about responsibility and fault. Why "fault"? Because when something goes wrong, the break occurs someplace. Similar to a fault line where earthquakes occur, fault occurs at a location and the responsibility lies with a person. But it is not always the person that seems most obvious. If a person fails in their duty because they do not have the knowledge, training, or accessibility to do the job correctly then the fault lies with the one doing the delegating. If the person DOES have (or claims to have) the knowledge, training, and ability then it is that person's fault.
     Fault is not blame. Blame is a movement of responsibility. And it is unproductive. If the fault lies on the manager, then they need to correct the lacks. If the fault lies upon the delegate then there is the option of learning, correcting, and improving to not create the fault again. The action of those responsible may depend on the delegate's history. Does the delegate learn from mistakes? Do they correct past behavior or mistakes?
     During merit review of someone to whom there have been tasks delegated, errors or faults need to be looked at from the point of who/where/what. Not doing something when they could not do such is not their fault. Once again, it is the manager's responsibility AND fault. Not being willing, or able, to learn from (and correct) errors is the delegate's fault -- and should be considered in the review.

Saturday, March 30, 2019

Public versus Private -- Corporate choices


     There is almost always great excitement when a brand recognized company initiates an Initial Public Offering (IPO). We look at the public stock indices and it is sometimes difficult to remember that Google (Alphabet) was once a private company or Facebook or Amazon or ... It is possible that there exists a company that began as a public corporation but I am unaware of it.
     There are still a lot of companies that are privately owned. Occasionally, a public company will move back to private ownership (they do this by buying back all stock that has been publicly issued). This movement in both directions indicates that each has its pluses and minuses.
     I am not an economist or a lawyer and cannot tell you all of the ins and outs of what is applicable. There are two general sets of regulations. One set is applicable to both private and public corporations. This set is primarily concerned with safety, health, and wellbeing (financial, social, and others) of employees. OSHA (the Occupational Safety and Health Administration) oversees much of this in the U.S. There are also general accounting, environmental, and other laws which apply to all corporations.
     The other set of regulations cover the security of stockholders -- those people within the general population who have invested their money in the fortunes of the public corporation. Naturally, since there are no public owners (and are not available for "trading") of private corporate stock, these regulations do not apply to private corporations. This means that private companies have a lot more flexibility in how they use their internal money -- but, depending on size and other factors, may have to treat their employees similarly to that of a public corporation.
     What is the attraction of "going public"? As a former small company owner, I can only tell you my views. The first is "exit strategy" -- what do you have once you have left the company. Within a private company, whatever my share of ownership may be, my share has no formal valuation. (If it is the target of being acquired by another company then an informal, estimated, valuation will indeed be made.) I have 40% of Company ABC. If it is private then that is 40% of ??? If an offer is made to acquire the company for $10 million, then my 40% is effectively worth $4 million -- but only if someone pays that. In a similar fashion, an IPO will indicate -- selling X% of the company divided into Y initial shares priced at $Z -- how much my share of the company is worth (once again, assuming someone wants to buy it -- it is not a "liquid" asset).
     The second attraction is to bring in additional money (capital) into the corporation for future desires. I have a store that has an estimated (it is still private) value of $2 million based on $200,000 net yearly profits. I want to open a second store but I do not have enough actual money in the bank to do such. Loans for private corporations are largely based on personal assets of the primary owners -- so that may not be attractive. But, if I sell 49% (common to not have the initial offering be a majority of the ownership) of the store, in stock, to people for $1 million then I have money available to purchase/build a second store and, if the faith that the stockholders have placed in me is valid, I can hope to soon have two stores, each worth $2 million for $4 million total. And those wise and brave investors have stock now worth $2 million -- a 100% increase in their investment.
     An in-between of private and public is venture investment. They often will insist on getting a majority of the company (almost definitely so if a second round of investment is needed) but the investment is similar to that of public stockholders except that it is still within the private regulations and restrictions of access. The venture company hopes to double their money -- or triple or quadruple. They expect to do this within a finite period of time (say two or three years) and the easiest way for them to realize their profits is to then take the private company public -- or to ready them for an acquisition event. So, venture capital investment is often a route to an IPO. The primary difference is the possibility of rapidly building up value before public regulations take hold.
     It should not be needed to be said -- but I'll say it anyway. In the case of investors -- public or private -- not all investments go well. Investors have a bit more protection within public corporations. A venture capitalist will spread their risk -- $10 million spread between 4 companies. One goes bankrupt, two increase their value a little bit (say 10%), and one doubles their investment.  This means (depending on division of investment) that they make a good, but not great, return on their investment. If that successful investment triples their investment then they have made a much larger profit (once again, depending on division of investment). They don't expect every investment to work out but, to stay in business and make the profits they want, the average return needs to be attractive.
     So why would anyone want to stay private? Well, besides avoiding public regulations, there are also stockholder expectations. Some stockholders can be very patient (such as for Amazon which took many years before it showed a profit -- but its stock value kept rising anyway). Most want some type of increase of value (dividend, rising stock value) every quarter. If it stays level (or goes down) for a couple of quarters "short term investors" are likely to start looking around for a "better" investment. Companies hope for primarily "long term investors" but publicly traded means that almost anyone can invest.
     This short-term requirement leads into "next quarter development plans". Long-term development plans, and investment, must be kept limited as the short-term development plans must succeed to keep up the investor interest and stock value. If the company returns to private then they still are expected to make a profit but they can put much more effort, and resources, into longer range plans.
     If you plan to privately run a company for the rest of your life and then pass it along to your children, then there are few reasons to go public. In-N-Out is a good example of such a private company. If you want to leave and go on to your next great venture, then public is the direction to head -- with, perhaps, the assistance of a venture capital company to increase your value first. Every founder, or set of founders, has their own dream and priorities. Best of luck in following your particular dreams!

Saturday, March 16, 2019

Does Anybody Really Know What Time It Is?


     The United States (most of it) just went through the Spring ritual of changing to Daylight Savings Time. Or, as a cartoon published during my childhood indicated, cutting off one end of the blanket and sewing it on the other end. Along with the changing to DST comes the biannual articles and discussions on whether we should stay with Daylight Savings Time (I assume that it would then become the new "Standard" time and the old "Standard" time would disappear) year round.
     Personally, I don't know the "best" answer. But it does call out vividly that time, as displayed on a clock, is arbitrary. What we call time is a human invention. Of course, time as a reflection of entropy (physical movement towards disorder) exists without humans -- but it is unknown whether the manner in which we perceive time (past -> present -> future) is fixed or a matter of perspective.
     Within the general human situation, perception of time is generally more important than the numbers with which we associate it. It takes "forever" to receive an anticipated message or event. Children grow up "so quickly". In my experience (I cannot say about yours), looking back at time seems much shorter than looking ahead.
     I have a personal theory that perceived length of time is proportional to one's chronological age. Thus, for a five-year-old, a year is an enormous amount of time because it is 1/5 of their life so far. But, for a 60-year-old, a year seems much shorter.
     Perception of time is also cultural. Some cultures (stereotypical for the Swiss citizen) are "ruled by the clock" -- everything must be done exactly "on time" and the schedule rules. Other cultures (it is supposed to be traditionally true for many in the First Nations) see it as a general framework. Thus, "tomorrow morning" may vary plus or minus a day. And yet other cultures make an assumption of inherent delays in most planned events -- so a plane that takes off at "7pm" might actually take off sometime between 6:30pm and 9pm (or later, if mechanical or staffing problems intercede). And that is OK because punctuality is not expected.
     Another variable of perceived time is focus. If I am focused on doing something -- because of a deadline or because I really love doing it -- then I am concentrating on the task and not on the time and time will go "fast". If I am thinking of things other than the current task, "waiting" for something "better", or trying to keep in mind multiple things that should happen within the same period, time goes "slowly".
     One more parameter to the perception of time is emotion. If you are dreading something, time usually seems to go faster. If you are looking forward to something, then it "just never arrives". Perception of time seems to be the inverse of how much you want the event to arrive. I don't want it, it happens "faster". I do want it, it happens "slower".
     So, to answer the original question -- no, probably no one really knows what time it is. Does anyone really care?
    

Sunday, March 3, 2019

The KISS philosophy: Forgotten but still needed.


     As an engineering executive/manager, I had a developer once come to me and say "here it is. I have fixed the last bug". I smiled and said "well, I can't wait for the next-to-last bug" recognizing that, if we counted that way, we would never reach the first bug.
     All software has problems (not isolated only to software -- but it is particularly prevalent in software). Even if somehow the program was simple enough and used for a long enough period that all of the problems within the program were fixed, a program does not exist in isolation. It will interact with other programs and the hardware. Change those and problems may easily surface.
     The primary criterion that creates the situation where software always has problems (or "bugs") is complexity. A five line program may eventually get all possible interactions tested and all known problems fixed. A 200,000 line set of programs (or processes) has little chance of even having all the problems known.
     There is an anecdote about Bill Gates talking to a developer at Microsoft. He is said to have said "Don't worry about the size or the amount of memory needed. By the time it is finished, we will have faster processors with greater amounts of memory." A side effect of this (loved by sales, disliked by consumers) is that new programs usually require new software and hardware to perform at their best.
     On the flip side of this issue, Soviet developers used to have a reputation as being very good programmers. They were required to use older computers with much less memory and they had to share equipment such that they had only certain time slots in which they could compile and test their programs. These constraints in equipment forced them to be much more careful in their programming as well as making the programs small and efficient.
     In the world of programming and marketing, complexity is also sometimes referred to as "Creeping Featurism". Marketing and Sales demand new features that can be used to distinguish a program from that of the competition. However, each new feature increases the complexity of the program and the system -- and the complexity does NOT go up linearly -- an increase of 5% in the number of lines of code may double the number of initial problems to debug.
     This might eventually be of general benefit if it wasn't for the fact that many features go unused by most people. They may not even know they exist -- or, if they do know about existence, they don't know how to use it. If this is so, why add the extra features? The answer to this is that word "most".
     Assume that a program has 200 features. Twenty of those features are used by almost everyone. One user makes use of 40 features. Another user makes use of 50 features. But only 1 of the 20 "extra" features of the first user is the same as user 2's 30 "extra" features. The others are used only be the particular user.
     When I was a beginning programmer in the 1970s, all of our courses emphasized using the KISS philosophy. The acronym KISS stood for "Keep It Simple S_____" (substitute your own favorite S-word). It was a reminder of the discipline that was expected (and that the Soviet programmers had to have as a requirement). 100 lines of code that did a function was much better than 300 lines of code that performed the same function. It was easier to debug (and usually had fewer bugs in the first place), faster, and required fewer system resources. KISS fell victim to the expectation that Moore's Law would always hold -- that processor power WOULD continue to increase and that memory would be cheaper and cheaper. But being ABLE to function does not imply that is was written as well as it could have been.
     Although the KISS principle was created in connection with software development, the same holds true for other complicated, interconnected things -- such as laws and regulations or industrial factory processes.
     Do you work with the KISS principle? If so, why? If not, why not?

Saturday, February 9, 2019

Going to the robots: a shift of workforce


     People sometimes say that we are "going to the dogs" -- well, I would say that we are really "going to the robots". Robots were named in 1920 by the Czech playwright, Karel ÄŒapek, within his hit play "R.U.R" -- or Rossums UniversalRobots. The word robota initially was used to indicate servitude or forced labor. So, in accordance with the original usage, there are quite a few humans who would qualify. Within the play, the manufactured robots were described as soulless humans -- manufactured biological creatures without access to feelings or independent thoughts.
     Current usage applies to non-living mechanisms (with in-betweens of Cyborg and Android). In the past, it has been primarily used for non-living mechanisms which retain the general shape and capabilities of living humans. It has now expanded to mechanical reproduction of actions previously only possible by humans -- "robot arms", ATMs (replace bank tellers), self-check counters (replace cashiers), "humanoid" (adjuncts to healthcare, services -- huge future potential), and so forth. Robots are classified in various ways -- methods of movement, category of use, versatility (programmed for one use, capable of multiple uses, or adaptive (AI)), and others.
     Leaving out definitions of Artificial Intelligence (AI) and potential challenges therein, there are many consequences of a shift of labor to robots. By definition, a robot capable of performing a human duty, or action, displaces the human -- the human is no longer needed for this duty. However, the robot needs to be designed, built, programmed, and maintained. One can put together formulas of sorts. (#Robots * useful lifetime) replace workers (net negative of workers). (#people needed for design, building, programming, and maintenance * time needed) required by robots (net positive of workers). Design, building, and programming takes a finite (limited -- it stops at some point) amount of time and the efforts during that time may create a large number of robots. Maintenance is ongoing but one person might take care of dozens, or even hundreds, or robots.
     The final effect is that robots replace workers but require more highly skilled people for a smaller amount of time. This means that, as robotization of society occurs, people will need more and more education and technical and focused training. And, for each specific number of robots put into the workplace, fewer people are needed for support activities. The more robots, the fewer (but more highly educated and trained) people needed.
     This type of shift of workers occurred in the "Industrial Revolution" (mid 1700s to mid 1800s). Very early robots such as automated looms displaced traditional weavers from their professions. In response, there were riots which were stopped with considerable violence. Eventually, workers learned new trades and shifted up in education to take new roles which developed.
     This same shift will be needed for the new "robotic revolution". Greater amounts of education and training for people but, since fewer people will be needed to attain the same results, fewer hours of work per person. This could conceivably iterate (the process continues with additional, more highly educated, workers displaced) until one has a similar situation as posed by Isaac Asimov in The Naked Sun, where there are plantations of robots with isolated humans having few required tasks.
     I am not ready to anticipate robot plantations as of yet. But, we may very well be entering into a period where active labor is done by fewer and fewer people with higher levels of education and training. If so, there will be a strong need of greater emphasis (and availability and affordability) on continued education, more deliberate labor policy oriented at reducing the number of work hours per worker, and methods of distributing savings and benefits across the entire labor pool.

Saturday, February 2, 2019

Going to Waste or Going to Waist: the dilemma of food distribution


     For many in my generation, our parents (usually mothers) implored us to "clean our plates", people were starving (at that time, "in China") and would love to have the food on our plates. Although not inherently a bad thing to not waste food, such requirements often caused problems by teaching us to ignore our body signals as to whether or not we were hungry. And thus, by trying not to waste our food, it often accumulated around our waists.
     Another aspect of this (which occurred to myself and, I am sure, many other children) is how did my finishing up my food help those in other places who did not have enough food? Portion control (especially countering the economics of supersizing) is an excellent goal to achieve -- eating the amount that is best for our health and with the correct composition and nutrition. But portion control only keeps us more likely to have healthy bodies (exercise and general lifestyle still factor in). It does not allocate more food to those who do not have enough.
     Assume that we each eat only what we healthily should. In the U.S., that would mean a net reduction in the average amount of food eaten. Less food eaten means less food purchased and a surplus of food produced. That surplus can be addressed by reducing the amount of food produced or by finding other markets for the food. Reduction of food production hurts the farmers (though many have already been shoved aside by the mass food producers) -- much better to find other markets.
     After correcting our portion sizes, we now have additional (the U.S. is already a net food exporter) food to send out to those who do not have enough. Raw food items, which are globally produced and imported and exported, are considered to be commodities. The price of commodities goes up and down but is about the same all over the world. However, the price of prepared food sold to people varies tremendously around the world.
     On December 31, 2018, the price of wheat in Kansas (in the U.S.) was about $5 per bushel. One bushel of wheat produces about 60 pounds of whole-grain flour or 42 pounds of "white" flour. Each pound of whole-grain flour is about 3 1/2 cups which is about the amount needed to make one loaf. Thus, each bushel of wheat can make about 60 whole-grain loaves and each loaf would have about 8 cents ($0.0833) of flour in it. If you insist on white bread -- it will have about 12 cents ($0.12) of flour in it.
     Eight cents of flour in a whole-grain loaf! Do you pay eight cents for a loaf of bread? Probably not. There are a number of factors that increase that price to what you pay. First, of course, a loaf of bread is not JUST flour. Depending on the recipe, there may be oil (or butter), yeast, salt, sugar, milk solids, and whatever. In addition, there are also equipment, labor, fuel/energy, and time needed to convert the ingredients to the loaf of bread. Second, the price of the raw material is not what you will pay at the market (either used within a product or by itself). There are transportation costs added, profit margins for each person/company which handles it, and storage costs.
     Of these costs, labor is the most variable between countries. Also, the general cost of housing, fuel, and taxes will vary. So, a loaf of white bread in Nigeria will cost about 1/3 the price in the U.S. In France, that loaf of white bread will cost about 40% of that of a loaf in the U.S. In Sweden, the price is about the same as in the U.S.
     Okay -- we have (in possibly overly verbose detail) shown that bread costs different prices around the world. It ranges from 1/3 to the same as in the U.S. We now have to compare world income. Bread costs 1/3 in Nigeria as compared to the U.S. but average household income in Nigeria is 1/28 that of the U.S.. This means that that loaf of bread has an effective cost (amount of household income) of 28/3 (9 1/3) of that of the U.S. In other words, buying a loaf of bread in Nigeria takes the share of average household income as equivalent of those in the U.S. paying $10 to $40 for a loaf of bread (lowest cost white bread is around $1 and higher, fresh-baked, bread may cost $4 for a loaf). On the other hand, average income in Sweden is about 90% of that in the U.S. so the difficulty of buying a loaf of bread in Sweden is fairly close to buying such in the U.S.
     We have now achieved a general knowledge of both cost and affordability of food within the world. How do we transfer that surplus of food from the U.S. to other countries (in particular, to those with low average household incomes)?
     In brief (finally, you may say!), the food must be either sold or given to the people. Selling to people in a higher income country is not a big deal. But those people about whom our parents referred when we were urged to "clean our plates" are much less able to purchase it. Many worldwide charitable organizations donate food to where needed in such cases but the food reaching the people in need usually depends on political stability and honesty.
     So, it is a significant problem. The people most in need have the least capability to purchase and, often, political obstacles to receiving it even if it is given to them freely. Cleaning our plates does not help them. It also does not help us if the portions are not appropriate. The problems and solutions about getting food to those who need it are primarily at the desired receiving end.

It takes two: But somehow, US legislators hide the other behind a curtain

     This newsletter is about something that should be of concern to everyone. But, to discuss it, I will be jumping over a topic that is of...