Wednesday, March 14, 2018


We use these short little acronym in government (Cyberia) all the time.  ML = Machine Learning.  DL = Deep Learning.  If you don't know what these mean, you're likely a left-behind politician with too little time for engineering to really govern (steer).

As a newbie in the circle of ML / DL teachers, I'm very humble.  I sit at the feet of favorite teachers and sponge it up, tasking my own neural net to re-weight and re-bias as necessary.  Get to the bottom of all these meanings.  Investigate.  Don't assume, coming in, that your namespace is well-tempered (well-tuned).

My approach is two-track.  First, I've somewhat abandoned doing everything in Sphinx, not because I have any issues with Sphinx, but because of my own weaknesses and shortcomings with regard to Github.  There's a final step wherein documentation might "go live" in world-readable (open source) space, but I'm not taking it.  Second, I'm staying with Python.

Track One:  manual skills, like when gardening, you need to know how to use a spade, trowel, shovel, bucket, weed whacker and so on. 

Track Two:  conceptual grasp.  The latter comes slowly or at least at its own rate, less under conscious control, whereas practicing with matplotlib, numpy, pandas and scikit-learn APIs is eminently doable of one's own volition.

My focus is on polishing Track One manual skills and remaining patient with the "slow dawning" that is the gradual emergence (surfacing) of any knowledge domain.  I can't rush Track Two whereas if I burn the candle at both ends, I can practice the way athletes practice:  you keep at it.

Keeping these tracks separate has one big advantage:  I don't have to apologize for taking the ten thousand foot view and going for broke on Track Two, all out of proportion to what my manual skills yet allow.  I'm barely able to dig a trench yet am already studying the intricacies of orchid raising, or beekeeping (not usually considered part of gardening, but then really everything is).

My humility does not translate into refraining from actually studying the magic.  I just have to admit I haven't practiced enough, nor re-tuned my model enough, to fully minimize the error function (cost function).  I'm still getting to the bottom of ML DL (gradient descent).

Wednesday, March 07, 2018

World Game Continues

Wanderers, who meet frequently at the Linus Pauling House on Hawthorne, tend to be familiar with the World Game idea, and a couple of us at least, have actually played it.  Francher showed up at the ones led by Buckminster Fuller himself.  I played it in Eugene, and in San Diego, when Tara was just taking her first steps.

We're reading about the passing of Jay Baldwin and 85, an American hero and lover of cars, who escaped New Jersey and headed for California along the open road.  He love of cars it would steered him towards Fuller, who developed a three wheeled Dymaxion Car at a critical juncture.  Then came the Dymaxion House.  These were props we could use on the World Stage (where World Game is actually played).

I'm beginning a new course on data science tonight and want my students to get in touch with their internal data scientist.  I think some of us get turned off statistics for the same reason we don't really like economics:  the topics are too dismal, to fatalistic and deterministic.  "I'm not a statistic" the ego cries, fitting the model.  I know I've eschewed thinking like a data scientist most of my life.  I'll confess that, and discuss techniques for overcoming such limitations.

World Game connects to Club of Rome in that humanity was newly becoming aware of its ability to model reality based on big data, or any data at all.  Computers could churn through the number crunching, according to whatever algorithms.  Humans would be free to focus on the algorithms.  We could turn our mathematical understanding into a better tool for forecasting.  These were seeming like superpowers.

I wrote on the Club of Rome in eighth grade, for Mr. Craden's sociology class.  We had sociology at the Overseas School of Rome.  Dad subscribed to The Futurist, was an urban planner in charge of drawing up fifty year plans for the government of Libya.  I took for grated that humans were meant to "think big".  That was part of our role.  During a crisis period in Jersey City, I came to doubt that such thinking mattered, as it never seemed to gain traction.  History did its own thing, never mind how we planned it.  I've come to a later synthesis, still being fine-tuned.

World Game is all about anticipating, forecasting from data.  Even for that reason alone I should be grateful for this opportunity to retrain and change the relative weights in my neural nets, feeding more power and influence to my internal data scientist.  The free open source tools I'm learning to use help me play World Game more effectively.  The very process of learning to use them helps me project what the personal workspace (PWS) of tomorrow will be like.  The PWS is a core concept within GST.

Monday, March 05, 2018

