[Edu-sig] introducing python

2024-04-18 Thread kirby urner
When I start introducing Python I use this chart [1]: Five Dimensions of Python: - Level 0: core syntax with keywords & punctuation, indentation (import, if...) - Level 1: a large set of built-ins (e.g. print) - Level 2: special names with the double underlines - Level 3:

[Edu-sig] Re: Lightning Talk: Quadrays with Python

2024-04-08 Thread kirby urner
On Mon, Apr 8, 2024 at 12:39 PM kirby urner wrote: > Fond memories. [1] [1] https://flic.kr/s/aHsjyyLxcQ (pix from a Pycon in Santa Clara) https://youtu.be/iBvd5gU2sgY (another Lightning Talk -- at Santa Clara) https://www.linkedin.com/pulse/pythonic-andragogy-kirby-urner/ (on Pytho

[Edu-sig] Lightning Talk: Quadrays with Python

2024-04-08 Thread kirby urner
https://youtu.be/enO1vgOJxwM Were I to join the Saturday Morning queue, and share a Lightning Talk at a Pycon. Fond memories. [1] This 4 min 38 sec YouTube speaks to teachers in that Venn Diagram where the set of math teachers and set of Python programmers intersect. edu-sig has always

[Edu-sig] Re: Grokking Python

2024-03-04 Thread kirby urner
On Mon, Mar 4, 2024 at 1:09 AM DL Neil via Edu-sig wrote: > On 4/03/24 06:30, kirby urner wrote: > > On Sat, Mar 2, 2024 at 3:37 PM Wes Turner > <mailto:wes.tur...@gmail.com>> wrote: > > > > They're dunder methods; double-underscore > > > > &

[Edu-sig] Re: Grokking Python

2024-03-03 Thread kirby urner
On Sat, Mar 2, 2024 at 3:37 PM Wes Turner wrote: > They're dunder methods; double-underscore > > Certainly they are and my intro definitely includes this information. Check out the following Dog class, endowed with two of Python’s “magic methods” also known as: “dunder methods” (with “dunder”

[Edu-sig] Grokking Python

2024-02-14 Thread kirby urner
Long termers here will likely remember my fave Pythonic Pedagogy: to introduce special names as __ribs__. Because pythons have lots of __ribs__. I've not abandoned this idea, just haven't been redundantly reposting about it here for some time. But now... Why not share a couple "friend links"

[Edu-sig] boosting sympy (again)

2024-02-11 Thread kirby urner
I've linked to this Notebook previously, however seeing as it's on Github, it keeps getting updated (just by me in this scenario): https://nbviewer.org/github/4dsolutions/m4w/blob/main/Polyhedrons.ipynb Github view: https://github.com/4dsolutions/m4w/blob/main/Polyhedrons.ipynb This Notebook

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

2024-01-25 Thread kirby urner
Thanks for jumping in David. I concur, the Excel environment is a productive "home base" for deriving the visualizations and is in many cases is sufficient. In the Office model, one is then expected to embed said visualizations in a Word document, perhaps exporting to PDF, if wanting to add more

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

2024-01-25 Thread kirby urner
own experience with regional faculties. Kirby Urner Oregon Curriculum Network -- Forwarded message - From: kirby urner Date: Thursday, January 25, 2024 at 7:39:09 AM UTC-8 Subject: Synergetics in K-12 To: trimtab-book-c...@googlegroups.com The post below goes back to our

[Edu-sig] reintroduction, link to latest repo

2023-12-11 Thread kirby urner
github.com/4dsolutions/m4w/blob/main/m4w_hmwk_oct22_2023.ipynb Something fun: https://econgoat.ai/en Kirby Urner 4dsolutions.net usa.or.pdx (Portland) ___ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to edu-sig-le...@python

[Edu-sig] my recent YouTube mentioning edu-sig

2023-09-13 Thread kirby urner
FYI: https://youtu.be/KUBA9Z8PRpU It's mostly about books, but edu-sig is mentioned. Kirby ___ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to edu-sig-le...@python.org

[Edu-sig] pandas outside of data science (exhibit)

