From andre.roberge at gmail.com Fri Jun 6 04:40:35 2008 From: andre.roberge at gmail.com (Andre Roberge) Date: Thu, 5 Jun 2008 23:40:35 -0300 Subject: [python-advocacy] Python wiki theme Message-ID: <7528bcdd0806051940x7d0c7567j2102b99fe881051a@mail.gmail.com> Hi everyone, One SOC project currently worked on by a student (Florian Bir?e) includes the creation of a parser for the MoinMoin wiki engine (http://moinmo.in) enabling the embedding of special instructions for Crunchy (http://code.google.com/p/crunchy). Such a tool will allow, for example, teachers to write doctest-based exercises at a central repository. These exercises could be loaded up by students using Crunchy and be useful interactive learning objects. Due to the collaborative nature of wikis, I would hope/expect that a significant collection of such exercises could be built over time. This, in turn, should help promote the adoption of Python as a first programming language. Hence, the relevance to the advocacy list. ;-) Florian's work has already resulted in something usable that I would like to "promote" soon via a video on showmedo.com. However, in order to help promote Python's "image", I would like the wiki theme to be similar to the one at http://wiki.python.org/moin/. (Ideally, if I had access to the official theme, I would only replace the python logo by the "Crunchy Python powered" logo.) There are a number of themes publicly available for MoinMoin on the MoinMoin site, but the one used at http://wiki.python.org/moin/ is not one of them, nor did I find any that was significantly close. I was wondering if anyone knew if the python.org wiki theme (or one closely related to it) was available somewhere. Cheers, Andr? From fuzzyman at voidspace.org.uk Fri Jun 6 04:47:54 2008 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Fri, 06 Jun 2008 03:47:54 +0100 Subject: [python-advocacy] Python wiki theme In-Reply-To: <7528bcdd0806051940x7d0c7567j2102b99fe881051a@mail.gmail.com> References: <7528bcdd0806051940x7d0c7567j2102b99fe881051a@mail.gmail.com> Message-ID: <4848A55A.7010006@voidspace.org.uk> Hello Andre, Sorry to jump in - but on a related subject there is a new release of Silverlight due out this week. This finally fixes the bugs that prevented me from writing a Python interpreter for the browser. I have a project nearly ready that puts a Python interpreter (that runs *in the browser* with Silverlight - which means Mac and Windows until Moonlight is ready) inside an HTML textarea. Javascript makes the text area behave like the Python interpreter at the console (you can only enter new text on the bottom line after the interpreter prompt). This means we will be able to embed live examples (with the standard library or other modules available) inside public facing web pages. I hope to have an example of this running within about a week. Michael Foord Andre Roberge wrote: > Hi everyone, > > One SOC project currently worked on by a student (Florian Bir?e) > includes the creation of a parser for the MoinMoin wiki engine > (http://moinmo.in) enabling the embedding of special instructions for > Crunchy (http://code.google.com/p/crunchy). Such a tool will allow, > for example, teachers to write doctest-based exercises at a central > repository. These exercises could be loaded up by students using > Crunchy and be useful interactive learning objects. Due to the > collaborative nature of wikis, I would hope/expect that a significant > collection of such exercises could be built over time. This, in turn, > should help promote the adoption of Python as a first programming > language. Hence, the relevance to the advocacy list. ;-) > > Florian's work has already resulted in something usable that I would > like to "promote" soon via a video on showmedo.com. However, in order > to help promote Python's "image", I would like the wiki theme to be > similar to the one at http://wiki.python.org/moin/. (Ideally, if I > had access to the official theme, I would only replace the python logo > by the "Crunchy Python powered" logo.) > > There are a number of themes publicly available for MoinMoin on the > MoinMoin site, but the one used at http://wiki.python.org/moin/ is not > one of them, nor did I find any that was significantly close. I was > wondering if anyone knew if the python.org wiki theme (or one closely > related to it) was available somewhere. > > Cheers, > > Andr? > _______________________________________________ > Advocacy mailing list > Advocacy at python.org > http://mail.python.org/mailman/listinfo/advocacy > -- http://www.ironpythoninaction.com/ http://www.theotherdelia.co.uk/ http://www.voidspace.org.uk/ http://www.ironpython.info/ http://www.resolverhacks.net/ From amk at amk.ca Fri Jun 6 17:16:11 2008 From: amk at amk.ca (A.M. Kuchling) Date: Fri, 6 Jun 2008 11:16:11 -0400 Subject: [python-advocacy] Python wiki theme In-Reply-To: <7528bcdd0806051940x7d0c7567j2102b99fe881051a@mail.gmail.com> References: <7528bcdd0806051940x7d0c7567j2102b99fe881051a@mail.gmail.com> Message-ID: <20080606151611.GA8645@amk-desktop.matrixgroup.net> On Thu, Jun 05, 2008 at 11:40:35PM -0300, Andre Roberge wrote: > There are a number of themes publicly available for MoinMoin on the > MoinMoin site, but the one used at http://wiki.python.org/moin/ is not > one of them, nor did I find any that was significantly close. I was > wondering if anyone knew if the python.org wiki theme (or one closely > related to it) was available somewhere. I've e-mailed Andre the files privately, and also published them in a Bazaar repository at http://code.amk.ca/pydotorg-wiki/ . --amk From andre.roberge at gmail.com Sat Jun 7 21:55:10 2008 From: andre.roberge at gmail.com (Andre Roberge) Date: Sat, 7 Jun 2008 16:55:10 -0300 Subject: [python-advocacy] A new screencast + Re: Python wiki theme Message-ID: <7528bcdd0806071255k343a6688x3989d739a5873efe@mail.gmail.com> Hi everyone, I did make the screencast I alluded to in the first post on this subject. It is available at: http://showmedo.com/videos/video?name=1430030&fromSeriesID=143 I think (but I am extremely biased) that this could be a great tool to promote Python in educational settings. On Fri, Jun 6, 2008 at 12:16 PM, A.M. Kuchling wrote: > On Thu, Jun 05, 2008 at 11:40:35PM -0300, Andre Roberge wrote: >> There are a number of themes publicly available for MoinMoin on the >> MoinMoin site, but the one used at http://wiki.python.org/moin/ is not >> one of them, nor did I find any that was significantly close. I was >> wondering if anyone knew if the python.org wiki theme (or one closely >> related to it) was available somewhere. > > I've e-mailed Andre the files privately, and also published them > in a Bazaar repository at http://code.amk.ca/pydotorg-wiki/ . > I did make use of the files (thanks!). The Python file was not totally compatible with the new MoinMoin version but I use brute force to make it work by commenting out the offending lines. I'm sure doing so removed some useful functionality but it was enough to serve my purpose. I had to retrieve, using an indirect method (firebug, cut-and-paste, edit to remove line numbers) as the direct method did not seem to work, the css file. I suggest this file should also be added to the repository. Cheers, Andr? > --amk > _______________________________________________ > Advocacy mailing list > Advocacy at python.org > http://mail.python.org/mailman/listinfo/advocacy > From paul at boddie.org.uk Sun Jun 8 01:51:49 2008 From: paul at boddie.org.uk (Paul Boddie) Date: Sun, 8 Jun 2008 01:51:49 +0200 Subject: [python-advocacy] A new screencast + Re: Python wiki theme In-Reply-To: <7528bcdd0806071255k343a6688x3989d739a5873efe@mail.gmail.com> References: <7528bcdd0806071255k343a6688x3989d739a5873efe@mail.gmail.com> Message-ID: <200806080151.50210.paul@boddie.org.uk> On Saturday 07 June 2008 21:55:10 Andre Roberge wrote: > On Fri, Jun 6, 2008 at 12:16 PM, A.M. Kuchling wrote: > > > > I've e-mailed Andre the files privately, and also published them > > in a Bazaar repository at http://code.amk.ca/pydotorg-wiki/ . > > I did make use of the files (thanks!). The Python file was not > totally compatible with the new MoinMoin version but I use brute force > to make it work by commenting out the offending lines. I'm sure doing > so removed some useful functionality but it was enough to serve my > purpose. We're using MoinMoin for the EuroPython Web site, and when we upgraded from 1.5.x to 1.6.x, there wasn't much that had to be changed in our theme code. I guess we'll make that theme available at some point, too. > I had to retrieve, using an indirect method (firebug, cut-and-paste, > edit to remove line numbers) as the direct method did not seem to > work, the css file. I suggest this file should also be added to the > repository. On the subject of CSS, there's a bug in the Python Web site tracker which affects list formatting in the Python Wiki: http://pydotorg.python.org/pydotorg/ticket/439 It would be great if that were fixed at some point. Paul From fuzzyman at voidspace.org.uk Tue Jun 17 23:51:41 2008 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Tue, 17 Jun 2008 22:51:41 +0100 Subject: [python-advocacy] [IronPython] Python in the Browser updates In-Reply-To: <4856F194.7040004@voidspace.org.uk> References: <4856F194.7040004@voidspace.org.uk> Message-ID: <485831ED.2050304@voidspace.org.uk> Hello all, Sorry for the noise - but tomorrow I hope to package this for a release and if any of you get the chance to give me any feedback before then. http://www.voidspace.org.uk/ironpython/silverlight-console/console.html I think I have fixed all the basic usability issues (it is no longer possible to screw up the console so that it refuses further input for example). To *really* fix input I ought to move execution into its own thread so that we can interrupt infinite loops [1] - but that is a bigger change so I am resisting it for the moment. The big change is that I have added some simple code snippets - as an example of how it could be used in tutorials or for teaching Python. It is also easy to customize - the source code (200 lines of Python, 70 lines of Javascript, 25 lines of C#) shows how to prepopulate the execution context and show the first few lines of code in the interpreter. You can get the sourcecode from the repository of course: http://code.google.com/p/pythoninthebrowser/ All the best, Michael Foord [1] and then decide whether on windows a ctrl-c should send a keyboard interrupt or copy to the clipboard... Michael Foord wrote: > For those who are interested, I've updated "Python in the Browser". > > Both the repository: > > http://code.google.com/p/pythoninthebrowser/ > > And the online demo: > > http://www.voidspace.org.uk/ironpython/silverlight-console/console.html > > There are a few minor but nice improvements: > > * The Javascript now works with IE 7! > * The textarea scrolls as input is printed > * The context window is disabled to prevent you pasting over the input > area - not sure if this is really an improvement though... > * The input area is cleared on load - to stop browsers like Firefox > and Safari repopulating the textarea for us on browser refresh > * Recursion limit is set > > I think it is basically in a useful state now... I might push out a > '0.1' release from the current SVN head. > > All the best, > > Michael Foord > -- http://www.ironpythoninaction.com/ http://www.theotherdelia.co.uk/ http://www.voidspace.org.uk/ http://www.ironpython.info/ http://www.resolverhacks.net/