Re: [Edu-sig] Code to Joy in The Economist (June/July 2018)

2018-06-03 Thread Wes Turner
and then copying and pasting back: a = 1 print(id(a)) c = 2 a = b = c print(id(a)) assert id(a) == id(b) == id(c) assert a == b == c == 2 s1 = 'str1' s1_id1 = id(s1) s1 = s1 + '23' s1_id2 = id(s1) assert s1_id1 != s1_id2 On Sunday, June 3, 2018, Wes Turner wrote: > a = 1 > print(id(a)) &

Re: [Edu-sig] Code to Joy in The Economist (June/July 2018)

2018-06-03 Thread Wes Turner
a = 1 print(id(a)) c = 2 a = b = c print(id(a)) assert id(a) == id(b) == id(c) assert a == b == c == 2 s1 = 'str1' s1_id1 = id(s1) s1 = s1 '23' s1_id2 = id(s1) assert s1_id1 != s1_id2 On Sunday, June 3, 2018, Naomi Ceder wrote: > As Kirby says, of course the data does go somewhere, and that

Re: [Edu-sig] Google Colab

2018-05-28 Thread Wes Turner
On Monday, May 28, 2018, kirby urner wrote: > > Wes or someone may have linked to this already. Just tuned it in myself: > > https://colab.research.google.com/notebooks/basic_features_overview.ipynb > CoLab is pretty cool. They have GPU instances. Kaggle also has GPU instances now with Kernels

Re: [Edu-sig] Google Colab

2018-05-28 Thread Wes Turner
Google Family Link is specifically for kids. IDK if it works with Colab hosted notebooks. There's a Jupyter gdrive extension which should work with any schools that have signed up for Google Apps for Education. AFAIU, there's yet no automated integration between e.g. nbgrader and Google Classroom

Re: [Edu-sig] Free Python teaching resources: Computer Science Teachers Association of Ireland

2018-05-13 Thread Wes Turner
t; > On Sun, May 13, 2018 at 8:10 PM, Wes Turner <wes.tur...@gmail.com> wrote: > >> >> >> On Sunday, May 13, 2018, Nicholas H.Tollervey <nt...@ntoll.org> wrote: >> >>> Hi Stephen, >>> >>> It's great to hear that colleagues in Ir

Re: [Edu-sig] Free Python teaching resources: Computer Science Teachers Association of Ireland