2023-06-20 Thread kirby urner
I just got Reuven M. Lerner's Bamboo Weekly (I'm a subscriber) which asks what I use Python for and talks (succinctly) about pandas. This specimen is interesting I think... https://nbviewer.org/github/4dsolutions/School_of_Tomorrow/blob/master/Synchronizing_on_S.ipynb ... because I'm using

[Edu-sig] exhibit on Replit

2023-06-13 Thread kirby urner
Sometimes my students are also learning English and it's fun to build on that. However, even if you're perfectly fluent in English, the following exhibit might prove instructive, regarding Python: """ This type of object gets along with nobody! or·ner·y ˈôrn(ə)rē/ adjective North American

[Edu-sig] Update from Silicon Forest

2023-04-05 Thread kirby urner
Originally from Math4Wisdom public listserv, hosted by Andrius Kulikauskas, PhD. https://www.freelists.org/list/math4wisdom From: kirby urner Date: Wed, Apr 5, 2023 at 8:16 AM Subject: Re: [math4wisdom] Re: What is algebra? How do we describe adding, subtracting, multiplying, dividing? To: M4W

[Edu-sig] Python on background for data analyst track

2023-03-01 Thread kirby urner
As some of us will have experienced, quite a few budding data analysts in training will come to Python via numpy and pandas, heading towards seaborn and dash, perhaps from past experience in R or Matlab, perhaps not. They've never yet had a core Python class, but are likely to have one in the

[Edu-sig] Learning Math with Python

2023-01-27 Thread kirby urner
I was glad to see FreeCodeCamp recommending a math-with-Python course just now. Description, with links, appended. A lot of us on edu-sig have advocated for and/or practiced this genre for some decades, with in-person summits and everything. We're a hub! I've long been working in the same

[Edu-sig] Re: How can i shift my website to python?

2022-12-27 Thread kirby urner
I'd say there's no easy wix --> Django migration path, with Django a premier and free Python website development framework. You'd need to start over. Why, though? What's wrong with wix? What do you imagine you would get out of a Python do-over? Feel free to contact me off list. edu-sig tends

[Edu-sig] lightning talk (YouTube < 3 mins) re PyScript

2022-09-05 Thread kirby urner
https://youtu.be/obZqST6mBn8 (2 mins 41 secs) My first video on PyScript. Alludes to other topics in my Python for High School stuff. https://github.com/4dsolutions/elite_school/blob/master/PY4HS.ipynb Kirby ___ Edu-sig mailing list --

[Edu-sig] answer on Quora re common misconceptions re Python

2022-07-21 Thread kirby urner
I've written a ton of answers on Quora over the years. This latest answer links to our edu-sig home page and talks about Python in education. https://qr.ae/pvkQkA Kirby ___ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to

[Edu-sig] reviewing PY4HS (Python for High School) pedagogy / andragogy

2022-07-12 Thread kirby urner
The pedagogy I'm showcasing below follows my theme of "classes first" and/or "classes early" i.e. we can capitalize on the object oriented perspective encapsulating how we think in human terms, about objects (known as "things" in the vernacular (joke)). Granted some my find the object oriented

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

2022-07-06 Thread kirby urner
/4dsolutions/School_of_Tomorrow/blob/master/Flextegrity_Lattice.ipynb On Tue, Jul 5, 2022 at 7:32 PM kirby urner wrote: > > > -- Forwarded message - > From: Sunshine Elite Education > Date: Tue, Jul 5, 2022 at 6:47 PM > Subject: Python III: Python Programming and Data

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

2022-07-05 Thread kirby urner
-- Forwarded message - From: Sunshine Elite Education Date: Tue, Jul 5, 2022 at 6:47 PM Subject: Python III: Python Programming and Data Structure for High School : July 5: after class To: Cc: Greetings students -- This is in followup to our first meetup, which just ended.

[Edu-sig] High School Mathematics (Silicon Forest, Python ecosystem)

2022-06-10 Thread kirby urner
I'm just winding up the winter-spring term. This was actually an 8th grader cohort, pre highschool, but it's an accelerated curriculum. They're already doing vector cross products in physics. https://github.com/4dsolutions/elite_school/blob/master/ADS_highschool_math.ipynb I'm continuing to

[Edu-sig] Fwd: Data Structure and Algorithms in Python: May 29: After Class Review

2022-05-29 Thread kirby urner
I share these emails to my students from time to time, to document the progress of an 8th grade online class. The Notebook I was working on today. https://github.com/4dsolutions/elite_school/blob/master/TheCabal.ipynb -- Kirby == From: Sunshine Elite Education Date: Sun, May 29, 2022

[Edu-sig] documenting the evolution of a 21st century high school course (Silicon Forest)

2022-05-15 Thread kirby urner
An email to students, after Zoom class this evening: -- Forwarded message - From: Sunshine Elite Education Date: Sun, May 15, 2022 at 9:32 PM Subject: Data Structure and Algorithms in Python: May 15: After class (re Quicksort) To: Thanks for joining me this evening. The

[Edu-sig] exhibit: teacher to students, pre-class email, Silicon Forest May, 2022

2022-05-08 Thread kirby urner
From: Sunshine Elite Education Date: Sun, May 8, 2022 at 12:07 PM Subject: Data Structure and Algorithms in Python: Sunday May 8: Pre Class Prim's Algorithm Greetings guys -- In the old days of purely paper textbooks, adding to them or changing them was hard and only happened from one edition

[Edu-sig] snapshot 2022: data structures and algorithms

2022-04-28 Thread kirby urner
In a few minutes I'll join Sunshine Elite Education online and help out like a gym coach in some ways, because Algorithms and Data Structures, at the 8th grade level, is a doorway into a competitive sport: competitive programming (CP). Although the contests are geared towards youth, say high

[Edu-sig] Re: Fwd: exhibit: after class note to students, Silicon Forest elite school

2022-04-21 Thread Kirby Urner
Sorry about the crummy formatting guys, of the forwarded missive. I would have provided a link but TrimTab BookClub is a private archive. Here I'm just 1-2-3 testing that I can sign into edu-sig directly and post through the HyperKitty interface. Any feedback is welcome of course. On this

[Edu-sig] Fwd: exhibit: after class note to students, Silicon Forest elite school

2022-04-21 Thread kirby urner
-- Forwarded message - From: kirby urner Date: Wednesday, April 20, 2022 at 7:50:48 PM UTC-7 Subject: Re: exhibit: after class note to students, Silicon Forest elite school To: Trimtab Book Club A very similar letter to my recent one, why? I'm teaching two groups

[Edu-sig] update re Algorithms and Data Structures (pre college)

2022-04-21 Thread kirby urner
What I didn't fully realize, when I signed on as the Algorithms and Data Structures teacher, for two groups of 8th graders, is that ADS is pretty much the property of CPers at the age level. CPers? Competitive Programmers. They join olympiads

[Edu-sig] a curriculum dev in the Silicon Forest

2022-04-03 Thread kirby urner
I'm continuing to develop curriculum for a tiny elite college prep school smack in the center of the Silicon Forest, a place called Bethany Village, which specializes in offering after school elective time activities (e.g. martial arts, foreign language learning). [0] Nearby: Intel, Tektronix,

[Edu-sig] EliteSchool Repo meets Stanford GraphBase

2022-03-12 Thread kirby urner
I was following the Wordle craze, looking for a list of five-letter words. Little did I know I'd stumble upon the Stanford GraphBase. https://github.com/4dsolutions/elite_school/blob/master/ADS_research_1.ipynb There's also some Pi Day stuff, for teachers taking advantage of 3-14. Kirby

[Edu-sig] update from Bridge City (PDX) aka Stump Town

2022-01-26 Thread kirby urner
[ see notes for my guide to names for Portland ] Greetings Pythonistas -- One of my usual updates regarding curriculum dev from my angle. These days I've been hacking on: https://github.com/4dsolutions/elite_school/blob/master/ADS_intro_1.ipynb

[Edu-sig] changes to github...

2021-12-11 Thread kirby urner
Of relevance to curriculum writers such as myself is a change in how Github redirects links to the same repo, if said link is to a Jupyter Notebook. It used to be that Markup like [Volumes](Volumes.ipynb), i.e. no path, just a Notebook name, would work in a Github repo. A student could jump from

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

2021-11-20 Thread kirby urner
-recursive versions on REPL. Anyway, the computer science angle is important, not just the Blender / CAD / CAM. Kirby On Tue, Nov 16, 2021 at 5:58 PM kirby urner wrote: > > So are we encouraged to use match-case in recursion instead of if-else? > > It's more readable this way ma

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

2021-11-16 Thread kirby urner
So are we encouraged to use match-case in recursion instead of if-else? It's more readable this way maybe: cubocta310.py: def cubocta(n): """ https://oeis.org/A005902 """ match n: case 0: return 1 case _: return (10*n*n + 2) + cubocta(n - 1) print([cubocta(i)

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

