[Edu-sig] spreading the word about PythonAnywhere

2012-02-23 Thread kirby urner
Re: freeing scholars to return to their studies === http://www.pythonanywhere.com/user/pdx4d/consoles/ You won't be able to access that username's consoles without a password, but feel free to set up your own account. Here's a way to share Python across the wire. A way to play around and

[Edu-sig] should we have learning languages?

2012-02-12 Thread kirby urner
One still hear's tones of regret that the good old days are over, when one's choice of a first year computer language was obvious: Algol or Pascal. Today there's no such consensus (if there ever was), but another question is should we have learning languages? There was a time when it was

[Edu-sig] will cows code?

2012-02-12 Thread kirby urner
My whimsical title relates to the conflation of two notions: cows in a morphogenetic field, and the spread of computer languages. As more and more people learn Python, does it get easier to learn? That would seem an obvious no unless you believe in magic, but then think about it: more people

[Edu-sig] Net Logo / Tractor Art

2012-01-17 Thread kirby urner
I'm downloading Net Logo in the background. Logo is making a come back in this new form, thanks to complexity studies. http://www.flickr.com/photos/17157315@N00/5583591181/in/set-72157625646071793 Turtles have become agents and the typical thing is to have thousands of them.

[Edu-sig] a Python title I'd like to see.... (idle fantasy)

2011-12-23 Thread kirby urner
My idea of good Python lore would be an almost book length discussion, at least, of the implementation of the list data structure. Go through the C in great detail, using this as an excuse to teach C in the context of it's supporting a higher language, looking ahead for your readers, knowing some

Re: [Edu-sig] Using try / except: any stipulations against routine use?

2011-12-15 Thread kirby urner
On Thu, Dec 15, 2011 at 8:00 AM, Andrew Harrington ahar...@luc.edu wrote: I'm not sure we are clear on the audience here.  I use Python in teaching in different situations.   For the newbie course with my Hands-on Python Tutorial, the main idea is an intro to creative programming, where many

Re: [Edu-sig] Using try / except: any stipulations against routine use?

2011-12-15 Thread kirby urner
On Thu, Dec 15, 2011 at 10:18 AM, Christian Mascher christian.masc...@gmx.de wrote: On the other hand,     res_dict[ext] = res_dict.get(ext, 0) + 1 Isn't this at least as readable, and conceptually simpler?    if ext in res_dict:        res_dict[ext] += 1    else:         res_dict[ext] =

Re: [Edu-sig] Using try / except: any stipulations against routine use?

2011-12-14 Thread kirby urner
Interesting responses. I harp on that somedict [ key ] = somedict.get( key, 0 ) + 1 option quite a bit, as shorter and easier than all that try / except stuff. That's just the bias I've been applying, to an invisible army of... what? Hundreds? Hard to keep track. Anyway, good to see the

Re: [Edu-sig] Using try / except: any stipulations against routine use?

2011-12-14 Thread kirby urner
Isn't this at least as readable, and conceptually simpler?    if ext in res_dict:        res_dict[ext] += 1    else:        res_dict[ext] = 1 I get that a lot too and often propose my one-liner. This is not a matter of flagging a mistake, just showing another way. It's a chance to learn

Re: [Edu-sig] Using try / except: any stipulations against routine use?

2011-12-14 Thread kirby urner
On Wed, Dec 14, 2011 at 3:08 PM, Laura Creighton l...@openend.se wrote: In a message of Wed, 14 Dec 2011 14:36:43 PST, kirby urner writes: Isn't this at least as readable, and conceptually simpler? if ext in res_dict:    res_dict[ext] += 1 else:    res_dict[ext] = 1 I get that a lot too

Re: [Edu-sig] Using try / except: any stipulations against routine use?

2011-12-14 Thread kirby urner
On Wed, Dec 14, 2011 at 7:38 PM, Laura Creighton l...@openend.se wrote: If you are seeing this over and over, then it is time to reach for defaultdict, no?  I've found that that often does produce what is for me more readable code, and has the advantage of being very fast, too. I'm happy to

[Edu-sig] Using try / except: any stipulations against routine use?

2011-12-13 Thread Kirby Urner
Below is typical feedback to a student. What do others think regarding my discussion of using try /except in routine dict manipulation? Kirby === Yes perfect. Good work. try: res_dict[ext] += 1 except KeyError: res_dict[ext] = 1 This code is not

Re: [Edu-sig] mac python graphics

2011-12-07 Thread Kirby Urner
Somewhat tangentially bouncing around in this vicinity, I offer these remarks re our situation at work, where we want students connecting over the wire to have good first experience using Python. Retention is an issue. The school's guiding philosophy requires providing real hands-on programming