2018-05-13 Thread Wes Turner
On Sunday, May 13, 2018, Nicholas H.Tollervey wrote: > Hi Stephen, > > It's great to hear that colleagues in Ireland are taking such positive > steps. Here in the UK, your countryman, Alan O'Donohoe, has been at the > centre of the coding/teaching renaissance (look him up, he's

Re: [Edu-sig] What do folks think of creating a #python-k12 channel on freenode?

2018-05-13 Thread Wes Turner
#pythonK12 (without the dash) could be a hashtag, as well. There was a discussion on the python-dev list awhile ago about Slack, Gitter, Mattermost, and Zulip; which are all HTTP-based chat solutions with mobile clients and serverside logging. Python-dev chose to create a Zulip instance. Zulip

Re: [Edu-sig] Suggested metrics for measuring our success

2018-05-12 Thread Wes Turner
- [ ] We should add a link to the edu-sig mailing list to the awesome-python-in-education README: https://github.com/quobit/awesome-python-in-education https://mail.python.org/mailman/listinfo/edu-sig https://mail.python.org/pipermail/edu-sig/

Re: [Edu-sig] Suggested metrics for measuring our success

2018-05-12 Thread Wes Turner
and beyond. On Saturday, May 12, 2018, Wes Turner <wes.tur...@gmail.com> wrote: > - [ ] We should add a link to the edu-sig mailing list to the > awesome-python-in-education README: > > https://github.com/quobit/awesome-python-in-education > > https://mail.python.org/mailman/listinfo/e

Re: [Edu-sig] Simplest webapps

2018-03-31 Thread Wes Turner
.org/index.php/Category:OWASP_Top_Ten_Project The OWASP Vulnerable Web Applications Directory Project (VWAD) https://github.com/OWASP/OWASP-VWAD Any program or user on the system can read and write to localhost. On Saturday, March 31, 2018, Wes Turner <wes.tur...@gmail.com> wrote: >

Re: [Edu-sig] Simplest webapps

2018-03-31 Thread Wes Turner
Bottle is a single file web microframework. https://github.com/bottlepy/bottle https://github.com/bottlepy/bottle/blob/master/bottle.py > Example: "Hello World" in a bottle ```python from bottle import route, run, template @route('/hello/') def index(name): return template('Hello

[Edu-sig] still admiring J

2018-03-23 Thread Wes Turner
On Friday, March 23, 2018, kirby urner <kirby.ur...@gmail.com> wrote: > > On Fri, Mar 23, 2018 at 1:33 AM, Wes Turner <wes.tur...@gmail.com> wrote: > >> >> xarray.Dataset is n-dimensional >> https://xarray.pydata.org/en/stable/ >> >> From a

[Edu-sig] still admiring J

2018-03-23 Thread Wes Turner
On Friday, March 23, 2018, kirby urner wrote: > > Greetings edu-siggers! > > Way back in the archives you'll find me extolling a language known as J, > by Kenneth Iverson, his son Eric, and Roger Hui. I never met any of these > guys in person, but knew of Iverson through

Re: [Edu-sig] Online Python (and other scripts) debug tool (onlinegdb.com)

2018-03-08 Thread Wes Turner
+1 Do ipdb or pdb++ work? https://github.com/gotcha/ipdb https://pypi.org/project/ipdb import ipdb ipdb.set_trace() https://github.com/antocuni/pdb https://pypi.org/project/pdbpp/ pdb.set_trace() breakpoint() # Python 3.7+ ... https://github.com/quobit/awesome-python-in-education

Re: [Edu-sig] probability and statistics demo for kids

2018-02-24 Thread Wes Turner
On Saturday, February 24, 2018, kirby urner wrote: > > ​In terms of Machine Learning more generally, I want to give special > recognition to Jake VanderPlas, an astronomer who dives deep into > scikit-learn in some multi-hour Youtube-shared tutorials. > > Example: >

Re: [Edu-sig] probability and statistics demo for kids

2018-02-23 Thread Wes Turner
On Wednesday, February 21, 2018, A Jorge Garcia via Edu-sig < edu-sig@python.org> wrote: > I tried using Jupyter Notebooks last year with my Calc and preCalc > students last year. However, I'm using CoCalc.com which is Sage Math > Cloud gone commercial. It was free to use for a while. However, if

Re: [Edu-sig] probability and statistics demo for kids

2018-02-23 Thread Wes Turner
://github.com/computationalmodelling/nbval On Friday, February 23, 2018, Wes Turner <wes.tur...@gmail.com> wrote: > > > On Friday, February 23, 2018, Blake <blakeel...@gmail.com> wrote: > >> The programs / code examples you all have proposed look great. >>

Re: [Edu-sig] probability and statistics demo for kids

2018-02-23 Thread Wes Turner
ity http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/ > > > -- > Blake Elias > > On Fri, Feb 23, 2018 at 2:44 PM, Wes Turner <wes.tur...@gmail.com> wrote: > >> "Seeing Theory: A visual introduction to probability

[Edu-sig] probability and statistics demo for kids

2018-02-23 Thread Wes Turner
"Seeing Theory: A visual introduction to probability and statistics" http://students.brown.edu/seeing-theory/ https://github.com/seeingtheory/Seeing-Theory These are JavaScript widgets, so not Python but great visual examples that could be implemented with ipywidgets and some JS. explorable.es

[Edu-sig] Python for kids

2018-02-22 Thread Wes Turner
https://github.com/quobit/awesome-python-in-education - https://www.codesters.com/curriculum/intro-to-codesters/Bu ilding+your+First+Program/1/ - http://rosalind.info/problems/list-view/ https://learnxinyminutes.com/docs/python3/ https://learnxinyminutes.com/docs/pt-br/python-pt/

[Edu-sig] "Logical connectives Hasse diagram"

2017-12-30 Thread Wes Turner
"Logical connectives Hasse diagram" I've been searching for this for my whole life! TIL this forms a "Rhombic dodecahedron" https://commons.wikimedia.org/wiki/File:Logical_connectives_Hasse_diagram.svg Happy New Year! ___ Edu-sig mailing list

Re: [Edu-sig] How to define "a Python project"?

2017-11-08 Thread Wes Turner
/spyder-ide/spyder/wiki/SEP-3:-Projects On Tuesday, November 7, 2017, Wes Turner <wes.tur...@gmail.com> wrote: > Cookiecutter builds project directories: > > https://github.com/audreyr/cookiecutter > > https://cookiecutter.readthedocs.io/en/latest/readme.html#available- > cook

Re: [Edu-sig] How to define "a Python project"?

2017-11-07 Thread Wes Turner
Cookiecutter builds project directories: https://github.com/audreyr/cookiecutter https://cookiecutter.readthedocs.io/en/latest/readme.html#available-cookiecutters On Tuesday, November 7, 2017, Aivar Annamaa wrote: > Hi! > > Python programs which involve a single *.py file

Re: [Edu-sig] strategies for teaching Python

2017-10-04 Thread Wes Turner
On Wednesday, October 4, 2017, Wes Turner <wes.tur...@gmail.com> wrote: > > > On Wednesday, October 4, 2017, Charles Cossé <cco...@gmail.com > <javascript:_e(%7B%7D,'cvml','cco...@gmail.com');>> wrote: > >> Hi Kirby, >> >> A good Python + ma

Re: [Edu-sig] strategies for teaching Python

2017-10-04 Thread Wes Turner
On Wednesday, October 4, 2017, Charles Cossé wrote: > Hi Kirby, > > A good Python + math investigation could be to use Python to generate some > type of simulated event data (network, physics, pure math, etc), not > limited to just 2 parameters per event, and then use plotting

Re: [Edu-sig] Browser-based instruction

2017-10-03 Thread Wes Turner
On Tuesday, October 3, 2017, Wes Turner <wes.tur...@gmail.com> wrote: > https://github.com/quobit/awesome-python-in-education/ > blob/master/README.md > > > > On Tuesday, October 3, 2017, Jurgis Pralgauskis < > jurgis.pralgaus...@gmail.com > <javascri

Re: [Edu-sig] Browser-based instruction

2017-10-03 Thread Wes Turner
https://github.com/quobit/awesome-python-in-education/blob/master/README.md On Tuesday, October 3, 2017, Jurgis Pralgauskis < jurgis.pralgaus...@gmail.com> wrote: > https://www.pythonanywhere.com/ seems to have what you need > > with beta functionality for Educational purposes >

Re: [Edu-sig] strategies for teaching Python

2017-10-03 Thread Wes Turner
On Monday, October 2, 2017, kirby urner wrote: > > Given I'm spending 3-4 days a week with 5th & 6th graders, teaching them > Python, I'm looking for ways to sync with what Common Core says they should > be learning math-wise. > > They general strategy here is to look for

[Edu-sig] some new open source Python writing (Jupyter Notebooks)

2017-09-04 Thread Wes Turner
On Monday, September 4, 2017, kirby urner > wrote: > > >> Maybe a bit OT: >> >> > OT: "off topic" or "over the top"? :-D > Off topic > > I've wondered whether we could/should instead start mathematics education >>

Re: [Edu-sig] some new open source Python writing (Jupyter Notebooks)

2017-09-04 Thread Wes Turner
) operator (a binary operator) can be defined in lots of ways; both in Python and in mathematics: with linear algebra, we mean "scalar multiplication" (with standard broadcasting) https://en.wikipedia.org/wiki/Product_(mathematics)#Scalar_multiplication On Monday, September 4, 2017,

