The only effect of this resurrection I've seen is that Kirby removed the
Tim writes - link to TeachScheme from the Edu-SIG page.
If that prevents someone from stumbling into TeachScheme who otherwise would have, I'd judge it a net loss.
Not to stand still in the face of a potential net loss: My recommendation is to include the recently released DrPython editor in the Shells and Editors section of the page. I make that recommend based on the fact that I have tried DrPython, and find it -as advertised - a clean and simple environment for teaching. We might then link to the stated inspiration of of DrPython, DrScheme of the TeachScheme project. The intent of DrPython clearly being imitation as a form of flattery/respect - as per Kirby's earlier point made. Net gain. Art
At 11:33 PM 7/18/2003 -0500, Arthur wrote:
My recommendation is to include the recently released DrPython editor in the Shells and Editors section of the page. I make that recommend based on the fact that I have tried DrPython, and find it -as advertised - a clean and simple environment for teaching. We might then link to the stated inspiration of of DrPython, DrScheme of the TeachScheme project. The intent of DrPython clearly being imitation as a form of flattery/respect - as per Kirby's earlier point made.
Net gain.
Art
Good idea to include a link to DrPython. I'll add that on my next revision. But I might leave the link to DrScheme for the DrPython web page. He just needs to make that link live (or the curious will just google). On the other hand, PyGeo's makes mention of Cabri and Sketchpad. I suppose I could make those live links as well. I see some other stuff I could turn on too (SDL, wxWindows). I'll give it some thought.... OK, done thinking. I'll add some new links next revision, including to DrScheme under DrPython ( http://www.drscheme.org -- only one more click to TeachScheme! from there) Thanks again for the good suggestion. Kirby
[Arthur]
... My recommendation is to include the recently released DrPython editor in the Shells and Editors section of the page. I make that recommend based on the fact that I have tried DrPython, and find it -as advertised - a clean and simple environment for teaching. We might then link to the stated inspiration of of DrPython, DrScheme of the TeachScheme project. The intent of DrPython clearly being imitation as a form of flattery/respect - as per Kirby's earlier point made.
That's a happy idea -- thanks!
Apropos our recent thread, I was inspired to boot DrScheme and challenge myself to oil the rusty wheel works (i.e. my brain) enough to crank out a small Scheme program for totient(n) -- or as Schemers would write it: (totient n). Then I did the same in Python. Then I modified both. Then I explained how this isn't the "best" algorithm in either case (but maybe we'll get to that later): http://www.mathforum.org/epigone/k12.ed.math/gaupholflo For those who've read a lot of my stuff over the years, it's the same old same old. I don't seem to get tired of it. Kirby PS: here's the code I ended up with: Scheme: ;; totient : integer -> integer ;; compute the number of positives < n that are ;; relatively prime to n (define (totient n) (if (not (and (integer? n)(>= n 0))) "Incorrect input" (begin (let loop ((tot 0)(pos n)) (if (> pos 0) (loop (+ tot (if (= 1 (gcd n pos)) 1 0)) (- pos 1)) tot ) ) ) ) ) Python: def totient(n): """ count totatives of n, assuming gcd already defined """ if not (type(n)==type(1) and n>=0): raise ValueError, 'Invalid input type' tot,pos = 0, n while pos>0: if gcd(pos,n)==1: tot += 1 pos -= 1 return tot
participants (3)
-
Arthur
-
Kirby Urner
-
Tim Peters