[Edu-sig] some useful memes anyone might use when teaching / learning Python

2011-11-14 Thread kirby urner
Useful memes: === 1. Bootup background as starry firmament: Python comes with a relatively fixed firmament, like the sphere of the the stars: the '__builtins__' namespace. When your script (from your playbook) launches, it may assume this starry firmament as a background. print( ) will be

Re: [Edu-sig] Teaching GUI's in Python?

2011-11-14 Thread kirby urner
On Wed, Nov 9, 2011 at 11:59 AM, Andrew Harrington ahar...@luc.edu wrote: Is anyone trying to modernize the code to work with more modern versions of the supporting packages?  Sad to still see Arthur's email address still on the home page so many years after his death. I've seen estates keep

Re: [Edu-sig] some useful memes anyone might use when teaching / learning Python

2011-11-14 Thread kirby urner
More memes welcome.  Imagining a culturally savvy adult audience that knows about Monty Python is a helpful practice, if aiming for Python.tv Kirby 4. Theater metaphors re agency One of my recent comments on a student quiz re what is a namespace? names refer to objects in memory.

Re: [Edu-sig] Teaching GUI's in Python?

2011-11-09 Thread Kirby Urner
On Wed, Nov 9, 2011 at 8:58 AM, Brian Wilkinson brian.wilkin...@ssfs.org wrote: Hello everyone, Our upper school, looking to beef up their technology offerings, offered an introductory programming course this year using Python.  I am normally a technology coordinator, supporting teachers

Re: [Edu-sig] Teaching GUI's in Python?

2011-11-09 Thread Kirby Urner
Exhibit, old project:  http://pygeo.sourceforge.net/ Arthur Siegel was the creator of this and he and I used to take a lot of the bandwidth here on edu-sig hashing it out about various topics. I still go back to that stuff. We have a great archive, lots of spirited discussion. Having read

Re: [Edu-sig] negative connotation of object orientation

2011-10-29 Thread Kirby Urner
On Wed, Oct 26, 2011 at 8:25 PM, michel paul mpaul...@gmail.com wrote: On Wed, Oct 26, 2011 at 3:36 PM, kirby urner kirby.ur...@gmail.comwrote: PS: on a related topic, there's also a negative connotation associated with imperative programming. The word imperative gets translated to mean

[Edu-sig] negative connotation of object orientation

2011-10-26 Thread kirby urner
Appended: from a Physics teaching list I frequent. Note the negative connotations associated with object orientation (= asocial = lack of social affect). I take up this ethnographic thread in my blogs and this discussion list from time to time, as I think it's apropos to many subtopics

Re: [Edu-sig] Interested in a BBC Micro in schools project?

2011-10-05 Thread kirby urner
Greetings Alan, thanks for filing your thinking on edu-sig, where I'm a lurker from the beginning or close to it (CP4E predates my involvement). I think readers outside the UK might benefit from a more frequent decoding of BBC into British Broadcasting Corporation here and there in your writings.

Re: [Edu-sig] notes from a User Group meeting... (Urner in Portland)

2011-09-28 Thread Kirby Urner
Our recent PPUG meeting at Produce Row included Michelle Rowley's proposal to do a Pycon talk centered around posture, ergonomics, yoga, all those tricks you need to know to stay buff in your cubicle. Something like: class Kundalini: def __chakra1__(self): Muladhara def

[Edu-sig] notes from a User Group meeting... (Urner in Portland)

2011-09-27 Thread kirby urner
I've been enjoying repartee with the math-teach irregulars over on Math Forum, an old haunt of mine, approaching 6K postings over the years, maybe more if we count lost dialogs (had a good one with J.H. Conway when MF was still with Swarthmore). The thread includes some commentary on OLPC and

[Edu-sig] djangsta rap

2011-09-11 Thread kirby urner
Greetings from Portlandia. DjangoCon 2011 has just ended. This is a pretty deep community with some excellent leadership, and the size of conference (under 400) is comfortable and intimate for many people. Here's a link to some fun pix from Yarko that I just got from Chairman Steve (as in Steve

Re: [Edu-sig] Yet another online Python...

2011-09-01 Thread Kirby Urner
On Thu, Sep 1, 2011 at 8:59 AM, kirby urner kirby.ur...@gmail.com wrote: Python's Standard Library turtle module is just another Python module with no more docs than average for an SL mod. I suppose in the interests of completeness we should mention that Python's native turtle mod

Re: [Edu-sig] Announcement: How to Think Like a Computer Scientist -- Interactive Edition

