On Thu, Sep 24, 2009 at 1:49 PM, William Stein <wst...@gmail.com> wrote: > > On Thu, Sep 24, 2009 at 1:25 PM, Pavel Solin <so...@unr.edu> wrote: >> Hi, >> thanks for many useful hints. >> >> On Thu, Sep 24, 2009 at 3:33 AM, William Stein <wst...@gmail.com> wrote: >>> >>> On Thu, Sep 24, 2009 at 3:05 AM, Ondrej Certik <ond...@certik.cz> wrote: >>> > >>> > Hi Pavel, >>> > >>> > thanks a lot for the feedback on the notebook. I think every single >>> > point that you raised annoys me too and it should be fixed. >>> >>> I fully agree. In the meantime, I did list a few workarounds for some >>> of the issues you have below, which you might find helpful. >>> >>> > >>> > On Wed, Sep 23, 2009 at 10:57 PM, Pavel Solin <so...@unr.edu> wrote: >>> >> Hi, >>> >> by now I spent many hours with programming inside the >>> >> web notebook, so here are some suggestions how to make >>> >> this kind of work more pleasant: >>> >> >>> >> (1) Coloring source code would help a lot. >>> >>> We implemented this before and it was way too slow. We should try again. >> >> Of course one can live without it, but the look&feel matters. I am using >> the web notebook virtually in every class of a numerical methods course. > > Some people did some test yesterday and concluded that highlighting > should definitely be doable now. It's now "highlighted" on my list. > >> A few sample worksheets are here: >> >> http://nb.femhub.org/home/pub/45 >> http://nb.femhub.org/home/pub/43 >> http://nb.femhub.org/home/pub/44 >> http://nb.femhub.org/home/pub/41 >> http://nb.femhub.org/home/pub/34 >> http://nb.femhub.org/home/pub/37 >> http://nb.femhub.org/home/pub/39 >> http://nb.femhub.org/home/pub/33 >> >> So far the students do not have to do homeworks in the >> notebook yet, but I would like to change it soon. >> >>> >>> >> (2) Saving worksheets is cumbersome, there should be >>> >> a possibility to save all user's worksheets at once. >>> >>> This is implemented, but not turned on by default because it locks the >>> server temporarily. >>> >>> >> (3) When image is saved and latex some text written to output, the >>> >> image anyway appears after the text. So one does not >>> >> have an opportunity to create a sequence of images >>> >> with some text description below each of them. This should >>> >> be fixed. >>> >>> There is a way to do this but it's not trivially straightforward yet. >>> (you have to use <img src="cell://image.png"> and then you can >>> put images anywhere using arbitrary html). >>> >>> There is also a graphics_array command for laying out images. >>> >>> >> (4) If the program becomes longer, it is cumbersome to >>> >> scroll down to the "evaluate" button, then look at the output, >>> >> then scroll a long way up again to fix a minor issue, and >>> >> repeat the whole process. Most of the time, one only works on >>> >> one function but needs to scroll through the text of all the >>> >> other ones too. It would help a lot to be able to collapse >>> >> functions which are not being edited at the moment (but >>> >> they still would be evaluated all together). >>> >>> 1. Use shift-enter instead of clicking Evaluate. >>> 2. Use %hide at the top of a cell to collapse it. >>> >>> Of course it would be nice to have a collapse button. >> >> But then one would have to evaluate the cells separately, right? >> Imagine that you have 8 functions in 8 different cells. Perhaps >> I am missing something and one can evaluate multiple cells >> at once. > > No, you're exactly right. I'm only mentioning some partial workaround > for right now. At this point in time, the more features you request > the better! > >> >>> >>> >> (5) Undo was already discussed, this functionality is much needed. >>> >>> What kind of undo do you want? There is a snapshot every few minutes, >>> and you can undo in any given input cell, since the browser provides >>> that for any textarea. >> >> Do you know Emacs? Anything closer to it would be great. > > Yes, I know Emacs well. I personally use Firefox webapps (mainly gmail > and the sage notebook) half the time and Emacs the other half the > time. I really love emacs -- it's a work of brilliance.
In my case I would say that I use firefox webapps 50% and terminal in the other 50% (e.g. bash, vim, make, etc.). I almost never use any other application. So I think it's clear where this is all going -- moving the terminal like experience into the browser. Which ultimately is way more powerful in some sense (images, equations, fonts, look & feel, links to documentation/web), yet very incapable in some other sense so far: the notebook cell editor has to be improved and maybe some other things: I often like to execute simple python scripts, that for example compile webpages using jinja (or sphinx) or do some sympy calculation, etc. And keep them around. So this workflow maybe translates into being able to easily run worksheets I guess. I don't know if we should even try to translate the whole python development to the web, e.g. being able to create a module (worksheet?) and then import it from other modules (worksheets) or simple scripts (worksheets)? Ondrej --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---