Category Archives: What

Duck’s Breath Mystery Theater on-line!


Thanks to my friend Eric Lindberg, I can report that the 45 rpm “The Ballad of Ronald McDonald“, can be found at “https://beta.prx.org/stories/14394“, from 16:00 to 19:15 or so.

and Dr. Science: 20:33 to 21:40 – the Human Brain compared to the Computer.

Also found “Household Appliances“!  https://beta.prx.org/stories/14399 = #2 Behind the Comedy, from 32:50. Sounds like the lp version from “Out of Season“, with acoustic intro, then studio, rock and roll, contents.

Here’s the complete set of Behind the Comedy:

#1  https://beta.prx.org/stories/14394

#2  https://beta.prx.org/stories/14399

#3  https://beta.prx.org/stories/14403

#4  https://beta.prx.org/stories/14405

#5  https://beta.prx.org/stories/14492

Advertisements

The Ballad of Ronald McDonald – Merle Kessler / Duck’s Breath Mystery Theater


Thanks to my friend Eric Lindberg, I can report that the content of the 45 rpm “The Ballad of Ronald McDonald“, can be found at “https://beta.prx.org/stories/14394“, from 16:00 to 19:15 or so.

The Ballad of Ronald McDonald – Merle Kessler

His face painted gayly, young Ronald did ride

All with his soldiers, 2 Shakes and Large Fries

Big Mac he rode with him, and Mayor McCheese

To fight Colonel Sanders, his worst enemy

 

While in the White Castle fair Wendy did stay

She watched all a-tremble her lord ride away

She loved not Lord Ronald, though she was his McBride

Another clown had the franchise on her pride

 

All in the moonlight Jack’s onion rings shone 

To court this fair damsel he’d come all alone

The Taco Bell struck the young lover’s McDoom

As Ronald McDonald stepped into the room.

 

“My burgers are bitter!” young Ronald he cried

as he wiped a McTear from his orange McEye

“I blew-up your boxes, Jack, outsold you too”

“And Wendy, oh Wendy, I did it all for you!”

 

It was not Colonel Mustard in the hall with a knife

That parted the lovers away from their lives

But Ronald McDonald killed them and himself

Crying, “No need to go-o-o anywhere else!”

 

The Burger King found them on the sanitized floor

The blood thick as catsup, it grieved him full sore

He said, “Millions consumed your fast food while they roamed!”

“Now your arches have fallen, we’ll eat burgers at home”

 

This was a single put out by Mr. Kessler but also performed as part of Duck’s Breath Mystery Theatre shows. He was a member of that comedy troupe. I have the 45 rpm disc, autographed, somewhere, I hope. I meant to keep it.

This song was written and performed by Merle Kessler, and he holds the copyright to it. This publication of the lyrics is intended to keep knowledge of the song alive, and provide a reference for discussion. I assert that this is “fair use” under current law.

The rhythm is 10 syllables, 1,2,3; 12, 3; 12, 3; 1; : da da da, da-da  da, da-da  da,  da

It looks like 4 bars, or  6 groups of notes, per line, repeated 4 times per verse.

 

11/9/18 – add *what* struck the McDoom, then follow Eric’s note and get the rest! Thank you!

11/8/18  – add McDoom line & one after

Things to know about retirement, USA, married couples.


#1  Can one spouse can retire with the other spouse’s social security benefit?

Yes, a surviving spouse can choose to use their own Social Security Insurance* (SSI) benefit OR their deceased spouse’s SSI benefit – whichever is larger. But not both. SSI was created when a many (but not all) women’s jobs were in the home, and many (but not all) men’s jobs were outside the home. The spouse working outside had an employer and cash wages, the spouse keeping the home had neither.  So a non-working spouse who had no SSI benefits on their own could continue to collect the benefit their spouse had retired on, if the spouse died.

Here’s the clever bit: If both spouses had SSI benefits, each started drawing them when they retired. If one spouse died, the survivor could switch to whichever benefit amount was larger. Say, for example, Pat and Kim both worked and both earned maximum SSI benefits. If Pat starts drawing at age 62, the amount they get is substantially less (30% in my case) than if they hung on to “Full Retirement Age” – (66 2/3 years, in my case).  If Kim keeps working, or can otherwise hold-off starting SSI benefits, Kim’s monthly benefit will be larger, even if both have at least 40 quarters of paid employment and contributed the full amount required by law, every year. Thus, Pat and Kim have different monthly benefits from SSI and always will for the rest of their lives.

IF Kim dies before Pat, Pat can change to drawing Kim’s higher monthly benefit, but can’t keep their own benefit. Pat’s old benefit simply vanishes. If Pat doesn’t want Kim’s higher benefit, they keep their own and Kim’s vanishes. If Pat dies before Kim, Kim already has the larger benefit.

So the SSI monthly payment is a benefit for a living person, but it is not an asset which can be conveyed to a person that the original recipient chooses. This is a key difference between SSI, and employee pension plans, and 401Ks and the like. 401Ks, etc., etc., are assets. There are rules about how they are used, and rules about when and what taxes are paid on them. But they are as real as any other account at an investment firm.

 

#2 Is there a minimum amount you must withdraw from a 401K, every year?

Yes. Starting when you turn 70 1/2 years old. In one example I found, its 1/26 of the value of the account, a bit less than 4%. But it is complicated and Morgan Stanley’s retirement fund people say to come talk it through with them on the way to picking a number.

See topic 4, in:

http://fa.morganstanley.com/jteam/retirement_planning_mistakes.htm

There are retirement calculators that cover this as well, with their own lore, sacrifices and mod-cons:

http://www.choosetosave.org/ballpark/webapp/#/estimate

So if you’re 61 and haven’t retired yet, you don’t have to do anything. Yet. If you are working and can pack more money into the 401K, it’s probably wise to do so. If you wonder how much your 401K is worth to you as income, now, today, and you’re less than 70 and 1/2, its likely you can take out less than 4% each year. If you take out more than it makes every year, its a “decreasing asset” and you’ll have to judge your rate of consumption vs. expected lifespan. You can look up your life expectancy, for starters:

http://www.ssa.gov/planners/lifeexpectancy.html

If your 401K is with a different investment firm, they’re who you should speak with.

 

More as I get it. I’ve foot-noted “Insurance” below.

*”Insurance” as in “Social Security Insurance” is misleading.

Conventional insurance products are based on shared risk and supposedly conservative investments. Every week, month or year, you send in your pennies, along with everyone else. All the pennies get invested wisely enough to cover whatever payouts are made over the lifetime of the product. Automobile and home products typically last 1 year, “Term” life insurance lasts for a fixed period, ending at a birthdate or some other agreed point in the future. Payments can be spread out over the term the insurance covers, or be one-time at the beginning.

“Whole” life insurance stays in force as long as the insured person is alive and the regular payments are made. The payout becomes an asset for survivors.

SSI is none of these things. If you want to start a fight, call it a modified Ponzi scheme. The money it pays out comes directly from the regular contributions collected immediately before the payout. Sort of. There need not be a pooled asset which yields profits which support payments. The term of art for this is “Pay as you go”, which is more attractive than “Ponzi Scheme”.

The details, where the devils lurk, are that a pay as you go scheme such as SSI starts with lots of contributors and no recipients. So the first funds collected did, actually, go into some investment, likely US Treasury Bonds, the most boring, safe asset. You’ll note this has the effect of retirees-to-be investing in the National Debt. Then the Baby Boom arrives and goes to work and the number of workers contributing is vastly larger than number of recipients. So the surplus continues going into bonds where it props up the National Debt.  Hiring new devils every year.

One wild-eyed argument against SSI is that NONE of the Treasury bonds will ever be sold, because actual tax dollars would have to pay them out. On the other hand, the Treasury pays bond dividends regularly, and returns the principle at the end of the bond’s life, to all the other bond holders inside and outside the USA. Does SSI surplus go into conventional “T-notes” similar to what anyone can buy, or are there conspiracy-special T-notes that pay no interest and don’t return the principle, because they exist only to suck up SSI surplus? I don’t know and I’m too busy to look it up, today.

