Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix input in interacts does not work #450

Closed
kcrisman opened this issue Oct 7, 2014 · 5 comments
Closed

Matrix input in interacts does not work #450

kcrisman opened this issue Oct 7, 2014 · 5 comments

Comments

@kcrisman
Copy link
Member

kcrisman commented Oct 7, 2014

E.g. http://aleph.sagemath.org/?z=eJxzyMwrSS1KTC7h5UpJTVOI10gsLcmPLy1ISSxJtXVLzClO1XG0zU0sKcqs0AhycdOJjjbUMYjViTbQMYyN1dS04uVSAAJHLUcAjr8V9w==&lang=sage

@interact
def _(auto_update=False,A=matrix(RDF,[[1,0],[0,1]])):
    A*A

This is a pretty serious regression. When did this stop working, I wonder? It works fine in the sagenb and cloud.

@novoselt
Copy link
Member

novoselt commented Oct 7, 2014

My guess is a long time ago since it seems that the problem is in SageCell code, not in Sage (which is rebased/merged with quite a bit of manual work and room for errors during upgrades). I personally has stopped using it at all because of #424 - really didn't like how the whole grid control had to be submitted and then the "main update" button pressed in addition.

@novoselt
Copy link
Member

novoselt commented Oct 7, 2014

Also, maybe it has never worked? I think I only used it explicitly like this:
http://aleph.sagemath.org/?z=eJxzyMwrSS1KTC7h5UpJTVOI10gsLcmPLy1ISSxJtXVLzClO1XG0zcwrKC2JTy_KTNEw0lEAotzEkqLMCo0gFzed6GhDHYNYnWgDHcPYWE1NTSteLgUgKCgCGoxbHUSRo5YjAGclJbk=&lang=sage
And then I recall this issue that I had to set a manual "to value" function because of unicode issues.

Sadly, interacts in SageCell, SageNB, and SMC are quite different things in terms of supported parameters, how they work, and how different issues are handled...

@kcrisman
Copy link
Member Author

kcrisman commented Oct 7, 2014

It definitely worked in Spring (well, late winter) 2013 because I used a very specific one in a class that semester that did work!

Yeah, the interact stuff is not unified. An unrealistic long-term project of mine is to figure out how to get sagenb to have similar to the others - the APIs are not so horribly different - but the nested interacts might need some heavier tools in sagenb, not sure.

@novoselt
Copy link
Member

novoselt commented Jul 8, 2016

It is a miracle, but the original interact now seems to work as in it does not cause an error and I can even show the matix.

@novoselt novoselt closed this as completed Jul 8, 2016
@kcrisman
Copy link
Member Author

kcrisman commented Jul 9, 2016

Yay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants