From kirby.urner at gmail.com Sat Oct 4 23:51:28 2014 From: kirby.urner at gmail.com (kirby urner) Date: Sat, 4 Oct 2014 14:51:28 -0700 Subject: [Edu-sig] continuing to hype Guido's CP4E... Message-ID: after all these years: https://groups.google.com/d/msg/mathfuture/dfz-dBD1S_A/m2FRgUP2YfkJ Kirby -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Tue Oct 7 21:50:40 2014 From: kirby.urner at gmail.com (kirby urner) Date: Tue, 7 Oct 2014 12:50:40 -0700 Subject: [Edu-sig] question about how many special names built in to the language Message-ID: 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 introductory class? Seems about 50 right? Some still get added with new versions. The number of keywords is 33 and that's easy to get. Is there a list of special names all canned in some module? I should know that. Kirby Python Teacher by day, and sometimes by night PS: I realize I could put this on StackOverFlow instead but I find that service somewhat over-frenetic at times and would rather chat on edu-sig. PPS: anyone using Python to talk to Neo4j? That's high on my list but I'm looking for just a simple low-level DB API, not anything big like a "web framework". -------------- next part -------------- An HTML attachment was scrubbed... URL: From mamckenna at sch.ci.lexington.ma.us Wed Oct 8 12:00:31 2014 From: mamckenna at sch.ci.lexington.ma.us (Marianne McKenna) Date: Wed, 08 Oct 2014 06:00:31 -0400 Subject: [Edu-sig] Edu-sig Digest, Vol 135, Issue 2 Message-ID: I am out of the office, today., October 7th I will try to respond to email as I am able. If you need immediate help, please contact tech support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jurgis.pralgauskis at gmail.com Tue Oct 21 20:04:23 2014 From: jurgis.pralgauskis at gmail.com (Jurgis Pralgauskis) Date: Tue, 21 Oct 2014 21:04:23 +0300 Subject: [Edu-sig] Fwd: From Scratch to Real Python Code with our New Block Trinket! In-Reply-To: <6d94840e-9dbbc27f-1413574592-558378712@mail.intercom.io> References: <6d94840e-9dbbc27f-1413574592-558378712@mail.intercom.io> Message-ID: pedagogically very good approach and technologically, seems very simple :) ---------- Forwarded message ---------- From: elliott at trinket.io Date: Fri, Oct 17, 2014 at 10:36 PM Subject: From Scratch to Real Python Code with our New Block Trinket! To: jurgis.pralgauskis at gmail.com Hi Jurgis! I'm very excited to announce our new *Interactive Block Trinkets*: Inspired by Scratch and Code.org 's Hour of Code , these Trinkets take typing and syntax out of the equation of teaching and learning Python. But unlike previous block-based tools, *they're generating real Python underneath*! This lets students move into the world of real programming languages and bring their computational thinking skills along. >From the tests we've done with teachers and students, seeing the relationship between familiar blocks and unfamiliar code helps demystify code and accelerates the learning process. We can't wait to see what you do with this new too! Get Started with Blocks Today Click Here to see the example above, which you can easily share or copy it to your account! Or, if you're feeling creative, here's how easy it is to make your own: - Log in to Trinket , click the New Trinket Button, and select *Blocks *as your Trinket type - Grab blocks from the palette to build your Trinket - Click Save and you've made your Trinket! Now share a link or embed the Trinket anywhere, such as Google Sites - Click the *View Code* button at any time to see what Python the blocks have generated In the coming weeks we'll be building a tighter integration with our popular Python trinkets. This will be a true end-to-end solution for getting students who know Scratch or other block-based languages hands on with real Python code. As always, I'd love to see what you create with these! Create or modify a Block trinket and reply to this email with the link. We'll feature the best Trinkets on our blog. - Elliott CEO, Trinket @hauspoor (919) 308-6681 *elliott at trinket.io * from trinket.io 17 Oct 2014 Powered by Intercom Unsubscribe from our emails -- Jurgis Pralgauskis tel: 8-616 77613; Don't worry, be happy and make things better ;) http://galvosukykla.lt -------------- next part -------------- An HTML attachment was scrubbed... URL: From aharrin at luc.edu Tue Oct 21 20:29:31 2014 From: aharrin at luc.edu (Andrew Harrington) Date: Tue, 21 Oct 2014 13:29:31 -0500 Subject: [Edu-sig] Fwd: From Scratch to Real Python Code with our New Block Trinket! In-Reply-To: References: <6d94840e-9dbbc27f-1413574592-558378712@mail.intercom.io> Message-ID: After a very quick look, it seems like the established Turtle Art Any comparison? Andy On Tue, Oct 21, 2014 at 1:04 PM, Jurgis Pralgauskis < jurgis.pralgauskis at gmail.com> wrote: > > pedagogically very good approach > and technologically, seems very simple :) > > ---------- Forwarded message ---------- > From: elliott at trinket.io > Date: Fri, Oct 17, 2014 at 10:36 PM > Subject: From Scratch to Real Python Code with our New Block Trinket! > To: jurgis.pralgauskis at gmail.com > > > > > > > > Hi Jurgis! > > I'm very excited to announce our new *Interactive Block Trinkets*: > > > > Inspired by Scratch > > and Code.org > 's > Hour of Code > , > these Trinkets take typing and syntax out of the equation of teaching and > learning Python. But unlike previous block-based tools, *they're > generating real Python underneath*! This lets students move into the > world of real programming languages and bring their computational thinking > skills along. > > > > From the tests we've done with teachers and students, seeing the > relationship between familiar blocks and unfamiliar code helps demystify > code and accelerates the learning process. We can't wait to see what you > do with this new too! > Get Started with Blocks Today > > Click Here > > to see the example above, which you can easily share or copy it to your > account! Or, if you're feeling creative, here's how easy it is to make > your own: > > - Log in to Trinket > , > click the New Trinket Button, and select *Blocks *as your Trinket type > - Grab blocks from the palette to build your Trinket > - Click Save and you've made your Trinket! Now share a link or embed > the Trinket anywhere, such as Google Sites > > - Click the *View Code* button at any time to see what Python the > blocks have generated > > In the coming weeks we'll be building a tighter integration with our > popular Python trinkets. This will be a true end-to-end solution for > getting students who know Scratch or other block-based languages hands on > with real Python code. > > As always, I'd love to see what you create with these! Create or modify a > Block trinket and reply to this email with the link. We'll feature the > best Trinkets on our blog. > > - Elliott > > CEO, Trinket @hauspoor > > (919) 308-6681 > > > *elliott at trinket.io * from trinket.io 17 > Oct 2014 Powered by Intercom > > Unsubscribe from our emails > > > > > > -- > Jurgis Pralgauskis > tel: 8-616 77613; > Don't worry, be happy and make things better ;) > http://galvosukykla.lt > > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > https://mail.python.org/mailman/listinfo/edu-sig > > -- Dr. Andrew N. Harrington Computer Science Department Graduate Program Director gpd at cs.luc.edu Loyola University Chicago 529 Lewis Towers, 111 E. Pearson St. (Downtown) 417 Cudahy Science Hall (Rogers Park campus) http://www.cs.luc.edu/~anh Phone: 312-915-7982 Fax: 312-915-7998 aharrin at luc.edu (as professor, not gpd role) -------------- next part -------------- An HTML attachment was scrubbed... URL: From pg at cs.stanford.edu Tue Oct 21 20:43:38 2014 From: pg at cs.stanford.edu (Philip Guo) Date: Tue, 21 Oct 2014 14:43:38 -0400 Subject: [Edu-sig] Fwd: From Scratch to Real Python Code with our New Block Trinket! In-Reply-To: References: <6d94840e-9dbbc27f-1413574592-558378712@mail.intercom.io> Message-ID: incidentally, i created a similar prototype 5 years ago that mapped Android App Inventor blocks to Python code. cool that a company is taking on this idea as a production-quality service. a big issue with blocks languages is what to do when students want to transition to a traditional, text-based language for CS2. On Tue, Oct 21, 2014 at 2:29 PM, Andrew Harrington wrote: > After a very quick look, it seems like the established Turtle Art Any > comparison? > > Andy > > On Tue, Oct 21, 2014 at 1:04 PM, Jurgis Pralgauskis < > jurgis.pralgauskis at gmail.com> wrote: > >> >> pedagogically very good approach >> and technologically, seems very simple :) >> >> ---------- Forwarded message ---------- >> From: elliott at trinket.io >> Date: Fri, Oct 17, 2014 at 10:36 PM >> Subject: From Scratch to Real Python Code with our New Block Trinket! >> To: jurgis.pralgauskis at gmail.com >> >> >> >> >> >> >> >> Hi Jurgis! >> >> I'm very excited to announce our new *Interactive Block Trinkets*: >> >> >> >> Inspired by Scratch >> >> and Code.org >> 's >> Hour of Code >> , >> these Trinkets take typing and syntax out of the equation of teaching and >> learning Python. But unlike previous block-based tools, *they're >> generating real Python underneath*! This lets students move into the >> world of real programming languages and bring their computational thinking >> skills along. >> >> >> >> From the tests we've done with teachers and students, seeing the >> relationship between familiar blocks and unfamiliar code helps demystify >> code and accelerates the learning process. We can't wait to see what you >> do with this new too! >> Get Started with Blocks Today >> >> Click Here >> >> to see the example above, which you can easily share or copy it to your >> account! Or, if you're feeling creative, here's how easy it is to make >> your own: >> >> - Log in to Trinket >> , >> click the New Trinket Button, and select *Blocks *as your Trinket type >> - Grab blocks from the palette to build your Trinket >> - Click Save and you've made your Trinket! Now share a link or embed >> the Trinket anywhere, such as Google Sites >> >> - Click the *View Code* button at any time to see what Python the >> blocks have generated >> >> In the coming weeks we'll be building a tighter integration with our >> popular Python trinkets. This will be a true end-to-end solution for >> getting students who know Scratch or other block-based languages hands on >> with real Python code. >> >> As always, I'd love to see what you create with these! Create or modify >> a Block trinket and reply to this email with the link. We'll feature the >> best Trinkets on our blog. >> >> - Elliott >> >> CEO, Trinket @hauspoor >> >> (919) 308-6681 >> >> >> *elliott at trinket.io * from >> trinket.io 17 Oct 2014 Powered by Intercom >> >> >> Unsubscribe from our emails >> >> >> >> >> >> -- >> Jurgis Pralgauskis >> tel: 8-616 77613; >> Don't worry, be happy and make things better ;) >> http://galvosukykla.lt >> >> _______________________________________________ >> Edu-sig mailing list >> Edu-sig at python.org >> https://mail.python.org/mailman/listinfo/edu-sig >> >> > > > -- > Dr. Andrew N. Harrington > Computer Science Department > Graduate Program Director gpd at cs.luc.edu > Loyola University Chicago > 529 Lewis Towers, 111 E. Pearson St. (Downtown) > 417 Cudahy Science Hall (Rogers Park campus) > http://www.cs.luc.edu/~anh > Phone: 312-915-7982 > Fax: 312-915-7998 > aharrin at luc.edu (as professor, not gpd role) > > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > https://mail.python.org/mailman/listinfo/edu-sig > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mamckenna at sch.ci.lexington.ma.us Tue Oct 21 20:30:05 2014 From: mamckenna at sch.ci.lexington.ma.us (Marianne McKenna) Date: Tue, 21 Oct 2014 14:30:05 -0400 Subject: [Edu-sig] Edu-sig Digest, Vol 135, Issue 4 Message-ID: I am out of the office, today., October 21st I will try to respond to email as I am able. If you need immediate help, please contact tech support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mamckenna at sch.ci.lexington.ma.us Wed Oct 22 12:01:32 2014 From: mamckenna at sch.ci.lexington.ma.us (Marianne McKenna) Date: Wed, 22 Oct 2014 06:01:32 -0400 Subject: [Edu-sig] Edu-sig Digest, Vol 135, Issue 5 Message-ID: I am out of the office, today., October 21st I will try to respond to email as I am able. If you need immediate help, please contact tech support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mamckenna at sch.ci.lexington.ma.us Thu Oct 23 12:00:31 2014 From: mamckenna at sch.ci.lexington.ma.us (Marianne McKenna) Date: Thu, 23 Oct 2014 06:00:31 -0400 Subject: [Edu-sig] Edu-sig Digest, Vol 135, Issue 6 Message-ID: I am out of the office, today., October 21st I will try to respond to email as I am able. If you need immediate help, please contact tech support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mamckenna at sch.ci.lexington.ma.us Fri Oct 24 12:00:26 2014 From: mamckenna at sch.ci.lexington.ma.us (Marianne McKenna) Date: Fri, 24 Oct 2014 06:00:26 -0400 Subject: [Edu-sig] Edu-sig Digest, Vol 135, Issue 7 Message-ID: I am out of the office, today., October 21st I will try to respond to email as I am able. If you need immediate help, please contact tech support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mamckenna at sch.ci.lexington.ma.us Sat Oct 25 12:00:31 2014 From: mamckenna at sch.ci.lexington.ma.us (Marianne McKenna) Date: Sat, 25 Oct 2014 06:00:31 -0400 Subject: [Edu-sig] Edu-sig Digest, Vol 135, Issue 8 Message-ID: I am out of the office, today., October 21st I will try to respond to email as I am able. If you need immediate help, please contact tech support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mamckenna at sch.ci.lexington.ma.us Sun Oct 26 12:00:24 2014 From: mamckenna at sch.ci.lexington.ma.us (Marianne McKenna) Date: Sun, 26 Oct 2014 07:00:24 -0400 Subject: [Edu-sig] Edu-sig Digest, Vol 135, Issue 9 Message-ID: I am out of the office, today., October 21st I will try to respond to email as I am able. If you need immediate help, please contact tech support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Wed Oct 29 17:20:27 2014 From: kirby.urner at gmail.com (kirby urner) Date: Wed, 29 Oct 2014 09:20:27 -0700 Subject: [Edu-sig] more mathematics for the digital age.... Message-ID: ''' (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): key = "{:03b}".format(x) the_rule[key] = values[x] return the_rule def transcribe(s, r): """takes a row s and returns a row based on rule r""" n = 0 max = len(s) out = '' while n < max-2: triple = s[n:n+3] out += r[triple] n += 1 return out def generations(s, r, n=1): """applies rule r to transcribed output, starting with s, n times""" for _ in range(n): row = transcribe(s, r) s = row yield row rule130 = make_rule(130) top = '000000000000010000000000000' the_gen = generations(top, rule130, 10) dots=0 print(top) while True: dots += 1 try: print("."*dots, next(the_gen), sep="") except: break -------------- next part -------------- An HTML attachment was scrubbed... URL: