[sage-support] Error when type notebook()

2013-02-18 Thread Santanu Sarkar
Dear all, when I type notebook(), I get the following error. Will you kindly help me? sage: notebook() --- EOFError Traceback (most recent call last) /home/a/.sage/ in () /home/a/Downloads

Re: [sage-support] Re: Boolean Variables

2013-02-18 Thread Santanu Sarkar
Thank you very much. On 16 February 2013 21:50, akhil wrote: > > > On Saturday, February 16, 2013 9:38:14 AM UTC+5:30, Santanu wrote: >> >> Dear all, >> I have the following problem. >> >> >> I am working with Boolean variables. So I call the following. >> >> from sage.crypto.boolean_function i

[sage-support] Re: 503 Service Temporarily Unavailable

2013-02-18 Thread Keshav Kini
Nathan Yeung writes: > Hi, > > I'm running a sage notebook server for a math professor and I am getting a > 503 temporarily unavailable error. If you're running your own sage notebook server, and not referring to sagenb.org, then that's far from enough information for anyone to be able to diagno

[sage-support] Re: Memory usage

2013-02-18 Thread Simon King
Hi, On 2013-02-18, switzel wrote: > so I could do something like > > import gc > i=i+1 > if (i%1==0): > if get_memory_usage()>3000: > gc.collect() > > but shouldn't there be a more "automatic" way? Thanks! Garbage collection *is* automatic, and there is no need to call it manuall

[sage-support] Re: Memory usage

2013-02-18 Thread switzel
Hi, I found some answers myself. The memory usage can be found out with get_memory_usage() and there is a garbage collection that can be called manually via import gc gc.collect() so I could do something like import gc i=i+1 if (i%1==0): if get_memory_usage()>3000: gc.collect(

[sage-support] 503 Service Temporarily Unavailable

2013-02-18 Thread Nathan Yeung
Hi, I'm running a sage notebook server for a math professor and I am getting a 503 temporarily unavailable error. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email

[sage-support] Memory usage

2013-02-18 Thread switzel
Hi, I am wondering about the following phenomenon: I have a list "interrels" of polynomials in many variables and a list "potential_sols" of potential solutions and I am using the following code to check which are actually solutions (roots). I use the following code sols=[] for psol in potenti

Re: [sage-support] Simplification of multivariable polynomial over a polynomial ring

2013-02-18 Thread Charles Bouillaguet
On Feb 18, 2013, at 1:47 PM, Emmanuel wrote: > Hello, > > I want to work with multivariate polynomials over a multivariate polynomial > ring (see below for the reason I want to do this). > > K.=PolynomialRing(QQ, 2, order='lex') > QM. = PolynomialRing(K, 3, order='lex') > > However, I have pr

[sage-support] Simplification of multivariable polynomial over a polynomial ring

2013-02-18 Thread Emmanuel
Hello, I want to work with multivariate polynomials over a multivariate polynomial ring (see below for the reason I want to do this). K.=PolynomialRing(QQ, 2, order='lex') QM. = PolynomialRing(K, 3, order='lex') However, I have problems when I want to simplify. Consider for example, F=(a*b*X