Big Sur (movie review)


Glenn rented this one from Multnomah Public Library. He'd read some Kerouac novels and grew up in the same generation, more or less. Jack was a pack leader, of the Beat Generation, but feels ambivalent in his role.

Glenn recognized City Lights Books as iconic and said the real one was bigger than the one in the movie.  He pulled out a book he'd procured there.

Mostly it's a movie about alcohol and its potentially devastating impact on many lives, extending well beyond the drinker's. The movie is also about truth-telling and keeping it real.  The characters care about one another, they're just not sure how to express it.

Here's poor old Jack in what we might call a utopia, a cozy cabin at Big Sur, friendly supporters, and with a dream girl and her beautiful son. She's eager to be his life-long companion, and yet he's suicidal and in hell.

Viewer jealousy may be forgiven, but must Jack really suffer that much?  What were his sins that he cannot enjoy his own fame and fortune?

These beatniks were too undisciplined, drinking while driving, forgetting to make plans.

I understand they needed to escape an overly constraining, fiercely racist environment, and that the psychological cost of alienation was an occupational hazard.  Wavey Gravy, another beat poet, did a better job transitioning.

The youthful rebellion gathered momentum, and by the hippie days was more self-defining. Or was it? Jack Kerouac transitions to Ken Kesey and the Grateful Dead.

The hippie era was somewhat less blighted by alcohol perhaps, in that the hip cool thing was to explore psychedelics, which have different side effects. This movie doesn't need to tackle the subject of entheogens.

Saturday, March 03, 2018

From Facebook

As an Oregon voter and taxpayer, I'd like to know more about these new security protections Oregonians have a right to know more about. Anyone into cybersecurity knows its about adhering to open standards using source code anyone can check.

That's how NIST designs stuff, around Elliptic Curve and AES. Oregon has Vote-By-Mail so I'm curious what people see as vulnerable to Russian attack.

I know my curiosity will be met by a cloak of secrecy if the plan is actually to further heist the system by making it opaque (less transparent). That'd be hard to do given the stated objectives and follow-up audits we'll be demanding.

Americans (in the US sense) have long distrusted the voting machine infrastructure, dating back several elections. I haven't seen many claims that this sense of distrust traces to Russian propaganda.

Rather, it seems well-founded and based on actual cases of tampering that have come to light, most notably purges of voter rolls using deliberately sloppy techniques designed to spread collateral damage among specific demographics.

Those who studied the black box voting machines found much to criticize.

So where is NIST in this picture?

Does the US commit any funds towards researching and developing the infrastructure of democracy?

If MAGA means anything at all, it would have to mean looking to the US for role model, trusted technology around voting, combined with best practices.

The US is very far from that now, with most judging bodies saying US elections no longer pass the sniff test. There may be moves afoot to hold the Russians accountable for Stinky Politics Nation (SPN), but that could easily backfire. Blaming all one's problems on a convenient enemy has a way of not working out.

Monday, February 26, 2018

Water for Elephants (movie review)

Really well filmed and acted. Big name cast.

One might argue it's a tad tabloid, histrionic, pulp fiction. In a word: corny. So there you are, the audience, perhaps with popcorn. Here are your freaks: more beautiful than average, in a world of cruelty. Quite the novel (soap opera, whatever).

The setting is the time of hobos, men sans work, riding the railroads to redistribute their labor, much as Amazon caravaners, other Dead Head type tribes, do today. Wandering gypsies, in a Gypsy Economy. Welcome to 2018.