A more plausible SSI disaster scenario is that the number of contributors won’t keep up with the number of recipients. This is the “SSI will go bankrupt” trope, and if nobody does anything about it, it will happen. Increasing the payments made by contributors or decreasing the benefits going to recipients seem like logical steps, but logic isn’t universally popular. It *could* happen. If nobody does anything about it.

So the payroll deduction is called “SSI” and it’s a gift to us from history, outdated and misleading marketing language. If we imagined we were as adult as other developed nations, we might make “SSI” part of taxes, in general, and make the payout an expense that must be paid, like our Congressperson’s retirement, medical and dental coverage.

A Software Tester’s journey from manual to political tester


I wrote this some years ago. I should simplify the context and incorporate what I reference from the OP and other responders, so that it stands alone. But this has  meaningful observations which took effort to reach, so I’m putting a copy up here to start with.

Wow, no exaggeration! I can see every event that befell poor Jim happening in the real world. HOWEVER, Jim’s a fortunate fellow, he has management attention at all! AND they look at results. AND there is a perception (no matter how shakily based) of overall product quality.

Jim was no worse than anyone else until he got automation started and mistook his personal satisfaction and enjoyment for the company’s obvious goal of shipping a stable or improving level of quality with fast turnaround on bugs and needed enhancements. This is engineering, not art. Its not self actualization, its a commercial business or a service enterprise which creates value.

All the way down this sad story, Jim accepts product failures, and testing failures. You Can Never Ignore Failures. Period. He should have turned political at that point and realized that Test, like anything, needs to be sold, shown to be valuable and productive, and needs allies. Therefore, tests need to actually be valuable and productive, and needs to make it easy for people to accept them, adopt them, and feel they are important support in their own success. Therefore he needed to measure success, as understood by his customers (developers, support, users) and maintain or improve its integrated value. Accepting failures leads to dead astronauts, wasted billions, wrongful convictions, Senate Select Committees, Frontline specials, sub-Redits, and worse.

Instead of seeing failures as a very, very, high priority, Jim turns into a man with a solution, wandering around, looking for a way to apply it. A tawdry tale, rendered no less tawdry by its oft retelling. Not insignificantly, Jim’s manager is clearly a weak and ineffective character who should have seen problems coming, or reacted when they appeared. Once Jim had made the case for automation, they might have hired someone who knew something about automation, or contracted with very carefully defined goals.

Jim might have split his team up front. He needed manual testers, who carried on the work that had been being done, with as much success as possible, and brain power applied to improve results and lower cost. A front line to hold success. Then a test automation group who focused on test automation with clear and obvious benefits

The automation environment needed to be something:

  • …anyone could run;
  • … which worked from a shippable product, as well as a release candidate or development build;
  • …which could be triggered directly from a product build, so the build group-and-release group ran it every time;
  • …which could be configured to run anything from a single, new, test to all existing tests
    • in a developer’s environment, before check-in, or
    • at any subsequent point, including on a previously shipped release with a support issue.

Setting up the test environment, creating a test to get the product to say “Hello world”, and recognizing that as a test pass ought to take no more than an hour longer than simply setting up the product. That assumption has to be proved every release or two with a calibrated innocent new-hire from somewhere.

Since all tests start by installing the product, license, etc, and starting it, the first thing to automate would be that. If there were changes in that functionality, over product history, the automation could start with the newest, but it had to support them all. Having this ‘smoke test’ be part of a full build would pay dividends to everyone, everywhere, and by designing with backward compatibility and future adaptability, thrash could be minimized, or at least recognized.

This would be a good time to look through the bugbase to determine where the most bugs were being found, where the most escapes were happening, and where the most critical bugs were coming from. Besides looking backward, a forward look at the product roadmap and with developers and management could highlight areas of future leverage