2021-10-01 Thread kirby urner
When introducing the concept of the REPL, and how not every language has one, I tend to say "like a chat bot". In other words, Python the interpreter, talking back (evaluation) is a chat bot. "Learn to think like the snake" I say to Grasshopper [1]. When she raises an exception (hiss),

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

2021-09-22 Thread kirby urner
I did pip install this and get it working without problems. As someone who designs curricula, I'm glad to know about it. Using curses module, not Tk. Kirby On Wed, Sep 15, 2021 at 3:58 AM Kent Tong wrote: > Hi, > I have written a small Python package (https://pypi.org/project/lineui/) > to

[Edu-sig] Re: update on Pythonic High School curriculum writing

2021-08-20 Thread kirby urner
Hi Al, I'm glad you picked up on that link back to Shadowfax. I've finally picked up on your initial A. and added that to the hyperlink [1]. I consider this hardwiring into a sort of textbook (more like a trade book in some respects -- what's a Jupyter Notebook by genre anyway?) and am happy to

[Edu-sig] update on Pythonic High School curriculum writing

2021-08-20 Thread kirby urner
Here's an updated link to my open source curriculum writing. https://nbviewer.jupyter.org/github/4dsolutions/elite_school/blob/master/Home.ipynb Pythonic High School Math one might call it, with bridges to other STEAM topics, and thence to PATH. [1] I introduce folks to my Notebooks using

[Edu-sig] documenting the state of the art (Silicon Forest)

2021-08-13 Thread kirby urner
Pythonic Math in Portland, August 2021: https://nbviewer.jupyter.org/github/4dsolutions/elite_school/blob/master/Aug11_week_class.ipynb Kirby ___ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to edu-sig-le...@python.org

[Edu-sig] Re: summer school enrichment course: advance high school topics in Python

2021-06-29 Thread kirby urner
On Mon, Jun 28, 2021 at 5:00 PM calcp...@aol.com wrote: > Hi Kirby, > Cool stuff! Meanwhile, back at the college, I'm teaching Multivariable > Calculus using Jupyter Notebooks with NumPy and SymPy. See my blog if you > are interested, > http://shadowfaxrant.blogspot.com > > Yes. As usual,

[Edu-sig] summer school enrichment course: advance high school topics in Python

2021-06-25 Thread kirby urner
When I introduce OOP to high schoolers, I go straight to this word "object" and link it with the word "thing" in the ordinary sense of the word. Objects are not meant to be learned as an abstract computer science idea, but as an adaptation of ordinary language, trying to make reasoning about the

[Edu-sig] following up on edu summit (pycon 2021)

2021-05-13 Thread kirby urner
Greetings all. Good to see some of you at the Edu Summit. Many thank you to the organizers for allowing me to join in the end. Andre gave a fabulous talk on friendly, the enhanced, multi-lingual traceback explainer. My lightning talk came at the end. For those who couldn't be there, I'm

[Edu-sig] Looking forward to Pycon, although Education Summit is full

2021-05-04 Thread kirby urner
I did a proposal for Pycon really early, then realized the Education Summit was separate. Now the latter is full and closed. I'm in the Trainers' Summit, but the Education Summit is full. Even to those of us who would just listen on Zoom? Oh well, good thing I turned my presentations in

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

2021-02-08 Thread kirby urner
Me: If I ask for type(__builtins__) I get a list of all the things dicts can do, not the contents of the module. Of course I should have said dir(__builtins__) above (not type). Anyway, I was glad to clear this up. I’m guessing the use of both __builtin__ and __builtins__ is not Spyder’s

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

2021-02-08 Thread kirby urner
Andre: I think you mean simply __builtins__, without the dir(). I was puzzled by this remark at first but now I’m seeing why. When I boot into the Python shell directly from bash, and ask for the type of __builtins__ i.e. type(__builtins__), I get back that it’s a module. Then

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

2021-02-03 Thread kirby urner
On Tue, Feb 2, 2021 at 11:28 AM André Roberge wrote: > > > On Tue, Feb 2, 2021 at 2:37 PM kirby urner wrote: > >> On Tue, Feb 2, 2021 at 5:48 AM André Roberge >> wrote: >> >>> Hello everyone, >>> >>> For about 20 months now, I h

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

2021-02-02 Thread kirby urner
On Tue, Feb 2, 2021 at 5:48 AM André Roberge wrote: > Hello everyone, > > For about 20 months now, I have been working on a Python package intended > to help beginners figure out what went wrong when their program generates a > traceback. This package is called Friendly-traceback; you can find

[Edu-sig] Re: Online introductory Python course

2021-02-02 Thread kirby urner
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 my students that this is how some of the better schools /

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

2021-01-31 Thread kirby urner
So am I supposed to use Markdown? [New Python Article on Citzendium](https://en.citizendium.org/wiki/Python_(programming_language)) 1-2-3 testing... ___ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to

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

2021-01-31 Thread kirby urner
My apologies for the broken link: https://en.citizendium.org/wiki/Python_(programming_language) (the underlying URL was missing the terminal paren) Thanks for the feedback Wes. The Github repo is less a textbook than a “tensegrity” of web pages held together without a specific serial

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

2021-01-29 Thread kirby urner
Two exhibits of possible interest: (1) Citizendium Wiki, not unlike Wikipedia in its goals, but with less anonymity, has a new article on Python, still a work in progress. Comments? They're (we're) looking for more articles with fresh up to date content, on aspects of the Python ecosystem.

[Edu-sig] Re: Python (one variable) Equation Solver

2020-11-07 Thread kirby urner
ntegration. Just pointing out how WebGL itself is a theme here, whatever the tool stack. Common themes in my echo chamber (silo) are 3D rendering and animation. Python is getting stronger in this area. Blender is Python driven. [4] Kirby Urner in Portland Oregon [1] 20 years ago: http://4dso

[Edu-sig] Re: Python (one variable) Equation Solver

2020-11-01 Thread kirby urner
Greetings Sergio -- That's a beautiful example of a Flask application in that it's so simple as a front end, yet there's serious work going on in terms of sympy and so on. I can envision taking a "tour group" of students through your source code, not because they're necessarily studying algebra,

[Edu-sig] Re: Python (one variable) Equation Solver

2020-10-30 Thread kirby urner
Greetings from Portland, Oregon, Sergio! I gave your invention a whirl with a random 2nd degree equation: https://flic.kr/p/2k1Kj9v (screen shot in my Photostream) Always glad to see sympy getting a workout. Flask front end. Great skills combo! Cross disciplinary. Do you share source code

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

2020-10-15 Thread kirby urner
Greetings Jurgis -- I'd say the answer to only-C compsci in school, or only-Java, was the phenomenon of Code Schools, with their Bootcamps. One discovered the short cut into industry was not a compsci degree, but a crash course in exactly what you're saying: a combo of py and js. As you know es6

[Edu-sig] HP4E: update (links to Youtube)

2020-10-06 Thread kirby urner
an update for anyone curious about my ongoing project, which relates to American literature (think of me as a lit prof with some ties to the Python world [4] (or "Python nation" as I've cast it sometimes)). Kirby Urner Portland, OR [1] https://www.youtube.com/c/kirbyurner [2] https://worldgame

[Edu-sig] python in context

2020-06-26 Thread kirby urner
Some history: https://www.quora.com/Is-coding-the-same-as-writing-script/answer/Kirby-Urner Is coding the same as writing script? <https://www.quora.com/Is-coding-the-same-as-writing-script> <https://www.quora.com/profile/Kirby-Urner> Kirby Urner <https://www.quora.com/profile/Ki

[Edu-sig] python in the movies...

2020-06-16 Thread kirby urner
I've taken a deep dive into Blender recently, you'd have thought earlier maybe, but I was slow into CAD, doing my work directly in a ray tracer (POV-Ray, also free open source). https://nbviewer.jupyter.org/github/4dsolutions/School_of_Tomorrow/blob/master/blender.ipynb Why not jump right into

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

2020-04-11 Thread kirby urner
Yikes. My attempt at hand-coding markdown links formatting as [word]( http://address) didn't work well at all in the HyperKitty Mailman3 view, my apologies. Here are the links again, in the order linked... This thread:

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

2020-04-11 Thread kirby urner
I decided to try replying through the HyperKitty archived interface, where I’ve been examining the cosmetics of [our thread](https://mail.python.org/archives/list/edu-sig@python.org/thread/H6KKJR57V7G4CIPDPJ7FUCXWDHMRUYUT/

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

2020-04-10 Thread kirby urner
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 hours with one or two breaks. I'm taking my campers right into my

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

2020-04-09 Thread kirby urner
> > > Try the following: > > from fractions import Fraction > float(Fraction("1/3")) > > Knowing you, I'm sure you can figure out plenty of useful applications of > this. :-) > > André > > A totally excellent suggestion! I'm going to share that, by bringing campers here on tour, saying "this is

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

2020-04-09 Thread kirby urner
Here's a thread I'm starting with my campers taking a PyCamp course. Yesterday we were co-evolving a calculator driven by looping menu. It does squares and square roots (one of the campers supplied this logic) and I was just getting around to introducing the y^x key as some call it, i.e. any

[Edu-sig] a "covid camp" specimen (online curriculum materials)

2020-04-02 Thread kirby urner
A Python camp for teens stuck at home. [Exhibit](https://github.com/4dsolutions/python_camp/blob/master/README.md ) (work in progress) ___ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to edu-sig-le...@python.org

[Edu-sig] Re: My SIR Model

2020-03-24 Thread kirby urner
Awesome! If you do any kind of Youtube on this specific SIR model I hope you'll link it from the cell and share it here. I see some Youtubes like that already (SIR models, including in Python), but everyone codes a little differently. I'd like to go back to high school and do it all again from

[Edu-sig] REPL.IT works great for sharing Python examples

2020-03-09 Thread kirby urner
Per usual, we're awash in useful tools, many free, but so little time to learn to use them, it seems. And they all keep evolving. Along those lines: REPL.IT, favored by many a Python teacher, yet so little explored by me. Like with LinkedIn and so many of these Web 2.0 tools, we get so many

[Edu-sig] Python 3.8 breaks backward compatibility with math.factorial(Decimal(int))

2020-02-18 Thread kirby urner
Now you'll need to use math.factorial(int(Decimal)) or write your own factorial function. The storyline: Apropos of recent threads experimenting with high precision (arbitrary precision) numbers as a way to promote interest in "pure math" applications using Python, I discovered this morning that

[Edu-sig] 1-2-3 testing mailman 3 archival rendering of Python code

2020-02-06 Thread kirby urner
On Thu, Feb 6, 2020 at 6:17 PM kirby urner wrote: > > Testing: > > >>> 2**200 # (that's 2 to the 200th power in Python). > > The double star came out OK but the chevron is interpreted with color containers 3-levels deep. So beware using the Python chevron t

[Edu-sig] Re: mailman 3: howzitgoin?

2020-02-06 Thread kirby urner
e through the archive) Kirby On Tue, Feb 4, 2020 at 12:50 PM kirby urner wrote: > Looking back in the archive: > > > https://mail.python.org/archives/list/edu-sig@python.org/message/WE5WEZIMTZ7NB7FRZIPEAHLXJHQKGRKF/ > > The rendering I get turns the double-star of Python expo

[Edu-sig] mailman 3: howzitgoin?

2020-02-04 Thread kirby urner
-friendliness, I wonder. Kirby Urner edu-sig listowner ___ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to edu-sig-le...@python.org https://mail.python.org/mailman3/lists/edu-sig.python.org/

[Edu-sig] Re: My e-book to teach kids Python is free within the next 24 hours on Amazon

2020-02-04 Thread kirby urner
Thank you Kent. One of the storylines I introduce in my Python classes, to motivate a use case project, is the just using a search engine to discover and curate links is a waste. The internet if full of rare jewels that the engines won't know how to rank, simply on the basis of "beaten track"

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

2020-02-03 Thread kirby urner
utu.be/-Snd7a55FrE > > I'm gonna have to do the same in python with Decimal. What about the N() > method in SAGE and numpy? > > Regards, > Al > > Sent from BlueMail <http://www.bluemail.me/r?b=15774> > On Feb 2, 2020, at 19:18, kirby urner wrote: >> >> Hi J

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

2020-02-02 Thread kirby urner
Hi Jorge -- I agree, it'd be interesting to apply a Riemann Sum algorithm using arbitrary precision as the number crunching type, versus IEEE754. Freed from FORTRAN, you would have that option. I'll do it now... [ sometime later ] Here's a sandbox version: https://repl.it/@kurner/computepi

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

2020-01-30 Thread kirby urner
On Thu, Jan 30, 2020 at 4:55 AM Wes Turner wrote: > > > Are they working on Windows platforms? > I understand that Python is in the Microsoft App Store now, but conda is > not. > > Yes. Oft times these are public school labs and I'm not in charge of what gets installed. Always Windows and/or

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

2020-01-29 Thread kirby urner
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 precision are using that. Trig built right in, and complex

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

2020-01-29 Thread kirby urner
More concretely, and continuing the arbitrary precision thread, one might think Python, with its clever duck typing, could take either floating point, or standard library Decimals, through precisely the same algorithm. That's so in some cases, but when we get to powering, one can't use the

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

2020-01-24 Thread kirby urner
A lot of our archived debates centered around how we might redesign (reform) the curriculum in light of computer languages, Python in particular. What I'm coming to lately is emphasizing arbitrary precision e.g. pi to literally a thousand places, as an especially attractive feature of computers

[Edu-sig] Python and... ?

2019-12-10 Thread kirby urner
Granted, these two code blocks (below) are far from identical, however the unittest idea (from JUnit) is alive and well in Rust, which should be encouraging. You'll need another crate (module, use cargo install) if you want AlmostEqual type assertions for floating point work. I'm doing a lot

[Edu-sig] Re: Edu-sig Digest, Vol 192, Issue 9 Learn Python and what? How to teach about Context Managers (a proposal)

2019-10-31 Thread kirby urner
Thanks for those references Perry. Would it be possible to share your notebook so I could play with that > context manager code? I looked on your github, but did not see it: > https://github.com/4dsolutions?tab=repositories > > Cheers, > Perry > Here's a relevant Jupyter Notebook, not exactly

[Edu-sig] Learn Python and what? How to teach about Context Managers (a proposal)

2019-10-29 Thread kirby urner
Suppose you got this question: "I'm new to programming and heard that studying two languages, one front burner, one back burner, is a best practice, as the benefits you get from 'compare and contrast' is like when rubbing two sticks together: you get fire." I've been suggesting learning Python

[Edu-sig] teaching kids (and adults) with Python: notes from the field

2019-08-25 Thread kirby urner
Shared Project Space What I think works well is when the students in the class have their own shared virtual classroom in which to share Python projects. These need not be accessible to the public (people not in the class), but having real time access to each others' projects -- those

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

2019-08-05 Thread kirby urner
What are the major sticking points with Jupyter on a mobile device? > > Seems like the Github Jupyter rendering engine sends out CSS @media queries to detect client format, and if your device below a specific size, the sever sends you raw JSON instead (the notebook sans rendering). With any art

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

2019-08-05 Thread kirby urner
Thank you for your contribution Claude. I have been looking at your github site and eyeballing the source code. You make a good point about smartphones being so different a device, because of their small format, than even a laptop computer. Students with only phone experience feel unprepared for

[Edu-sig] exploring a primitive physics engine in emulated Python

2019-08-01 Thread kirby urner
What other Python emulators offer some builtin physics? Example startup code (no imports required): stage.set_gravity(3) escaped = False stage.disable_ceiling() stage.set_background_color("black") b = 1 stage.set_bounce(b) Codesters embraces turtle graphics but takes it to the next level by

[Edu-sig] school of tomorrow (another pilot)

2019-07-24 Thread kirby urner
Latest School of Tomorrow 5 min video, recapping some of what we've been doing in summer school in 2019. I've done similar pilots at Reed College. This time we're in Illinois. https://youtu.be/5_NWt_zjdcw (Codesters again) The kids (I have 15 on my roster) need to understand why a flight to

[Edu-sig] Calculator of Tomorrow (meme) on Medium

2019-07-11 Thread kirby urner
The Medium curators selected this one for widespread dissemination: https://medium.com/@kirbyurner/the-calculator-of-tomorrow-39ba87763621 It's on my usual theme: giving high schoolers a more significant experience by ditching scientific calculators in favor of "the calculator of tomorrow".

[Edu-sig] anyone going to OSCON?

2019-07-11 Thread kirby urner
I met only a few Pythonistas at OSCON last year. Van Lindberg and I had a brief conversation. Naomi, will I see you there? I've got a hallway track topic I'd like to pursue. http://worldgame.blogspot.com/2019/07/open-source-campus.html Kirby ___

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

2019-07-11 Thread kirby urner
None of the hyperlinks to old posts would change right? If links don't break, I see no reason not to migrate. Kirby (another listowner) ___ Edu-sig mailing list -- edu-sig@python.org To unsubscribe send an email to edu-sig-le...@python.org

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

2019-06-24 Thread kirby urner
On Sun, Jun 23, 2019 at 10:54 PM Wes Turner wrote: > > I grew up in Omaha, NE and the suburbs of St Louis, MO. I don't remember > when I leaned about the "Old Man River" proposal to build a dome over all > of East St Louis in 1971 > https://en.wikipedia.org/wiki/Old_Man_River%27s_City_project >

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

2019-06-23 Thread kirby urner
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 governed by >> mathematics. He put creatures made as tensegrities in a simulation and >> selected for which

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

2019-06-23 Thread kirby urner
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 >> phone app >> > >> That's cool stuff there! (yours) >> > > Yeah, that's really cool. Was the MoCap (motion capture)

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

2019-06-23 Thread kirby urner
On Sun, Jun 23, 2019 at 12:40 PM C. Cossé wrote: > Yes that must be disappointing if 'The House of Tomorrow' didn't convey or > do justice to the content of his work. > > > Oh no, it was a fine movie. Thumbs up. I'm fully understanding that a fictional audience that has to earn its keep in

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

2019-06-23 Thread kirby urner
On Sun, Jun 23, 2019 at 12:31 PM C. Cossé wrote: > I agree with everything you say, but I'm just talking about day #1 of > algebra class ... pretty much just an inspirational show and demonstration > that satisfying capabilities are within their reach > Youtube stardom awaits you. Seriously,

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

2019-06-23 Thread kirby urner
Another modeling activity that's fun is starting with a giant spreadsheet (maybe a pandas DataFrame) wherein the columns are xyz coordinates of ballerina body sensors. As we know, the movie industry uses these sensors routinely, to bring an actor into a virtual reality (e.g. Gollum in Lord of the

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

2019-06-23 Thread kirby urner
> No prior knowledge ... it's all on the teacher to be familiar enough to > walk all over and essentially "drag them through" (the kids=them) the > process of developing their own quick solar system model. It would be a > good team-teaching lesson, one teacher on the white-board lecturing, and >

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

2019-06-23 Thread kirby urner
On Sun, Jun 23, 2019 at 11:28 AM C. Cossé wrote: > Hi Kirby, > > I think kids should write their own plotting routines to graph their > functions starting anywhere 3rd-7th grade. > > If they wish to, yes, so many optional branches. I'm coasting along using everyday office productivity tools

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

2019-06-23 Thread kirby urner
Somewhere every summer, I tend to call into question the wisdom of buying the kids another scientific calculator at the drug store (we call them that here, pharmacies have calculators hanging on racks at the checkout, to cash in on gullibility and impulse buys). This year:

[Edu-sig] Another quick look at Codesters

2019-05-24 Thread kirby urner
I'm involved in a multi-state distance education program where I pop up as a talking head, remotely. The kids have Chromebooks. Middle School aged. Here's a short Youtube about that platform: https://youtu.be/HMOkOy9pCGo?t=69 (free to sign up, the tool our school uses -- the opening minute or

  1   2   3   4   5   6   7   8   9   10   >