Monday, May 21, 2018

The Most Recent School Shooting

While mental illness is the cause of most of these mass murders, it is not the only one.  This one in Santa Fe, Texas does not fit that pattern.  My wife blames the society's increasing normalization of chaotic family structure and divorce.  Is bullying a cause?

I was subject to lots of bullying.  I was different.  I was a year younger than my classmates and pretty smart.  And this was in a district where many kids came from UCLA faculty or engineer homes.  I remember being 4th grade at Roosevelt Elementary School in Santa Monica getting an ice cream bar and a 5th grader whose name I did not know pushed me against a wall and punched me in the stomach while a crowd of my fellow 4th graders stood around and cheered. 

In junior high, the thugs were Casey Vis, Mark Friend, and Hugo Gonzalez.  I keep waiting to see one of their names with "(D-CA)" after it.  They attacked me on the Wilshire Blvd. bus one day.  At the end, I had a cracked wristbone.  They were, of course, never punished. 

High school was less severe, but threats and implications of violence were common.  I took to using the computer lab as my sanctuary.  Throughout this entire period, I never thought of using lethal force.  I had no access to guns or explosives, but even if I had, I would never have even considered it.  It just was not something you thought about.  Glenn Reynolds' 5/21/18 USA Today column points out that part of the problem is memetic:
We’ve got a problem, and it has to do with memes.
No, not those photos of cats, or the American Chopper guys, with amusing text superimposed. Real memes.
Geneticist Richard Dawkins coined the term meme to describe self-replicating information that passes from one person’s mind to another. Genes are self-replicating information — a human is your DNA’s way of making more DNA — and so are memes. Memes are just ideas that “infect” someone who then spreads the idea to others. Genes use your body to make more genes — and, for that matter, viruses are self-replicating information that uses your body to make more viruses. (There’s even a book about memes entitled, aptly enough, Virus Of The Mind.)
Of course, we could regulate "assault media": the kind that have millions of viewers.  But that only moves the problem; it does not solve it.

Coincidence, I Am Sure

5/21/18 U.K. Sun:
In a private dialogue, the Pontiff is understood to have told Juan Carlos Cruz, a victim of sexual abuse at the hands of Catholic priests, that God loves gay people and it is fine to be homosexual.
The comments are the most striking public acceptance about homosexuality ever made by a head of the Roman Catholic Church.
The remarks were made during a private meeting at the Vatican between the pair, in which the Pope offered a heartfelt apology.
Cruz was a victim of Chile’s most notorious paedophile priest Fernando Karadima.
Father Karadima, now aged 87, was found guilty of sexual abuse by the Vatican in 2011.
God does love gay people, and alcoholics, and the greedy, and hatemongers.  It is okay to arrive broken, just not okay to stay that way.

So What Would a Clinton Advisor Say?

From 5/20/18 The Hill:
Mark Penn served as pollster and adviser to President Clinton from 1995 to 2000, including during his impeachment. 

The final stopper may be the president himself, offering two hours of testimony, perhaps even televised live from the White House. The last time America became obsessed with Russian influence in America was the McCarthy hearings in the 1950s. Those ended only when Sen. Joseph McCarthy (R-Wis.) attacked an associate of the U.S. Army counsel, Joseph Welch, and Welch famously responded: “Sir, have you no decency?” In this case, virtually every associate and family member of the president has been subject to smears conveniently leaked to the press.
Stopping Mueller isn’t about one president or one party. It’s about all presidents and all parties. It’s about cleaning out and reforming the deep state so that our intelligence operations are never used against opposing campaigns without the firmest of evidence. It’s about letting people work for campaigns and administrations without needing legal defense funds. It’s about relying on our elections to decide our differences. 
Either this guy is remarkably honest, or he knows that the Democrats are about to be hoist by their own petard, and wants them to stop before the whole Democrat establishment gets indicted.

Sunday, May 20, 2018

.380 ACP and Coyotes

A coyote was stalking wife and the puppy last night.  The neighboring game warden thinks from the behavior that she was seeking food for her pups.  My guess is that .380 ACP would probably be sufficient for coyote at 15 yards.  (If it farther away, it isn't a threat to either.  I am aware of pack hunting, but I suspect the first gunshot will tell the rest of the pack to call Domino's.)

FMJs should easily penetrate such a light and thin creature.  Should we load with JHPs?

Friday, May 18, 2018

Today's Tragedy

https://m.chron.com/news/houston-texas/article/Shots-fired-at-Santa-Fe-High-School-12925050.php

Revolver and shotgun.  Wanted publicity.  Obvious need to regulate assault media.

Adventures in Paleocomputing

When I last inflicted my memoirs on you, I was a high school computer geek.  Graduation was coming and I had picked USC.  I had very limited horizons and hopes.  I graduated 23rd in a class of 1000+. While my SAT scores were okay (top half of the top percentile on verbal but only 97% on math), these were unlikely to get me into CalTech.  I applied to Harvey Mudd, USC, and UCLA (where I had been taking Russian and computer science classes while in 12th grade).  Harvey Mudd had me on the waitlist; USC accepted me and offered enough scholarships to make it cheaper than UCLA.  Tuition at UCLA was about $600 a year; USC about $2900.  So I decided on USC.