In parallel with automation, all of the above should be considered when selecting manual tests. Tests which never fail should be reduced relative to tests which find failures. Something that fails for diverse reasons may be a great canary in the coal mine, or might be a too fragile sponge that soaks up maintenance effort. In any event, continual improvement of the manual testing should run in parallel with introducing automation. After a small number of releases, the manual tests available should exceed the resources to run them. Selection of the ‘vital few’ should in intentional, not happenstance.

Most people can see the limitation of record and play back, so things should never stop there. The only tools worth looking at are tools that can be edited and rapidly expanded by iteration. Cut and paste is the lowest form of iteration and rapidly grows nightmares. Algorithmic test point generation is desirable, but data driven testing should get strong consideration. Algorithmic generation of literal tables which are then applied as tests separates the thing that needs to be done over and over, running the test, from the thing which is done less frequently, generating the test points.

In my life, I’ve seen a few of the failures in Jim’s story, but a lot of failures of usability by others, or by anyone, complete lack of testing in development plans. Test suites (with running tests) abandoned and no-longer run, until the next great hope get started. And far too little curiosity about which tests should be run, automatically or manually, to get the most bang for the buck.

Like I said, Jim is lucky!

View in discussion

For Fire Season: Just enough about particle masks


 

http://blog.pksafety.com/respiratory-basics-n95-vs-p100/

Top 10 Bookstores in the East Bay


A nice write-up on a key subject! Omits “Dan Webb Books”, doesn’t mention “The Booktree” right across the street from “A Great Good Place For Books” but my picks belong in my list. This is theirs and I’m glad to have found it!

The writer mentions the Montclair Egg Shop as a pairing with A Great Good Place for Books. Absolutely yes! Best place I can think of to take a new book or an old friend or both.

Source: Top 10 Bookstores in the East Bay

Software Test Methods, Levels, quiz question answers


Quiz questions about software test. My answers are probably longer than was hoped for, but specific, and most important, true and demonstrable.

1) What is the difference between functional testing and system testing?

2) What are the different testing methodologies?

1) System test is the equivalent of actual customers/users using the product. Carried out as if in the real world, with a range of detailed configurations, simulation of typical users working in typical way. It is one level of abstraction above Functional testing. Functional Test verifies that the product will do functions which it is intended to do. Play, rewind, stop, pause, fast forward. +, -, x, /, =.  Functional Tests must be drawn from the Requirements documents. System Test checks that a product which meets those requirements can be operated in the real world to solve real problems. Put another way, System test proves that the requirements selected for the product are correct.

This makes one wonder why engineers don’t do system test on the requirements before creating the design and code… mostly because its hard to do, and they’re sure they understand what the requirements should be, I suppose. I’ve never seen it done in depth.

 

2) “the different testing methodologies” seems over-determined. The following are ‘some’ different testing methods. There may be others.

Perhaps the intent of the question is to expose a world divided into White Box and Black Box testing, which are different from each other. But there are other dichotomies, in addition to White Box and Black Box.

Software testing methods divide into two large classes, Static and Dynamic. Static testing looks at source code, dynamic testing requires executable programs and runs them. Another division is between Using a Tool that evaluates source code and and Checking Program Output. Within either set of large groups are smaller divisions, Black Box and White Box (and Clear Box and Gray Box) are all divisions of Dynamic or Checking Output methods.  Specific methods within the large groups include

  • running source code through a compiler
  • running a stress test that consumes all of a given resource on the host
  • running a tool that looks for memory allocation and access errors
  • doing a clean install on a customer-like system and then running customer-like activities and checking their output for correctness.

Orthagonal to all of the above, Manual Test and Automated Test are infastructure-based distinctions, Automated tests may be Black Box, Unit, running a tool, checking output, or any other methodology. Manual and Automated are meta-methods.

 

Static Software Test Methods: Similar to, but not exactly the same as Tool Using Methods, to find problems in software source code.

2.1) Compile successfully, no errors or warnings. This is the first step before inspection, since nothing is better or cheaper at finding compiler problems than the compiler.

