From mamckenna at sch.ci.lexington.ma.us Sun Jan 1 12:00:19 2012 From: mamckenna at sch.ci.lexington.ma.us (Marianne McKenna) Date: Sun, 01 Jan 2012 06:00:19 -0500 Subject: [Edu-sig] Edu-sig Digest, Vol 102, Issue 1 Message-ID: I will be out of the office today. If you need immediate help please contact the computer center. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From calcpage at aol.com Sun Jan 1 15:40:45 2012 From: calcpage at aol.com (A. Jorge Garcia) Date: Sun, 01 Jan 2012 09:40:45 -0500 Subject: [Edu-sig] Edu-sig Digest, Vol 102, Issue 1 In-Reply-To: References: Message-ID: Marianne McKenna wrote: I will be out of the office today. If you need immediate help please contact the computer center. Thanks. Omg Thanx, A. Jorge Garcia Applied Math and CompSci http://shadowfaxrant.blogspot.com http://www.youtube.com/calcpage2009 Sent via DROID on Verizon Wireless -------------- next part -------------- An HTML attachment was scrubbed... URL: From vceder at gmail.com Sun Jan 1 19:19:49 2012 From: vceder at gmail.com (Vern Ceder) Date: Sun, 1 Jan 2012 12:19:49 -0600 Subject: [Edu-sig] Edu-sig Digest, Vol 102, Issue 1 In-Reply-To: References: Message-ID: I think by now we're all waiting pretty anxiously for the day when Marianne *IS* in the office... ;) On Sun, Jan 1, 2012 at 8:40 AM, A. Jorge Garcia wrote: > ** ** > Marianne McKenna wrote: >> >> I will be out of the office today. If you need immediate help please >> contact the computer center. Thanks. >> > > Omg > Thanx, > A. Jorge Garcia > Applied Math and CompSci > http://shadowfaxrant.blogspot.com > http://www.youtube.com/calcpage2009 > Sent via DROID on Verizon Wireless > > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > http://mail.python.org/mailman/listinfo/edu-sig > > -- Vern Ceder vceder at gmail.com, vceder at dogsinmotion.com The Quick Python Book, 2nd Ed - http://bit.ly/bRsWDW -------------- next part -------------- An HTML attachment was scrubbed... URL: From memilanuk at gmail.com Mon Jan 2 03:22:13 2012 From: memilanuk at gmail.com (Monte Milanuk) Date: Mon, 2 Jan 2012 02:22:13 +0000 (UTC) Subject: [Edu-sig] Edu-sig Digest, Vol 102, Issue 1 References: Message-ID: On 2012-01-01, Vern Ceder wrote: > I think by now we're all waiting pretty anxiously for the day when Marianne > *IS* in the office... ;) I'm getting about the point of looking for the phone number for the computing center her auto-reply mentions and giving *them* an ear-ful about their wayward member... From mamckenna at sch.ci.lexington.ma.us Mon Jan 2 12:00:30 2012 From: mamckenna at sch.ci.lexington.ma.us (Marianne McKenna) Date: Mon, 02 Jan 2012 06:00:30 -0500 Subject: [Edu-sig] Edu-sig Digest, Vol 102, Issue 2 Message-ID: I will be out of the office today. If you need immediate help please contact the computer center. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ufkapano at gmail.com Tue Jan 3 11:23:14 2012 From: ufkapano at gmail.com (Andrzej Kapanowski) Date: Tue, 3 Jan 2012 11:23:14 +0100 Subject: [Edu-sig] Strange results Message-ID: Hello! My friend noticed strange results from Python 2.5.2: >>> b=47 >>> 0-b/2 -23 >>> -b/2+0 -24 Anybody can explain that? Regards, Andrzej Kapanowski -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Tue Jan 3 11:42:36 2012 From: kirby.urner at gmail.com (kirby urner) Date: Tue, 3 Jan 2012 02:42:36 -0800 Subject: [Edu-sig] Strange results In-Reply-To: References: Message-ID: On Tue, Jan 3, 2012 at 2:23 AM, Andrzej Kapanowski wrote: > Hello! > > My friend noticed strange results from Python 2.5.2: > >>>> b=47 >>>> 0-b/2 > -23 >>>> -b/2+0 > -24 > > Anybody can explain that? > It's integer division: >>> -1/2 -1 >>> 1/2 0 Not symmetrical. Why? http://www.peterbe.com/Integer-division-in-programming-languages Helps some maybe. Kirby > Regards, > Andrzej Kapanowski > > > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > http://mail.python.org/mailman/listinfo/edu-sig > From mamckenna at sch.ci.lexington.ma.us Tue Jan 3 12:00:22 2012 From: mamckenna at sch.ci.lexington.ma.us (Marianne McKenna) Date: Tue, 03 Jan 2012 06:00:22 -0500 Subject: [Edu-sig] Edu-sig Digest, Vol 102, Issue 3 Message-ID: I will be out of the office today. If you need immediate help please contact the computer center. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.mascher at gmx.de Tue Jan 3 13:07:02 2012 From: christian.mascher at gmx.de (Christian Mascher) Date: Tue, 03 Jan 2012 13:07:02 +0100 Subject: [Edu-sig] Strange results In-Reply-To: References: Message-ID: <4F02EF66.2090606@gmx.de> Hi, apart from integer-division (see Kirby's post) the result also depends on different interpretations of the operator "-": > My friend noticed strange results from Python 2.5.2: > > >>> b=47 > >>> 0-b/2 > -23 is interpreted as 0 - ( b/2) so integer division comes first before subtraction (- as subtraction operator). > >>> -b/2+0 > -24 > is interpreted like ( (-1) * b ) / 2 + 0 so a leading - is applied like a _multiplication_ and because * and / are on equal levels of execution, the left-most is evaluated first. Always interesting how seemingly simple and "straightforward" rules can trip you in special circumstances. Parentheses are recommended if you want to be sure. Happy new year Christian > Anybody can explain that? > > Regards, > Andrzej Kapanowski > > > ------------------------------------------------------------------------ > > _______________________________________________ > Edu-sig mailing list > Edu-sig at python.org > http://mail.python.org/mailman/listinfo/edu-sig From calcpage at aol.com Sat Jan 14 18:00:19 2012 From: calcpage at aol.com (A. Jorge Garcia) Date: Sat, 14 Jan 2012 12:00:19 -0500 (EST) Subject: [Edu-sig] NEW: Blogs, Videos and SmartNotes and Code! In-Reply-To: <8CE874B5345785E-22E4-9E80E@webmail-d144.sysops.aol.com> References: <8CE874B5345785E-22E4-9E80E@webmail-d144.sysops.aol.com> Message-ID: <8CEA0F5214406E6-480-9C87F@webmail-d054.sysops.aol.com> NEW: Blogs, Videos and SmartNotes and Code! Quarter II is done! http://shadowfaxrant.blogspot.com/2012/01/quarter-ii-week-9-screencasts.html http://shadowfaxrant.blogspot.com/2012/01/quarter-ii-week-8-screencasts.html http://shadowfaxrant.blogspot.com/2011/12/quarter-ii-week-7-screencasts_27.html http://shadowfaxrant.blogspot.com/2011/12/quarter-ii-week-7-screencasts.html http://shadowfaxrant.blogspot.com/2011/12/quarter-ii-week-5-screencasts.html http://shadowfaxrant.blogspot.com/2011/12/quarter-ii-week-4-screencasts.html http://shadowfaxrant.blogspot.com/2011/11/quarter-ii-week-3-screencasts.html http://shadowfaxrant.blogspot.com/2011/11/quarter-ii-week-2-screencasts.html http://shadowfaxrant.blogspot.com/2011/11/quarter-ii-week-1-screencasts.html HTH, A. Jorge Garcia Applied Math and CompSci http://shadowfaxrant.blogspot.com http://www.youtube.com/calcpage2009 From kirby.urner at gmail.com Wed Jan 18 02:53:23 2012 From: kirby.urner at gmail.com (kirby urner) Date: Tue, 17 Jan 2012 17:53:23 -0800 Subject: [Edu-sig] Net Logo / Tractor Art Message-ID: 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 at N00/5583591181/in/set-72157625646071793 Turtles have become "agents" and the typical thing is to have thousands of them. http://ccl.northwestern.edu/netlogo/4.1.3/ Capturing the ideas in these new "chaos" related curricula was one of my objectives in building a super primitive ASCII graphic system built on Tractors versus Turtles. The Tractor-as-agent motif links me, conveniently to the Make: / DIY / open source / hacker vision of the Open Source Tractor: http://opensource.com/life/11/4/open-source-tractors-and-diy-manufacturing http://theshortearedowl.wordpress.com/2011/03/01/an-open-source-tractor/ And also: the 50 machines needed for your semi-autonomous campus / village / community. http://opensourceecology.org/wiki/GVCS_tools I hope to have some of my Tractor talks ready for lightning sharing at Pycon this March. Early draft of my code: http://www.4dsolutions.net/ocn/python/OST/ Kirby