Two questions/bugs

11 views
Skip to first unread message

kcrisman

unread,
Mar 29, 2018, 10:04:14 AM3/29/18
to sage-cell
Hi!  Two questions.

1) Layout seems to work great on top, but other parameters aren't showing up correctly.  
Perhaps this is intentional, as I'm not sure how often the non-'top' parts of layout are used.  In Sage notebook this is supported well.  It sort of works in CoCalc.  In Jupyter not at all (yet), see https://trac.sagemath.org/ticket/22663 for current discussion.

2) In Sage cell, the following yields an error (because of the generator):

@interact
def _(a = (0..20)):
    print(a)

But this is clearly documented as working in the interact documentation for sagenb (hence the reference implementation).  It does correctly give a slider in CoCalc.

Thanks, just checking in!

Andrey Novoseltsev

unread,
Mar 30, 2018, 12:17:35 AM3/30/18
to sage-cell
It is not intentional: that's just how things are for a few years and I'd rather not try to fix them piece by piece. Rather I need to dive into the whole interact code and try to clean it up, rewrite, and modify behaviour where necessary/desirable. I do consider interacts very important, but even more important is that the server works at all and that it works well. The last major rewrite seems to help greatly with this goal, although there are still some things to polish.

kcrisman

unread,
Mar 30, 2018, 9:10:56 PM3/30/18
to sage-cell



It is not intentional: that's just how things are for a few years and I'd rather not try to fix them piece by piece. Rather I need to dive into the whole interact code and try to clean it up, rewrite, and modify behaviour where necessary/desirable. I do consider interacts very important, but even more important is that the server works at all and that it works well.

Agreed 100%, of course!  Just alerting in case these things aren't tracked yet.
Reply all
Reply to author
Forward
0 new messages