[Edu-sig] a Mandelbrot Set in a few lines of Python

2015-06-19 Thread Kirby Urner
for the mathematics and for the demo of numpy + PIL in an I-Python Notebook. (cl) Kirby Urner, MIT License, 2015 Pilot study for O'Reilly School of Technology Using I-Python Notebook + pillow (PIL fork) + in Anaconda distro ''' from PIL import Image import numpy as np def setup(pixels=(3200,2400

Re: [Edu-sig] Python5 @ OST / HK (science fiction)

2015-06-13 Thread kirby urner
On Mon, Jun 8, 2015 at 9:43 AM, Kirby Urner kur...@oreillyschool.com wrote: I've actually written some code for Python5 and it's a work in progress. Tractors instead of Turtles but as a way of introducing Turtles i.e. I'm not anti-Turtle in using a Tractor instead. A subclass of Tractor

[Edu-sig] Coming from FoxPro...

2015-06-01 Thread Kirby Urner
Python is a lot more elegant than xBase in many ways, but then those of us coming from xBase appreciate the continuity. For example having a (chevron) instead of a dot prompt (. ) is superficial whereas what's deep is having REPL in both cases. Ever since APL, I've been biased towards

[Edu-sig] talking about operators in Python namespace

2015-05-23 Thread kirby urner
http://mathforum.org/kb/message.jspa?messageID=9780027 From math-teach ___ Edu-sig mailing list Edu-sig@python.org https://mail.python.org/mailman/listinfo/edu-sig

[Edu-sig] little lambda again

2015-05-22 Thread kirby urner
We know the Great Lambda languages like LISP and Scheme have lambdas that might go on for pages, whereas Python has a little lambda: one expression only. That expression may be another lambda however, and perhaps worth doing, to get the concept of composing functions across, we might in math

[Edu-sig] Distance Learning: where and how

2015-05-21 Thread kirby urner
I take a debate-encouraging position against the standard cohort-based, curve- and letter-graded style of teaching in this blog post from when I was the USDLA (distance learning) conference: http://worldgame.blogspot.com/2015/04/against-grain.html But we have more in common than what divides us,

[Edu-sig] student privacy and Gnu Math

2015-05-19 Thread kirby urner
Discussion of student privacy, especially cyber-privacy on math-teach, including my reply re the efficacy / relevance of Gnu Math: http://mathforum.org/kb/thread.jspa?threadID=2706045 Kirby ___ Edu-sig mailing list Edu-sig@python.org

[Edu-sig] confirming dict def behavior with gender diversity dict

2015-05-18 Thread kirby urner
I was playing with this somewhat dated and not fully accepted key or legend the gender diversity people sometimes use: . diversity_acronyms = {'G':'Gay', 'L':'Lesbian', 'T':'Trans', 'B':'Bi', 'Q':'Queer', 'Q':'Questioning', 'H':'Hetero', 'I':'Intersex', 'P':'Pan' } .

Re: [Edu-sig] Pythonic Notes: comments versus docstrings, other topics

2015-05-15 Thread Kirby Urner
The help on __doc__ belongs in the same section as help on __name__ and even __file__ as these are likewise attributes at the module level, which is where our course series first mentions docstrings (Lesson 1, Project 1 is already docstring aware). [1] Footnotes [1] these on-line courses

[Edu-sig] Pythonic Notes: comments versus docstrings, other topics

2015-05-15 Thread Kirby Urner
*TEACHER TO TEACHER: PYTHONIC NOTES* *1. Docstrings Versus Comments* In teaching Python quite a bit, I find even pro programmers get confused about docstrings, as many languages have nothing quite like them. Your audience is not readers of your source code, which they may not have, but users

Re: [Edu-sig] Using Grammar with OO

2015-05-14 Thread kirby urner
In the help documentation, the grammatical concepts of noun, verb, adverb and more, get used to introduce the grammar of J. That seems effective and I've been using something like this with OO (not Python-specific): noun.adjective = value noun.verb( ) Continuing with this theme, I also

[Edu-sig] Using Grammar with OO

2015-05-14 Thread kirby urner
As long time readers here may recall, I'm a fan of the J language, a derivative / spin-off of APL by Iverson, and indeed the late Iverson, son Eric and Roger Hui, developed a cool ASCII-friendly version of what APL was working to be. In the help documentation, the grammatical concepts of noun,

Re: [Edu-sig] Python News from My Corner

2015-05-09 Thread kirby urner
We also have a new Cuba Working Group mail list aiming to jump start Pycon / Cuba. Mertz is the owner. I'm just one of many subscribers. Kirby https://mail.python.org/mailman/listinfo/python-cuba Some of you will be aware of:

[Edu-sig] Post Mortem (Bridges submission)

2015-04-09 Thread kirby urner
My 3-page paper concluding with the graphic rendered by this source code: https://mail.python.org/pipermail/edu-sig/2015-March/011203.html (Python + POV-Ray) was roundly rejected by the Bridges reviewers. http://bridgesmathart.org/ Citations are to Wikipedia pages, or peculiarly to the

Re: [Edu-sig] ACM article on Python

2015-03-23 Thread Kirby Urner
Give that 10-year old plenty of encouragement, but be ready to catch him when he falls. Write the Java for him, if necessary, but then show him the equivalent in Python. Having the motive to master Minecraft is a good reminder that a lot of us tackle a language as a means to an end not as an

Re: [Edu-sig] ACM article on Python

2015-03-23 Thread kirby urner
Yes many thanks for the Minecraft with Pi link. @psf_snake tweeted about it too today -- and re a 111 line python chess engine a student pointed me at. Kirby ___ Edu-sig mailing list Edu-sig@python.org https://mail.python.org/mailman/listinfo/edu-sig

Re: [Edu-sig] ACM article on Python

2015-03-20 Thread kirby urner
On Thu, Mar 19, 2015 at 9:42 PM, Mark Engelberg mark.engelb...@gmail.com wrote: On Thu, Mar 19, 2015 at 7:38 AM, kirby urner kirby.ur...@gmail.com wrote: I'm not one of those who think you need to join warring Camp A (OOP) or warring Camp B (FP) and then express loyalty to one by dissing

Re: [Edu-sig] ACM article on Python

2015-03-19 Thread kirby urner
On Thu, Mar 19, 2015 at 12:59 AM, Mark Engelberg mark.engelb...@gmail.com wrote: Kirby, have you ever looked at mathpiper? (http://www.mathpiper.org/) I know you have a strong interest in fusing math explorations with programming, so it seems like something that would be right up your alley

Re: [Edu-sig] ACM article on Python

2015-03-17 Thread Kirby Urner
Checking the edu-sig archive, looks like indentation doesn't show this paragraph was quoted by me not written by me: I think the best way to understand these criticisms is to take a look at the language Pyret (pyret.org), a language that is being developed by Shriram Krishnamurthi (one of the

Re: [Edu-sig] ACM article on Python

2015-03-15 Thread kirby urner
Ruby isn't mentioned because it never made significant waves in the educational community. Remember, the article is just about educational language choices, not fashionable languages in general. The bulk of the article is discussion of Python's weaknesses: 1) Creating non-trivial data

Re: [Edu-sig] Exhibit: Python + POV-Ray (one of my favorite ways to get graphics)

2015-03-08 Thread kirby urner
On Sun, Mar 8, 2015 at 6:31 PM, kirby urner kirby.ur...@gmail.com wrote: Author: Kirby Urner, 4D Solutions, Sept. 15 2005 Last modified: March 7, 2015 Version #: 1.7 (c) MIT Licence Developed for Bridges Conference to add graphic to paper Here's a link to the rendered graphic should

[Edu-sig] Exhibit: Python + POV-Ray (one of my favorite ways to get graphics)

2015-03-08 Thread kirby urner
Author: Kirby Urner, 4D Solutions, Sept. 15 2005 Last modified: March 7, 2015 Version #: 1.7 (c) MIT Licence Developed for Bridges Conference to add graphic to paper Prototype shows two of the six plastic panels held in place by spokes. In the final assembly, spokes are replaced by chains

Re: [Edu-sig] Another Class / Instance metaphor

2015-02-22 Thread Kirby Urner
export, fast food much lower on the food chain). Kirby On Thu, Feb 19, 2015 at 9:28 AM, kirby urner kirby.ur...@gmail.com wrote: On Thu, Feb 19, 2015 at 9:20 AM, kirby urner kirby.ur...@gmail.com wrote: I'm finding a useful metaphor that resonates with my students is the fast food

[Edu-sig] Another Class / Instance metaphor

2015-02-19 Thread kirby urner
I'm finding a useful metaphor that resonates with my students is the fast food franchise, or really and chain store, petrol station chain or whatever. class KFC: defines how long to cook the chicken in what batter, also signage, branding restaurant_on_sandy_blvd = KFC(lat_long) # from

Re: [Edu-sig] Another Class / Instance metaphor

2015-02-19 Thread kirby urner
On Thu, Feb 19, 2015 at 9:20 AM, kirby urner kirby.ur...@gmail.com wrote: I'm finding a useful metaphor that resonates with my students is the fast food franchise, or really and chain store, petrol station chain or whatever. sentence = sentence.replace(and chain, any chain) Here's

Re: [Edu-sig] more thoughts on diversity...

2015-02-08 Thread kirby urner
On Wed, Feb 4, 2015 at 10:49 AM, kirby urner kirby.ur...@gmail.com wrote: . . . Good point re Diversity. Aahz once listed edu-sig as one of the many Diversity-related resources associated with Python.org and many a university and college has a Diversity office, so I think we're within

Re: [Edu-sig] more thoughts on diversity...

2015-02-08 Thread kirby urner
On Sun, Feb 8, 2015 at 7:40 AM, kirby urner kirby.ur...@gmail.com wrote: Continuing my thinking above, I do like that this superbowl commercial escaped most criticism, other than an earlier version has been on the Internet a long time so it wasn't actually novel. A link would have helped I

Re: [Edu-sig] more thoughts on diversity...

2015-02-04 Thread kirby urner
On Wed, Feb 4, 2015 at 10:27 AM, Laura Creighton l...@openend.se wrote: ... maybe this was for diversity, not edu-sig Kirby? Laura Good points Laura. I know from looking over dad's shoulder when he worked for Egyptian Ministry of Planning, that bids would come from firms, not

Re: [Edu-sig] more thoughts on diversity...

2015-02-04 Thread kirby urner
Yikes my formatting above sure came out ugly in the archive: https://mail.python.org/pipermail/edu-sig/2015-February/011196.html Pardon my line lengths people! Maybe some of those re-archivers (mirrors of edu-sig) will make it look prettier, sigh. Kirby

[Edu-sig] the lone star parameter

2015-01-21 Thread kirby urner
Not every Pythonista knows of the lone star. Say you want some keyword arguments that have to be mentioned, but you would never allow them to be reached positionally. Or: it's fine if you don't mention them, but if you know they exist, you have powers. def game_boot_up(pos0, pos1, *, cheat =

Re: [Edu-sig] real advice to a real student (comments welcome)

2015-01-16 Thread kirby urner
On Thu, Jan 15, 2015 at 2:00 AM, Laura Creighton l...@openend.se wrote: Can you suggest your student watch this video? http://www.thersa.org/events/rsaanimate/animate/rsa-animate-drive It is Dan Pink's _The Surprising Truth About what Motivates Us_ After he or she has done so, I have this

[Edu-sig] real advice to a real student (comments welcome)

2015-01-14 Thread kirby urner
Student (paraphrase): What else do I need to know besides Python to get a job in IT? Might some jobs involve telecommuting and not physically going anywhere? - My answer: Good questions. There are many walks of life for those with coding skills. If you were to attend the expo hall at

Re: [Edu-sig] real advice to a real student (comments welcome)

2015-01-14 Thread kirby urner
Followup with same student, not from China but planning to go there: === Interesting observations, thank you. At OST we see ourselves as a school, even though in the .com domain. Given what you say about other schools not availing of these newer / better tools: that works to our advantage, but

Re: [Edu-sig] Python Education Summit

2015-01-09 Thread kirby urner
Level 1 On Thu, Jan 8, 2015 at 7:29 AM, kirby urner kirby.ur...@gmail.com wrote: Off hand, I'm not taking not hearing from the listowner as a reason to change ownership. Hypothetically, the listowner was appointed by the BDFL sometime in the murky past. I long ago accepted life

Re: [Edu-sig] Edu-sig Digest, Vol 138, Issue 16

2015-01-09 Thread kirby urner
Thanks for clarifying. Kirby On Fri, Jan 9, 2015 at 1:21 PM, Jeff Elkner j...@elkner.net wrote: On Fri, Jan 9, 2015 at 11:08 AM, kirby urner kirby.ur...@gmail.com wrote: I think the mailing list listowner role and coordinating PES are entirely separate roles. For example we could

Re: [Edu-sig] Python Education Summit

2015-01-08 Thread kirby urner
, kirby urner kirby.ur...@gmail.com wrote: Looks good. I don't think we've ever heard from listowner Wilson on this list. We do get good spam filtering I think. I've put in a request to be at the upcoming Pycon but I don't think it's been approved. I was unable to attend last year. Edu

Re: [Edu-sig] Python Education Summit

2015-01-08 Thread kirby urner
Looks good. I don't think we've ever heard from listowner Wilson on this list. We do get good spam filtering I think. I've put in a request to be at the upcoming Pycon but I don't think it's been approved. I was unable to attend last year. Edu-wise my focus believe or not has been the Python

Re: [Edu-sig] Python Education Summit

2015-01-08 Thread kirby urner
I don't understand bring it back on-line. Is edu-sig off-line in some way currently? I have noticed no interruption in service. That's why I'm not calling for some shake up in list ownership. We've had pretty smooth sailing, not counting the usual snits about topics. Kirby On Thu, Jan 8,

Re: [Edu-sig] Python Education Summit

2015-01-08 Thread kirby urner
, Andre Roberge andre.robe...@gmail.com wrote: On Thu, Jan 8, 2015 at 2:54 PM, kirby urner kirby.ur...@gmail.com wrote: I don't understand bring it back on-line. Is edu-sig off-line in some way currently? When the people organizing Pycon's Education Summit can not post information about

Re: [Edu-sig] Need resource for beginners

2014-12-24 Thread kirby urner
...@gmail.com wrote: Thanks everyone for your suggestions. It will help me to design the outline and content I shall let you know how it goes. Regards, Tamim. On Thu, Dec 18, 2014 at 1:36 AM, kirby urner kirby.ur...@gmail.com wrote: Hi Tamim -- Speaking teacher-to-teacher, I think in terms

Re: [Edu-sig] easygui_qt

2014-12-17 Thread kirby urner
This looks like a really interesting project. I will help spread the news. Kirby On Wed, Dec 17, 2014 at 7:41 AM, Andre Roberge andre.robe...@gmail.com wrote: Hi everyone, If you use Python 3 and PyQt in a teaching environment (e.g. the Anaconda distribution), you might be interested in a

Re: [Edu-sig] Need resource for beginners

2014-12-17 Thread kirby urner
Hi Tamim -- Speaking teacher-to-teacher, I think in terms of an XY graph with X-axis the techie nuts and bolts and Y-axis the lore / history / storytelling. Then I draw a curve representing any given students bandwidth horizon and suggest varying the angle along the curve i.e. keep changing the

Re: [Edu-sig] Recommendation for editor+console or IDE for teaching beginners

2014-12-10 Thread Kirby Urner
I agree that IDLE is quite usable once working properly which is pretty much never a problem with Windows distros but can be an issue when doing a from-scratch C-language compilation of Python with the Tk part added. Tk is after all a separate process in another language which Python controls or

[Edu-sig] RSA in Brief

2014-12-05 Thread kirby urner
RSA in brief (in Python 3) See: http://www.4dsolutions.net/ocn/crypto3.html http://mathforum.org/kb/thread.jspa?threadID=2663184 http://mathforum.org/kb/thread.jspa?forumID=206threadID=2653047 (c) MIT License, 4D Solutions import random # download a chunk of numbers from:

Re: [Edu-sig] RSA in Brief

2014-12-05 Thread kirby urner
Example output (three consecutive runs): Public N = 925075011663569777 Secret d = 711596161338425677 Check: (e*d) % phi_N = 1 plaintext = 555777888 cyphertext = 622844123057157942 decoded = 555777888 --- Public N = 925075073219310157 Secret d = 853915450426794181 Check: (e*d) % phi_N = 1

Re: [Edu-sig] computers and schools

2014-11-30 Thread kirby urner
To paraprase Churchhill: Schools are lousy ecosystems for learning but we haven't found any practical better systems yet. How successful has the OLPC-project actually been? Any evidence beyond quotes and ideas from SciFi The diamond age ;-) ? Cheers Christian You bring up a good point:

Re: [Edu-sig] gimme more computers (rant)

2014-11-29 Thread kirby urner
On Wed, Nov 26, 2014 at 11:17 AM, kirby urner kirby.ur...@gmail.com wrote: SNIP But the marketing of the Big Money Firms in IT-industry will pay off some time. Hey, lets burn lots of money for more computers in school - sounds GREAT. Crazy... Christian I think many students would

Re: [Edu-sig] gimme more computers (rant)

2014-11-26 Thread kirby urner
SNIP But the marketing of the Big Money Firms in IT-industry will pay off some time. Hey, lets burn lots of money for more computers in school - sounds GREAT. Crazy... Christian I think many students would be better served if the emphasis were on creating for them a safe personal

[Edu-sig] the Barbie Blowup

2014-11-21 Thread kirby urner
Geekdom is having a field day over this apparent stumble by Mattel as it contrives to boost Barbie in the brains department without being too disruptive to cultural norms (she's a mainstream doll after all, meant for middle-of-the-road middle-classers, e.g. nuclear families with power nesters in

[Edu-sig] alluding to earlier thread re pythonic versus obtuse

2014-11-10 Thread kirby urner
Here's a comment I just posted to some student work, reminiscing about a thread we had earlier. At some point I should go back and find the link. Laura, hope you don't mind that I propagate your reputation in a positive manner: === Yes, proficient and easy to read. I would have been OK with no

Re: [Edu-sig] Reeborg update

2014-11-04 Thread Kirby Urner
Looking really professional and user friendly as usual. Kirby On Mon, Nov 3, 2014 at 2:53 PM, Andre Roberge andre.robe...@gmail.com wrote: Hi everyone, For those that use Karel the robot / Guido van Robot / RUR-PLE to teach Python, you may be interested in the latest developments in

[Edu-sig] more mathematics for the digital age....

2014-10-29 Thread kirby urner
''' (c) MIT License by K. Urner More playing around with NKS for a Gnu Math class using Python NKS = new kind of science (Wolfram) i.e. cellular automata (CA) ''' def make_rule(n): takes 0-255 and returns rule dict the_rule = {} values = {:08b}.format(n) for x in range(8):

[Edu-sig] question about how many special names built in to the language

2014-10-07 Thread kirby urner
Does anyone off hand know precisely how many special names aka magic methods aka __ribs__ (my quirky name for 'em) in Python 3.4? We don't make these up, and there's a finite number. I could look it up of course but let me poll Python teachers and ask how many actually say how many in an

[Edu-sig] continuing to hype Guido's CP4E...

2014-10-04 Thread kirby urner
after all these years: https://groups.google.com/d/msg/mathfuture/dfz-dBD1S_A/m2FRgUP2YfkJ Kirby ___ Edu-sig mailing list Edu-sig@python.org https://mail.python.org/mailman/listinfo/edu-sig

[Edu-sig] recruiting for delta-calc / lambda-calc among post-algebra students

2014-09-29 Thread kirby urner
Edu-siggers might be interested in a rhetorical move, mainly for PR reasons (recruiting, morale...), to rebrand differential / integral calculus (Newton-Leibniz stuff) as also (equivalently) delta calculus (picture Greek letter del hyphen calculus). Why? Well for one calculus is too generic a

Re: [Edu-sig] recruiting for delta-calc / lambda-calc among post-algebra students

2014-09-29 Thread kirby urner
On Mon, Sep 29, 2014 at 11:04 AM, kirby urner kirby.ur...@gmail.com wrote: Edu-siggers might be interested in a rhetorical move, mainly for PR reasons (recruiting, morale...), to rebrand differential / integral calculus (Newton-Leibniz stuff) as also (equivalently) delta calculus (picture

[Edu-sig] example code: Descriptors

2014-09-27 Thread kirby urner
Demonstrating the descriptor protocol (cl) MIT by K. Urner class Property: def __init__(self, start): self.it = start def __set__(self, obj, val): if isinstance(obj, ReadOnly): print(Can't set property from this child) else: obj.it = val

[Edu-sig] water cooler talk... Python mentors, post DjangoCon / Portland (next year Austin)

2014-09-05 Thread Kirby Urner
to be a DjangoCon sponsor this year, check it out... https://www.flickr.com/photos/kirbyurner/14963846568/ (OST a player!) ... high five Patrick! Kirby From: Kirby Urner [that's me] Date: Fri, Sep 5, 2014 at 1:41 PM Subject: Re: Interesting Mac-only Python graphics program(?) To: Patrick Barton

Re: [Edu-sig] https://www.python.org/success-stories/category/education/

2014-08-31 Thread kirby urner
Well, that was absurdly easy to do. I didn't really expect it to go straight to the website: https://www.python.org/success-stories/kirby-urner/ And guess what, I managed to get the URL wrong so if you click on the link... probably just as well. I'm finding a gazillion success stories though

[Edu-sig] Looking back on OSCON XVI

2014-08-30 Thread Kirby Urner
In sketching out the Python ecosystem in broad brush terms, is it fair to say NumPy gets a lot of US investment whereas PyPy is more an EU pet project? Or is that too broad brush? I sat at the i18n table at OSCON and mostly met up with other North Americans, which can be plenty alien, and with

Re: [Edu-sig] Looking back on OSCON XVI

2014-08-30 Thread Kirby Urner
On Sat, Aug 30, 2014 at 12:51 PM, Kirby Urner kur...@oreillyschool.com wrote: In addition to Matthew, Kelly Hoover, Patrick Barton, myself, and course authors Steve Holden (Python) and Peter Scott (Perl), our school principal, Debra, manned the booth. And of course Christian joined

Re: [Edu-sig] Looking back on OSCON XVI

2014-08-30 Thread kirby urner
On Sat, Aug 30, 2014 at 1:38 PM, Laura Creighton l...@openend.se wrote: In sketching out the Python ecosystem in broad brush terms, is it fair to say NumPy gets a lot of US investment whereas PyPy is more an EU pet project? Or is that too broad brush? Too broad. In investment terms, PyPy

[Edu-sig] Python ecosystem (Blaze, NumPy, PyPy...)

2014-08-30 Thread kirby urner
or vice versa: http://morepypy.blogspot.com/2011/10/numpy-funding-and-status-update.html Kirby On Sat, Aug 30, 2014 at 6:13 PM, kirby urner kirby.ur...@gmail.com wrote: On Sat, Aug 30, 2014 at 1:38 PM, Laura Creighton l...@openend.se wrote: In sketching out the Python ecosystem in broad

[Edu-sig] algebra - digital math (Python friendly)

2014-07-02 Thread Kirby Urner
I go into quite a bit of detail in this thread at the Math Forum, regarding what I think an Algebra course leading up to a digital math track might look like. http://mathforum.org/kb/thread.jspa?threadID=2637672 This is looking at what we might call high school math but I'd also bill it as an

[Edu-sig] More about Internationalization (i18n) / Unicode

2014-06-29 Thread kirby urner
I've been fostering debate around work about i18n (internationalization) a tried and true topic in Geek World bar none, and otherwise known, paradoxically, as localization as in make all these Ubuntu menus appear in the Basque language. I remember being in Lithuania and booting up Blogger, to

Re: [Edu-sig] Changes to edu-sig web page...

2014-06-17 Thread kirby urner
On Tue, Jun 17, 2014 at 6:46 AM, Jeff Elkner j...@elkner.net wrote: Let's use the wiki page (https://wiki.python.org/moin/ ) for this, Jurgis, so that the work of keeping it current can be distributed. Interested members of our community should create accounts for themselves on the wiki, and

Re: [Edu-sig] Changes to edu-sig web page...

2014-06-01 Thread Kirby Urner
Looking good! On Sun, Jun 1, 2014 at 7:14 AM, Jeff Elkner j...@elkner.net wrote: OK, I've made Andre's specific changes, and tried to capture the spirit of Kirby's feedback in the Python 3 vs. 2 section. On Sat, May 31, 2014 at 7:21 PM, Andre Roberge andre.robe...@gmail.com wrote: Good

Re: [Edu-sig] Changes to edu-sig web page...

2014-05-31 Thread kirby urner
On Sat, May 31, 2014 at 3:53 PM, kirby urner kirby.ur...@gmail.com wrote: Looks good but I'd say this advice is really too strict a criterion: Use Python 3, and more specifically version 3.4, if you only plan to teach Python as an introductory language (say in a CS-1 course), making use

Re: [Edu-sig] Changes to edu-sig web page...

2014-05-31 Thread kirby urner
Looks good but I'd say this advice is really too strict a criterion: Use Python 3, and more specifically version 3.4, if you only plan to teach Python as an introductory language (say in a CS-1 course), making use *only* of modules included in the standard distribution. In fact, Python 3 works

[Edu-sig] What edu-sig page advice to give re 3.x vs 2.x in 2014?

2014-05-29 Thread Kirby Urner
and my bias would be to encourage learning 3.x first and any 2.x version as a dialect later. Enough 3rd party products have made the transition to where I don't think we need to circle 2.x as much in our advice-giving (whereas when this advice was first given, 3.x was still quite new). Kirby

Re: [Edu-sig] some Unicode source: testing 1-2-3

2014-05-29 Thread Kirby Urner
Looks pretty good in the archives, except for the text wrapping, which makes cutting and pasting the code a little tedious. Here's the output, FYI: Amod volume = : 0.04168 Bmod volume = : 0.041595 Emod volume = : 0.04173131692777366 Tmod volume = : 0.04168

Re: [Edu-sig] Getting more involved with education and the PSF...

2014-05-23 Thread kirby urner
On Thu, May 22, 2014 at 7:02 AM, Jeff Elkner j...@elkner.net wrote: Great! So it seems we have two short term goals: 1. Get someone to agree to maintain the website (I'm volunteering if there isn't anyone else chomping at the bit to do it). Thanks for stepping up Jeff. We've not had an

Re: [Edu-sig] Getting more involved with education and the PSF...

2014-05-23 Thread kirby urner
what gets done. On Fri, May 23, 2014 at 4:27 PM, Jessica Nickel jessanic...@gmail.com wrote: Kirby, I agree, and think there definitely needs to be a focus on both college and community-based education outreach as well. On Fri, May 23, 2014 at 4:26 PM, kirby urner kirby.ur

[Edu-sig] snap shot of a geometers doodle-pad, in Python (no pictures, but links to some)

2014-05-03 Thread kirby urner
shapes in E and S vols with phi scaling Euler volume, modified by Gerald de Jong http://www.grunch.net/synergetics/quadvols.html Kirby Urner (c) MIT License from math import sqrt, hypot class PlaneNet: Any six edge tet in pattern described in API notes def __init__(self, oa, ob, oc, ab, bc

Re: [Edu-sig] snap shot of a geometers doodle-pad, in Python (no pictures, but links to some)

2014-05-03 Thread kirby urner
I should also post what the output is, so scanners / readers might avoid the tedium of running it just to find out: /usr/local/bin/python3.4m /Users/pbarton/Documents/modvolumes.py Amod volume = : 0.04168 Bmod volume = : 0.041595

Re: [Edu-sig] Processing and Python

2014-04-22 Thread kirby urner
I'm eager to sit in on a Processing talk. Is it open source? I'm surprised it never comes up at OSCON if so. Kirby On Tue, Apr 22, 2014 at 7:08 AM, Jurgis Pralgauskis jurgis.pralgaus...@gmail.com wrote: Hi, I enjoyed Processing for C++/Java teaching, and now I stumbled upon Python

Re: [Edu-sig] graphical calculator

2014-04-15 Thread kirby urner
On Tue, Apr 15, 2014 at 2:45 AM, Christian Mascher christian.masc...@gmx.de wrote: Hi, Unfortunately, I'd love to do the same in AP Calculus but Graphing Calculators are required on that AP exam. The students need to use the Graphing Calculator all year to be proficient enough by May.

[Edu-sig] OSCON opens, lets look at the Python track...

2014-04-14 Thread kirby urner
Just topping up at Pycon? Wait, there's more: http://www.oscon.com/oscon2014/public/schedule/topic/1128 However, many more talks than these may mention or use Python as all tracks are partially overlapping in various ways (like a basket of snakes alive!). Sss. I was one of the readers of

[Edu-sig] the idea of CS-friendly algebra courses...

2014-04-13 Thread kirby urner
Re: http://mathforum.org/kb/message.jspa?messageID=9430209 The above-linked thread might garner some forking threads or comment lines here. This branch is mostly dormant on math-teach as of today, but points back to an earlier thread that evoked much discussion (so well may take off again),

Re: [Edu-sig] the idea of CS-friendly algebra courses...

2014-04-13 Thread kirby urner
On Sun, Apr 13, 2014 at 11:51 AM, A. Jorge Garcia calcp...@aol.com wrote: I have a similar problem in AP Computer Science. That course has required Java since 2003. Frankly, I wish they would have stayed with C++ which we used from 1999-2002 (a vast improvement over Pascal 1984-1998). I wish

[Edu-sig] Abducted by Decorators (niche market, esoteric TV allusions)

2014-04-07 Thread kirby urner
Learning about Decorators Just for the fun of it -- OCN Decorators as Abductors I'm thinking in terms of a specific (aborted) TV series, but the pattern: me = Abduct(me) # @Abduct a callable has generic resonance as a metaphor. Specifically:

Re: [Edu-sig] New Python MOOC on Coursera with 100% CC-BY Materials and Book

2014-04-01 Thread kirby urner
On Tue, Apr 1, 2014 at 7:07 PM, Charles Severance c...@umich.edu wrote: I think that we make a mistake of having sequences of courses that just get harder and harder and never loop back and review. Hear hear! +1 Kirby ___ Edu-sig mailing list

[Edu-sig] What's a Callable?

2014-03-27 Thread kirby urner
What's a callable? In making the transition from Algebra to a computer science friendly math class, such as many states have legislatively enabled (Oregon one such state), the distinction between what's a callable and what's not may feel familiar. Traditional math notation has to disambiguate

[Edu-sig] round trip with unicode (the Latin-1 neighborhood)

2014-03-15 Thread kirby urner
Round Trip in UTF-8: Two Byte Encodings Explanation: Latin-1 includes all of 127 7-bit ASCII and begins the 2-byte encodings in UTF-8. Below, Latin-1 character at code point 200 is represented as bytes then broken down into bits. When utf-8 needs two bytes (it might use up to six), the

Re: [Edu-sig] Reeborg news

2014-03-13 Thread kirby urner
This is all great news Andre. Interesting packages that dissect themselves in a what makes me tick way are doubly valuable, at least doubly. Reeborg's World, which I just visited, looks really friendly / accessible, a great way to learn. I starting move( )-ing immediately. I look forward to

Re: [Edu-sig] Just for Fun: Another Fractal (ASCII output)

2014-03-04 Thread Kirby Urner
Just to conclude the the code part (from me), I realized while walking this morning that POV-Ray scene description language is such that the ordering of sphere placement would not matter, so just iterate through the keys. The code before tried to construct the keys by duplicating the raster

[Edu-sig] A Descriptor (demonstrating the concept)

2014-03-04 Thread Kirby Urner
Just for Fun A quick sketch of a Descriptor construct. A descriptor is a type instance with a __get __ and __set__ protocol, also __delete__, and designed to satisfy a common need to manage setting and getting with mediating methods. http://docs.python.org/3.4/howto/descriptor.html (cc) Kirby

Re: [Edu-sig] Just for Fun: Another Fractal (ASCII output)

2014-03-02 Thread Kirby Urner
or import simple_fractal into this module (cc) Kirby Urner, MIT license 4dsolutions.net Example bash command lines to generate the output file and then render it into a PNG file: mackurner:Documents kurner$ python3 simple_fractal.py mackurner:Documents kurner$ povray +Imandelbrot.pov +A[0.1

[Edu-sig] Just for Fun: Another Fractal (ASCII output)

2014-03-01 Thread Kirby Urner
Just for Fun: Simple Fractal (ASCII art) (cc) Kirby Urner, MIT license 4dsolutions.net class M: Plant an M-Seed and call it, in each cell of the Garden depth = 7 def __init__(self, x, y): self.c = complex(x,y) def __call__(self): z = 0+0j

[Edu-sig] edu-sig web page

2014-02-22 Thread kirby urner
As a former author / maintainer of the edu-sig web page and frequent visitor thereto, I have (a) welcomed the new beta website and (b) sent some feedback to the effect that: (i) opening first link / mention of this edu-sig maillist gets permission denied (ii) opening last link /

Re: [Edu-sig] Looking for a course syllabus exemplars for a high school year-long course in Python/Javascript

2014-02-21 Thread kirby urner
/kb/message.jspa?messageID=9391791 Related: https://groups.google.com/forum/#!topic/mathfuture/GszzTxcxEoE Kirby On Fri, Feb 21, 2014 at 12:59 AM, kirby urner kirby.ur...@gmail.com wrote: An excellent textbook, mentioned (by me) recently in this ongoing thread: http://mathforum.org/kb

Re: [Edu-sig] Looking for a course syllabus exemplars for a high school year-long course in Python/Javascript

2014-02-20 Thread kirby urner
An excellent textbook, mentioned (by me) recently in this ongoing thread: http://mathforum.org/kb/thread.jspa?threadID=2620194 Kirby On Thu, Feb 20, 2014 at 12:54 PM, roberto robert...@gmail.com wrote: wow, I didn't know that, thanks for sharing Roberto On Thu, Feb 20, 2014 at 3:59 PM,

[Edu-sig] some Pythonic Math for code scouts

2014-02-14 Thread kirby urner
More ActiveMath... by K. Urner (c) MIT License 4dsolutions.net/ocn : Oregon Curriculum Network Merit badge activity: study the Method Resolution Order defined below and make a drawing of the inheritance tree, with object at the top and ScoutManual at the bottom. class Cove: def

[Edu-sig] a segue from discrete math to calculus using Python

2014-02-03 Thread Kirby Urner
Discrete math approach to Calculus This is what I imagine as a segue from discrete math to calc, using Python. We're using a tiny delta_x = h to compute values discretely, and then comparing those computed series with functions at the limit such as calculus would give us. It's the same segue

Re: [Edu-sig] a segue from discrete math to calculus using Python

2014-02-03 Thread Kirby Urner
, but also to learning about class decorators: __author__ = 'Kirby Urner' (c) MIT License, K. Urner, 4D Solutions, 2014 from math import log h = delta_x = 1e-2 # tiny delta class Derivative: def __init__(self, func): self.func = func def __call__(self, x): f = self.func

[Edu-sig] OSCON 2014: Call for Participation (proposals due Jan 30).

2013-12-18 Thread Kirby Urner
OSCON, the annual Open Source Convention held in Portland OR, will be held next year from July 20-24. The call for participation has now been published, and there will again be a Python track. Please see the full call at http://www.oscon.com/oscon2014/public/cfp/308. Submissions for 3-hour

[Edu-sig] the Python ecosystem...

2013-12-13 Thread kirby urner
We've been discussing the evolving Raspberry Pi picture on MathFuture somewhat (overlapping contributors), noting Wolfram Language throwing itself in the ring, as another language the Pi supports. My Gchat with Indonesia this evening was about that. I had another Hangout with the eduSummit gang.

Re: [Edu-sig] Fibonacci Numbers and Phi (again)

2013-11-23 Thread kirby urner
On Fri, Nov 22, 2013 at 9:49 PM, Litvin lit...@skylit.com wrote: Kirby, I am sorry to spoil all the fun, but this is a not a gem but a mathematical trick, and I think the way to deal with mathematical tricks is to explain them, not to verify with code. Having an algebraic verification is

Re: [Edu-sig] Fibonacci Numbers and Phi (again)

2013-11-23 Thread kirby urner
Yes, I would consider that an improvement, though I might go back to a generator with: from math import sqrt rt5 = sqrt(5) phi = (1 + rt5)/2 def neat_formula(f0, f1, f2): while True: yield (f0 + f2 + rt5*f1)/2 f0, f1, f2 = f1, f2, f1+f2 power_of_phi = phi**(-6) results =

[Edu-sig] Fibonacci Numbers and Phi (again)

2013-11-22 Thread kirby urner
Here's something mathematical from the Poly list [1], adapting something by David Koski. The code shows how one might use a program to express a cool relationship, without offering a proof. The unit-test shows use raising PHI from the -6 to the 29th power and finding an equivalent expression

<    1   2   3   4   5   6   7   8   9   10   >