2011-08-29 Thread kirby urner
On Sat, Aug 27, 2011 at 11:20 PM, Sarina Canelake sar...@mit.edu wrote: Hi Kirby, Thanks for the feedback. I've enjoyed reading your posts on the list, and the specific concerns you address are well worth considering. If you don't mind, I'd like to give some background on my project. I'm glad

Re: [Edu-sig] OO and story problems

2011-08-28 Thread kirby urner
2011/8/27 moku...@earthtreasury.org: It turns out that many Young-Earth Creationists deny the existence of all of geology (including all methods of dating rocks using radioactive isotopes) and most of astronomy. We cannot, in their view, see light from objects more than 10,000 light-years

[Edu-sig] Yet another online Python...

2011-08-28 Thread kirby urner
Just alerted to this one by the chairman: http://pythonfiddle.com/ Still checking it out. Kirby ___ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig

Re: [Edu-sig] Announcement: How to Think Like a Computer Scientist -- Interactive Edition

2011-08-27 Thread Kirby Urner
On Sat, Aug 27, 2011 at 8:31 AM, Sarina Canelake sar...@mit.edu wrote: Hi Carl, I am a master's student, and for my project I am building an interactive Python tutor system, hopefully with 150-250 problems, as well as embedded video. Some of my inspirations have been the Khan Academy and

[Edu-sig] OO and story problems

2011-08-26 Thread kirby urner
I've been haunting the math-teach list, as usual, suggesting we take a page from AP computer science and build our math around an interlinked, themed, consistent set of story problems -- rather than making these meaningless (deliberately). The opponents in this debate bring up the specter of

Re: [Edu-sig] OO and story problems

2011-08-26 Thread kirby urner
2011/8/26 Charles Cossé cco...@gmail.com: Greetings, Kirby, just thought I'd throw-out-there that physics/astronomy can offer a context that is neither meaningless, nor open to political propaganda.   Of course anything can be twisted, but at least it's relatively free from the specters that

Re: [Edu-sig] Announcement: How to Think Like a Computer Scientist -- Interactive Edition

2011-08-26 Thread kirby urner
On Fri, Aug 26, 2011 at 7:07 PM, Carl Cerecke c...@free.org.nz wrote: Looks good. Nice work. +1 Blogged a link: http://worldgame.blogspot.com/2011/08/how-to-think-like-computer-scientist.html Great contribution to computer lit. Kirby Hello, As part of my Sabbatical this past year I've

Re: [Edu-sig] Blogs, Videos, Songs and Documentaries for your viewing pleasure!

2011-08-13 Thread kirby urner
On Thu, Aug 11, 2011 at 4:59 PM, A. Jorge Garcia calcp...@aol.com wrote: Here's my blogs about Learning and Teaching Math and Computing with technology! http://shadowfaxrant.blogspot.com/2011/07/taking-show-on-road.html Really glad you're collecting and posting these in one place. Great to

[Edu-sig] some analysis from OSCON (part 1 of 3)

2011-08-01 Thread kirby urner
Lots of talk of a code of conduct going in, as I pieced it together later, with dribs and drabs on the organizer's list, which I've been on. We had some last minute plea for some small print boilerplate, like a EULA, that no one reads, until getting a Knock on the Door from Microsoft... Of

Re: [Edu-sig] Musings on PEP8

2011-07-19 Thread Kirby Urner
http://wiki.sugarlabs.org/go/Activities/TurtleArt/Tutorials/Numerals I have several of these tutorials in a reasonably finished state, and many more written but not illustrated, with more outlined. Cardinals and mappings are in the Counting tutorial, but I have not tackled ordinals yet.

Re: [Edu-sig] Musings on PEP8

2011-07-18 Thread kirby urner
Hi Vernon, ... not to be confused with Vern the Watcher Ceder. On Mon, Jul 18, 2011 at 8:47 AM, Vernon Cole vernondc...@gmail.com wrote: There is a very good reason for this: standard library code must be readable for people all over the world. That's why a Dutch software engineer wrote a

Re: [Edu-sig] Musings on PEP8

2011-07-18 Thread kirby urner
On Mon, Jul 18, 2011 at 1:00 PM, Vern Ceder vce...@gmail.com wrote: Since Kirby invoked me by name ;), I'll jump in with a quick top post, a) because I'm lazy and in a hurry, and b) because my comments are only generally related to the specifics of the previous posts. Apologies. First of

Re: [Edu-sig] General Programming Education

2011-07-15 Thread Kirby Urner
Then we have a choice of transitioning to Python, supported directly within Turtle Art using program blocks; Logo, which we can create as an export option from Turtle Art; or the Etoys environment for Smalltalk, which can also do turtle graphics using tile-based programming. There are also

Re: [Edu-sig] General Programming Education