In the last few weeks of 12th grade, the company that sold the school district the new Interdata Model 7/32 minicomputer was American Business Computers.  They were a small band of sleazy operators.  (You will find out more later.)  One of their contracts was that they had offered to write the software for operating a company that made European car parts.  The guy in charge was named Neil.  The Interdata computers were 16-bit word size.  Pretty obviously, 16 bits will not handle typical commercial transactions.  $655.36?  Floating point was seven bits of mantissa so that won't work either.  NO, BUT YOU COULD ONLY GET SEVEN DIGITS DECIMAL PRECISION   WITH THE FLOATING POINT FORMAT.

Even worse, this guy could not write a binary to decimal unpack in assembler language.  If you do not recognize "unpack," how do you turn the binary number 01001010 into the ASCII equivalent 74?  And how do you pack 74 back to the binary equivalent?  Now while many of our contemporaries were drag racing or seeing how many different drugs you could use in a weekend without dying, we were engaged in ferocious competition to see who could write the most efficient pack and unpack subroutines in assembler language.  While Neil had persuaded the customer to use hexadecimal part numbers (4EF2, 1C0B), they were somewhat resistant to using hexadecimal for billing customers.  "I owe you $EC54?"

Worse: I was later told that this company was Mafia-owned.  So were many of their competitors.  When they found out that each of them was getting the same "custom" software, the salesman moved to Australia to avoid a contract hit.

Anyway, Neil explained the urgency of being able to do 32-bit arithmetic on a 16-bit machine.  Add, subtract, multiply, divide.  Add and subtract were easy.  Add the lower 16 bits and add the carry bit to the upper 16 bit operation.  Subtract was similar.  Multiply and divide were not so easy, but with a little help from my friends, problem solved.

He paid me ($80: big money for a poor kid just graduating high school) and offered me a summer job: $80 a week.  So I had to drive from Santa Monica to Irvine every day.  Gas was about $0.39 a gallon.  (About an hour of transit time then;  now, retirement age at the end of the first day.)

First he assigned me to a customer named Trinetics in Long Beach.  I have no idea what they did; the owner had a thick Southern accent and was a nice enough guy.  The only part of the experience I remember was having to run the source code (assembler language) through the assembler (which converted mnemonics like AHM to the machine code 4A).  It also resolved variable addresses and symbolic constants, much like #define in C.  Then all the individual object modules with references to variables in other modules would be run through the link editor, which would resolve the undefined addresses.  The source code was on punched paper tape:
To assemble and link required reading through the source three times (resolving forward references with no temporary storage): about nine hours of waiting for feed errors which sometimes tore the tape.

For reasons that I no longer remember, but probably did not reflect well on the interpersonal skills of a 17 year old introvert with his first job, Neil moved me to the parts manufacturer project.  There I tried to clean up the mess that Neil's unique programming techniques had produced.  We had promised 4 separate data entry terminals.  Neil could not figure out how to read keystrokes, writing them was easy.  I remember one part of the puzzle was the Programmable Asynchronous Line Adapter (PASLA).  The intent was an interrupt-driven interface.  When a keystroke happened it would produce an interrupt, at which point you would input the keystroke.  But I did not really understand interrupt service routines yet, so I hacked together a sense-status loop approach: keep reading the status bits until they showed a character available and read it.  Terribly inefficient but better than nothing.

It was not a bad month or so.  The company served soup for lunch to all its employees and I learned a lot.  But the high point of technical learning was in the last month.  At the time the idea of Plug Compatible Modules was a dangerous idea: you bought RAM and I/O parts only from the maker of your minicomputer.  Then a troublemaker named Keronix started offering PCM RAM at much cheaper prices.  Eventually, after upsetting Data General, Keronix mysteriously burned to the ground.  (Coincidence, I am sure.)  

Anyway, we had bought a 64K Keronix memory card (these were a foot or two square) for one of the Interdata minicomputers.  The operating system would not boot.  So I was assigned to figure out why.  I had a slightly out of date listing of the assembler language of the operating system.  But there was no way to use the O/S debugger; it never got that far.  

What I did: minicomputers had front panels through which you could read and write memory locations.  As breakpoints, I would insert the one word BS * (branch short to your current address).  I worked my way through the O/S from where control was given by the boot process until I found the guilty party, removing that BS * and putting the original instruction back in, until I found the instruction that caused the failure.

To read from the hard disk, the O/S would set up the DMA so that when the OC (Output Command) executed, it would read the requested sectors from the disk into the requested RAM.  At which point, bit 13 in every word in the first 16K of RAM turned off!  The instruction after the OC was now an illegal instruction.  Obediently the illegal instruction trap fired.  The first instruction of every interrupt service routine including this one was DI (Disable Interrupts).  But with bit 13 off, that first instruction was now illegal, and off it went, chasing its own tail.

The Keronix RAM was okay; the Interdata disk controller was out of spec; the DMA request was turning off bit 13.

Thursday, May 17, 2018

How Did This Happen?

In the midst of a news story about how Trump's Surgeon-General dealt with a medical emergency on an airliner there is a picture of him.  Wait a minute, why did that racist Trump pick someone that dark?