The plot features a triangle: circus impresario (reminds me of Bug's Life) with stunning wife-horse act, hires protagonist of Polish background to work with the animals.

In a desperate economic gamble, an elephant is acquired, and it turns out she speaks Polish, meaning the impresario with anger management problems manages to not wreck his own circus for at least awhile longer.

Anyway, I was really impressed, especially by the elephant playing Rosie.

Queued for Iranian TV? Total film nuts, like the Japanese.

Anyway, I'm proposing it for Pyconic conferences, for the movie track (similar to the hallway track, quite informal, more like BOFs).

Thursday, February 22, 2018

Free College

The progressives say Russiagate is distracting from the student debt problem, plus so many Americans are political prisoners of the Feds, post the ending of Prohibition (part 2) on the part of several states. Facing these issues is too painful for those with no solutions, so the scapegoats are to blame. An old story.

In the meantime, geeks such as helped win WWII for the British, the Turing Types, have transformed the face of education to where the logical API is your dorm room studio aka home.  The lectures are all there, as are opportunities for two-way and multi-way communication.  Concentrating on making the home a true PWS (personal workspace) makes more sense than borrowing money to invest in someone else's digs.  How many homes might one person afford (a great many, in some cases)?

The point:  "free college" as some imagine it, might not be as brick and mortar nor as easily paid for on the backs of young people.  Getting relief from those loans might involve entering another service, one that pays loans back, but perhaps in a devaluing currency.  Inflation is on the side of borrowers right?  Not all M1 denominated in dollars are actually Treasury bills.  But I'm getting ahead of my story.

Maybe we could pay them in Bitcoin or other cryptocurrency to redo college but in a different way, one that involves work/study which could mean world travel, and you might not have to wear a uniform or carry weapons.  The world is getting really sick of weapons and those who find them necessary to their survival.  Weapons used recreationally, not for crimes, are not actually weapons, nor sold as such.  A nuance of the language.

Anyway, I think patriots of all countries can rally around a university system that rescues more than it impedes.  There's a transfer of wealth going on, in entropic terms, from the sun to the earth, meaning an increase in entropy there, leading to eventual gigantism or brown drawfism, is feeding syntropy here, or potentially is doing that.  Or ability to order information has gotten rather good, what with big data and server farms and all.

Russiagate looks like an attempt to stop hacktivism and assert Federal control in new overreaching ways.  The move to criminalize self expression is quite one sided, with corporations free to pour money into Federal coffers, but forbidden to engage in private ventures unless friendly to same, willing to pay tribute and bribes.  A kind of extortion is happening, whereas a lot of the geeks who worked hard on this railroad were not doing so for the aggrandizement of any District, of Columbia or otherwise.

We'll see if the FBI is successful, in combination with the Patriot Act and other tools, in continuing to prosecute anyone using social media in ways disapproved of by the DOJ or any of several players set up to enforce a set of rules within a particular jurisdiction.  Those using Facebook to advertise their post Prohibition product lines are engaging in activities the DOJ has criminalized, or so they might soon allege.  But how does one tell Facebook to deny Californians access to home grown social media?  Silicon Valley is not about to surrender its economy to east coasters who don't know bash or think Ubuntu is some kind of drink.

Monday, February 19, 2018

Magic Squares


Magic Squares in NumPy, who is doing them? I'm not saying they need to be auto-generated. Copy some well known ones into code and run the NumPy version of sum along each of the two Magic Square axes.

A sudoku would be another data structure to model.  You can get to each sector with what's called a "view" or slice into just those cells, no extra memory for the data, just the overhead of the frame. A sum in each sector keeps track of same.

As a former calculus teacher, now into statistics, I'm thinking we don't do enough in standard high school calc, to bridge probability density functions (PDFs) with their integrals, their cumulative distribution functions (CDFs).  So what if closed forms don't always jump out at us?  We've got the numerical tools to power through without those if need be.

I'm glad to have an API with the school system.  I thought Measure 97 might bring that about, and approached the Methodists about a certain Code Castle.  I also named a sculpture in my living room "code castle" and covered it with stuffed dragons.

Instead, I got a part time teaching job after school and get to chat with parents and teachers, other guardians, several times a week.  When it comes to teaching adults, Californians are more ravenous for a geek diet than Oregonians it seems.  I'm happy to feed a hungry neighbor.

"Code castle" (the sculpture) is being recycled for parts and the Spooky Castle (former church and community center) showed up in my Jupyter Notebooks on what we call "context managers" in Python.  They have their __enter__ and __exit__ methods, the latter perhaps charged up with Exceptions it needs to deal with.

Jupyter Notebooks, for those of you who wish to learn, are interactive web pages you may run locally (i.e. on localhost that talk to a kernel such as Python or Haskell or maybe R, the statistics engine.  I need to remind my students:  Jupyter came from Julia, Python, R as the initial target languages of an expanded I-Python Notebook project.

Saturday, February 17, 2018

Political Radar

I'm keeping an eye on my political radar, but when it comes to putting out blips of my own, I'm finding Facebook most congenial.  Twitter too.  These platforms are ideal for PR, and PR is what I do.

Of course Twitter is infested with bots.  There's an API to tweet from your programs.  Who wants to hire some poor stooge to make stuff up when you can just have a rotating queue.  Let C-level executives commit, just like Trump does, if you don't delegate to your CMO.

Along those lines, I'm not seeing where PR firms based in Russia get off the hook in having their operations exposed, but then we also found out about Bell Pottinger, the UK-based PR firm that colluded to "sow discord" just as IRA (Internet Research Agency) is accused of.  Quoting an earlier blog post:
The idea of Russians buying ads on Facebook doesn't bother me even a little.  The British do it too, which bothers me a little more.  I don't trust British suspicion of the Russians usually, as it relates back to their inheriting Roman Imperialism, a meme virus.  Americans were infected with that too, and tend to crow about it as a chief asset.  Just look at DC's architecture.
Anyway, the idea that nations seek to influence election outcomes does not disturb me.  It's a tiny planet and we all have a stake in the various outcomes.  The sooner we acknowledge what goes on, and stop trying to deal with it by criminalizing it, the better.

As thought-leader Kyle Kulinski (Secular Talk) points out, one man's "collusion" is another man's smart business plan.  There's no law against making friends with friends of the enemy, unless one has such complete control of the law that one is able to legislate permanent "good guy" status.  That's the tautological underpinnings of jurisprudence:  protect the jurisdiction of the jurists.  Give judges the right to judge.  Romans could tell us all about it.

My theory, which traces back to a little reported story, is that Protestants in particular are feeling an existential threat from three sides at least.  Firstly, one of their chief Bible thumpers switched sides to Eastern Orthodox (the under-reported story). Secondly, the Second Coming of Christ (SCC) doesn't appear to be happening in our lifetimes (not a new problem). Thirdly, secularism isn't vanishing either.

The strategy has been to pursue the main corporate PR initiative of the last century:  link Christianity to both Capitalism (the dream of instant riches) and Patriotism (the willingness to die for capitalists) by injecting In God We Trust language and giving it a patronizing spin.  The heinous crime of the ages has always been heresy, and without calling it that, there's still a strong urge to demonize.

Speaking of powerful symbols, why was KKK cross-burning never seen as a desecration of the Cross?  Burn a flag and you're disrespectful. Burn a cross and you're a good old boy.  Makes no sense.

Anyway, the Russians seem a powerful threat because of Eastern Orthodox Christianity.  Israel is not a threat because it's expected to play into the Book of Revelation and help make End Times happen.  The Middle East is a tinderbox people want to ignite in hopes of ending the world.  You might think such people don't exist, yet the mentally ill have always been legion. 

Saturday, February 10, 2018

A Coxeter Biography

Donald Coxeter is old and frail in this telling, yet made it to Hungary at age ninety-five, for a 21st century geometry conference.

Professor Coxeter is the man to whom RBF dedicated his two-volume snapshot of a work in progress, sometimes referred to as "syngeom", however given a formal title of Synergetics for the Macmillan publishings.  Its subtitle:  Explorations in the Geometry of Thinking.

The writer for this film is Siobhan Roberts, who wrote the book with the same subtitle (The Man Who Saved Geometry), as well as a bio of John Horton Conway, who features prominently, as another Coxeter fan with deep insight into what these polytopes and hyper-dimensional sphere packings were all about.

Having someone who has done so much homework write the script makes for confidant, as well as intimate, storytelling.

We come to see Donald as bravely defiant in the face of intellectual currents intent upon driving his kind (the Euclideans) from the face of the earth, though perhaps they were joking (Bourbaki was a practical joke).

Serious or not, geometry needs its champions in any age if the inter-generational torch is to be passed.  Mandelbrot, among others, drew great solace from Coxeter, as his own work was likewise veering into the visualizable, too accessible to Everyman for an elitist core to bless as orthodox.

Not that higher dimensional polytopes are all that visualizable or renderable in the vernacular, though with projections into 3-space they are at least tourable (as gems with many rooms).  The Euclideans gave us something to strive for that's right brainy, as in exciting to graphical imagination.  At least Coxeter Diagrams won acceptance, as they verged on being purely lexical.

When the story gets to Fuller, the Montreal Dome of the 1967 World Expo gets the most focus, as well it should, as Dr. Coxeter was Canadian and his first encounter with geodesic domes was at this Expo, at least on a grand scale.  A treasure trove of archival scenarios unfurls.

My thanks to David Koski for underlining the relevance of this film.  Because I'd read the book and watched a Siobhan's address to the Gathering for Gardner crowd, I somehow assumed I'd seen this, but I had not, until tonight.

Tuesday, February 06, 2018


I think The Ramblers could have been another term for The Wanderers, and maybe is, in some parallel universe (in science fiction).  Dr. Nick Consoletti was a Saunterer, so The Saunterers might have made do.  Whether we wander, ramble, or saunter, we end up learning more about our world, which is sort of the point I suppose.

Speaking of points, I've been envisioning myself as a vector in a phase space, the vector sum from previous frames. Elastic Interval Geometry taught me a lot about weighted sums, how the most tensed vector would be like the most important neuron in some hidden layer.  Back propagation is accomplished simply by yielding to forces in EIG.  Compromises get made.  Learning happens.  Reshaping occurs.

EIG was pioneered in the wake of Tensegrity, computer modeling a lot of the same concepts.  Gerald de Jong was consciously inspired by one of Kenneth Snelson's sculptures. He joined us in Seattle at Russ' and Deb's place, along with Karl, Braley (not Brawley) and several others (me too), and much work got done.  I was a big EIG aficionado in those days.  Those creepy-crawlies of Darwin at Home got under my skin.

I purchased an O'Reilly book about Bitcoin at Hawthorne Powell's yesterday, and stayed up late reading it, after finishing teaching. My students were learning all about TLS last night, Transport Layer Security, which involves browser and server employing the latest and greatest cryptographic techniques to make transactions secure.  We call it HTTPS and see the little padlock or other icon appear, next the the URL in the address bar.  I promised to apply all this knowledge to crypto-currencies when next we meet.

I've been a fairly accomplished explainer of RSA for awhile now, getting turned on the cryptography anew by Neal Stephenson's Cryptonomicon awhile back.  The whole story of how the NSA initially resisted declassification of this technique is fascinating in the rear view mirror.  The Web hadn't become established yet, so the future needs of eCommerce were not featuring in the vector sum. People were worried about "activists" i.e. Daniel Ellsberg types, more than they were thinking about the likes of WalMart and Amazon.

These days, Elliptic Curve Diffie-Hellman (ECDH) has made deep inroads when it comes to initializing the session.  That's where Bob and Alice establish a common secretly shared key they might then use for AES, or Advanced Encryption System, the winner of an international contest in the wake of the demise of DES.  Bitcoin, and the blockchain in general, use a lot of the same ideas.

People sometimes think encryption is all about evading scrutiny and carrying on with major transactions completely behind the scenes and off radar.  To some extent that's a misconception, as the transactions may be reported in the news, entered into ledgers, kept for future analysts.  A company without a coherent internal story is not in a strong position.

The encryption step is more about preventing hacks, subtle tricks, which could alter the course of history by corrupting the transaction.  Hacks lead to higher entropy, as what should have made sense now no longer does.

Put another way, it's fine for the public to find out about all these transactions later on.  What's important is that at the time of their occurrence, there's no way to interfere with their content, such as by changing some charged amount or remittance, or substituting a new recipient.

The act itself needs shielding, not from the prying eyes of historians necessarily, but from the shenanigans of entropy creators.  Cryptography is about authentication, verifying the transaction is not counterfeit.  Bob might be completely sincere, but what does that matter if Alice gets the wrong message, one Bob didn't send?  Some forms of breakage aren't that easy to mend, as investors (stakeholders) of all types have come to discover for themselves.

For me, these blogs are more like Quaker journals, which pre-internet were kept somewhat like diaries, and not necessarily published, or were shared only posthumously.  Blogging is different, but nevertheless doesn't have to be about events now occurring in real time.  Whether the stock market is up or down needn't be our theme.

Blogs and the blogosphere tend to be more timeless in their focus, on average, than either newspapers or radio talk shows, less about what's special case.  We could say "more philosophical".  Rovers... Rangers...