WolframLanguageForJupyter icon indicating copy to clipboard operation
WolframLanguageForJupyter copied to clipboard

Interrupt evaluating support?

Open fakeGenuis opened this issue 2 years ago • 4 comments

When evaluating takes a long time, are there some method to interrupt calculation but remain kernel connected?

For example, evaluate Integrate[1/Sqrt[x^4 + a*x^2 + b], x] and click interrupt immediately, got popup feh_stdin_jdmVxJ neither click yes or no, the kernel exit and need restart to reconnect. Test in wolfram mathematica 13.2.

fakeGenuis avatar Feb 07 '23 06:02 fakeGenuis

Hi guys, I write a similar project that support interrupt, by receiving message from jupyter frontend. The evaluation is done inside an external link, so interrupt not lose connection to kernel manage it. Now it is poorly featured, if you are interested, see https://github.com/fakeGenuis/wolframForJupyter.git

fakeGenuis avatar Sep 20 '23 12:09 fakeGenuis

Wow,cool not fakeGenuis TrueGenuis!!!!!!!

RunLiz avatar Sep 20 '23 13:09 RunLiz

Looks cool!

Just generally, I will say that I am happy to look at pull requests that improve this project as well.

cc-wr avatar Sep 20 '23 16:09 cc-wr

Looks cool!

Just generally, I will say that I am happy to look at pull requests that improve this project as well.

Yeah, I really want to contribute upon this project at first. But the complexity of it prevent me from that,especially the evaluation and request handler parts. Many features are still missing in the new project, which makes it more simple to construct and debug with just one addition interrupt support. Anyway, this project are really well structured and I borrow many implements from it.

fakeGenuis avatar Sep 20 '23 17:09 fakeGenuis