2011-07-14 Thread kirby urner
On Thu, Jul 14, 2011 at 8:20 PM, Corey Richardson kb1...@aim.com wrote: SNIP But, my real question to you educators is, which paradigm do you use when first teaching programming, and why? My peers cite OOP because, frankly, it's the only thing they've learned and have heard that e.g.

Re: [Edu-sig] Python and pre-algebra

2011-07-01 Thread kirby urner
@David: thanks for the autobio, starting in Hillsboro where I was talking about the police jumping into Linux to improve their relations with youth culture. It was an experiment. Saturday Academy was where the police turned for instructors, which I where I came into that story, via George

Re: [Edu-sig] Python and pre-algebra

2011-06-30 Thread kirby urner
On Thu, Jun 30, 2011 at 8:03 PM, moku...@earthtreasury.org wrote: On Wed, June 29, 2011 7:15 pm, mary.do...@comcast.net wrote: I teach 6th grade math and Python was suggested as a way to apply pre-algebra concepts in a programming context. My programming background consists of one C++

Re: [Edu-sig] Python and pre-algebra

2011-06-29 Thread kirby urner
Hi Mary -- Many subscribers to edu-sig have developed interesting approaches over the years. There's a lot of interest in turtle art and/or turtle graphics. There's this tendency to divide algebra from geometry, whereas some teachers think it's important to keep lexical and graphical connected.

Re: [Edu-sig] Inexpensive robot teaching platforms

