[Edu-sig] continuing with ES6 / Python comparison, other chatter

kirby urner kirby.urner at gmail.com
Sat Nov 26 20:32:46 EST 2016


I just had shared "sushi train" (conveyor belt actually) with
a an IT chief with Everett School District, far north of here,
during which we discussed whether or not listservs (such
as edu-sig here) are on the decline across the board, having
been replaced with other social media by next generations
of Internet savvy.  Do we know that for sure?

For my part, I'm sure it depends on the subculture.  I'm on
a very active listserv around csound, the music synth
language and engine, several posts a day. I'm sure sci.math
is as frantic as ever.

nbviewer seems to time out quite a bit and I don't think it's
just me. Does the site get overloaded?

I'm somewhat more likely than not to link directly to the
Github version i.e. the raw source, as here:

https://github.com/4dsolutions/Python5/blob/master/Comparing%20JavaScript%20with%20Python.ipynb

Shortened: https://goo.gl/jUqIwA

...versus feeding the latter through nbviewer.  However
the latter does a more thorough job in many cases, so
I find it's worth it when it works.

The above Notebook was just now lengthened with a
new comparison of ES6 and Python3 function calls.

Question: will nbviewer accept a shortened URL as
input?

Answer: no, but you're free to shorten the "nbviewer
+ Github URL" combo naturally:  https://goo.gl/HtM0NR

Did you know ES6 is the first edition of JavaScript
wherein what we Pythonistas call default named
parameters and sequence parameters were first
acquired?

In the above Notebook I extend to another example
showing these features in both, comparing two recipe()
functions.

One could say Python has two "rest parameters", one
for "positionals," the others for "named".

Perhaps in Python "keyword parameter" is a little more
correct than "named parameter" as the latter implies
use of = (naming) to give a default value, whereas
as shown in the example, one may have unnamed
parameters to the right of a sequence parameter,
that as a consequence are only reachable with
named arguments.

Les (the above IT chief), is very familiar with the
Chromebook scene around public schooling in the
state just north of Oregon. I'm likely to venture into
that space pretty soon, as a Portland-based trainer.

This will be a day job so I'm hopeful I'll be continuing
with the evening gig as "radio show" broadcaster
(a zoom.us-based tele-class).

Speaking of which, I've been dropping in on some
of Trey Hunners chat sessions after the fact (I've
yet to make it to a live showing).  I learned quite
a bit about duck typing in connection abc types
such as Sequence, thanks to this video:

https://www.crowdcast.io/e/duck-typing
<http://treyhunner.us12.list-manage.com/track/click?u=cdbc9ae7bf54c3dff2773ea2d&id=377dc1d5ad&e=16760d8b0b>

I'm guessing more people learn about such free
resources from Twitterverse than from listservs these
days, but I don't have hard data.

I wonder if Python.org keeps any stats on gross
subscriber numbers, posting rates etc. within its
vast Mailman empire:

https://mail.python.org/mailman/listinfo

Kirby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20161126/a4bdd718/attachment.html>


More information about the Edu-sig mailing list