[Edu-sig] How to Python soft cell infinite polyhedral tilings?

2024-03-02 Thread Wes Turner
"Soft cells and the geometry of seashells" (2024) https://arxiv.org/abs/2402.04190 : > A central problem of geometry is the tiling of space with simple structures. The classical solutions, such as triangles, squares, and hexagons in the plane and cubes and other polyhedra in three-dimensional

[Edu-sig] Re: Grokking Python

2024-03-02 Thread Wes Turner
They're dunder methods; double-underscore /? site:docs.python.org "dunder" methods https://www.google.com/search?q=site%3Adocs.python.org+%22dunder%22+methods On Wed, Feb 14, 2024, 10:50 AM kirby urner wrote: > > Long termers here will likely remember my fave Pythonic Pedagogy: to > introduce

[Edu-sig] Re: Python in K-12: good news (they're using Jupyter)

2024-01-25 Thread Wes Turner
Notebooks and Spreadsheets often lack test assertions; which are critical to quality "Spreadsheet errors can have disastrous consequences – yet we keep making them" (2024) https://news.ycombinator.com/item?id=39132512 """ What are some Software Development methods for reducing errors: 1.

[Edu-sig] Re: Makecode Arcade, pybricks/pybricksdev, LEGO PF/PU, open source Robots with docs, wokwi

2023-12-11 Thread Wes Turner
def two(): return 2 ``` ... Open Source Code, Documentation quality (and Durability of cables and connectors) On Mon, Dec 11, 2023 at 3:40 PM Wes Turner wrote: > > A few cool tools for Python (and STEM) in application, OTOH: > > ## Makecode > Makecode Arcade has Blocks <->

[Edu-sig] Makecode Arcade, pybricks/pybricksdev, LEGO PF/PU, open source Robots with docs, wokwi

2023-12-11 Thread Wes Turner
A few cool tools for Python (and STEM) in application, OTOH: ## Makecode Makecode Arcade has Blocks <-> Python <-> JS - New Project > Blocks > +Extensions > Robotics > ~List all [Makecode-compatible devices] ### vscode.dev - https://vscode.dev/ - Install "python" extension - Install "pyodide"

[Edu-sig] Re: YT Kids /?q= JupyterLite arithmetic sympy

2023-04-10 Thread Wes Turner
"5 Required Steps to Get Your Video Content on YouTube Kids" https://air.io/en/academy/5-required-steps-to-get-your-video-content-on-youtube-kids "Determining if your content is "made for kids"" https://support.google.com/youtube/answer/9528076 On Sun, Apr 9, 2

[Edu-sig] YT Kids /?q= JupyterLite arithmetic sympy

2023-04-09 Thread Wes Turner
These queries with a YouTube Kids profile return [comparatively] few results; - Python - Jupyter - JupyterLite - birdseye debugger - jsxgraph jupyter - sympy arithmetic How could PSF or NumFOCUS (PyData) or similar create kid-safe arithmetic (as algebra) and geometry and calculus *videos* for

[Edu-sig] Re: ChatGPT for py teaching

2023-03-24 Thread Wes Turner
c_method Why are LLMs picking random positive integers 42 and 7 most frequently? On Fri, Mar 24, 2023, 12:20 AM Jurgis Pralgauskis < jurgis.pralgaus...@gmail.com> wrote: > I suspect some nice things are comming - see examples of "Socratic tutor" > :) > > https://open

[Edu-sig] Re: ChatGPT for py teaching

2023-01-06 Thread Wes Turner
On Wed, Jan 4, 2023 at 4:34 PM Wes Turner wrote: > What are the expected limitations of [ChatGPT]? > > What is "Prompt Engineering"? > [Prompt engineering - Wikipedia]( > https://en.wikipedia.org/wiki/Prompt_engineering ) > > What lessons about technology relia

[Edu-sig] Re: ChatGPT for py teaching

2023-01-04 Thread Wes Turner
uot;Is there any way to get the step-by-step solution in SymPy?" [like e.g. paid WolframAlpha and PhotoMath do] https://stackoverflow.com/questions/39359220/is-there-any-way-to-get-the-step-by-step-solution-in-sympy On Wed, Jan 4, 2023, 5:13 PM Wes Turner wrote: > Should we exp

[Edu-sig] Re: ChatGPT for py teaching

2023-01-04 Thread Wes Turner
istributed system failure - "Which data series predict recession, and with what confidence?" - Known good: Bond Yield-Curve Inversion - "Which economic interventions are appropriate for the current conditions?" #EvidenceBasedPolicy On Wed, Jan 4, 2023, 4:34 PM Wes Turner w

[Edu-sig] Re: ChatGPT for py teaching

2023-01-04 Thread Wes Turner
What are the expected limitations of [ChatGPT]? What is "Prompt Engineering"? [Prompt engineering - Wikipedia]( https://en.wikipedia.org/wiki/Prompt_engineering ) What lessons about technology reliance could you teach, in regards to Clippy? - "What is ChatGPT? Wrong answers only" - Human_n:

[Edu-sig] Re: PyScript + VSCode (+Jupyter), EmscriptenForge, MambaLite, BinderLite (repo2jupyterlite), Datasette, ipycanvas + sphinx-jupyterlite

2022-09-05 Thread Wes Turner
on, Sep 5, 2022, 8:07 PM Wes Turner wrote: > "Support for PyScript & Brython" > https://github.com/microsoft/vscode-python/issues/19415 > > - > https://marketplace.visualstudio.com/items?itemName=HardeepSingh.pyscript > > Jupyter support in VSCode: > - https:/

[Edu-sig] Re: PyScript + VSCode (+Jupyter), EmscriptenForge, MambaLite, BinderLite (repo2jupyterlite), Datasette, ipycanvas + sphinx-jupyterlite

2022-09-05 Thread Wes Turner
"Support for PyScript & Brython" https://github.com/microsoft/vscode-python/issues/19415 - https://marketplace.visualstudio.com/items?itemName=HardeepSingh.pyscript Jupyter support in VSCode: - https://code.visualstudio.com/docs/datascience/jupyter-notebooks JupyterLite has p5 js support. Khan

[Edu-sig] Re: Archive Copy: High School with Jupyter Notebooks (Silicon Forest)

2022-07-06 Thread Wes Turner
```bash WEB=python -m webbrowser # Install mambaforge (which includes CPython, conda, and mamba) for your CPU/OS: $WEB https://github.com/conda-forge/miniforge#mambaforge # Install the tools mamba install -y jupyterlab povray #conda install -c conda-forge -y jupyterlab povray # pyglfw conda env

[Edu-sig] Re: chatbot to teach python?

2022-01-05 Thread Wes Turner
Student: Master Fu: Student: How do I learn pythonz? Master Fu: Prepare a document of your learnings, references, search engines Student: How do I learn pythonz? Master 2: Just take this one course Student: How do I really learn pythonz? Master Fu: Apply what you have learned to solving others'

[Edu-sig] Re: Py310: recursion with match-case

2021-11-21 Thread Wes Turner
https://docs.python.org/3/whatsnew/3.10.html#pep-634-structural-pattern-matching "PEP 636 -- Structural Pattern Matching: Tutorial" https://www.python.org/dev/peps/pep-0636/ "Computational Fairy Tales: Computer science concepts as told through fairy tales."

[Edu-sig] Re: Py310: recursion with match-case

2021-11-16 Thread Wes Turner
Actually what does that look like with a stack within one function call? Is it always possible to write recursive functions with a stack (in order to avoid and the function call overhead (which includes a locals() dict on a stack anyway for every function call)) "Why is a function/method call

[Edu-sig] Re: MineCraft with Python

2021-10-06 Thread Wes Turner
On Wed, Oct 6, 2021, 20:17 Wes Turner wrote: > SensorCraft, > https://github.com/AFRL-RY/SensorCraft - [ ] ENH: Convert to Jupyter-Book w/ Notebooks and an environment.yml for (local) repo2docker > https://news.ycombinator.com/item?id=26428340 > > > I just f

[Edu-sig] Re: MineCraft with Python

2021-10-06 Thread Wes Turner
SensorCraft, https://news.ycombinator.com/item?id=26428340 > I just found this: https://coderdojotc.readthedocs.io/projects/python-minecraft/en/latest/ > This documentation supports the CoderDojo Twin Cities’ Build worlds in Minecraft with Python code group. This group intends to teach you how

[Edu-sig] Re: a simple UI for python learners

2021-09-22 Thread Wes Turner
On Wed, Sep 22, 2021, 12:11 Wes Turner wrote: > > Presumably some of these apps built with urwid have *automated tests* of > UI functionality; in order to accelerate development progress we write the > program to test the program: the other half - or better - of the actu

[Edu-sig] Re: a simple UI for python learners

2021-09-22 Thread Wes Turner
Urwid solves a similar problem: > Similar projects > npyscreen > curtsies > Python Prompt Toolkit Src: https://github.com/urwid/urwid Docs: http://urwid.org/tutorial/ There are tests for urwid: https://github.com/urwid/urwid/tree/master/urwid/tests Presumably some of these apps built with

[Edu-sig] Re: git-based tutorial system

2021-09-07 Thread Wes Turner
tml#ipfs #fs; how to store the CRDT in the git repo with the JupyterLite build for all time On Tue, Sep 7, 2021, 10:30 Jurgis Pralgauskis wrote: > Time-travel seems most like what I expect. > But can it hold messages, and mark/tag special points in time..? > > > > 2021-09

[Edu-sig] Re: git-based tutorial system

2021-09-07 Thread Wes Turner
.io/en/latest/_static/retro/index.html Is it possible to "replay" a notebook [rtc CRDT,] in static HTML+JS+WASM with JupyterLite? On Tue, Sep 7, 2021, 09:41 Wes Turner wrote: > > CoCalc calls “Time Travel” the historic recording of all changes in a > file. This works for al

[Edu-sig] Re: git-based tutorial system

2021-09-07 Thread Wes Turner
source https://schema.org/teaches https://github.com/quobit/awesome-python-in-education#interactive-environments - [ ] has undo, etc - https://www.codesters.com/?lang=en On Tue, Sep 7, 2021, 09:29 Wes Turner wrote: > https://github.com/asciinema/asciinema > > https://github.com/m

[Edu-sig] Re: git-based tutorial system

2021-09-07 Thread Wes Turner
https://github.com/asciinema/asciinema https://github.com/marionebl/svg-term-cli : >  Render asciicast to animated SVG >  Share asciicasts everywhere (sans JS) Such as READMEs, Jupyter-book MyST Markdown and/or Jupyter notebooks https://github.com/brunopulis/awesome-a11y A11y: accessibility

[Edu-sig] Re: good programing env features?

2021-02-18 Thread Wes Turner
Having worked on a (medical) checklist app, are you looking for more of a rubric? Factor weightings for comparing potential dev environments? https://en.wikipedia.org/wiki/Rubric_(academic) https://www.google.com/search?q=rubric=isch

[Edu-sig] Re: Friendly-traceback: useful tool for those teaching Python

2021-02-03 Thread Wes Turner
%doctest_mode? output from IPython probably needs to be wrapped in a fenced code block?: ```python >>> help(help) >>> help(dir) >>> dir(dir) >>> help(__import__('IPython.display.display')) ``` On Wed, Feb 3, 2021, 15:41 Wes Turner wrote: > You can expo

[Edu-sig] Re: Friendly-traceback: useful tool for those teaching Python

2021-02-03 Thread Wes Turner
You can export notebook inputs to (hopefully mostly hyperkitty-compatible) Markdown with jupytext: ```bash conda install -c jupytext jupyterlab jupyter-lab # Pair with Markdown, light, percent, hydrogen # Click refresh in the file pane to see the jupytext-linked copy ``` Pandoc can convert the

[Edu-sig] Re: Online introductory Python course

2021-02-02 Thread Wes Turner
at the Raspberry Pi machines can > do in such small packages. The conda-forge packages should also work with containers in e.g. crouton on ARM chromebooks. > > Thanks again for the input! > > Best, > Dave > > -- > David M. Whipp, Professor > > Institute of Seismology |

[Edu-sig] Re: Online introductory Python course

2021-02-02 Thread Wes Turner
On Tue, Feb 2, 2021, 11:30 kirby urner wrote: > > Hi Dave -- > > Thank you for this excellent online course material re Python and the > geosciences. > > I've added a section to my evolving "elite school" repo listing courses > and curriculum > using Jupyter Notebooks, as I want to impress upon

[Edu-sig] Re: Happy New Year (launching edu-sig 2021)

2021-01-31 Thread Wes Turner
HyperKitty, the mailman list archive web interface (a Django app), does render Markdown: https://mail.python.org/archives/list/edu-sig@python.org/message/UAY6RKKGX6VST62LCJ6NXPCIA4CNKSXZ/ I'm actually not sure how to view the original SMTP message source in hyperkitty? Maybe as a per-user

[Edu-sig] Re: Happy New Year (launching edu-sig 2021)

2021-01-30 Thread Wes Turner
/develop/pypfi/datagenerator.py There are apparently other life skills that can probably be Python'd, though: "Ask HN: What are good life skills for people to learn?" https://news.ycombinator.com/item?id=24605807 https://westurner.github.io/hnlog/#story-24605807 On Sat, Jan 30, 2021,

[Edu-sig] Re: Happy New Year (launching edu-sig 2021)

2021-01-30 Thread Wes Turner
> (2) Here's my latest idea of a contemporary Python class, done in evolving Jupyter Notebooks, a growing maze of pages to explore and talk about (no enumeration of lessons). Is there a graph of curriculum resources with URI names that are associated with concept URIs (e.g. Wikipedia/Dbpedia

[Edu-sig] Re: py/js parralel examples/course?

2020-10-15 Thread Wes Turner
hon and JS (and/or translated). https://greenteapress.com/wp/think-python-2e/ - There'd need to be some sort of way to display the comparative code samples as grouped together but not with tabs. On 10/15/20, Wes Turner wrote: > # Python and JS resources, Jupyter notebooks and multiple languages, tools &g

[Edu-sig] Re: py/js parralel examples/course?

2020-10-15 Thread Wes Turner
uot; in the curricula around > here (less so JS, because of the reasons I mentioned -- morphing > so fast). One needn't abandon the C/C++ track as if it's now > obsolete. We're just not accustomed to offering so many branch > points in early education. There's a bias around here

[Edu-sig] Re: back to school... "1/3" --> float question, just eval?

2020-04-11 Thread Wes Turner
Glad to help! There's so much time to learn during quarantine! Writing tests for myself because I <3 them so much; and because they're the missing half of the code. Like camper_program.py, IPython is a REPL (Read Evaluate Print Loop :) ```bash $ pip install ipython; ipython ``` ```python >>> ?

[Edu-sig] Re: back to school... "1/3" --> float question, just eval?

2020-04-10 Thread Wes Turner
/nbgitpuller/ is ~free, nbgrader is ~free, CoCalc Courses includes nbgrader and is free https://cocalc.com/doc/teaching.html https://cocalc.com/doc/compare.html On Fri, Apr 10, 2020 at 6:34 PM Wes Turner wrote: > That link to GitHub Learning Lab should be: https://lab.github.com/ > -

[Edu-sig] Re: back to school... "1/3" --> float question, just eval?

2020-04-10 Thread Wes Turner
/cookiecutter-data-science - https://lab.github.com/githubtraining/create-a-release-based-workflow (90m) On Fri, Apr 10, 2020 at 5:52 PM Wes Turner wrote: > > > On Fri, Apr 10, 2020 at 4:40 PM kirby urner wrote: > >> >> Thank you very much for the pull requests Wes! I got

[Edu-sig] Re: back to school... "1/3" --> float question, just eval?

2020-04-10 Thread Wes Turner
On Fri, Apr 10, 2020 at 4:40 PM kirby urner wrote: > > Thank you very much for the pull requests Wes! I got notification by > email. > > They may be against a version that no longer exists, but no matter. We're > gonna poke around live on camera, starting in about 30 minutes. We go for > 2.25

[Edu-sig] A Quantum 'Hello World'

2020-04-10 Thread Wes Turner
"Ask HN: What's the Equivalent of 'Hello, World' for a Quantum Computer?" https://news.ycombinator.com/item?id=22707580 https://westurner.github.io/hnlog/#story-22707580 "Getting Started with Qiskit" > https://qiskit.org/documentation/getting_started.html > > Qiskit / qiskit-community-tutorials >

[Edu-sig] Re: back to school... "1/3" --> float question, just eval?

2020-04-10 Thread Wes Turner
Dumbcoin - An educational python implementation of a bitcoin-like blockchain" https://github.com/julienr/ipynb_playground/blob/master/bitcoin/dumbcoin/dumbcoin.ipynb - https://en.wikipedia.org/wiki/Hyperledger#Members_and_governance On Thu, Apr 9, 2020 at 10:30 PM Wes Turner

[Edu-sig] Re: back to school... "1/3" --> float question, just eval?

2020-04-09 Thread Wes Turner
Are there unit tests for the supported operations? Is the UI logic a separate testable unit? Does it just fatal exception when parsing fails; or does the REPL loop catch the e.g. Value error? Instead of a CLI eval wrapper with regex, you could use ipywidgets in a notebook:

[Edu-sig] Re: COVID-19 Resources, Curricula, Prompts

2020-03-28 Thread Wes Turner
ttps://hyperledger-fabric.readthedocs.io/en/latest/ On Tue, Mar 24, 2020, 10:39 AM Wes Turner wrote: > Khan Academy resources: > > "Estimating actual COVID 19 cases (novel corona virus infections) in an > area based on deaths" on YouTube > https://youtu.be/mCa0JXEwD

[Edu-sig] Re: COVID-19 Resources, Curricula, Prompts

2020-03-24 Thread Wes Turner
org/partner-content/learnstorm-growth-mindset-activities-us On Tue, Mar 24, 2020, 10:26 AM Wes Turner wrote: > Why does this turn negative at 40 timesteps? > > !conda install -y pandas matplotlib || pip install -y pandas matplotlib > > %matplotlib inline > > import pandas as

[Edu-sig] Re: COVID-19 Resources, Curricula, Prompts

2020-03-24 Thread Wes Turner
( lambda x: '{:,}'.format(x)) ... Jupyter keyboard shortcuts: a -- insert cell above b -- insert cell below -- split cell at cursor m -- set cell type to Markdown y -- set cell type to Code On Tue, Mar 24, 2020, 9:49 AM Wes Turner wrote: > https://en.wikipedia.org/wiki/Epidemiology > &

[Edu-sig] Re: COVID-19 Resources, Curricula, Prompts

2020-03-24 Thread Wes Turner
://en.wikipedia.org/wiki/Technology_adoption_life_cycle#See_also On Tue, Mar 24, 2020, 9:36 AM Wes Turner wrote: > A thread to share [collections of] resources, curriculum ideas, etc. about > and for during the COVID-19 epidemic > > Lots of analyses, some data, some helpful contributions, lo

[Edu-sig] COVID-19 Resources, Curricula, Prompts

2020-03-24 Thread Wes Turner
A thread to share [collections of] resources, curriculum ideas, etc. about and for during the COVID-19 epidemic Lots of analyses, some data, some helpful contributions, lots of people learning about exponential growth One video I saw mentioned that a person normal flu infects about 1.3-1.4 other

[Edu-sig] Re: Learning Code IRC for kids?

2020-03-20 Thread Wes Turner
pyt...@gmail.com> wrote: > This answer should have been added on the awesome answer repo! > > Kind Regards, > > Abdur-Rahmaan Janhangeer > compileralchemy.com <https://www.compileralchemy.com> | github > <https://github.com/Abdur-rahmaanJ/> > Mauritius > > > On We

[Edu-sig] Re: Learning Code IRC for kids?

2020-03-18 Thread Wes Turner
On Wed, Mar 18, 2020, 6:59 AM Jason Blum wrote: > > Hello! > > I've been toying with the idea of recruiting mentors to commit to one hour > a week to moderate a channel on https://gitter.im/ or > https://discordapp.com/ or even IRC, specifically geared towards > supporting kids working through

[Edu-sig] Re: arbitrary precision computing in K-12

2020-01-30 Thread Wes Turner
On Wed, Jan 29, 2020, 5:59 PM kirby urner wrote: > > > Yes, I've especially used gmpy2 and met the maintainer at a user group, > worked at Mentor Graphics as I recall, and was collaborating with Alex > Martelli on getting Python such a library. Most of my Jupyter Notebooks > exploring high

[Edu-sig] Re: arbitrary precision computing in K-12

2020-01-29 Thread Wes Turner
There's a three.js renderer for 3D graphics in Sage: https://doc.sagemath.org/html/en/reference/plot3d/ On Wed, Jan 29, 2020, 5:21 PM Wes Turner wrote: > You've probably already considered SymPy or Sage (which is installable > with conda now)? > > > https://docs.sympy.or

[Edu-sig] Re: arbitrary precision computing in K-12

2020-01-29 Thread Wes Turner
You've probably already considered SymPy or Sage (which is installable with conda now)? https://docs.sympy.org/1.5.1/modules/evalf.html : >>> N(sqrt(2)*pi, 5) 4.4429 >>> N(sqrt(2)*pi, 50) 4.4428829381583662470158809900606936986146216893757 https://github.com/sympy/sympy/wiki/Dependencies : >

[Edu-sig] Re: Online python learning environment available

2020-01-28 Thread Wes Turner
Hey cool! https://github.com/quobit/awesome-python-in-education/blob/master/README.md#interactive-environments On Tue, Jan 28, 2020, 3:02 PM Juliano wrote: > Exciting! > Congratulations. > > Juliano Fischer Naves > > Please do not send me Microsoft Office/Apple iWork documents. Send >

[Edu-sig] Re: Module for writing a new type of exercises for programming tutorials

2019-08-05 Thread Wes Turner
On Monday, August 5, 2019, kirby urner wrote: > > > Like many contemporary authors and curriculum developers, I've been > introducing Jupyter Notebooks as a good mix of skills, as you have both the > Python and the web page design aspects. Again, none of this works well on > a smartphone. >

[Edu-sig] Re: Module for writing a new type of exercises for programming tutorials

2019-08-05 Thread Wes Turner
nbgrader and/or jupyter-edx-grader-xblock may be useful for your use cases as well. It's a good idea to run Python code in containers or in JS in the browser. JupyterHub helps with running code in containers. TLJH (The Littlest JupyterHub) is one way to host Jupyter notebooks with nbgrader for

[Edu-sig] Re: Migrating edu-sig to Mailman3/HyperKitty

2019-07-11 Thread Wes Turner
Thanks! On Thursday, July 11, 2019, Naomi Ceder wrote: > Lovely! Thank you, Mark! > > Cheers, > Naomi > > On Thu, 11 Jul 2019 at 13:32, Mark Sapiro wrote: > >> On 7/11/19 9:38 AM, Naomi Ceder wrote: >> > As one of the moderators/owners I'd be all in favor... it makes things >> > so much easier

[Edu-sig] Migrating edu-sig to Mailman3/HyperKitty

2019-07-11 Thread Wes Turner
What say we migrate edu-sig to mm3? -- Forwarded message -- From: *Victor Stinner* Date: Wednesday, June 5, 2019 Subject: [Python-Dev] python-ideas and python-dev migrated to Mailman 3/HyperKitty To: python-dev Hi, Our kind postmasters Mark Sapiro and Abhilash Raj migrated

Re: [Edu-sig] seasonal challenge to calculator dominance in high schools

2019-06-23 Thread Wes Turner
On Sunday, June 23, 2019, kirby urner wrote: > > > On Sun, Jun 23, 2019 at 4:12 PM Wes Turner wrote: > > >> Yes, my friend Gerald de Jong was a first adapter of "elastic interval >>> geometry" where every "rod" is a tension-compression spring g

Re: [Edu-sig] seasonal challenge to calculator dominance in high schools

2019-06-23 Thread Wes Turner
On Sunday, June 23, 2019, kirby urner wrote: > > > On Sun, Jun 23, 2019 at 12:57 PM Wes Turner wrote: > >> >> >> On Sunday, June 23, 2019, C. Cossé wrote: >> >>> I'll bet every one of those graphing calcs has also been replicated as a >>>

Re: [Edu-sig] seasonal challenge to calculator dominance in high schools

2019-06-23 Thread Wes Turner
d be fine. > > On Sun, Jun 23, 2019 at 12:14 PM Wes Turner wrote: > >> > It would be a good team-teaching lesson, one teacher on the white-board >> lecturing, and the other typing the python-translation of the lecture into >> code on a big screen. >> &

Re: [Edu-sig] seasonal challenge to calculator dominance in high schools

2019-06-23 Thread Wes Turner
time including timezones and daylight savings definitely core >> curriculum, no question, glad we have datetime tools. >> >> Again, back to the end of the calculator era, they suck at calendar >> datetime, and besides, the API of a bazzillion little buttons sucks. >

Re: [Edu-sig] seasonal challenge to calculator dominance in high schools

2019-06-23 Thread Wes Turner
del the cognitive process of model development? Modeling a mature process for correcting for mistakes and errors is sometimes absent from prepared demos that make it look like it's so easy for *them* (because they spent time preparing and rehearsing) On Sunday, June 23, 2019, Wes Turner wrote: > > &g

Re: [Edu-sig] seasonal challenge to calculator dominance in high schools

2019-06-23 Thread Wes Turner
On Sunday, June 23, 2019, C. Cossé wrote: > > > On Sun, Jun 23, 2019 at 11:36 AM Wes Turner wrote: > >> >> In one lesson developing a simple solar system in pygame, for example, >> you can teach everything from the meaning of pi, periodic motion, dynamic &g

Re: [Edu-sig] seasonal challenge to calculator dominance in high schools

2019-06-23 Thread Wes Turner
... Number representations: change of base; Columns in e.g. Pandas; Trigonometry: Sin, Cos On Sunday, June 23, 2019, Wes Turner wrote: > > > On Sunday, June 23, 2019, C. Cossé wrote: > >> Hi Kirby, >> >> I think kids should write their own plotting routines to gra

Re: [Edu-sig] seasonal challenge to calculator dominance in high schools

2019-06-23 Thread Wes Turner
On Sunday, June 23, 2019, C. Cossé wrote: > Hi Kirby, > > I think kids should write their own plotting routines to graph their > functions starting anywhere 3rd-7th grade. > > In one lesson developing a simple solar system in pygame, for example, you > can teach everything from the meaning of

Re: [Edu-sig] seasonal challenge to calculator dominance in high schools

2019-06-23 Thread Wes Turner
After K-12 years of compulsory math education, no-one (no-one!) taught me that there are CAS (Computer Algebra Systems) like SymPy and Sage; other than that better calculators are not allowed because that's an unfair advantage. Simplified cost and revenue models with fixed and variable expenses

Re: [Edu-sig] what is 'self'? (plus link to Trey's article on callability)

2019-04-16 Thread Wes Turner
Or ``a.__get__('x')`` ? On Tuesday, April 16, 2019, Wes Turner wrote: > > Direct Call > The simplest and least common call is when user code directly invokes a > descriptor method: x.__get__(a). > > Should this be `a.__get__(x)`? > > On Tuesday, April 16, 2019, Wes Turn

Re: [Edu-sig] what is 'self'? (plus link to Trey's article on callability)

2019-04-16 Thread Wes Turner
> Direct Call The simplest and least common call is when user code directly invokes a descriptor method: x.__get__(a). Should this be `a.__get__(x)`? On Tuesday, April 16, 2019, Wes Turner wrote: > When you access an attribute of a class object (a dict), the class > attribute is

Re: [Edu-sig] what is 'self'? (plus link to Trey's article on callability)

2019-04-16 Thread Wes Turner
When you access an attribute of a class object (a dict), the class attribute is looked up by __get__(). the class's instance of that function attribute is 'bound'; it receives 'self' (an object reference) as its first argument. If you write your own __get__ (e.g. with functools.partial or

Re: [Edu-sig] the string type (was: making types matter (notes for beginners))

2019-01-29 Thread Wes Turner
x value '\u0394' >>> "\U0394" # Using a 32-bit hex value '\u0394' ... The u is silent (and optional). On Tuesday, January 29, 2019, Wes Turner wrote: > > > On Tuesday, January 29, 2019, kirby urner wrote: > >> >> Thanks Wes,

Re: [Edu-sig] the string type (was: making types matter (notes for beginners))

2019-01-29 Thread Wes Turner
On Tuesday, January 29, 2019, kirby urner wrote: > > Thanks Wes, especially for the URLs relating type theory to "HoTT" by way > category theory. > > My friend and co-podcaster Alex, a math-physics-philo guy, has been > pushing me to bone up in that area [1]. Those links really helped. >

Re: [Edu-sig] making types matter (notes for beginners)

2019-01-25 Thread Wes Turner
https://en.wikipedia.org/wiki/Type_theory https://en.wikipedia.org/wiki/Type_theory#Difference_from_set_theory https://en.wikipedia.org/wiki/Type_theory#Relation_to_category_theory https://en.wikipedia.org/wiki/Homotopy_type_theory ("HoTT") https://en.wikipedia.org/wiki/Type_signature ("Type

Re: [Edu-sig] Question about certifying teachers

2019-01-25 Thread Wes Turner
This approach will expand (even further) the interoperability that exists within the Open Badge ecosystem. On Friday, January 25, 2019, Wes Turner wrote: > OpenBadges > > https://openbadges.org/get-started/issuing-badges/ > > > Open Badges provide a flexible way to recognize lear

Re: [Edu-sig] Question about certifying teachers

2019-01-24 Thread Wes Turner
OpenBadges https://openbadges.org/get-started/issuing-badges/ > Open Badges provide a flexible way to recognize learning wherever it happens, in and out of formal education and the workplace. They can represent any achievement from simple participation to evidence-backed competency development.

Re: [Edu-sig] Jupyter Notebooks in the news again, thanks to Paul Romer Nobel Prize

2018-10-10 Thread Wes Turner
"Citing packages in the SciPy ecosystem" https://www.scipy.org/citing.html "[Python-Dev] Official citation for Python" - Tools for citations - Whether it's even appropriate to cite Python? - How to cite a version of a schema:SoftwareApplication

Re: [Edu-sig] adventures in using Python as a calculator

2018-10-07 Thread Wes Turner
Speaking of proofs and not calculators, this dropped on HN this week: "Formalizing 100 theorems in Coq" > This is an appendix to Freek Wiedijk's webpage on the "top 100" mathematical theorems, to keep track of the statements of the theorems that are formalised in Coq. https://madiot.fr/coq100/

Re: [Edu-sig] REQ: HOWTO mailing lists resources

2018-09-24 Thread Wes Turner
ng out a use case vis-a-vis mailman, > confirming insights by Wes. > > On Thu, Aug 30, 2018 at 3:16 PM Wes Turner wrote: > > ... > >> TBH, securing and upgrading mailing lists is beyond the competencies of >> most volunteer-run organizations; >> which is

Re: [Edu-sig] REQ: HOWTO mailing lists resources

2018-08-30 Thread Wes Turner
Mailman list admin resources, scope clarification Here are the mailman 3 docs: http://docs.mailman3.org/en/latest/ IDK how much of the mailman 2 docs still apply? https://www.gnu.org/software/mailman/docs.html Here's the first result for search("docker mailman")

Re: [Edu-sig] REQ: HOWTO mailing lists resources

2018-08-30 Thread Wes Turner
ists - [x] python-ideas - [x] python-dev - [ ] tutor "Python Community Code of Conduct" https://www.python.org/psf/codeofconduct/ But where does it teach me TO mailing list? I think that's the real question here. On Thursday, August 30, 2018, Wes Turner wrote: > > > On Thursda

Re: [Edu-sig] REQ: HOWTO mailing lists resources

2018-08-30 Thread Wes Turner
On Thursday, August 30, 2018, Wes Turner wrote: > > Was: "Re: [Edu-sig] Python teacher notes, preparing for class..." > Here's a link to the thread this is forked from: https://mail.python.org/pipermail/edu-sig/2018-August/012007.html https://markmail.org/search/?q=list%3

[Edu-sig] REQ: HOWTO mailing lists resources

2018-08-30 Thread Wes Turner
What are some good resources for learning how to mailing list? Was: "Re: [Edu-sig] Python teacher notes, preparing for class..." On Thursday, August 30, 2018, Wes Turner wrote: > Mailing list tips and tricks, PEPs, Write the Docs > > Since you asked, although

Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-30 Thread Wes Turner
¶" https://devguide.python.org/documenting/ The ultimate source of Python documentation (an often-cited strength of Python as a language choice): https://github.com/python/cpython/tree/master/Doc "16. Accepting Pull Requests¶" https://devguide.python.org/committing/ On Thursday, Augus

Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-30 Thread Wes Turner
On Thursday, August 30, 2018, kirby urner wrote: > > > Thanks. Yes, I'll add some links to the docs as you suggest. Great > feedback! > Glad to be helpful. I've trimmed out the text I'm not replying to and tried to use plaintext only in order to: make sure the thread stays below the 40K

Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-30 Thread Wes Turner
> By default, the sorted function looks at the leftmost element of a tuple or other iterable, when sorting... AFAIU, sorted() compares the whole object. https://docs.python.org/3/howto/sorting.html >>> l = [(3, 2), (3, 1), (1, 1, 2), (1, 1)] >>> sorted(l) [(1, 1), (1, 1, 2), (3, 1), (3, 2)]

Re: [Edu-sig] Python teacher notes, preparing for class...

2018-08-27 Thread Wes Turner
On Monday, August 27, 2018, kirby urner wrote: > > My flight plan for sharing Python this evening, adult audience, real time > in cyberspace, includes going backstage to survey the Python for Developers > view. > > That will mean optionally cloning the Github site that's mainly a Sphinx > HTML

[Edu-sig] What to teach: sorting algorithms vs OOP?

2018-08-16 Thread Wes Turner
Optimization for real-world data. Morse code is a good one; which leads to the entropy of real-world English letters: how probable are the letters A, E, and Z? How probable is the 3-gram of letters 'AEZ'? A well-balanced tree could take this knowledge into account and sparsely add 'nodes' without

Re: [Edu-sig] What to teach: sorting algorithms vs OOP?

2018-08-14 Thread Wes Turner
Someone can probably better explain how setattr(object) and setattr(object()) work in regards to `self` as a bound positional parameter? Also, @classmethod and @staticmethod. On Tuesday, August 14, 2018, Wes Turner wrote: > You can probably do sorting, inheritance, and interfaces at the s

[Edu-sig] What to teach: sorting algorithms vs OOP?

2018-08-14 Thread Wes Turner
You can probably do sorting, inheritance, and interfaces at the same time? An ISortable object must have a .sort() method. e.g. DoublyLinkedList(LinkedList). "15 Sorting Algorithms in 6 Minutes" https://youtu.be/kPRA0W1kECg - # of comparisons - # of array accesses ... Big-O Cheat Sheet

Re: [Edu-sig] False alarms?

2018-07-16 Thread Wes Turner
- [ ] Develop URIs for K12CS framework, Common Core, Khan Academy concepts - [ ] Encourage educational CreativeWork creators to include schema.org markup in their HTML: - schema.org/about - schema.org/educationalAlignment .url @id - https://schema.org/educationalFramework - [ ] Develop

Re: [Edu-sig] Editors/IDEs for teaching

2018-07-03 Thread Wes Turner
Spyder has code cell support for evaluating a delimited block of code at a time: ```python #%% cell 1 print(1) # In[0]: (cell 2) print(2) ``` - Ctrl-Return -- Run cell - Shift-Return -- Run cell and advance $ conda install -y spyder You can export Jupyter notebooks to .py files with the

Re: [Edu-sig] creative unplugged activities in computer science classes

2018-06-24 Thread Wes Turner
> 4. Create a visualization The Khan Academy Computer Programming "Intro to JS" videos and exercises are done with ProcessingJS for visualizations: https://www.khanacademy.org/computing/computer-programming On Sunday, June 24, 2018, Wes Turner wrote: > > > On Sunday,

Re: [Edu-sig] creative unplugged activities in computer science classes

2018-06-24 Thread Wes Turner
On Sunday, June 24, 2018, wrote: > Dear Python educators, > > > > teaching Python includes explaining technical facets of the programming > language and initiating and scaffolding hands-on programming exercises. > > However, especially if the object of the course is to develop > “computational

Re: [Edu-sig] Collaboratively developing OER Python textbooks.

2018-06-18 Thread Wes Turner
eases.rst > Note > Coming Soon > > We’re actively working on a graphic that displays each project, their current release, and a link to the changelog. Thanks for your patience > > > Sergio > > > > Sent: Sunday, June 17, 2018 at 4:32 PM > From: "Wes Turner

Re: [Edu-sig] Collaboratively developing OER Python textbooks.

2018-06-17 Thread Wes Turner
Jupyter, binder-ready, GitHub Topics, Framework :: Jupyter - https://github.com/markusschanta/awesome-jupyter awesome-jupyter - https://github.com/westurner/awesome-jupyter/blob/59e79fb96537d9e65bfb3e027b988956b2e42f42/README.md#jupyter-notebook-jupyterhub-jupyterlab -

Re: [Edu-sig] Collaboratively developing OER Python textbooks.

2018-06-14 Thread Wes Turner
On Thu, Jun 14, 2018 at 3:29 PM kirby urner wrote: > > I notice the worries about dragons expressed here: > > http://www.openbookproject.net/books/StudentCSP/CSPRepeatNumbers/range.html > > The type versus function distinction is too big an idea to get into here. > Skulpt is 2.x flavored for

Re: [Edu-sig] another perennial topic... callable functions versus types

2018-06-08 Thread Wes Turner
On Fri, Jun 8, 2018 at 10:47 PM Wes Turner wrote: > Python parameter and return type hints are expressed as function > annotations which import and derive types from the typing module and the > typeshed. > > - PEP 3107 -- Function Annotations > https://www.python.org

Re: [Edu-sig] another perennial topic... callable functions versus types

2018-06-08 Thread Wes Turner
Python parameter and return type hints are expressed as function annotations which import and derive types from the typing module and the typeshed. - PEP 3107 -- Function Annotations https://www.python.org/dev/peps/pep-3107/ - PEP 0484 -- Type Hints https://www.python.org/dev/peps/pep-0484/

Re: [Edu-sig] names versus objects, reference counting etc. (was Code to Joy...)

2018-06-04 Thread Wes Turner
On Sunday, June 3, 2018, kirby urner wrote: > Responding to the most recent by Wes... > > Excellent & Comprehensive. Thanks for bringing sys.refcount to the table. > > I think newcomers sometimes grow in confidence when they get these peeks > into back stage behind-the-scenes stuff. > > As long

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

2018-06-03 Thread Wes Turner
From https://gist.github.com/westurner/6f165149df59d697b997d305e9743dee#file-010-variables-ipynb : # coding: utf-8 # # Python variables, references, aliases, garbage collection, scope # - Objective: teach CS variables, references, and aliases # - Objective: identify differences between

  1   2   >