2.2) Inspection and code review, to see if the code is written to the standards that the organization enforces. I like and use code reviews, the formal Fagan system, and less formal “extreme programming” techniques like having a second person review all diffs or do a walk through with two people at the workstation. They work. The standards inspected for are usually helpful in preventing bugs or making them visible. Just looking usually improves product quality – the Western Electric effect if nothing else.

There may be some insight into product requirements and how the code meets them in a review. But the reviewers would need to know the requirements and the design of the software in some detail. Its difficult enough to get the code itself to be read. In Engineering Paradise, I suppose the requirements are formally linked to design features, and features to data and code that operates on that data, to create the feature.

2.3) Static analysis. Besides passing compiler checks without errors or warnings, there are static analysis tools, “lint” for example, that can inspect code for consistency with best practices and deterministic operation. Coverity, and others, have commercial products that do static test on source code.

2.4) Linking, loading. The final static events are linking the code and libraries required to complete the application, and writing a usable file for the executable, which the loader will load.

Dynamic Software Test Methods:

2.5) Memory access / leakage software test. Rational/IBM’s Purify, like ValGrind and BoundsChecker, run an instrumented copy of the source code under test to see memory problems in a dynamic environment. Its run and the results should be checked and responded to before a large investment in further  Dynamic testing should happen.

2.6) Performance test. Measuring resources consumed, obviously time, possibly others, during repeatable, usually large-scale, operations, similar to System or Load tests. Generic data, from development testing, is necessary and may be shipped as an installation test to users. Proprietary data, under a NDA (non-disclosure agreement), may also be needed, for complex problems ans/or important customers. In normal operation, the actual outputs are not looked at, at most, spot-checked, and the tool(s) keeping track of resources are the basis of pass/fail.

2.7) Installation Test. Typically a subset of in-house performance tests, with optional, generic, data. The performance recorded is comparable between releases, instances, configurations, sites, customers, and the software maker’s own in-house performance tests. Customers can use Installation tests to verify their hardware/software environment, benchmark it, evaluate new purchases for their environment, etc.

 

Checking Program Output Methods:

After tool based dynamic testing, the rest of Dynamic software test is based on running the product with specific inputs and checking the outputs, in detail.

Checking can be done with with exit status, stack traces,”assert()”, exceptions, diffing large output files against ‘gold’ references, log searches, directory listings, searching for keywords in output streams indicating failure or incorrect operation, checking for expected output and no other, etc. No test failures are acceptable. Each test must be deterministic, sequence independant, and (ideally) can run automatically. No judgement required for results. All require running the program.

2.8) Unit tests of pieces of the a product, in isolation, with fake/simulated/mock resources. A great bottom-up tool for verifying software. At the unit test level is where knowledge of the code is most important to testing. It is white box/clear box, with full insight into the code under test. One explicit goal of unit test should be forcing all branches in the code to be executed. That can’t be done without allowing visibility into the code.

2.9) Integration Test. The next level above unit test, the tests of code which calls code which calls code… and the code above that! The point is that integration is where code from different groups, different companies, different points in time, certainly different engineers, comes together. Misunderstanding is always possible. Here’s one place it shows up. Visibility into the code is getting dimmer here. Some tests are more functional, if a subsystem contains complete, requirement-satisfying functions.

2.10) Functional Test. Verifying that the product will do functions which it is intended to do. Play, rewind, stop, pause, fast forward. +, -, x, /, =.  Tests here should be drawn from the Requirements documents. Things that should be tested here should start in the Requirements docs. Each requirement has to be demonstrated to have been met. Its black-box testing, run from the interface customers use, on a representative host, with no insight into the internals of the product. Unless the requirements specify low level actions.

Its not particularly combinatorial- a short program, a long program, 2+2, 1/-37. Pat head. Rub belly. Walk, Not all 3 at once.

If a word-processor has no stated limit for document size, you need to load or make a really big file, but, truly, that’s a bad spec. A practical limit of ‘n’ characters has to be agreed as the maximum size tested-to. Then you stop.

