ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 04 Dec 2018 09:24:07 +0100SageMathCell timeout issuehttps://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.
Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.Sat, 06 Feb 2016 22:33:48 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/Comment by kcrisman for <p>My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.</p>
<p>Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.</p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32479#post-id-32479Also, is the Wolfram support dropping only for Chrome? E.g. http://mathematica.stackexchange.com/questions/67540/cdf-plugin-no-longer-launches-in-chrome Just curious.Sun, 07 Feb 2016 00:44:42 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32479#post-id-32479Comment by kcrisman for <p>My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.</p>
<p>Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.</p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32477#post-id-32477This is almost certainly a planned timeout - the service doesn't have endless computational capability. What is the matrix, though? (Update your question.) If it's symbolic then, yes, it will take forever because it happens in Maxima and solving such things is by Abel's Theorem not so easy :) but hopefully using the right base field should solve your problem.Sun, 07 Feb 2016 00:41:35 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32477#post-id-32477Comment by kcrisman for <p>My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.</p>
<p>Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.</p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32478#post-id-32478(I could imagine that one could set up one's own cell server that allowed longer timeouts, or pay for such a service. Wolfram Alpha also only allows only so many computational resources before saying sayonara.)Sun, 07 Feb 2016 00:42:23 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32478#post-id-32478Comment by kcrisman for <p>My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.</p>
<p>Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.</p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32481#post-id-32481Finally, regarding http://analyticphysics.com/ you may be interested in http://mathbook.pugetsound.edu/Sun, 07 Feb 2016 00:50:06 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32481#post-id-32481Comment by paulmasson for <p>My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.</p>
<p>Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.</p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32484#post-id-32484Question updated: matrix is real symmetric numerical over RDF. Are there any keywords that will speed up the diagonalization?
At some point I may set up my own server. For now I'll work with the known limitation.Sun, 07 Feb 2016 23:13:20 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32484#post-id-32484Comment by paulmasson for <p>My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.</p>
<p>Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.</p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32485#post-id-32485Wolfram is discontinuing plugin support for all browsers and pushing their paid web service. They've already removed some customization features in version 10.3 that used to work in Firefox.Sun, 07 Feb 2016 23:14:11 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32485#post-id-32485Comment by paulmasson for <p>My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.</p>
<p>Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.</p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32486#post-id-32486Thanks for the MathBook link. My website currently uses plain HTML with MathML converted by MathJax when the browser isn't Firefox. What would I gain by switching to MathBook?Sun, 07 Feb 2016 23:16:00 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32486#post-id-32486Comment by slelievre for <p>My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.</p>
<p>Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.</p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=44574#post-id-44574MathBook XML is now PreTeXt, and the website is now at [https://pretextbook.org/](https://pretextbook.org/).Tue, 04 Dec 2018 09:24:07 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=44574#post-id-44574Answer by kcrisman for <p>My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.</p>
<p>Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.</p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?answer=32483#post-id-32483According to the Sage cell admin, "We have 2 min CPU time limit per computation and 2 hours timeout for
interacts/linked cells." Sun, 07 Feb 2016 21:47:53 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?answer=32483#post-id-32483Answer by tmonteil for <p>My website currently has live math using embedded Mathematica CDFs. Since Wolfram has told me that they are dropping support for the browser plugin, I would like to convert all of my live math to SageMathCell. In the first page I'm testing, I've found that evaluating the eigenvalues of a numerical 30x30 symmetric real matrix over RDF does not finish and the cell in which the evaluation runs becomes grayed out while the working indicator continues to spin endlessly.</p>
<p>Is this a limitation of your server or my local machine? Is there some way to keep the cell alive until the evaluation completes? Thanks.</p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?answer=32490#post-id-32490I tried the following on sagecell, the answer came immediately
a = random_matrix(RDF,30,30)
a = a+a.transpose()
a.eigenvalues()
You can check at http://sagecell.sagemath.org/?z=eJxLVLBVKErMS8nPjc9NLCnKrNAIcnHTMTYAIk1erkSgbKJ2ol4JUElxQX5xqgZIUC81Mz01rywxpzS1GCQAAM2AFIU=&lang=sage
Mon, 08 Feb 2016 02:04:32 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?answer=32490#post-id-32490Comment by paulmasson for <p>I tried the following on sagecell, the answer came immediately</p>
<pre><code>a = random_matrix(RDF,30,30)
a = a+a.transpose()
a.eigenvalues()
</code></pre>
<p>You can check at <a href="http://sagecell.sagemath.org/?z=eJxLVLBVKErMS8nPjc9NLCnKrNAIcnHTMTYAIk1erkSgbKJ2ol4JUElxQX5xqgZIUC81Mz01rywxpzS1GCQAAM2AFIU=&lang=sage">http://sagecell.sagemath.org/?z=eJxLV...</a></p>
https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32492#post-id-32492Nice test! I should have said that I'm performing the diagonalization 16 times then manipulating the results for further use, but I just ran your test 50 times on a 50x50 matrix with no problem. This gives me a baseline to figure out what causes the timeout.Mon, 08 Feb 2016 04:04:15 +0100https://ask.sagemath.org/question/32475/sagemathcell-timeout-issue/?comment=32492#post-id-32492