Re: [Edu-sig] some new open source Python writing (Jupyter Notebooks)

2017-09-04 Thread Wes Turner
units (and significant digits) just as well as they handle columnar/series/range text formatting. #LinkedReproducibility ) On Monday, September 4, 2017, Wes Turner <wes.tur...@gmail.com> wrote: > > > On Monday, September 4, 2017, kirby urner <kirby.ur...@gmail.com > <ja

Re: [Edu-sig] some new open source Python writing (Jupyter Notebooks)

2017-09-04 Thread Wes Turner
On Monday, September 4, 2017, kirby urner wrote: > PS: > > my recent exercises in teaching math with Python, ala Peter Farrell, is > sparking some heated debate on math-teach. > > http://mathforum.org/kb/thread.jspa?threadID=2876811 (especially in > recent days, early

Re: [Edu-sig] teaching Python etc.

2017-07-25 Thread Wes Turner
On Tue, Jul 25, 2017 at 11:03 AM, Wes Turner <wes.tur...@gmail.com> wrote: > > > On Monday, July 24, 2017, kirby urner <kirby.ur...@gmail.com> wrote: > >> >> I turned down a $600/day 3 day gig I might not have got anyway, because >> the textbook go

Re: [Edu-sig] teaching Python etc.

2017-07-25 Thread Wes Turner
On Monday, July 24, 2017, kirby urner wrote: > > I turned down a $600/day 3 day gig I might not have got anyway, because > the textbook goes twelve chapters with no 'class' keyword, and that would > define the full complement of our topics. My code of conduct forbids >

Re: [Edu-sig] AP Calc with Jupyter

