Showing posts with label computer coding. Show all posts
Showing posts with label computer coding. Show all posts

Sunday, December 20, 2020

Broadening our horizons: from negotiating and diversity... to solace regarding viruses.

A bit late for the weekend, here's a roundup of items you'll find nowhere else. Or at leastdeem uniquely worthy of attention!

First. An excellent missive by David Bray and the Atlantic Council calls for a GeoTech Alliance of those nations and other entities who share a common goal of spreading tech-enhanced power widely, rather than falling into the ancient pattern of power concentration by wealth, position, party or race. Embracing that power-dispersive revolution is the main thing that enabled creative development and burgeoning sci-tech advances (albeit unevenly), in recent centuries. 

Turning away from that power-dispersal approach - back toward power concentration - directly correlates with our recent declines.

This choice becomes crucial as newer technologies can vastly multiply the effects, perhaps empowering the vast numbers of skilled and confident workers and consumers who make markets work well, along with vast numbers of skilled and confident voters who invigorate democracy.

The alternative - a return to 6000 years of dismal top-down rule by diktat - is being promoted by self-interested elites across the globe. Perhaps because they realize it is their best and last chance to restore that brutally stupid Old Order.

I agree with this article, top to bottom. Except that I believe this turnaround must entail very specific actions, above all restoring the place of FACTS and objective reality and determinable argument and negotiated "politics" to a nation and world where "politics" have been deliberately and systematically destroyed.

== Can we find middle ground? ==

For many years I’ve asserted that our salvation as a people, nation, species and world lies in harnessing the one thing that has ever worked for us… honest-negotiation based on goodwill and a willingness to adapt to facts. Implicit in that are all the terms of import: competition, cooperation, accountability, honesty…. This is the root truth underlying
The Transparent Society, and my longstanding proposal for Disputation Arenas. And yes, it’s hard to do. Look at the sophists and delusion junkies around you… and that one in the mirror. It’s amazing that any human civilization tried – and somewhat succeeded – to put the positive notion of growth through accountability into practice. (And no surprise at all that it is now under full scale assault.)

Now Reddit has sponsored a site for those few adults who are willing to put this ideal into practice, by inviting challenge to things they currently believe. Reddit's 'Change My View' community becomes a dedicated site.

== a better way to argue for diversity ==

David Ellerman is an expert on Locke and on liberal vs natural rights bases for libertarianism. His new book is The Uses of Diversity: Essays in Polycentricity. Here’s my blurb about it; “For more than sixty centuries humans languished under centralized hierarchies - monarchies, oligarchies, theocracies and feudal, fascist, communist or klepto-aristocracies - and all proved spectacularly awful at statecraft. Gradually, it dawned on us that nature abhors oversimplification, for some very good reasons. The Uses of Diversity: Essays in Polycentricity explores many of the opportunities and constraints that have started, gradually, allowing human societies to reap benefits from complexity." 

Over the long run, the pragmatic benefits of diversity will weigh far more heavily than moralistic chidings about it. Consider that 99% of previous cultures would have laughed at such chidings, calling them weird. “Stop trying to impose YOUR diversity fetishism on us! We have other cultural values and how dare you demand we adopt yours!” It is that easy to respond to liberal lectures that are ONLY morality-based, as we are finding with our obstinate confederate neighbors.

To be clear, I AGREE with those moral chidings! My family and I have benefited immensely from the spreading of horizons of tolerance and below I will offer links to "horizon theory." Tolerance and diversity are wellsprings of justice.

But diversity in a culture is also spectacularly beneficial and practical, as David Ellerman clearly shows. And that PRACTICAL benefit not only supports diversity, it utterly overwhelms all attempted "cultural" refutations. Our Enlightenment Experiment in tolerant inclusion -- while flawed and needing agonizing incremental improvement for two centuries -- has been simply vastly more successful, creative, happier, healthier and better at discovering errors than any other. And it keeps getting better when we are free and tolerant and diverse.


== Will we again be a society of ideas? TV tells! ==

Anyone out there recall "my" TV show? I was a cast member on "The Architechs," A way-cool design show. ("Five geniuses have 48 hours to come up with...") This pilot shows us coming up with a new design to replace the humvee. Remember this was during the Iraq Wars. See the pilot.

Something to help pass the time? The second pilot - "Getting in and out of burning buildings" - was even better! We invented TWENTY new ways!


I was also a regular on History's most popular show ever: "Life After People."

Alas, History was transitioning to become the Bigfoot Channel and our show stopped after just a few episodes.

== a little perspective might help? ==

December 1979, NPR ran an evening show called "unpacking the eighties" which had some of the most clever riffs I ever heard, including a song about the terrible flu we'd all get, around 1985... and in this age when nothing is supposedly ever lost or un-findable, I can't find a trace of this masterpiece, anywhere, with any combo of search words. I think the artist was named "Jesse" something, but can't be sure. Here's a riff I remember by heart:

IT’S A VIRUS*

Back in the Pleistocene,
When we were still marine,
a virus launched a quest,
to be the perfect guest
And re-arranged our genes.

So to this very day,
Whether you grok or pray
all your inheritors
count on those visitors
And what they make you pay.

.
REFRAIN

It’s a virus,
It inspired us,
to rise above the mud.
It’s a virus,
It’s desirous,
of your very flesh and blood.

Now I know your body’s burning,
But don’t give up the ghost.
Tiny viruses are turning you
Into the perfect... host.

.
Though you may curse microbes
who make you blow your nose,
evolution bends
to what a virus sends,
making us recompose.

Though when you least expect
You may be struck down next
thank the virus, he
put us in misery,
But then he gave us sex!


It’s a virus,
Its inspired us,
to rise above the mud.
It’s a virus,
It’s desirous,
of your very flesh and blood.

Now I know your body’s burning,
But don’t give up the ghost.
Tiny viruses are turning you
Into the perfect... host.


Originally from a 1979  NPR show “Unpacking the 80s”.

Italics passages recited by memory.
Non-italics verses made up by DB

Wednesday, May 08, 2019

Johnny... Janie and Jamal still can't code... though Ivan can.

Are we in the West -- and especially the U.S. -- losing our ability to innovate or command the central technology of our era? The news seems filled with stories about fiendishly clever Russian hackers and tricks embedded in Chinese hardware, while Silicon Valley firms desperately seek immigration waivers to import foreign coders, because young Americans appear generally clueless about skills that we invented.

There are serious problem-solving efforts out there. One is CSforAll, an endeavor that emerged from Obama's Office of Science and Technology Policy (OSTP) that aims to increase the fraction of young students who are at least exposed to concepts of computer programming.

Now you know this is a pet peeve of mine. Folks are still reading and arguing over my infamous Salon article "Why Johnny Can't Code" which pointed out how BASIC and other introductory languages had quietly vanished from PCs.  (That essay got me more hate mail than even my denunciations of that horrible green oven mitt named Yoda.)

To be clear, I was not singing praises to BASIC! Rather, my target was textbook publishers who - during a ten year window - included TRY IT IN BASIC exercises in math and science and other curricula. Teachers all across the nation assigned as homework little 12-line programs at the back of say a chapter on Newton's Laws, or population biology, or geometry. And every student did them! Because those who didn't have an Apple or TRS-80 at home would find one in the school library or computer lab.

Those little weekly exercises introduced hundreds of thousands of kids to the simple notion that an algorithm can make pixels move across a screen.  And some got enthralled.

Only then publishers stopped including those exercises in textbooks, even as computers flooded every home! Why? Because most students with computers lacked any reliably consistent programming language (PL). Why did included PLs stop? A short-sighted cost-cutting measure? Some misguided wish by IBM to undermine Apple, or vice-versa? We may never learn. 

Nowadays, BASIC, Python, Squeak and several other simple languages could be included trivially, without burden on manufacturers, heck even on our phones!  And textbooks could once again include turn-key, simple, introductory exercises that teachers assign, luring millions of youths into trying their hands at programming. 

And yes, I think it's that simple. Homework. 

== A few bits of good news ==

I suppose the best outcome of all the hoorow over my “Can’t Code” article was that somebody went out and simply solved the problem! -- that is at its most-basic level. A fellow who read my essay thereupon created a cool and easy and accessible Basic site, offering a simple and obvious entry and display system. This one seems to offer the complete package. Accessibility via any mere browser, ease-of-use and instant applicability to simple textbook exercises. Quitebasic is instantly ready to use. See: http://www.quitebasic.com/  

In other words, textbook publishers could, in theory, use that one website to offer teachers programming homework. Of course, I am dreaming.

