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.

>> >> (6) The default graphical resolution of images is not too good.
>> >>       It would be nice to have some handle on it, as well as on their
>> >>       size and position in the browser. It should be possible to
>> >>       put several of them next to each other horizontally, etc.
>> >>       Perhaps this is possible and I just do not know how to do it.
>>
>> In Sage at least, you can use the figsize option to show to adjust this.
>> One also output in svg format.
>>
>> >> (7) I have now approx. 8 different worksheets for elementary
>> >>       numerical methods and there will be (hopefully many) more.
>> >>       It would be useful for me to compose my private "library" from
>> >>       which I could then import any of them in the same way as things
>> >>       are imported from sympy, numpy etc. This would greatly
>> >>       facilitate classroom demonstrations.
>>
>> I agree. How do you envision doing this.
>
> I am refering to the web notebook. It would have a Libraries button that
> would show my existing libraries, and offer me to create a new one or edit
> existing. It should be possible to add/delete worksheets or just functions
> from there. One should be able to import anything from his/her libraries,
> without editing any worksheets. Once published, the libraries could be used
> by anyone.
>
> In general, I am very interested in adding interactive graphical
> capabilities
> into the web notebook, sincee our primary goal is to use it for interactive
> solution
> of PDEs  (the FEMhub project). One should be able to do geometry definition,
> mesh generation, definition of boundary conditions, and visualization in the
> web browser. We are working on this. I hope that some of this would be
> interesting for you guys too.

Definitely!!!

William

>
> Best,
>
> Pavel
>
>>
>> >>
>> >> Best,
>> >>
>> >> Pavel
>> >>
>> >> --
>> >> Pavel Solin
>> >> University of Nevada, Reno
>> >> http://hpfem.math.unr.edu/people/pavel/
>> >> Hermes project: http://hpfem.org/
>> >> FEMhub project: http://femhub.org/
>> >>
>> >> >
>> >>
>> >
>> > >> >
>> >
>>
>>
>>
>> --
>> William Stein
>> Associate Professor of Mathematics
>> University of Washington
>> http://wstein.org
>
>
>
> --
> Pavel Solin
> University of Nevada, Reno
> http://hpfem.math.unr.edu/people/pavel/
> Hermes project: http://hpfem.org/
> FEMhub project: http://femhub.org/
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to