2017-06-16 Thread Wes Turner
On Friday, June 16, 2017, A. Jorge Garcia via Edu-sig wrote: > OK, so let me get this straight. > If I'm using Python 3, then division with integers is more akin to the way > it works with doubles in Java? > > In Java, > 2.0/3 = 3/2.0 = 2.0/3.0 = 0.666... > In Python 2, > 2/3

Re: [Edu-sig] Welcoming newcomers

2017-04-29 Thread Wes Turner
On Sat, Apr 29, 2017 at 3:25 PM, kirby urner wrote: > On Fri, Apr 28, 2017 at 9:59 AM, > wrote: > >> I am also new to this community. I am interested in learning how to >> implement Python coding into lessons for elementary students.

Re: [Edu-sig] Helping with Python education

2017-04-29 Thread Wes Turner
- This list has lots of great ideas and resources: http://markmail.org/search/?q=list:org.python.edu-sig - http://markmail.org/search/?q=list%3Aorg.python.edu-sig# query:list%3Aorg.python.edu-sig%20from%3A%22Wes%20Turner%22 - I tend to share lots of links Things that could be done

Re: [Edu-sig] Help needed to run Python for Kids club.

2017-04-01 Thread Wes Turner
http://kit.pyladies.com/en/stable/ > The pyladies kit gets you up and running with starting a PyLadies local group, including what’s needed, advice, event planning help, and some tools that may be helpful. On Saturday, April 1, 2017, Nicholas H.Tollervey wrote: > Briefly,

Re: [Edu-sig] Children on github

2017-03-29 Thread Wes Turner
On Tue, Mar 28, 2017 at 10:25 PM, René Dudfield wrote: > Hello, > > as part of the move of the pygame (pygame.org) project repository to > github we received feedback that github doesn't allow children who have > been given consent by their parents to participate. > > This

Re: [Edu-sig] New articles on Medium.... (not all by me :-D)

2017-03-23 Thread Wes Turner
+1 On Thu, Mar 23, 2017 at 2:09 AM, kirby urner wrote: > > > >> - https://k12cs.org/ >> >> > This one is consistent with letting math teachers out of the box in that > it promotes a cross-disciplinary approach. > > "The framework can be used in a variety of ways. It can

Re: [Edu-sig] New articles on Medium.... (not all by me :-D)

2017-03-22 Thread Wes Turner
On Thu, Mar 23, 2017 at 12:19 AM, Wes Turner <wes.tur...@gmail.com> wrote: > > [...] > > > - https://k12cs.org/ > > - https://medium.freecodecamp.com/ > https://github.com/jwasham/coding-interview-university#table-of-contents http://competency-checklist.appspot.c

Re: [Edu-sig] New articles on Medium.... (not all by me :-D)

2017-03-22 Thread Wes Turner
> python3 From https://westurner.org/wiki/awesome-python-testing#python-2-python-3 : Python 2 <--> Python 3 * https://mail.python.org/mailman/listinfo/python-porting * http://python3porting.com/ * `2to3`_, `six`_, `nine`_, `future`_ 2to3 ^ | Src:

Re: [Edu-sig] update from Silicon Forest

2017-01-20 Thread Wes Turner
On Friday, January 20, 2017, kirby urner wrote: > > Greetings from Silicon Forest to this mostly-quiet list. Perhaps listservs > in general have been overtaken in many cases, by technology with a higher > bling factor. > https://medium.com/tag/edtech

Re: [Edu-sig] Python + JS == more than their sum()

2016-11-28 Thread Wes Turner
Does Jupyter nbgrader work with JS Notebooks (e.g. *.js.ipynb)? - Src: https://github.com/jupyter/nbgrader - https://wrdrd.com/docs/tools/#nbgrader ... https://wrdrd.com/docs/consulting/education-technology#jupyter-and-learning On Monday, November 28, 2016, Wes Turner <wes.tur...@gmail.

Re: [Edu-sig] Python + JS == more than their sum()

2016-11-28 Thread Wes Turner
On Sunday, November 27, 2016, kirby urner wrote: > > > On Sun, Nov 27, 2016 at 4:12 AM, Adam Morris > wrote: > >> It depends on whether or not we are wishing to teach future computer >>

Re: [Edu-sig] Python + JS == more than their sum()

2016-11-27 Thread Wes Turner
Some people say that Multi-lingual is easier to learn early on. - Pseudocode and , - Blockly (visual programming) and , - and JS, - and C, C++ - and Java - and OpenGL The "write head" metaphor and defragmentation may not be good ways to think about learning

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