I'm still hoping that the mavens at Apple, Microsoft, Dell and so on would meet in the public interest, and agree upon a set of perhaps five very simple, introductory programming languages that can be included in their standard operating systems, so that students around the world might have access to the world of computing. How hard would that be? One meeting. Then a public announcement and a challenge to textbook publishers and teachers. Absolutely golden public relations, at virtually zero cost.

== Trying to explain it another way ==

I remain amazed at the low hanging fruit that lies so easily within reach, that no one seems to even glancingly notice. An endeavor to get the next 30% of students doing at least some programming. 

I've struggled for a decade to make a simple point clear, and have come to realize that this simple point seems impossible for very smart people to grasp. (Even now, half of you are fuming, thinking I am praising BASIC. For the rest of you, what follows will be reiteration, so?)

Here's a different approach. A comparison of two eras:

The 1980s &1990s                                                          
Teachers used to assign simple programs as homework, not just in AP classes, but in regular math, physics, chemistry, biology... even in Junior High. Those simple, ten line assignments gave millions of students at least a little exposure to what a program is... how pixels move because of algorithms.  And millions did it. Because it was homework!

 2019
Today, teachers only rarely assign creative programming homework.  What changed?

The 1980s &1990s                                                          
Teachers of physics, chemistry, bio, stats and so on could assign simple coding homework because the assignments were included in textbooks, with support explanations and teacher guides.

2019
Today, almost no Middle School or High School textbooks contain coding problems that illustrate concepts from the previous chapter.  What changed?

The 1980s &1990s                                                          
 Those textbook publishers knew only 50% or so of kids had a computer at home, but most schools at least had a computer lab the kids could use for simple assignments.

2019
Today, almost all kids have immensely powerful computers of many kinds, yet textbook publishers long ago stopped including coding examples/assignments, because students are LESS able to follow such simple assignments than they were in the 1980s and 1990s!  They haven't the tools!  What changed?

The 1980s &1990s 
Every kid who had a home computer -- or access to one at school -- thereby had access to the same, simple programming language. BASIC. It was so universal that textbook publishers were confident that most kids and teachers could find a way to get some simple example assignments done. "Try it in Basic."

2016
Today there is no common, shared lingua franca introductory programming language.  Very few home computers, laptops, tablets, game boxes or phones carry one at all!  Or it is buried deep and hard to find. Or it must be downloaded from the web along with complex instructions for installation and activation. A bewildering array of languages, variations, implementations and instructions has left only truly dedicated young people able and willing to plow ahead. 

Sure, for those enthusiasts, it is a golden age, a cornucopia! Modern endeavors like CSforALL will do well by those kids.

 But no textbook publisher will issue assignments amid such a maelstrom! And what most of the folks doing CSforAll forget is that those old homework assignments were what exposed millions of young people to at least a taste of programming!  Homework assigned by teachers not of CS but teachers of physics, chem, stats, bio and so on!

Hence my complaint about CSforAll.  It tries, admirably to develop FUN(!) ways to attract smart young folks into CS!  Yay! It should work great for the 80th to 99th percentiles.

But there should be CS for those in the percentiles 50-to-80, as well.  And those kids will not do it unless it is assigned, in small chunks.  That happened in the 1980s and 1990s!  It could happen again.

How to fix it?  The following could be done rapidly, at almost zero cost.

1. Convene a meeting of just six parties:  Apple, Microsoft, Google, IBM, RedHat, Dell.  (Okay some more.)  Arm-twist them to agree to offer 3-5 standardized educational programming languages on all platforms. Using perhaps 0.001% of their available memory capacity.  Python, LEGO, BASIC... Let them figure it out with advice from educators.

COST: Almost nothing for the meeting. Arm-twist them to meet. Almost nothing for the companies to implement - maybe two FTEs each for 6 months. Could be done before the President leaves office. 

2. Then convene a meeting of textbook publishers.  Apple, Microsoft, Google, IBM present the 5 standard languages.  Arm-twist textbook publishers to include "Try it in Basic" (or python etc) exercises in physics, chem, stats, bio books, so teachers will then assign simple, fun homework, exposing millions to a light does of programming.

3. That's it. Period. No followup needed.  No institutions or budgets or follow-through. No way Congress or anyone else can sabotage it. That's.... it.

And yes, I hammered the simple point repetitively, from many angles. Sorry. But maybe it's important enough.