From kurner at oreillyschool.com Fri Sep 5 22:54:06 2014 From: kurner at oreillyschool.com (Kirby Urner) Date: Fri, 5 Sep 2014 13:54:06 -0700 Subject: [Edu-sig] water cooler talk... Python mentors, post DjangoCon / Portland (next year Austin) Message-ID: Water cooler talk at a Python-teaching academy, fellow faculty hobnobbing... Anyone out there on edu-sig wanna share more about PlotDevice? Of course I need to do some homework on my own, don't worry I will... very soon. My best to all at DjangoCon I got to yak with, around lunch tables especially, and in Steve's suite [ our own Steve Holden, Python track author and erstwhile PSF chair, produces this conference, which has been in Chicago and DC under his care as well -- small and esoteric, these Djangocons, under 300 I'd say, followed by sprints (going on now) ] Our school even got 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 [ Python Track mentor ] On Fri, Sep 5, 2014 at 12:00 PM, Patrick Barton wrote: FYI... http://plotdevice.io/ Interesting. Lots to look at here. I will likely post a heads up to edu-sig, my old time hangout in Python.org world. Before I forget: Django guy don't recall who right now: the request module is awesome. For wrapping head around HTTP API. In comparison to urllib2 in standard library. I haven't even Googled it yet, now I will... This looks like a good entry point: http://stackoverflow.com/questions/2018026/should-i-use-urllib-or-urllib2-or-requests OK, back to work. -- > Patrick J. Barton > Senior Instructor > O'Reilly School of Technology > Phone: 503.504.5239 > Skype: patbartonpdx > -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniele.gianni at gmail.com Tue Sep 9 00:11:47 2014 From: daniele.gianni at gmail.com (Daniele Gianni) Date: Tue, 9 Sep 2014 00:11:47 +0200 Subject: [Edu-sig] [CfP] 5th International Workshop on Model-driven Approaches for Simulation Engineering (Mod4Sim) Message-ID: ################################################################# 5th International Workshop on Model-driven Approaches for Simulation Engineering part of the Symposium on Theory of Modeling and Simulation (SCS SpringSim 2015) CALL FOR PAPERS ################################################################# April 12-15, 2015, Alexandria, VA (USA) http://www.sel.uniroma2.it/Mod4Sim15 ################################################################# # Papers Due: *** November 10, 2014 *** Accepted papers will be # published in the conference proceedings and archived in the ACM # Digital Library. ################################################################# The workshop aims to bring together experts in model-based, model-driven and software engineering with experts in simulation methods and simulation practitioners, with the objective to advance the state of the art in model-driven simulation engineering. Model-driven engineering approaches provide considerable advantages to software systems engineering activities through the provision of consistent and coherent models at different abstraction levels. As these models are in a machine readable form, model-driven engineering approaches can also support the exploitation of computing capabilities for model reuse, programming code generation, and model checking, for example. The definition of a simulation model, its software implementation and its execution platform form what is known as simulation engineering. As simulation systems are mainly based on software, these systems can similarly benefit from model-driven approaches to support automatic software generation, enhance software quality, and reduce costs, development effort and time-to-market. Similarly to systems and software engineering, simulation engineering can exploit the capabilities of model-driven approaches by increasing the abstraction level in simulation model specifications and by automating the derivation of simulator code. Further advantages can be gained by using modeling languages, such as UML and SysML, but not exclusively those. For example, modeling languages can be used for descriptive modeling (to describe the system to be simulated), for analytical modeling (to specify analytically the simulation of the same system) and for implementation modeling (to define the respective simulator). A partial list of topics of interest includes: * model-driven simulation engineering processes * requirements modeling for simulation * domain specific languages for modeling and simulation * model transformations for simulation model building * model transformations for simulation model implementation * model-driven engineering of distributed simulation systems * relationship between metamodeling standards (e.g., MOF, Ecore) and distributed simulation standards (e.g., HLA, DIS) * metamodels for simulation reuse and interoperability * model-driven technologies for different simulation paradigms (discrete event simulation, multi-agent simulation, sketch-based simulation, etc.) * model-driven methods and tools for performance engineering of simulation systems * simulation tools for model-driven software performance engineering * model-driven technologies for simulation verification and validation * model-driven technologies for data collection and analysis * model-driven technologies for simulation visualization * executable UML * executable architectures * SysML/Modelica integration * simulation model portability and reuse * model-based systems verification and validation * simulation for model-based systems engineering To stimulate creativity, however, the workshop maintains a wider scope and welcomes contributions offering original perspectives on model-driven engineering of simulation systems. +++++++++++++++ Important Dates +++++++++++++++ * Abstract Submission Deadline (optional): September 12, 2014 * Paper Submission Deadline: November 10, 2014 * Decision to paper authors: January 9, 2015 * Camera ready due: February 10, 2015 * Conference dates: April 12-15, 2015 ++++++++++++++++++++ Organizing Committee ++++++++++++++++++++ * Andrea D?Ambrogio - University of Rome "Tor Vergata", Italy * Paolo Bocciarelli - University of Rome "Tor Vergata", Italy -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Sat Sep 27 10:01:16 2014 From: kirby.urner at gmail.com (kirby urner) Date: Sat, 27 Sep 2014 01:01:16 -0700 Subject: [Edu-sig] example code: Descriptors Message-ID: """ 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 def __get__(self, obj, objtype=None): if not hasattr(obj, "it"): obj.it = self.it return obj.it class Thing: property = Property(0) class ReadOnly(Thing): pass class ReadWrite(Thing): pass # Test Code # Subclasses treated differently the_thing = ReadOnly() print("Before:",the_thing.property) the_thing.property = 42 print("After:",the_thing.property) print("="*10) the_thing = ReadWrite() print("Before:", the_thing.property) the_thing.property = 42 print("After:",the_thing.property) # Multiple instances have their own values print("="*10) thing1 = Thing() thing2 = Thing() thing1.property = 1 thing2.property = 2 print("thing1.property:", thing1.property, thing1.__dict__) print("thing2.property:", thing2.property, thing2.__dict__) # from the docs: https://docs.python.org/3.4/howto/descriptor.html class Dict(dict): # subclass rather than presume defining Dict top-level def fromkeys(klass, iterable, value=None): "Emulate dict_fromkeys() in Objects/dictobject.c" d = klass() for key in iterable: d[key] = value return d fromkeys = classmethod(fromkeys) print(Dict.fromkeys('abracadabra')) # {'a': None, 'r': None, 'b': None, 'c': None, 'd': None} OUTPUT from the above: Before: 0 Can't set property from this child After: 0 ========== Before: 0 After: 42 ========== thing1.property: 1 {'it': 1} thing2.property: 2 {'it': 2} {'a': None, 'r': None, 'b': None, 'c': None, 'd': None} Process finished with exit code 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Mon Sep 29 20:04:26 2014 From: kirby.urner at gmail.com (kirby urner) Date: Mon, 29 Sep 2014 11:04:26 -0700 Subject: [Edu-sig] recruiting for delta-calc / lambda-calc among post-algebra students Message-ID: 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 word to surrender to just one brand or ethnicity and is qualified already as "differential calculus" etc. (i.e. the delta concept is already implicit), But also... To help "level the playing field" so that lambda-calculus (an umbrella for CS-friendly topics) might come to the foreground more as an equal player in the high school setting. For more on this meme / mnemonic: http://worldgame.blogspot.com/2014/09/lambda-versus-delta.html (with links to other fora e.g. maththinking-l with some overlap in membership) Kirby More recently (providing more context for same theme): http://mathforum.org/kb/message.jspa?messageID=9608019 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Mon Sep 29 20:10:23 2014 From: kirby.urner at gmail.com (kirby urner) Date: Mon, 29 Sep 2014 11:10:23 -0700 Subject: [Edu-sig] recruiting for delta-calc / lambda-calc among post-algebra students In-Reply-To: References: Message-ID: On Mon, Sep 29, 2014 at 11:04 AM, kirby urner 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 Greek letter del hyphen calculus). > > I should refer to it as "delta" not "del" as the del operator is an upside down delta, the Nabla symbol: http://en.wikipedia.org/wiki/Delta_%28letter%29 # <-- this one for delta-calculus http://en.wikipedia.org/wiki/Nabla_symbol nabla-calculus could be something else again; I believe that's an unclaimed domain. As CSers here know, lambda-calc *is* already claimed (Alonzo Church picked the letter) and roughly leads, through Category Theory and elementary design patterns (and stuff), to our familiar OO-Hobbitdom (or whatever this place is). http://en.wikipedia.org/wiki/Lambda_calculus Kirby -------------- next part -------------- An HTML attachment was scrubbed... URL: