[sage-support] factor((A-B)*(B-C)).list() ?

2023-10-23 Thread Rolandb
Hi, I am surprised by the output (9.8 and 10.1 Ubuntu): var('A,B,C') factor((A-B)*(B-C)).list() var('A,B,C') factor((A-B)*(B-C)).list() var('A,B,C') factor((A-B)*(B-C)).list() [-B^2 + B*C, B - C] I expected [B - A, B - C]. Any explanation? Kind regards, Roland -- You received

Re: [sage-support] Cython fatal error: what to do?

2023-10-17 Thread Rolandb
Hi, My problem is solved! *Reinstalling Anaconda was the trick.* Thanks for all the support. Roland Op maandag 16 oktober 2023 om 20:53:39 UTC+2 schreef Jan Groenewald: > Hi > > Try > > sudo apt-get install python3-dev cython3 > > Regards, > Jan > > On Mon,

[sage-support] Cython fatal error: what to do?

2023-10-16 Thread Rolandb
Hi, Using Sagemath 9.8, and Ubuntu 22.04, I got the following error message when I tried to use %%cython in a Jupiter notebook cell: In file included from /usr/include/python3.10/Python.h:8, from /home/roland/.cache/ipython/cython/_cython_magic_a687e319b78554b58b88d328883ed96d.c:19:

[sage-support] Sage 9.4_20.04 Ubuntu: error relocate-once.py

2021-09-03 Thread Rolandb
Hi, Running the file 'relocate-once.py', I got an error: directory 'python' not recognized. Changing the line #!.. python into #!.. python3 solved the problem. Roland -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from

[sage-support] RuntimeWarning cypari2 leaked 6097768 bytes

2020-05-21 Thread Rolandb
Hi, Is it relevant to further investigate the background of this error message? /opt/sagemath-9.0/local/lib/python3.7/site-packages/sage/repl/ipython_kernel/__main__.py:15: RuntimeWarning: cypari2 leaked 6097768 bytes on the PARI stack If that's the case, I will report the details.

[sage-support] help cartesian_product?

2019-12-07 Thread Rolandb
Hi, I did not expect parts of the help text; see Class docstring: Is there a reason for it? Roland Type:LazyImportString form: The cartesian_product functorial constructionFile: /opt/sagemath-8.9/local/lib/python2.7/site-packages/sage/misc/lazy_import.pyxDocstring:

[sage-support] help triangle_sandpile? Output correct?

2019-08-04 Thread Rolandb
Hi, help triangle_sandpile? (version 8.8, Jupyter Windows) gives the following (unexpected) output after Class docstring Is this intended? Type:LazyImportString form: File: /opt/sagemath-8.8/local/lib/python2.7/site-packages/sage/misc/lazy_import.pyxDocstring:

[sage-support] Sage Windows and @parallel often fails: why?

2019-03-14 Thread Rolandb
Hi, When using @parallel(ncpus=x) for an x which is computer dependent, I sometimes get results, but often the program stops with the error message 16: [Errno 16] Device or resource busy: '/home/sage/.sage/temp/TABLET-ROLAND/690/dir_mGwWQS/740.sobj' Why? How can I avoid this? Roland --

Re: [sage-support] Segmentation fault in is_squarefree

2019-03-03 Thread Rolandb
upyter notebook to run > a cell with the following content > > import cypari2 > pari = cypari2.Pari() > pari(109604757131194562205071319966444535807).issquarefree() > > (I expect the very same error to occur, but it is better to double > check) > >

Re: [sage-support] Segmentation fault in is_squarefree

2019-03-03 Thread Rolandb
onfirm > that you are using cygwin?). If so, you should try to reproduce the > problem without Sage by launching Python inside cygwin and then > > >>> import cypari2 > >>> pari = cypari2

[sage-support] Segmentation fault in is_squarefree

2019-03-03 Thread Rolandb
Hi, the following result is probably not intended: Sage 8.6 Windows aa=109604757131194562205071319966444535807 print is_squarefree(aa) ---SignalError Traceback (most recent call last) in ()

[sage-support] 6.7 ova release for VM VirtualBox

2015-05-31 Thread Rolandb
Hi, Will sage-6.7.ova be released soon? Is there some kind of policy? I noticed that *.ova files are released irregularly. Thanks, Roland -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails

[sage-support] A bug in Sympy qfbsolve?

2014-12-06 Thread Rolandb
Hi, please look at the following unexpected behavior: sage: from sympy.solvers.diophantine import * sage: w=gp.Qfb(1,0,-16).qfbsolve(17) sage: print w Traceback (most recent call last): ... TypeError: Error executing code in GP: CODE: sage[26]=Qfb(sage[23],sage[24],sage[25]); PARI/GP

Re: [sage-support] Re: Policy regarding the output of a standard Sage function

2014-12-05 Thread Rolandb
/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2014-12-05%20two%20squares.sagews On Friday, December 5, 2014 9:52:20 AM UTC-5, Rolandb wrote: Hi, please look at the following example. sage: print two_squares(3437458237428) Traceback (most recent call last

[sage-support] I was not expecting this ... (sqrt bug)

2013-11-29 Thread Rolandb
*File:* /home/sage/sage-5.12/devel/sage/sage/rings/integer.pyx *Type:* type ‘sage.rings.integer.Integer’ *Definition:* sqrt( [noargspec] ) *Docstring:* The Integer class represents arbitrary precision integers. It derives from the Element class, so integers can be used as ring elements

[sage-support] Plot is maybe too good :)

2013-11-03 Thread Rolandb
Hi, The following works, but should '==' work? var('a,b') b=5 plot(a^2-b==3,a,1,7) Roland -- 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 to

[sage-support] Re: How to view the new Trac as non-developer?

2013-07-21 Thread Rolandb
Hi, I receive this message again today. https://lh6.googleusercontent.com/-SzoqQCkwfuc/UewbwobzzRI/AFc/cJNk_VF_WJk/s1600/Message.PNG Op vrijdag 19 juli 2013 15:46:07 UTC+2 schreef Rolandb het volgende: Thanks for your reply! This morning I got a error message, but now http

[sage-support] How to view the new Trac as non-developer?