2011-06-25 Thread kirby urner
Fun to enhance robotics threads with science fiction, to give it more texture. My Martian Math class last summer focused on Python, but also the Mars probes (watched some Youtubes [1]), sometimes called robots, though remotely piloted, not autonomous (the case with many robots, including bomb

Re: [Edu-sig] More practice exercises

2011-06-11 Thread kirby urner
I've been looking these over since reading your post. I'd heard of this project but this was my first time to really check it out. Euler's name has been coming up for sure, these days more in a city with bridges context, in that I'm interested in optimizing food flows, using bicycles to

Re: [Edu-sig] More practice exercises

2011-06-11 Thread kirby urner
On Sat, Jun 11, 2011 at 10:54 AM, kirby urner kirby.ur...@gmail.com wrote: I've been looking these over since reading your post. I'd heard of this project but this was my first time to really check it out. Euler's name has been coming up for sure, these days more in a city with bridges

Re: [Edu-sig] NEW: Blogs, Videos and Donorschoose!

2011-06-11 Thread kirby urner
Lots of great links here. Was surfing around, 1 degree of separation, and came across this excellent Ignite talk: http://www.youtube.com/calcpage2009#p/f/23/t3IP_FmGams (about restoring an Archimedes text from like an overwritten hard drive -- fortunately, it was analog (a book)). Such great

Re: [Edu-sig] this is interesting

2011-06-08 Thread Kirby Urner
On Tue, Jun 7, 2011 at 9:51 PM, michel paul mpaul...@gmail.com wrote: def f(n, history = []): history.append(n) return history f(1) [1] f(2) [1, 2] f(3) [1, 2, 3] f(2) [1, 2, 3, 2] f(1) [1, 2, 3, 2, 1] f(1,[]) [1] A student wrote me wondering why his function wouldn't

[Edu-sig] background docs on Tractor Art

2011-06-03 Thread Kirby Urner
I'm thinking OOP, more than any other paradigm, encourages a rich set of metaphors, which may be touted as an advantage if you're ever up against the well in an OOP-hostile room (been there done that). Anti-imperativists can be pretty militant. Inheritance is a most obvious metaphor, from whence

Re: [Edu-sig] egyptian fractions...

2011-06-02 Thread Kirby Urner
Hi, Kirby. Thanks for mentioning Egyptian fractions. I think one of the algorithms for finding them leads to a neat programming exercise on representing numbers in binary. Given p/q, where q is a prime, first find n such that 2^n q 2^(n+1). Then consider Q = q*(2^n). Q has a

[Edu-sig] egyptian fractions...

2011-06-01 Thread kirby urner
Hey Jeff, your question about controlling the turtle's screen might have been just the ticket in my attempts to control chaos, namely G. Lingl's chaos.py, which demonstrates sensitivity to initial conditions is a plus if you want your algebra to stay on the same page as itself, per equalities that

Re: [Edu-sig] (egyptian fractions...) the turtle part: chaos.py

2011-06-01 Thread kirby urner
On Wed, Jun 1, 2011 at 2:52 PM, Gregor Lingl gregor.li...@aon.at wrote: Hi Kirby, it's fine that you host a slightly amended version of chaos.py on your website. Thanks Gregor. I've also got John Zelle's graphics.py in the docket. Having any backend code is a somewhat new idea. I'm

Re: [Edu-sig] (egyptian fractions...) the turtle part: chaos.py

2011-06-01 Thread Kirby Urner
On Wed, Jun 1, 2011 at 2:59 PM, Edward Cherlin echer...@gmail.com wrote: Baseball stats and turtles? That's something I have been wishing for. I think that the best way to interest children in probability and statistics is sports, including published data and the book Money Ball. Also Nate

Re: [Edu-sig] practice exercises and solutions

2011-05-21 Thread Kirby Urner
I've got tons of free stuff on-line that I use with high-school aged or adults (who tend to be slower, if better informed). However, not much of it fits the exercises + solutions format. If I were you' I'd invest in a copy of Mathematics for the Digital Age and Programming in Python by Litvin

Re: [Edu-sig] place for 800x600 python videos

2011-05-16 Thread Kirby Urner
I know the owner of Python.tv which is one logical place. But I don't think it's mapped yet. What's the resolution of ShowMeDo? I have a bunch on there myself. Kirby On Mon, May 16, 2011 at 5:12 PM, Andrew Harrington ahar...@luc.edu wrote: I'm making a bunch of videos for my Hands-on

Re: [Edu-sig] More cogitations on group theory...

2011-05-15 Thread kirby urner
Groupoids, categories, rings (clock time), fields (modular arithmetic), vector spaces, and algebras require a bit more thought, but I am sure that they can be done. That's perfect Ed. Good to hear for another die-hard group theory for children dude, a vanishing breed perhaps. My intended

Re: [Edu-sig] More cogitations on group theory...

2011-05-15 Thread Kirby Urner
On Sun, May 15, 2011 at 9:13 AM, Edward Cherlin echer...@gmail.com wrote: On Sun, May 15, 2011 at 04:12, kirby urner kirby.ur...@gmail.com wrote: Groupoids, categories, rings (clock time), fields (modular arithmetic), vector spaces, and algebras require a bit more thought, but I am sure

[Edu-sig] Game of Life in Sketchup; unittesting and TDD (pedagogy)

2011-05-09 Thread Kirby Urner
Hey Gregor, I'm being somewhat hopelessly abstruse (obtuse?) in this philosophy list. You'll see your name going by, in connection with that Wittgenstein sister's house in Vienna: http://groups.yahoo.com/group/WittrsAMR/message/4360?var=0l=1 BBC spent some time on it (her house) in some erudite

Re: [Edu-sig] Game of Life in Sketchup; unittesting and TDD (pedagogy)

2011-05-09 Thread Kirby Urner
On Mon, May 9, 2011 at 6:06 PM, Corey Richardson kb1...@aim.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/09/2011 07:11 PM, Kirby Urner wrote: It's like doctest but different in that we're not showing interactions, though we could be. I saw in #python that someone

Re: [Edu-sig] snapshotting some instructional scaffolding...

2011-05-04 Thread Kirby Urner
On Tue, May 3, 2011 at 10:07 PM, Kirby Urner kur...@oreillyschool.com wrote: OST Skunkworks: Freakish Tractor generator that moves forward to a boundary reading current character, writing current marker. Fuel might run out. send protocol may be employed to tank up, redirect, change

[Edu-sig] What is a Python module?

2011-05-03 Thread kirby urner
I posed this question before. The usual answer is: a file containing Python source code. But you can import .pyc files even after the .py files are been removed, likewise .pyd files. Is a Python module anything that's importable and runnable within Python, that responds to dir( ) etc.? True

Re: [Edu-sig] What is a Python module?

2011-05-03 Thread Kirby Urner
A module is an object like any other: I agree with you Corey. So those saying a module consists of Python source code are being a bit loose with the term. It's sufficient that it behave in a Pythonic manner. We could have lots of Python modules without source in some collection. Kirby

Re: [Edu-sig] What is a Python module?

2011-05-03 Thread Kirby Urner
I appreciate your quoting GvR and continue to note that the source might already be yummy byte code in whatever target VM language, be that Java's or Mono's or some VM not yet written. Source code is one step away from runtime digestible, in still needing to be parsed, and as such need not be

Re: [Edu-sig] What is a Python module?

2011-05-03 Thread Kirby Urner
://www.trypython.org/ http://www.trypython.org/-- Vernon On Tue, May 3, 2011 at 11:53 AM, Kirby Urner kur...@oreillyschool.comwrote: [...] One might imagine a Python chat window showing up as a chat service (shell) and behaving much as an ordinary Python interpreter in REPL mode (great for learning, we

Re: [Edu-sig] What is a Python module?

2011-05-03 Thread Kirby Urner
Over 30% of the modules you will be importing today were written in either Erlang or Haskell... That's going to make sense, right? Kirby On Tue, May 3, 2011 at 2:03 PM, Robert sigz...@gmail.com wrote: On 2011-05-03 03:39:52 -0400, kirby urner said: I posed this question before

Re: [Edu-sig] What is a Python module?

2011-05-03 Thread kirby urner
Wait, OK, there we go, Silverlight installed. OK, cool, a handsome Python REPL. At OST we use server hosted Eclipse with remote desktop, pretty off the shelf but with some custom guts. Kirby On Tue, May 3, 2011 at 2:23 PM, Kirby Urner kur...@oreillyschool.com wrote: No good experience so far

[Edu-sig] snapshotting some instructional scaffolding...

2011-05-03 Thread Kirby Urner
OST Skunkworks: Freakish Tractor generator that moves forward to a boundary reading current character, writing current marker. Fuel might run out. send protocol may be employed to tank up, redirect, change the marker. Farm is an n x m array, presumably smallish, for interactive console

Re: [Edu-sig] anyone using Python with Sketchup (free Google tool)?

2011-04-19 Thread kirby urner
On Mon, Apr 18, 2011 at 2:45 PM, Lee Harr miss...@hotmail.com wrote: Is there an advantage to using SketchUp over Blender? Hi Lee -- I've been meaning to reply to this. I have only the utmost respect for Blender, which I've tackled a number of times. I mostly cut my teeth on POV-Ray

[Edu-sig] anyone using Python with Sketchup (free Google tool)?

2011-04-17 Thread kirby urner
sketchuptips.blogspot.com/2009/02/supy-scripting-sketchup-in-python.html ___ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig

Re: [Edu-sig] anyone using Python with Sketchup (free Google tool)?

2011-04-17 Thread kirby urner
: Now, that's a cool idea! I'll have to pass that along to our engineering class, which uses sketchup some... Thanks, Vern On Sun, Apr 17, 2011 at 11:34 AM, kirby urner kirby.ur...@gmail.comwrote: sketchuptips.blogspot.com/2009/02/supy-scripting-sketchup-in-python.html

[Edu-sig] demented Python...

2011-04-02 Thread kirby urner
In calling something demented I'm coming off the namespace used around genres of cartoon. Cartoons I'd consider demented: Pinky and the Brain Ren and Stimpy Teenage Aqua Hunger Force (Kevin Altis of PythonCard a fan) SpongeBob SquarePants ... (see clips on Youtube for any/all) Synonyms for

Re: [Edu-sig] demented Python...

2011-04-02 Thread kirby urner
On Sat, Apr 2, 2011 at 11:16 AM, kirby urner kirby.ur...@gmail.com wrote: In calling something demented I'm coming off the namespace used around genres of cartoon. Cartoons I'd consider demented: Pinky and the Brain Ren and Stimpy Teenage Aqua Hunger Force (Kevin Altis of PythonCard

Re: [Edu-sig] Interesting gotcha

2011-03-30 Thread kirby urner
On Wed, Mar 30, 2011 at 11:31 AM, Edward Cherlin echer...@gmail.com wrote: So 'in' is a comparison operator, is it? I am annoyed at how long it took me to verify that Python treats it as such, and I am also annoyed that it is so. http://docs.python.org/tutorial/datastructures.html 5.7. More

Re: [Edu-sig] Too simple (was Re: Interesting gotcha)

2011-03-30 Thread kirby urner
ratios (proportions). So my Python not surprisingly tilted towards VPython in much of my writings and slideshows (from visual import *). You'll see other themes as well. Basically it's all Geometry or Geography for me (like on mathfuture), keeps it neat and easy, Occam my barber too. Kirby Urner

Re: [Edu-sig] Interesting gotcha

2011-03-29 Thread kirby urner
On Mon, Mar 28, 2011 at 10:06 PM, Michael H. Goldwasser goldw...@slu.eduwrote: To start a new thread, I'm always trying to keep a list of some common gotchas that beginning students run across when using Python, or things that teachers should keep in mind when teaching with the language.

[Edu-sig] looking for explanations... globals dynamic dict

2011-03-28 Thread kirby urner
One of my Python students alerted me to this state of affairs. I understand that what globals( ) returns will fluctuate as new names come and go. What I less understand is why g isn't just a *snap shot* of what was global at the time globals( ) ran. Now it's just a dictionary like any other

Re: [Edu-sig] looking for explanations... globals dynamic dict

2011-03-28 Thread kirby urner
Good hearing from you John. It's interesting to compare globals( ) with dir( ). That latter is affected by the new names in a for loop but doesn't reflect these changes until later, whereas globals( ) raises an exception. The globals dict seems an unusual beast. Interesting recursivity too.

Re: [Edu-sig] looking for explanations... globals dynamic dict

2011-03-28 Thread kirby urner
On Mon, Mar 28, 2011 at 1:29 PM, Laura Creighton l...@openend.se wrote: In a message of Mon, 28 Mar 2011 11:19:45 PDT, kirby urner writes: --===091573== Content-Type: multipart/alternative; boundary=20cf303b3f9bfa4ea5049f8efcd What I less understand is why g isn't just

Re: [Edu-sig] looking for explanations... globals dynamic dict

2011-03-28 Thread kirby urner
On Mon, Mar 28, 2011 at 5:02 PM, Laura Creighton l...@openend.se wrote: Incorrect, I think. When I am talking about 'the same 'one' object', what I mean is not some sort of philosophical one-ness, some Platonic ideal of one, which like all the numbers, is a singleton, wherever it occurs in

[Edu-sig] looking for explanations... globals dynamic dict

2011-03-28 Thread kirby urner
On Mon, Mar 28, 2011 at 3:23 PM, Michael H. Goldwasser goldw...@slu.eduwrote: Note well that the issue has changed since the original post. The question at the time concerned the following code Not to quibble, but the issue of the *original* post had to do with assignments (such as those

Re: [Edu-sig] Videos of edu-sig talks at PyCon

2011-03-21 Thread kirby urner
- From: kirby urner kirby.ur...@gmail.com To: edu-sig@python.org Sent: Fri, Mar 18, 2011 3:39 pm Subject: Re: [Edu-sig] Videos of edu-sig talks at PyCon Then I should have linked to this OpenGL stuff, which is kinda like what I've been doing in VPython. http://blip.tv/file/4882916

Re: [Edu-sig] Videos of edu-sig talks at PyCon

2011-03-18 Thread kirby urner
Then I should have linked to this OpenGL stuff, which is kinda like what I've been doing in VPython. http://blip.tv/file/4882916 But as of tonight, that talk in particular is down (not available).  I hope this is a temporary situation. Yep, definitely broken for others as well.  We've

Re: [Edu-sig] Videos of edu-sig talks at PyCon

2011-03-17 Thread kirby urner
I should contact this guy! http://pycon.blip.tv/file/4880794/ That's Vern's talk, which I liked. Then I should have linked to this OpenGL stuff, which is kinda like what I've been doing in VPython. http://blip.tv/file/4882916 But as of tonight, that talk in particular is down (not

Re: [Edu-sig] Videos of edu-sig talks at PyCon

2011-03-14 Thread Kirby Urner
On Sun, Mar 13, 2011 at 9:12 PM, Vern Ceder vce...@gmail.com wrote: They have the videos of our talks up already! The panel is at http://pycon.blip.tv/file/4879118/ and my talk on Python and robots in high school is at http://pycon.blip.tv/file/4880794/ Both were received pretty well, I

[Edu-sig] one solution (OST pi day challenge)

2011-03-14 Thread Kirby Urner
make math your own, to make your own math -- Maria Droujkova See: http://mail.python.org/pipermail/edu-sig/2011-March/010224.html http://worldgame.blogspot.com/2011/03/pycon-2011.html http://groups.google.com/group/mathfuture/msg/4a847eb3cc12db77?hl=en def makepi(): Pi to a thousand

[Edu-sig] another solution (OST pi day challenge)

2011-03-14 Thread Kirby Urner
by Horacio Nunez and posted to the OST FB zone before the end of Pi Day: http://merthin.com/?p=159 (source code below) Congratulations Horacio, and happy Pi Day. That's 2 for Python. Score! OST == ##author: Horacio Nunez import decimal, math, functools D = decimal.Decimal C =

Re: [Edu-sig] PSF Brochure - call for submissions

2011-03-13 Thread Kirby Urner
On Sat, Mar 12, 2011 at 6:36 PM, Vern Ceder vce...@gmail.com wrote: Hi everyone, In chatting with Charlie Clark and others today, it came up that we aren't doing as much as we might to promote the successes of Python in education. So I agreed to pass along to this list the call for content

[Edu-sig] Programming challenge:

2011-03-11 Thread Kirby Urner
=== makingmath.py === make math your own -- Maria Droujkova def makepi(): stub function Ramanujan's freakish formula http://worldgame.blogspot.com/2008/02/reflective-fragment.html # using_gmpy() # using_decimal() # using_whatever() return 3.14 ===

Re: [Edu-sig] Eclipse as Python3 IDE

2011-03-11 Thread kirby urner
I can understand why they did it. They haven't won me over to eclipse though. I just find the interface too busy for my liking (although that could just be the way they ahve it setup for the school). If I am doing a few scripts I use Vim but I recently purchased PyCharm from the Jetbrains

Re: [Edu-sig] Which shell to use

2011-03-10 Thread kirby urner
On Wed, Mar 9, 2011 at 3:49 PM, Gregor Lingl gregor.li...@aon.at schrieb: Some might prefer a monospaced font like the beautiful Liberation Mono (GNU General Public License) for instance. Using a non monospace font can be irritating sometimes concerning the indentation. I should check that

[Edu-sig] another IDE option

2011-03-10 Thread kirby urner
For those already using Visual Studio: http://pytools.codeplex.com/ Kirby not @ Pycon === roland garros to comp-lang-pyth. show details 9:49 PM (17 hours ago) Hi folks, A couple of Python OSS enthusiasts at msft have produced an add-in for Visual Studio that enables intellisense, browsing,

[Edu-sig] multiplying permutations

2011-03-10 Thread Kirby Urner
Source code for math-teach post by Kirby Urner / OST (c) GNU Public License, 2011 import string, random charset = list(string.ascii_lowercase + ) def make_perm( ): make some random permutation object mapping ,a-z into itself target = charset[:] # copy all random.shuffle(target

Re: [Edu-sig] multiplying permutations

2011-03-10 Thread kirby urner
making operator overloading a snap. Write a class, define __mul__ to suit. Kirby On Thu, Mar 10, 2011 at 3:43 PM, Kirby Urner kur...@oreillyschool.com wrote: Source code for math-teach post by Kirby Urner / OST (c) GNU Public License, 2011 ___ Edu-sig

Re: [Edu-sig] Which shell to use

2011-03-08 Thread kirby urner
Good question. Depends *a lot* on the curriculum. If students are just being introduced to the idea of an REPL (read evaluate print loop) then showing off more than one IDE at the outset might prove enlightening. Show Tell: Python with vim in Linux shell. Show Tell: Python with IDLE with

Re: [Edu-sig] UnitTest?

2011-03-08 Thread kirby urner
Per the Steve Holden curriculum, which I'm currently teaching, we start with doctest and get students familiar with the whole idea of test driven development (TDD), which is presented as an aspect of agile programming. The beginner level leaves it at that, with the intermediate course starting in

Re: [Edu-sig] UnitTest?

2011-02-24 Thread kirby urner
Yeah these are both good suggestions. It's fun to throw maybe one or two examples of unittest into the mix, maybe already written (so-called scaffolding). But unless it's a course about programming / development and nothing more, flogging unittest (aka PyUnit) might seem too much of a detour.

[Edu-sig] discrete math vs digital math (does it matter?)

2011-02-20 Thread kirby urner
, and the log entry: http://worldgame.blogspot.com/2011/02/open-secrets.html Steve will be joining you at Pycon soon. I'm too booked up this year. I forget if Michelle will be going, I think she said yes. Ah, Steve is here, Kirby Urner 4dsolutions.net Martian Math Digital Math Pythonic Math Gnu

[Edu-sig] continued fractions (again)

2011-02-19 Thread kirby urner
continued fractions phi 1.6180371352785146 pi 3.1415189855952756 phi =\ (1 + 1/ (1 + 1/ (1 + 1/ (1 + 1/ (1 + 1/ (1 + 1/ (1 + 1/ (1 + 1/ (1 + 1/

Re: [Edu-sig] polystuff.py

2011-02-11 Thread kirby urner
I link back to our posts from here: http://mathforum.org/kb/message.jspa?messageID=7381491tstart=0 http://mathforum.org/kb/message.jspa?messageID=7381491tstart=0The next turn of the spiral might involve taking such functions and making them methods of a Polynomial object. Example framework:

[Edu-sig] polystuff.py

2011-02-10 Thread kirby urner
polystuff.py (Python 3.x) For a curriculum segment when we're not yet wanting to build user-defined classes. showpoly -- return an evaluable string with x the variable evalpoly -- return a numeric result given an evaluable string and x's value multipoly -- return the product of two polynomials

Re: [Edu-sig] NEW: Blogs, Videos and Donorschoose!

2011-02-07 Thread kirby urner
On Sun, Feb 6, 2011 at 5:48 PM, A. Jorge Garcia calcp...@aol.com wrote: NEW: Blogs, Videos and Donorschoose! Please enjoy my blogs on Midterm Week (installing SAGE and Ubuntu) and Course Selection Week (Recruiting for next year)! http://shadowfaxrant.blogspot.com FLOSS = Free Linux Open

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