2016-11-27 Thread Wes Turner
On Saturday, November 26, 2016, kirby urner wrote: > > Wes, your posts remind me of del.icio.us, the > shared bookmark service. Is that still used? > The Wikipedia page as of today seems > uncertain. https://en.wikipedia.org/wiki/Delicious_(website) > I see the website.

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

2016-11-26 Thread Wes Turner
On Saturday, November 26, 2016, Wes Turner <wes.tur...@gmail.com> wrote: > These are probably good for comparison: > > - https://learnxinyminutes.com/docs/javascript/ > - https://learnxinyminutes.com/docs/python/ > - https://learnxinyminutes.com/docs/python3/ > - http:

[Edu-sig] Python + JS == more than their sum()

2016-11-25 Thread Wes Turner
On Tuesday, November 22, 2016, Wes Turner <wes.tur...@gmail.com <javascript:_e(%7B%7D,'cvml','wes.tur...@gmail.com');>> wrote: > > On Tuesday, November 22, 2016, kirby urner <kirby.ur...@gmail.com> wrote: > >> >> Wise counsel Wes, much to think about, in t

Re: [Edu-sig] Python + JS == more than their sum()

2016-11-22 Thread Wes Turner
On Tuesday, November 22, 2016, kirby urner wrote: > > Wise counsel Wes, much to think about, in terms of risk mitigation (when > that's the goal, which it often is). > > Thanks for the segue. > YW! > > Kirby > > ___ Edu-sig

Re: [Edu-sig] Python + JS == more than their sum()

2016-11-22 Thread Wes Turner
A couple of points: - strings are immutable - every str.__add__ creates copies of strings - str1 += str2 is equivalwnt to str3 = str1 + str2 So, if, for example, we have a 1KB string and we keep += adding 1KB strings, the allocated memory looks like: str1 # 1KB str2 # 1KB str_n # 1KB

Re: [Edu-sig] Python + JS == more than their sum()

2016-11-22 Thread Wes Turner
Some tips and resources for learning about Python and JS: mpld3 brings together Python and d3 Javascript data visualization library: Docs: http://mpld3.github.io Src: https://github.com/mpld3/mpld3 I haven't reviewed these sources for Code Injection bugs that do occur when e.g. generating JS

Re: [Edu-sig] a Circle type with radius, area both properties (fixed)

2016-10-22 Thread Wes Turner
IIRC, many computer labs have no internet access (as a closed loop learning environment). But if it's possible to host something like DevPi as a proxy cache in order to support pip for package installation, nose-progressive and pytest-sugar add a progressbar and other useful features to the nose

Re: [Edu-sig] a Circle type with radius, area both properties (fixed)

2016-10-21 Thread Wes Turner
On Thu, Oct 20, 2016 at 9:45 PM, kirby urner wrote: > @area.setter >> def area(self, value): >> self._area = value >> self._radius = self.area / (2 * math.pi) >> >> > Uh oh... I'm in the middle of teaching Session 10 > and couldn't figure out why

[Edu-sig] K–12 Computer Science Framework -- k12cs.org

2016-10-20 Thread Wes Turner
On Tuesday, October 18, 2016, kirby urner wrote: > > Hi Wes -- > > I'm in agreement with points 7 & 8 in: > > https://code.org/files/Making_CS_Fundamental.pdf > > i.e. the policy of making compsci courses count > towards math requirements. > > > NCTM has endorsed this

Re: [Edu-sig] a Circle type with radius, area both properties

2016-10-20 Thread Wes Turner
https://en.wikipedia.org/wiki/Observer_pattern - https://docs.python.org/2/reference/datamodel.html#object.__setattr__ - https://github.com/ipython/traitlets/#callbacks-when-a-trait-attribute-change - https://traitlets.readthedocs.io/en/stable/using_traitlets.html#observe @observe decorator

Re: [Edu-sig] K–12 Computer Science Framework -- k12cs.org

2016-10-18 Thread Wes Turner
On Mon, Oct 17, 2016 at 7:37 PM, Wes Turner <wes.tur...@gmail.com> wrote: > There is a new K–12 Computer Science Framework: > [...] > > - Additionally, > I can't help but wonder whether it makes sense it start with TDD > (Test-Driven Development) first when teaching

[Edu-sig] K–12 Computer Science Framework -- k12cs.org

2016-10-18 Thread Wes Turner
There is a new K–12 Computer Science Framework: - Homepage: https://k12cs.org - HTML: https://k12cs.org/navigating-the-practices/ - PDF: https://k12cs.org/wp-content/uploads/2016/09/K%E2%80%9312-Co mputer-Science-Framework.pdf - There are: Concepts and Practices - The site provides navigation

<    1   2