2013-07-19 Thread Rolandb
Hi, Since mid 2007 I use Sage and often I look at Trac to learn about new and handy routines / tricks. But Trac has changed ( http://trac.sagemath.org/report/33) :( How can non-developers (as me) view the new Trac? Roland -- You received this message because you are subscribed to the Google

[sage-support] Re: How to view the new Trac as non-developer?

2013-07-19 Thread Rolandb
Thanks for your reply! This morning I got a error message, but now http://trac.sagemath.org/report/33 it is visible again. Op vrijdag 19 juli 2013 10:25:00 UTC+2 schreef P Purkayastha het volgende: On 07/19/2013 02:53 PM, Rolandb wrote: Hi, Since mid 2007 I use Sage and often I look

[sage-support] Ellipsis suddenly appears?

2013-06-17 Thread Rolandb
Hi, why do I get *Ellipsis* here? Sage 5.9 VB Win64 Roland sage: [0.5,1.0,...,6.0] [0.500, 1.00, Ellipsis, 6.00] -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop

[sage-support] Re: Ellipsis suddenly appears?

2013-06-17 Thread Rolandb
Hi, thanks for the swift reply. It was already common in version 4.8. I was not aware that 1 dot extra would have such an effect. Op maandag 17 juni 2013 17:50:04 UTC+2 schreef Rolandb het volgende: Hi, why do I get *Ellipsis* here? Sage 5.9 VB Win64 Roland sage: [0.5,1.0,...,6.0

[sage-support] Adding Gnumeric - spreadsheet functionality to Sage

2013-06-13 Thread Rolandb
Hi, Just adding up two developments: - Sage is a serious and free Mathematical tool (with probably after the Summer releasing version 6.0 which includes many improvements since version 5 early 2012). - Gnumerichttp://projects.gnome.org/gnumeric/announcements/1.12/gnumeric-1.12.2.shtmlis a

[sage-support] Cython time in html listing

2013-05-29 Thread Rolandb
Hi, Cython has a particular method to state the time. The first line of the html listing shows: Generated by Cython 0.19 on Wed May 29 12:00:31 2013 Actually it is exactly 6 hrs later (in Europe). Any explanation? Virtualbox Sage 5.9 Roland -- You received this message because you are

[sage-support] Re: Assign to generated variable names

2013-05-11 Thread Rolandb
Hi, with numbers the problem is like thishttps://ece.uwaterloo.ca/~dwharder/NumericalAnalysis/05Interpolation/multi/I assume: data=zip([randint(-4, 5) for i in range(ns)],[randint(-1, 16) for i in range(ns)]) A_data=matrix(ns,ns,[map(int,A(x=s,y=t).list()) for s,t in data])

[sage-support] Math Processing Error

2013-04-08 Thread Rolandb
Hi, after a few day all cores active, I suddenly received the following message: https://lh6.googleusercontent.com/-c8NKLc-Jml8/UWMT7UYFZVI/ADI/IYXqJOMHnZY/s1600/Knipsel.PNG Any idea what this means? Windows 7 64b i7-2600 @3.40 8GB Roland -- You received this message because you

[sage-support] Unsafe Math?

2013-03-31 Thread Rolandb
Hi, Why does my computer complains heavelly when I go to public worksheets? https://lh6.googleusercontent.com/-D-0Lb_dtFyI/UVfevBfungI/AC4/aQNNqust0po/s1600/Unsafe.PNG Roland -- You received this message because you are subscribed to the Google Groups sage-support group. To

[sage-support] Bug in solve?

2013-02-24 Thread Rolandb
Hi, Using 5.7 in Windows 64, I got the following message: solution=solve([(a*x+b*y)*x*y/c==1,3*log(a + b + c) - log(27*a*b*x*y)],x,y,solution_dict=True) for sol in solution: show(sol) ;;; ;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'. ;;; Jumping to the

[sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-17 Thread Rolandb
2013 08:35:34 UTC+1, Rolandb a écrit : [ Bandwidth savings ... ] Sage origin is mathematics, but over time it has become a great tool for normal work too (especially rural areas). is a pearl ! I hereby nominate it as The Quote Of The Year on Mathematics... Question : can one use Sage

[sage-support] Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-16 Thread Rolandb
Dear all, I suggested to a friend living in Africa (Lomé) to use Sage instead of using Excel for semi-professional work. Excel is great - I'm a big fan - but not for semi-professional work as you have to use multiple tables, sheets, not-that-easy-to-learn VBA et cetera. Sage origin is

[sage-support] Five minor issues Thank You

2013-01-01 Thread Rolandb
Hi, One of the real joys of the holiday season is the opportunity to say Thank You to all Sage developers, and to wish them, users and all who are dear and near the very best for the New Year! I noted five minor issues: 1)Developer’s Guide v5.5: typo Howver, in order to do

[sage-support] Performance improvements over time (fyi)

2013-01-01 Thread Rolandb
https://lh5.googleusercontent.com/-eUE6Ohvp6Io/UONReg0z-6I/ACc/n2a-bG_1XSY/s1600/Timing+Sage+1.PNG Compliments to those who realized the above progress. Roland -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send

[sage-support] TypeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined

2012-11-06 Thread Rolandb
Hi, have a look at: print [p for p in Integer(8).factor(limit=10^6)] [(2, 3L)] Is the 3L intended? The following line: if 1/3*log(3L) != log(6L): print Correct yields: TypeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined... version 5.3 64b, Ubuntu 12.04.1 Rolandsolve* · *server*

[sage-support] Re: finance.TimeSeries SIGSEGV

2012-09-17 Thread Rolandb
Hi, I followed the instructions of Jan Groenewald sudo apt-add-repository -y ppa:aims/sagemath sudo apt-get update sudo apt-get install sagemath-upstream-binary and ... it works! All thank for considering this item. Roland -- You received this message because you are subscribed to the Google

[sage-support] finance.TimeSeries SIGSEGV

2012-09-15 Thread Rolandb
doc/live/reference/sage/finance/time_series.html example v = finance.TimeSeries([5,4,1.3,2,8,10,3,-5]) /home/roland/Sage/sage-5.3-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/libcsage.so(print_backtrace+0x31)[0x7f010766e16a]

[sage-support] Re: Google Chrome keeps saying Page contains unsafe content

2012-05-28 Thread Rolandb
Hi Simon, Thank for your considerations! The message only appears with this group; not with -devel, -release and sage_trac. Also gmane is fine. I will ask Google (as I happen to know a specialist) if they can find more technical details. Meanwhile, your alternative route will be my standard.

[sage-support] Re: var: a more compact declaration possible?

2012-02-25 Thread Rolandb
...@beezer.cotse.net wrote: Is this better? sage: [var('b'+str(i), latex_name=\\beta_+str(i),domain='real') for i in range(4)] [b0, b1, b2, b3] sage: latex(b3) \beta_3 Rob On Feb 25, 2:08 am, Rolandb roland.vandenbr...@gmail.com wrote: Hi, Is a more compact declaration possible

[sage-support] Re: bug in ZM_lll

2011-11-30 Thread Rolandb
Additional information: kbug=matrix(7,5,[[pq^i for i in xrange(5)] for pq in [0,-1,1/2, -1/2, -3/4, 5/3, -26/25]]) print kbug.integer_kernel() *** bug in ZM_lll, please report -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: bug in ZM_lll

2011-11-30 Thread Rolandb
Dear Simon, Sage 4.7.1, i7 2600, Windows 7, Fedora 14. Bug repeates over and over. Probably the same bug as #11604. How can I upload the seamingly related patch in VM Virtualbox / Fedora 14 / Windows? http://spkg-upload.googlecode.com/files/pari-2.4.3.alpha.p8.spkg Roland -- To post to this

[sage-support] Re: bug in ZM_lll

2011-11-30 Thread Rolandb
Thanks! It works now. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org

[sage-support] bug in ZM_lll

2011-11-29 Thread Rolandb
Hi, I was kindly asked to report the following: *** bug in ZM_lll, please report Traceback (most recent call last): File stdin, line 1, in module File _sage_input_65.py, line 10, in module exec compile(u'open(___code___.py,w).write(# -*- coding: utf-8 -*-\\n +

[sage-support] Re: Ticket # 5310 and related issues

2011-10-30 Thread Rolandb
On 30 okt, 03:13, William Stein wst...@gmail.com wrote: Sage's factor currently just calls pari which makes no use of anything anywhere else in sage.  It would be nice if somebody were to change this, but I have seen many people try and fail. Dear William, I'm still puzzled why I find such a

[sage-support] Ticket # 5310 and related issues

2011-10-29 Thread Rolandb
Hi, What the status is of factoring integers: from 1 up to 80-100 digits? Ticket #5310 seems to address this by implementing Msieve, but I noticed no activity lately. For instance n.trail_division() speeds up calculations a lot, but it seems not be integrated with a general approach. This

[sage-support] list(factor(1)) yields []: Is this consequent?

2011-09-13 Thread Rolandb
Hi, factor(1) 1 list(factor(1)) [] Is this as expected? Why is list(factor(1)) not equal to [1,1]? I'm aware that: factor(1).unit() 1 Sage 4.7, Windows 7 Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: list(factor(1)) yields []: Is this consequent?

2011-09-13 Thread Rolandb
On 13 sep, 22:53, Maarten Derickx m.derickx.stud...@gmail.com wrote: I think it is consequent. list(factor(n)) just gives a list of tuples (p,e) where p is a prime dividing n and e is it's exponent. Since there are no primes dividing 1 the list is empty. Thanks for the swift reply! However,

[sage-support] Socket.error

2011-07-11 Thread Rolandb
Hi, Using Windows 7, Virtualbox, Sage 4.7 I got the following message: socket.error Last listings: 429 os.chdir(cwd) 430 if e == 256: 431raise socket.error What to do? Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Comma: just an observation

2011-06-20 Thread Rolandb
Hi, look at the following lines: sage: def comma(): ... print * sage: comma(), #= the , has no effect; this is expected? sage: comma() sage: print comma() #The print commando (function) has effect, and yields None * * * None Roland (version 4.7,

[sage-support] Re: External Networks

2011-05-31 Thread Rolandb
On 31 mei, 21:53, naz...@verizon.net wrote: I just downloaded VMware Player and the sage-vmware-4.6.zip file. It works great. However, I do have two problems. I could be wrong, but they seem to be related. First, I get the error message External network not setup whenever I switch to the

[sage-support] Re: Problem with Solve

2011-05-28 Thread Rolandb
I looked at your problem. A few observations. On 27 mei, 18:13, rpoirier rpoir...@champlaincollege.qc.ca wrote: I want to solve a relativity problem using SOLVE. I used to be able to, but now I run into a problem. lp=60e9*1000 dtp=1.25*24*3600 beta=var('beta') gamma=1/(sqrt(1-beta^2))

[sage-support] Re: serious usability problem with unsaved notebooks

2011-05-15 Thread Rolandb
On 15 mei, 01:13, Tom tmb...@gmail.com wrote: I keep getting notebooks that are messed up: text and formulas have been randomly moved around and some are missing.  I think this happens when closing the Sage notebook without either saving or discarding the changes.  I haven't changed any of

[sage-support] .factor() output consistent?

2011-05-01 Thread Rolandb
Hi, look at the following example: sage: R.A,B=QQ[] sage: list((A^2+B).factor()+(B^2).factor()) [(1, A^2), (1, B^2), (1, B)] sage: list((A^2+B).factor())+list((B^2).factor()) [(A^2 + B, 1), (B, 2)] Is the first result what I could (should) expect? (tested via KAIST, version 4.6.1) Roland --

[sage-support] Solving ax^2+bxy+cy^2=n fast (BinaryQF)

2011-02-27 Thread Rolandb
Hi, I was wondering whether equations as ax^2+bxy+cy^2=n can be solved fast. Solve is a general application with a lot of overhead. I think of methods such as can be found on www.alpertron.com.ar/METHODS.HTM by Dario Alejandro Alpern, or www.numbertheory.org/php/ by Keith Matthews. It seems to me

[sage-support] Typo: fiel

2011-02-14 Thread Rolandb
Hi, a typo. How can I reload a Python script in a Sage session? You can load a Python script in a Sage session with the command load. For example, we could use Sage to import a file called simple.py with: load(simple.py) and repeat this command every time that we change the fiel simple.py.

[sage-support] Link missing

2011-02-14 Thread Rolandb
Hi, link missing Indices and tables * Index * Module Index * Search Page Requested page /doc/numerical_sage/py-modindex.html could not be found. Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Comparing version 3.4 versus 4.6

2011-02-04 Thread Rolandb
Hi, just FYI. Cleaning up various old notebook files, I came across the following Benchmark. It seems that overall version 4.6 is faster, but not for all tests. 3.4 4.6 Benchmark 0.4s0.4sFactor the following polynomial over the rational numbers:

[sage-support] Re: Sage with VMware does not work

2010-12-05 Thread Rolandb
you with a solution. 1. http://groups.google.com/group/sage-support/browse_thread/thread/7c30c801be94e5ae/762524a771479d54?lnk=gstq=rolandb#762524a771479d54 2. http://ask.sagemath.org/question/139/the-network-connection-is-not-working-with-453 3. http://groups.google.com/group/sage-support

[sage-support] Re: Error message EOFError

2010-11-22 Thread Rolandb
plain text mode in your notebook in the browser, press save changes and presto you should have your contents back. /Calle On 12 Nov, 22:09, Rolandb rola...@planet.nl wrote: Hi, I have a similar problem as Brian had earlier:http://groups.google.com/group/sage-support/browse_thread/thread

[sage-support] Heavy memory usage in a basic example: what happens? How to manage it?

2010-11-16 Thread Rolandb
Hi, I assumed that pure python would not consume (too much) memory. But consider the following simple pure python example: sage: def splits(lijst,n): ... ... ... Divides a list in all combinations of n smaller partitions ... example: ... splits(range(5),2)= [[[0], [1, 2,

[sage-support] Very long message: normal or is there a problem?

2010-11-13 Thread Rolandb
Hi, I upgraded VM player from 3.1.1 to 3.1.2. To test the upgrade I started Sage 4.5.1 (because 4.5.3 has a EOFError problem). A very long message appeared. Normal or is there a problem? Roland 2010-09-08 10:57:14-0700 [HTTPChannel,541,127.0.0.1] Starting zipping a group of worksheets in a

[sage-support] Error message EOFError

2010-11-12 Thread Rolandb
Hi, I have a similar problem as Brian had earlier: http://groups.google.com/group/sage-support/browse_thread/thread/c56db77811364972/13fdcb48875e6675?lnk=gstq=brian#13fdcb48875e6675 If I start Sage from the command line with notebook(), I get the following messages: sage: notebook()

[sage-support] Service Temporarily Unavailable

2010-11-08 Thread Rolandb
Hi, I got the following message using Firefox with Sage 4.5.3 via VM 3.1.1 build-282343. Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.2.12 (Ubuntu) Server at

[sage-support] Python or Sage behavior?

2010-10-23 Thread Rolandb
Hi, look at the following simple routine. def why(): test=((k2,k1) for k1 in xrange(2,4) for k2 in xrange(1,k1) if gcd(k1,k2)==1) print [t for t in test] print [t for t in test] return why() [(1, 2), (1, 3), (2, 3)] [] It seems that test can only be used once. The Python

[sage-support] Re: solve -- an easy issue with solution_dict=True)

2010-10-12 Thread Rolandb
On 13 okt, 03:39, kcrisman kcris...@gmail.com wrote: On Oct 12, 6:37 pm, Robert Samal robert.sa...@gmail.com wrote: I observed that solve behaves inconsistently in the following regards: sage: solve([x==1,x==-1],x) [] (this is as expected) However: solve([x==1,x==-1],x,

[sage-support] Solve inconsequent

2010-10-03 Thread Rolandb
Hi, Two examples: var('x1,x2') y=[x1,x2] opl=solve([x1^2==4,x2^2==9],y,solution_dict=True) print opl [{x2: -3, x1: -2}, {x2: -3, x1: 2}, {x2: 3, x1: -2}, {x2: 3, x1: 2}] var('x1') y=[x1] opl=solve([x1^2==4],y,solution_dict=True) print opl Traceback (click to the left of this block for

[sage-support] Re: 4.5.1 or 4.5.2 for win?

2010-09-10 Thread Rolandb
On 10 sep, 17:56, HarryK haeckma...@gmx.de wrote: On Aug 8, 9:16 am, Rolandb rola...@planet.nl wrote: On 8 aug, 01:47, Alex Ghitza aghi...@gmail.com wrote: Hi, On Sat, 7 Aug 2010 12:37:16 -0700 (PDT), Rolandb rola...@planet.nl wrote: I'm thrilled that a new VMware version

[sage-support] Re: 4.5.1 or 4.5.2 for win?

2010-09-09 Thread Rolandb
On 9 sep, 22:54, jockothy jgmcc...@gmail.com wrote: On Sep 8, 7:25 pm, Rolandb rola...@planet.nl wrote:  Version 4.5.3 has the same problem. Could you elucidate somewhat more  on what you did exactly.  Where did you put the command   sudo rm /etc/udev/rules.d/70-  persistent-net.rules

[sage-support] Re: 4.5.1 or 4.5.2 for win?

2010-09-08 Thread Rolandb
On 15 aug, 12:50, jockothy jgmcc...@gmail.com wrote: Hi! There is a (huge) difference between win version 4.5.1 and 4.5.2. In version 4.5.1 an externalnetworkwas setup, so I can use Sage via Windows Firefox using the address 192.168.236.128. The 4.5.2 version gives the warning that

[sage-support] Error message

2010-08-27 Thread Rolandb
Hi, VMware 3.1.1 with 4.5.1: 2010-08-16 13:01:46-0700 [-] Log opened. 2010-08-16 13:01:46-0700 [-] twistd 9.0.0 (/home/sage/sage/local/bin/ python 2.6.4) starting up. 2010-08-16 13:01:46-0700 [-] reactor class: twisted.internet.selectreactor.SelectReactor. 2010-08-16 13:01:46-0700 [-]

[sage-support] Re: Error message

2010-08-27 Thread Rolandb
On 28 aug, 02:31, Mitesh Patel qed...@gmail.com wrote: On 08/27/2010 02:57 PM, Rolandb wrote: VMware 3.1.1 with 4.5.1: 2010-08-16 13:01:46-0700 [-] Log opened. 2010-08-16 13:01:46-0700 [-] twistd 9.0.0 (/home/sage/sage/local/bin/ python 2.6.4) starting up. 2010-08-16 13:01:46-0700

[sage-support] Re: Finding symbolic solutions

2010-08-18 Thread Rolandb
On 16 aug, 19:44, Rolandb rola...@planet.nl wrote: On 16 aug, 05:53, Kenny Brown im.self.emplo...@gmail.com wrote: On Aug 13, 3:07 pm, Rolandb rola...@planet.nl wrote: The most elementary forms are A + B = A+B, A^2 + B*(A+B) = (A+B)^2 and (B-A)^2 + 4*A*B = (A+B)^2. You say A + B

[sage-support] Re: Finding symbolic solutions

2010-08-16 Thread Rolandb
On 16 aug, 05:53, Kenny Brown im.self.emplo...@gmail.com wrote: On Aug 13, 3:07 pm, Rolandb rola...@planet.nl wrote: The most elementary forms are A + B = A+B, A^2 + B*(A+B) = (A+B)^2 and (B-A)^2 + 4*A*B = (A+B)^2. You say A + B = A+B. Was that a typo? No. Just follow i,ii and iii

[sage-support] Finding symbolic solutions

2010-08-13 Thread Rolandb
Hi, Some help is appreciated concerning the following. Suppose P1,P2,P3 are two-variate polynomials. I search for all sets of (P1,P2,P3) such that: i) P1(A,B)+P2(A,B)=P3(A,B) ii) Greatest common denominator P1 and P2 equals 1 [Thus gcd( P1, P2 )=1] iii) P1*P2*P3 can be divided by

[sage-support] VMware memory allocation: how to change it with version 4.5.2?

2010-08-11 Thread Rolandb
Hi, VMware is supported again which I appriciate very much. But there is a difference with (for instance) Sage 4.1. With Sage 4.1 I could change the memory allocation via the option VM Settings. With Sage 4.5.2. the allocation is only 512Mb, and can't be changed. Any solution at hand? Thanks in

[sage-support] Re: VMware memory allocation: how to change it with version 4.5.2?

2010-08-11 Thread Rolandb
On 11 aug, 23:45, Alex Ghitza aghi...@gmail.com wrote: Hi, On Wed, 11 Aug 2010 10:02:03 -0700 (PDT), Rolandb rola...@planet.nl wrote: But there is a difference with (for instance) Sage 4.1. With Sage 4.1 I could change the memory allocation via the option VM Settings. With Sage 4.5.2

[sage-support] Re: help! windows crash - sage inaccessible from host browser

2010-08-11 Thread Rolandb
On 11 aug, 22:36, Josh yoshua.coo...@gmail.com wrote: This is probably completely noobish of me, but I really need help solving the following problem (which has now occurred for the second time).  First, the setup: Sage Version 4.3 VirtualBox 3.1.4 Windows 7 Firefox 3.6.8 My machine

[sage-support] Error message

2010-08-10 Thread Rolandb
Hi, I get the following message: terminate called after throwing an instance of 'std::runtime_error' what(): /usr/local/sage/local/bin/sage-sage: line 349: 3732 Aborted python $@ VMware, Sage 4.1 Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe

[sage-support] Re: Bad Gateway

2010-08-10 Thread Rolandb
On 10 aug, 07:45, Mitesh Patel qed...@gmail.com wrote: On 08/08/2010 05:43 AM, Rolandb wrote: I used dowload all, and thereafter I tried to upload the file download_worksheets. The following message appears: Bad Gateway The proxy server received an invalid response from an upstream

[sage-support] Memleak: could this be solved please?

2010-08-09 Thread Rolandb
Hi, Memory leaks are annoying. For instance #9298. Could somebody have a look at it? Thanks in advance! Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit

[sage-support] Re: 4.5.1 or 4.5.2 for win?

2010-08-08 Thread Rolandb
On 8 aug, 01:47, Alex Ghitza aghi...@gmail.com wrote: Hi, On Sat, 7 Aug 2010 12:37:16 -0700 (PDT), Rolandb rola...@planet.nl wrote: I'm thrilled that a new VMware version is out. But looking at METALINK, I found version 4.5.2 for win while other versions are 4.5.1? Seewww.sagemath.org

[sage-support] Bad Gateway

2010-08-08 Thread Rolandb
Hi, I used dowload all, and thereafter I tried to upload the file download_worksheets. The following message appears: Bad Gateway The proxy server received an invalid response from an upstream server. Apache/2.2.12 (Ubuntu) Server at 192.168.231.129 Port 80 Any idea how to get the job done?

[sage-support] 4.5.1 or 4.5.2 for win?

2010-08-07 Thread Rolandb
Hi, I'm thrilled that a new VMware version is out. But looking at METALINK, I found version 4.5.2 for win while other versions are 4.5.1? See www.sagemath.org/mirror/win/meta/sage-vmware-4.5.2.zip. Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

[sage-support] China

2010-08-07 Thread Rolandb
Hi, Maybe the following is of some interest. Last week, I was in both Beijing and Shanghai. The main webpages www.sagemath.org as well as http://groups.google.com/group/sage-support could be used, but no other Sage webpages! It seems that a potential huge community can't use Sage. Roland -- To

[sage-support] Re: China

2010-08-07 Thread Rolandb
On 7 aug, 21:54, William Stein wst...@gmail.com wrote: On Sat, Aug 7, 2010 at 12:47 PM, Rolandb rola...@planet.nl wrote: Hi, Maybe the following is of some interest. Last week, I was in both Beijing and Shanghai. The main webpageswww.sagemath.orgas well as http://groups.google.com/group

[sage-support] Re: tell to sage do something if you can but if you can not, pass to anything else

2010-07-20 Thread Rolandb
, On this topic, Sebastian Pancratz and I wrote an optimized implementation of trial division to find the smallest factor of an integer:      http://trac.sagemath.org/sage_trac/ticket/9537 This may be in sage-4.5.2.  -- William On Mon, Jul 19, 2010 at 9:16 PM, Rolandb rola...@planet.nl wrote

[sage-support] Re: tell to sage do something if you can but if you can not, pass to anything else

2010-07-19 Thread Rolandb
Hi, I use ZZ(ss).factor(proof=False,limit=10^5). By changing 'limit' you limit the search. 2^26 * 3^30 * 5^15 * 7^5 * 13^5 * 23^2 * 29 * 37 * 967 * 100231435706561580153005984524922236635721822683010490144527758096287118\ 468921220756478157058125901560872523532972896397 This can be combined

[sage-support] Re: Is there any way to get old VMware versions?

2010-06-21 Thread Rolandb
Hi Alex, +10 for the person who is willing and able to make a recent VMWare Sage image (x86_64). Since April I rather use VMWare Sage than the Virtualbox version, despite the disadvantages of the old release. VWMare did change a lot; a good reason to support both Virtualbox and VMWare in the

[sage-support] Why is map using memory?

2010-06-20 Thread Rolandb
Hi, Look at: R.A,B,C=QQ[] print get_memory_usage() for i in xrange(1): (an,bn,cn)=map(lambda x: abs(x((1,8,9))), (A,B,C)) print get_memory_usage() 819.94921875 828.94921875 Why is the memory usage increasing with 9Mb? This only happens when map is used repeatedly! I would expect no

[sage-support] Re: Why is map using memory?

2010-06-20 Thread Rolandb
Hi, I found a more simplified example: print get_memory_usage() for i in xrange(1): A(1,8,9) print get_memory_usage() Why is type(A) 'sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingu \lar' using memory? Roland On 20 jun, 16:18, Rolandb rola...@planet.nl wrote: Hi

[sage-support] Re: Sage can't find a Python program I wrote

2010-06-19 Thread Rolandb
Hi, May I extend the question somewhat. If you look at http://www.sagemath.org/doc/tutorial/programming.html#section-standalone , you find the text: It is also easy to access C functions defined in separate *.c files. Here’s an example. Create files test.c and test.spyx in the same directory

[sage-support] Re: MemoryError

2010-06-18 Thread Rolandb
? Roland On 29 mei, 09:43, Robert Bradshaw rober...@math.washington.edu wrote: On May 28, 2010, at 9:53 PM, Rolandb wrote: Tnx Robert, I rewrote the routine somewhat to use less stored values. Still I got the following message: error: no morememory System -1596988k:2096917k Appl

[sage-support] How to do it in cython?

2010-06-12 Thread Rolandb
Hi, I have a small (nonsense) example of a program I would like to be able to convert to cython. But I don't know how to convert: R.A,B,C=QQ[], .factor(), .unit() and .factor(proof=False,limit=10^5). I could not find anything in the documentation about for instance handling elements of

[sage-support] Cython and static data

2010-06-07 Thread Rolandb
Hi, Using cython, I want to make optimal use of static data. The reason is that lookup is (often) much faster than recalulating. I now use: cdef list nice_list_name=[3 , 3 , 3 , 3 , 3 , 3 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 5 , 5 , 5 , et cetera] But this didn't increase the speed.

[sage-support] Re: Cython and static data

2010-06-07 Thread Rolandb
...@math.washington.edu wrote: On Jun 7, 2010, at 8:04 AM, Rolandb wrote: Hi, Using cython, I want to make optimal use of static data. The reason is that lookup is (often) much faster than recalulating. I now use: cdef list nice_list_name=[3 , 3 , 3 , 3 , 3 , 3 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 5

[sage-support] Re: MemoryError

2010-05-28 Thread Rolandb
:41, Robert Bradshaw rober...@math.washington.edu wrote: On May 27, 2010, at 11:31 AM, Rolandb wrote: Hi, I'm running a routine which uses a large data set (13 million elements). After a while the output is: MemoryError no mem for new parser What to do? Thanks in advance

[sage-support] MemoryError

2010-05-27 Thread Rolandb
Hi, I'm running a routine which uses a large data set (13 million elements). After a while the output is: MemoryError no mem for new parser What to do? Thanks in advance for the swift reply! Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

[sage-support] Re: Loading ABC triples: How to read *.gz files?

2010-05-25 Thread Rolandb
Tnx! Just for others (and maybe for the manual): import gzip F = get_remote_file(http://abcathome.com/data/triples_sofar.gz;) input_file = gzip.open(F, 'rb') all_data = input_file.read() Roland On 24 mei, 21:58, Jason Grout jason-s...@creativetrax.com wrote: On 05/24/2010 02:36 PM, Rolandb

[sage-support] Loading ABC triples: How to read *.gz files?

2010-05-24 Thread Rolandb
Hi, The site http://abcathome.com/data/ has a link the file triples_sofar.gz, a database with ABC triples. I would like to use the file within Sage. The link is http://abcathome.com/data/triples_sofar.gz The size is around 162Mb; unpacked around 400Mb. Via F =

[sage-support] Re: Loading ABC triples: How to read *.gz files?

2010-05-24 Thread Rolandb
wst...@gmail.com wrote: On Mon, May 24, 2010 at 12:03 AM, Rolandb rola...@planet.nl wrote: Hi, The sitehttp://abcathome.com/data/has a link the file triples_sofar.gz, a database with ABC triples. I would like to use the file within Sage. The link ishttp://abcathome.com/data/triples_sofar.gz

[sage-support] Re: Test if a variable is numerical

2010-05-07 Thread Rolandb
Hi, Maybe this helps: a=[1,2.3] print isinstance(a,list) True a=67 print isinstance(a,Integer) True Roland On 7 mei, 23:49, Nathann Cohen nathann.co...@gmail.com wrote: Thank you !!! :-) Would there be any way to do the same thing without having to import RR in all of my functions, though

[sage-support] Re: Notebook running very slowly

2010-04-28 Thread Rolandb
Hi William, Sage 4.4. is out. What file do I have to download in order to use it with Vmware player 3.01 and Windows 7 64b? Currently I use Sage 4.1 Thank in advance for your swift reply. Roland On 27 apr, 07:04, William Stein wst...@gmail.com wrote: On Fri, Apr 16, 2010 at 3:01 AM, NCP

[sage-support] Some leakage?

2010-04-24 Thread Rolandb
Hi, consider the following: timeit('factor(3^89-1, proof=False)') timeit('factor(3^89-1,proof=True)') timeit('factor(3^89-1, proof=False)') timeit('factor(3^89-1,proof=True)') 5 loops, best of 3: 188 ms per loop 5 loops, best of 3: 195 ms per loop 5 loops, best of 3: 194 ms per loop 5 loops,

  1   2   >