All these Tests should be drawn from the Requirements documents. Things that should be tested here should start in the Requirements docs.

All that Verification is good, but what about Validation?

Unit test,  Integration test, or Functional Test, is where Validation, proving correctness of the design, might happen. Validation test is where deep algorithms are fully exercised, broad ranges of input are fully exercised, Tests that include all possible numerals, all possible characters, all defined whitespace, read in or written out. Numbers from MinInt to MaxInt, 0 to MaxUnsigned, the full range of Unicode characters, etc., etc., are exercised.

(Errors in input numbers should be seen in System test anyway, but accepting a wide range goes here.) This is not always done very formally, because most modern code environments don’t need it. But someone ought to look at least once.

L10n (Localization) and I18n (Internationalization) that need to be selected at link time or run time can be checked here too.
This is also where path-length limits, IPv-6 addresses, etc. should be checked.

2.11) User interface test verifies the controls and indicators that users at various levels see, hear, touch, operate and respond to. This is separate from any actual work the program may do in response. This is a high-value target for automation, since it can be complex and tedious to do UI testing in great detail by hand.

2.12) System Test. Full up use of the system. Training, white-paper and demo/marketing examples. Real-world situations reproduced from bugs or solutions provided for customers. Unless requirements included complexity, this is where the complex tests start. Huge data. Complex operations.  The range of supported host configurations, min to max, gets tested here too.

We’ll want to see all the error messages, created every possible way. We’ll want to have canned setups on file, just like a customer would, and we pour them into the product, run it, and collect the output. The set pass/fail on the output.

Somewhere between System Test and Acceptance test, the scale of pass/fail goes up another level of abstraction. Software test pass/fail results are one in the same with the product pass / fail. If data and setup are good, it should run and pass. Ship the result. If the data and/or setup have a problem, it should run and fail. The failure should propagate out to be stored in detail, but in the end this is a trinary result. Pass, Fail, Not Proven

2.13) Load test, Stress test.  Load tests go to the point that all of a resource is consumed, and adding  more activity produces no more output in real time. Resources include CPU, memory, local storage, networked storage, video memory, USB ports, maximum number of users, maximum number of jobs, maximum instances of product, etc. Stress test adds data, jobs, etc, clearly (110% or more) above load test maximum.

2.14) Stability test. Long term test. Stability test and long-term test are where a server or set of servers are started and left running, doing real work, for days, weeks, months. Some of the tests must repeat inputs and expect identical outputs each time.  Resource consumption should be checked. Its fair for the application or tool to have the node to itself, but adding other applications and unrelated users here and in the Load/Stress tests is meaningful, to avoid surprises from the field.

2.15) Acceptance test.  Customer sets-up their run-time world use of the system and uses it. Everything they would normally do. If its a repeat sale, they may just clone the previous installation. Run the previous and the new system, release, patch, etc, and compare output to installed software on machines that customer likes and trusts. If the product is a new one, acceptance means judging pass-fail from the output produced.

 

Many other kinds of test are mentioned in conversation and literature. A web search will turn up dozens. Regression test, stability test, in the sense that a new code branch is stable, sanity test and smoke test are all forms of testing but usually, in my experience, consist of subsets of the test levels/methods listed above.

A Smoke test (run the product, make sure it loads and runs, like a hardware smoke test where you apply power, turn it on and see if any smoke comes out…) can be made from the first steps of several different methods/levels named above. If the Smoke test is more than simply running the program once, then it should probably be some part of one of the other methods/levels. Or to put it another way, the work that goes into setting up the smoke test should be shared/captured. There might be a ..test/smoke/… directory, but the contents should be copied from somewhere else.

A Sanity test, a Stability test and Regression tests are successively larger swaths, at lower and lower levels, of the System, Performance, User Interface, Functional, etc. tests. They should be specified and are not embarrassing, but their content should be drawn from or reflected by those larger level-based tests. The should not be original and alone.

What do you think?