Re: [sage-support] is_MPolynomial

2023-06-27 Thread Luis Finotti
Thanks! It works now. On Tuesday, June 27, 2023 at 9:12:41 AM UTC-4 Dima Pasechnik wrote: > this is now https://github.com/sagemath/sage/issues/35844 > > On Tue, Jun 27, 2023 at 1:40 PM Dima Pasechnik wrote: > > > > On Tue, Jun 27, 2023 at 12:54 PM Luis Finotti >

[sage-support] is_MPolynomial

2023-06-27 Thread Luis Finotti
Hello, I am getting warnings that is_MPolynomial is deprecated. The error suggests to use isinstance(x, sage.structure.element.MPolynomial) But this gives an error: AttributeError: module 'sage.structure.element' has no attribute 'MPolynomial' Looking at the referred github report

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-06-01 Thread Luis Finotti
On Thursday, June 1, 2023 at 3:13:18 PM UTC-4 Jan Groenewald wrote: On Thu, 1 Jun 2023 at 21:05, Luis Finotti wrote: Interestingly enough, I have another computer, also running Debian Sid, but a much older installation, in which Sage-10.0 *does* work in Jupyter lab. In this one, when I

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-06-01 Thread Luis Finotti
Interestingly enough, I have another computer, also running Debian Sid, but a much older installation, in which Sage-10.0 *does* work in Jupyter lab. In this one, when I look at os.eviron, I also do not have LD_LIRBRARY_PATH... On Thursday, June 1, 2023 at 1:54:06 PM UTC-4 Luis Finotti wrote

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-06-01 Thread Luis Finotti
NARIES_PATH INFOPATH LIBRARY_PATH SAGE_ORIG_PATH_SET LD_LIBRARY_PATH PATH SAGE_ORIG_PATH CPATH and LD_LIBRARY_PATH is '/home/finotti/src/sage-10.0/local/lib' -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this g

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-06-01 Thread Luis Finotti
On Thursday, June 1, 2023 at 4:55:57 AM UTC-4 Nils Bruin wrote: the line: calling init: /usr/lib/x86_64-linux-gnu/libgivaro.so.9 is definitely indicating that you are picking up a system libgivaro. Perhaps you can check in the same way which libgivaro gets linked when you run sage in a way

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
Here is one with your suggested change: https://web.math.utk.edu/~finotti/misc/jl1.out Here is one with the original version: https://web.math.utk.edu/~finotti/misc/jl2.out Again, thanks for your help! On Wednesday, May 31, 2023 at 9:03:15 PM UTC-4 Isuru Fernando wrote: > Can you upl

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
, line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/finotti/src/sage-10.0/src/sage/repl/ipython_kernel/__main__.py", line 1, in < module> import sage.all File "/home/finotti/src/sage-10.0/src/sage/all.py", line 91, in f

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
, line 189, in _run_module_as_main File "", line 148, in _get_module_details File "", line 159, in _get_module_details File "", line 1074, in get_code File "", line 1004, in source_to_code File "", line 241, in _call_with_frame

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
On Wednesday, May 31, 2023 at 6:10:42 PM UTC-4 Isuru Fernando wrote: Which givaro library is loaded when you do `export LD_DEBUG=libs` and run sage from the command line? I get: 1028008: find library=libgivaro.so.9 [0]; searching 1028008: search path=/home/finotti/src/sage

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
On Wednesday, May 31, 2023 at 5:29:25 PM UTC-4 Isuru Fernando wrote: Does `import sage.all` in a sage shell work? In a regular sage shell (from the command line, not in Jupyter Lab)? Yes, no errors (or output). -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
/finotti/src/sage-test/sage-10.0/src/sage/rings/finite_rings/element_givaro.cpython-311-x86_64-linux-gnu.so Later we see the error 916747: /home/finotti/src/sage-test/sage-10.0/src/sage/matrix/matrix_modn_dense_float.cpython-311-x86_64-linux-gnu.so: error: symbol lookup error: undefined

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-30 Thread Luis Finotti
Thanks for the reply! On Tuesday, May 30, 2023 at 2:21:22 AM UTC-4 Jan Groenewald wrote: Also see https://groups.google.com/g/sage-devel/c/xd64DrNzveM/m/EeWc6HuRAwAJ ... in case it is related. I looked at it, but I cannot tell if it is really the same issue, or how I could check. I've seen

[sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-29 Thread Luis Finotti
Firstly, thank you very much for your help, Nils! I greatly appreciate it! On Monday, May 29, 2023 at 8:06:46 PM UTC-4 Nils Bruin wrote: On Monday, 29 May 2023 at 10:51:27 UTC-7 Luis Finotti wrote: Any ideas on how to fix it? Is it just me, or a bug with version 10.0? I followed the same

[sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-29 Thread Luis Finotti
On Monday, May 29, 2023 at 1:11:03 PM UTC-4 Nils Bruin wrote: That looks like a linking error. Probably it's picking up a library from a different sage install. Did you check that sage-10.0 runs fine by itself? Did you check that sage-10.0 runs fine with its "own" notebook, using "sage

[sage-support] sage-10.0 not working in Jupyter Lab

2023-05-29 Thread Luis Finotti
I have just installed version 10.0 from source (in Debian Sid). Everything seems to work fine, but the usual method to add Sage to Jupyter Lab does not work. I created a symlink as usual: $ ll /home/finotti/.local/share/jupyter/kernels Permissions Size UserGroup Date Modified Name

[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-13 Thread Luis Finotti
On Friday, January 13, 2023 at 12:33:16 PM UTC-5 John H Palmieri wrote: It may be (as pointed out on a similar thread in the group sage-devel) that some of the Debian packages have versions that are too new to be used with Sage. You could tell Sage to build its own Python, its own Gap, perhaps

[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-13 Thread Luis Finotti
After some more updated came to Sid, I tried again. Still does not compile, but breaks much sooner. Here is the new log: https://web.math.utk.edu/~finotti/tmp/install-2.log Sid's own packaged version of Sage also cannot be installed at the moment: # apt install sagemath Reading package

[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-10 Thread Luis Finotti
Cannot build sage-9.8.beta6 either... On Monday, January 9, 2023 at 2:14:38 PM UTC-5 Luis Finotti wrote: > My working installation of Sage 9-7 (built from source) on Debian Sid > stopped working. I thought it was due to the recent transition to Python > 3.11 (or some other change in

[sage-support] Cannot build 9.7 on Debian Sid

2023-01-09 Thread Luis Finotti
] error: Command "gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC -Isage/cpython -I/usr/include/x86_64-linux-gnu/singular -I/usr/include/x86_64-linux-gnu/singular/singular -I/usr/include/singular -I/usr/include/singular/singular -I/home/fi

[sage-support] Re: Sage 9.6 crash

2022-07-26 Thread Luis Finotti
t file: No such > file or directory > > Likely, a system update (apt-get upgrade) removed this version of the > shared library. > Rebuild Sage from scratch. > See also https://trac.sagemath.org/ticket/34203 > > > On Monday, July 25, 2022 at 7:28:50 AM UTC-7 Luis Finotti wrote:

[sage-support] Sage 9.6 crash

2022-07-25 Thread Luis Finotti
I've recently started having Sage (up to date) crash. The log is here: https://web.math.utk.edu/~finotti/tmp/Sage_crash_report.txt The system is running Linux Debian Sid (up to date). (I can provide more details if necessary.) My guess is that it might be because I've installed/updated some

[sage-support] Re: loading large file

2021-04-03 Thread Luis Finotti
; -preparse matp11n2.sage" at the shell prompt) and then load the resulting > Python file. > > John > > On Friday, April 2, 2021 at 12:02:38 PM UTC-7 Luis Finotti wrote: > >> The solution I found was to increase the recursion limit: I did >> >

[sage-support] Re: loading large file

2021-04-02 Thread Luis Finotti
The solution I found was to increase the recursion limit: I did sys.setrecursionlimit(4500) It was enough for this. On Friday, April 2, 2021 at 7:51:42 AM UTC-4 Luis Finotti wrote: > I produced a very large text file (139MB) containing some input for Sage. > > The problem is that w

[sage-support] loading large file

2021-04-02 Thread Luis Finotti
I produced a very large text file (139MB) containing some input for Sage. The problem is that when I try to load it, I get: sage: load('matp11n2.sage') --- RecursionErrorTraceback (most recent

[sage-support] Re: Slow Computations in Quotient Rings

2020-04-04 Thread finotti
Thanks for the reply! On Saturday, April 4, 2020 at 1:00:12 PM UTC-4, rana-aere wrote: > > I modified the code and tried to trace computation. > > I think you stepped over the weakness of Sagemath. > I was afraid that that would be the case... > > The modified code is quoted below. > The line

[sage-support] Slow Computations in Quotient Rings

2020-04-03 Thread finotti
A student of mine is trying to use Sage to prove the commutativity of the group law of elliptic curves. Below is the code used when trying to show (P + Q) + R = P + (Q + R), when R = P + Q. I let it run for almost 4 hours with no result. The same code translated to Magma was instantaneous.

[sage-support] Re: Problems Compiling 9.0

2020-01-03 Thread finotti
OK, I found the problem! When trying to compile 8.9 I got a more explicit error message (which I since then "lost" by compiling again) when it also failed due to openblas. The problem was using export MAKE="make -j4 -l5.5" as suggested in the README.md file. The `-l5.5` parameter was the

[sage-support] Problems Compiling 9.0

2020-01-03 Thread finotti
I'm trying to build version 9.0 from source under Linux (Debian Unstable/Sid). The machine has Intel Core i7-8700 CPU and 48GB of RAM. Below is the end of the compilation: [snip] [twisted-16.3.0.p0] Finished installing twisted-16.3.0.p0.spkg make[3]: Leaving directory '/home/finotti/src/sage

[sage-support] Compiling 9.0

2020-01-03 Thread finotti
I'm trying to compile version 9.0 under Linux (Debian Unstable/Sid). I get: [twisted-16.3.0.p0] Finished installing twisted-16.3.0.p0.spkg make[3]: Leaving directory '/home/finotti/src/sage-9.0/build/make' make[2]: *** [Makefile:1830: all-start] Error 2 make[2]: Leaving directory '/home

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-18 Thread Luis Finotti
On Saturday, August 18, 2018 at 4:58:39 AM UTC-4, Volker Braun wrote: > > pip chokes on parsing /etc/$DISTRO-release (for whatever Linux $DISTRO you > are yousing). Please post the file content. > Good catch! Indeed, that file had UTF-8 characters. Removing them resulted in a successful

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-16 Thread Luis Finotti
I'm sorry to have to ask, but could you tell me how to get 8.4beta1 source? On Thursday, August 16, 2018 at 6:41:43 AM UTC-4, Dima Pasechnik wrote: > > the latest beta, 8.4beta1, updates pip package. > it's the way to go anyway. -- You received this message because you are subscribed to the

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-15 Thread Luis Finotti
On Wednesday, August 15, 2018 at 6:05:04 PM UTC-4, Dima Pasechnik wrote: > > To switch to non-default C/C++ compiler, you need to run > > ./configure CC=gcc-7 CXX=g++-7 > > and most probably > > make distclean > > before starting the build > > Thanks for your continued support! Unfornuately,

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-15 Thread Luis Finotti
On Wednesday, August 15, 2018 at 5:14:47 PM UTC-4, Dima Pasechnik wrote: > > [pip-9.0.3] File > "/usr/local/sage-8.3/local/lib/python3.6/encodings/ascii.py", line 26, in > decode > [pip-9.0.3] return codecs.ascii_decode(input, self.errors)[0] > > This is actually strange - why is it

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-15 Thread Luis Finotti
It seems that the terminal output was cut. Here it is in full: https://pastebin.com/6gxaxc7P -- 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: Sage 8.3 Build Fails on Debian Sid

2018-08-14 Thread Luis Finotti
Thanks for the reply! On Tuesday, August 14, 2018 at 5:22:31 PM UTC-4, Dima Pasechnik wrote: > > as you see at the end of the message: > log file: /usr/local/sage-8.3/logs/pkgs/pip-9.0.3.log > > please attach it. > > Done. Let me know if you have any suggestions... -- You received this

[sage-support] Sage 8.3 Build Fails on Debian Sid

2018-08-14 Thread Luis Finotti
I've just tried to compile sage 8.3 from source on Debian Sid/Unstable. I don't see much in the screen right before it fails: [r-3.4.4.p0] mkdir -p -- /usr/local/sage-8.3/local/lib/R/modules [r-3.4.4.p0] make[7]: Leaving directory

[sage-support] Re: Problem compiling 7.3 from source

2016-08-25 Thread Luis Finotti
On Wednesday, August 24, 2016 at 5:41:37 PM UTC-4, leif wrote: > > Luis Finotti wrote: > > I can't compile 7.3 using Debian Unstable. > > Do you intentionally (try to) build Sage's GCC? (I have to admit I > haven't tried to build 4.9.3 with 6.x, but building older GCCs w

[sage-support] Problem compiling 7.3 from source

2016-08-24 Thread Luis Finotti
install.log <http://www.math.utk.edu/~finotti/misc/install.log> and gcc-4.9.3.p1.log. <http://www.math.utk.edu/~finotti/misc/gcc-4.9.3.p1.log> Any help would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups "sage-support" group.

Re: [sage-support] redirecting input and output to Sage

2016-01-23 Thread Luis Finotti
Thanks for the reply! On Saturday, January 23, 2016 at 4:40:00 AM UTC-5, Jeroen Demeyer wrote: > > On 2016-01-22 22:55, Luis Finotti wrote: > > sage tmp.sage >out > This should be the right way. > > > then it takes the supposed amount of time, but the "print i

Re: [sage-support] redirecting input and output to Sage

2016-01-23 Thread Luis Finotti
On Saturday, January 23, 2016 at 11:16:55 AM UTC-5, jori.ma...@uta.fi wrote: > > Quoting Luis Finotti <luis.f...@gmail.com >: > > > Could someone explain how redirection works with Sage (or point me in > the > > right direction)? > > I suggest to not

[sage-support] redirecting input and output to Sage

2016-01-22 Thread Luis Finotti
I'm having a hard time understanding how redirecting input and output works with Sage. I have a file, tmp.sage, with the following content: import time for i in range(6): print i time.sleep(10) If I start sage and issue "load('tmp.sage')", it runs as expected. If I do sage < tmp.sage >

[sage-support] Re: colors in 6.5

2015-02-21 Thread Luis Finotti
to version it. On Friday, February 20, 2015 at 7:58:40 PM UTC+1, Luis Finotti wrote: I've noticed that in 6.5 my terminal colors went back to the default (LightBG), i.e., it seems to ignore the line c.TerminalInteractiveShell.colors = 'Linux' in my $SAGEROOT/ipython-2.3.0/profile_default

[sage-support] Re: Manually Moving Worksheets

2015-02-20 Thread Luis Finotti
Thanks Andrey and kcrisman for the replies! On Thursday, February 19, 2015 at 4:05:25 PM UTC-5, Andrey Novoseltsev wrote: On Thursday, 19 February 2015 12:17:24 UTC-7, kcrisman wrote: f.write(old_heading + g.read()) exceptions.UnicodeDecodeError: 'ascii' codec can't

[sage-support] colors in 6.5

2015-02-20 Thread Luis Finotti
I've noticed that in 6.5 my terminal colors went back to the default (LightBG), i.e., it seems to ignore the line c.TerminalInteractiveShell.colors = 'Linux' in my $SAGEROOT/ipython-2.3.0/profile_default/ipython_config.py. (Running 6.4.1, still installed, gives me the correct colors.) Does

[sage-support] Re: Manually Moving Worksheets

2015-02-19 Thread Luis Finotti
On Thursday, February 12, 2015 at 5:49:28 PM UTC-5, Andrey Novoseltsev wrote: On Wednesday, 11 February 2015 13:26:26 UTC-7, Luis Finotti wrote: Dear all, After some problems with an older computer, I'm trying to move its worksheets to a new one. (Both running Linux.) The problem

[sage-support] Manually Moving Worksheets

2015-02-11 Thread Luis Finotti
Dear all, After some problems with an older computer, I'm trying to move its worksheets to a new one. (Both running Linux.) The problem is that I cannot download the worksheets via Sage: when I try I can select the worksheets and click Download, but nothing happens. It could very well be

[sage-support] terminal color in 6.2

2014-05-20 Thread Luis Finotti
It seems that 6.2 does not recognize the old way of configuring colors in the terminal. It defaults to light background which makes it hard to read the prompt in light background. Can anyone tell me how to change it? Thanks, Luis -- You received this message because you are subscribed to

[sage-support] Re: terminal color in 6.2

2014-05-20 Thread Luis Finotti
On Tuesday, May 20, 2014 2:54:01 PM UTC-4, John H Palmieri wrote: On Tuesday, May 20, 2014 11:41:24 AM UTC-7, Luis Finotti wrote: It seems that 6.2 does not recognize the old way of configuring colors in the terminal. It defaults to light background which makes it hard to read

Re: [sage-support] installation from source failed on 6.2

2014-05-19 Thread Luis Finotti
javascript: wrote: On 05/16/2014 04:29 PM, Luis Finotti wrote: Dear all, I tried to build from source (as usual for me) in Debian unstable (64 bit). The install.log can be found here: http://www.math.utk.edu/~finotti/misc/install.log Any help would be greatly appreciated. Best

Re: [sage-support] installation from source failed on 6.2

2014-05-19 Thread Luis Finotti
On Monday, May 19, 2014 5:09:33 PM UTC-4, P Purkayastha wrote: On Tue 20 May 2014 03:00:06 AM SGT, Luis Finotti wrote: On Friday, May 16, 2014 5:41:53 PM UTC-4, P Purkayastha wrote: Actually, the problem in both cases could be that some directory, maybe /usr/local

[sage-support] installation from source failed on 6.2

2014-05-16 Thread Luis Finotti
Dear all, I tried to build from source (as usual for me) in Debian unstable (64 bit). The install.log can be found here: http://www.math.utk.edu/~finotti/misc/install.log Any help would be greatly appreciated. Best to all, Luis -- You received this message because you are subscribed

[sage-support] Re: jmol on notebook blocked in firefox

2014-03-10 Thread Luis Finotti
UTC+8, Luis Finotti wrote: Thanks for the reply! That is too bad, as it will make it seem less user friendly to new users... Is it possible to tell the notebook to open jmol in its own window (like if it were called from the command line)? Thanks again, Luis That works great for me

[sage-support] Re: jmol on notebook blocked in firefox

2014-03-10 Thread Luis Finotti
On Saturday, March 8, 2014 12:49:24 PM UTC-5, ssin...@coe.edu wrote: Hello, I had a similar problem with the sage cell server. My system: Ubuntu 12.04-32, Chromium 32, FF 27, java-7-oracle. The fix for me: found an application called jcontrol; I used locate jcontrol and found it

[sage-support] Re: jmol on notebook blocked in firefox

2014-03-10 Thread Luis Finotti
On Saturday, March 8, 2014 1:00:54 PM UTC-5, ssin...@coe.edu wrote: I'll try this again; google groups just gave me a This message has been deleted after I posted...anyone know why this happened? On Thursday, March 6, 2014 8:48:28 AM UTC-6, Luis Finotti wrote: Dear all, I am making

[sage-support] jmol on notebook blocked in firefox

2014-03-06 Thread Luis Finotti
Dear all, I am making a presentation of Sage for undergraduate math students next week, and when trying some old example I see that I cannot make a 3D graph interactive anymore. The first error is that the java plugin is out of date and vulnerable. I've installed the latest plugin (from

Re: [sage-support] error compiling 5.11 from source

2013-09-20 Thread Luis Finotti
On Friday, September 20, 2013 4:02:39 AM UTC-4, Jeroen Demeyer wrote:This is a known and fixed bug: http://trac.sagemath.org/sage_trac/ticket/14737 You could try the latest beta: http://boxen.math.washington.edu/home/release/sage-5.12.beta5/sage-5.12.beta5.tar Thanks Dmitrii and

[sage-support] error compiling 5.11 from source

2013-09-19 Thread Luis Finotti
will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. make: *** [build] Error 1 - I've posted logs at http://www.math.utk.edu/~finotti/misc/ Any help would be greatly appreciated. Luis -- You received this message because you

[sage-support] Re: 3d plotting (iced-tea plugin)

2013-06-25 Thread Luis Finotti
On Tuesday, June 25, 2013 12:24:48 PM UTC-4, P Purkayastha wrote: The jmol is known to work reliably only with the oracle-java plugin. I don't even know if it is tested against icedtea. Thanks for the reply. Indeed, using oracle's java plugin worked. OTOH, most linux distributions seem

[sage-support] problem compiling sage-5.10

2013-06-24 Thread Luis Finotti
Dear all, I am trying to compile sage-5.10 from source. I am using aptosid (basically Debian unstable). Apparently the error occurs when compiling singular. The log file is here: http://www.math.utk.edu/~finotti/misc/singular-3-1-5.p7.log The whole install log is here: http

[sage-support] Re: problem compiling sage-5.10

2013-06-24 Thread Luis Finotti
Same answer: ;-) See #14737 [1], preliminary fixed spkg is here: http://boxen.math.washington.edu/home/leif/Sage/spkgs/singular-3-1-5.p8.spkg (Download and copy that into spkg/standard/, then resume the build by typing 'make' again.) -leif [1]

[sage-support] 3d plotting (iced-tea plugin)

2013-06-24 Thread Luis Finotti
Dear all, I have been having problems with 3d plotting on the notebook. (It works OK from the command line.) It was working a couple of months ago, so I assume it was caused by some update with the icedtea plugin. I'm using icedtea-7-plugin (1.4-1) from Debian unstable. I get a gray box,

Re: [sage-support] sage vs matlab

2013-03-04 Thread Luis Finotti
On Monday, March 4, 2013 2:42:48 PM UTC-5, Dr. David Kirkby wrote: I think Sage would have a hard job breaking into the MATLAB strongholds in engineering. It is used to control a lot of instruments and data collection. Agilent, who are probably the world's premier test equipment

[sage-support] Re: ipythonrc and Sage 5.7

2013-02-26 Thread Luis Finotti
On Monday, February 25, 2013 2:09:48 PM UTC-5, John H Palmieri wrote: Sage 5.7 included an upgrade to IPython, and the old IPython files were no longer compatible with the new version. So now Sage looks in ~/.sage/ipython-0.12/ for configuration. -- John Thanks for the reply. I am

[sage-support] Re: ipythonrc and Sage 5.7

2013-02-26 Thread Luis Finotti
On Tuesday, February 26, 2013 2:07:07 PM UTC-5, John H Palmieri wrote: I think with the patch at http://trac.sagemath.org/sage_trac/ticket/14188, Sage will read your file ~/.sage/ipython-0.12/profile_ sage/ipython_config.py correctly. The patch works for me! Thanks for your help! Luis

[sage-support] ipythonrc and Sage 5.7

2013-02-25 Thread Luis Finotti
Dear all, I've compiled 5.7 from source (64 bit, linux) and noticed I lost colors and output numbering I had set in ~/.sage/ipython/ipythonrc (for the command line). Although quite minor, I thought I should make sure if this is a bug or just a change in behavior. Thanks, Luis -- You

[sage-support] Re: Latex rendering in axes_labels not working

2010-08-13 Thread Luis Finotti
On Aug 13, 9:26 am, kcrisman kcris...@gmail.com wrote: This works for me on 4.5.3.alpha0 (and presumably 4.5.2? anyone?) from the command line and notebook. (...) FWIW, works in 4.5.2 for me... (64-bit, built from source). Luis -- To post to this group, send email to

[sage-support] Re: complexity of computations in Z/n*Z

2010-07-28 Thread Luis Finotti
On Jul 27, 5:54 pm, Robert Bradshaw rober...@math.washington.edu wrote: For anything that doesn't fit inside a single word, Sage uses the mpz functions in MPIR to do arithmetic. There are a variety of algorithms used--from the classical O(n^2) to various Karatsuba/Toom-Cook ones to

[sage-support] complexity of computations in Z/n*Z

2010-07-27 Thread Luis Finotti
Hi, I have an algorithm that has pieces that perform computations on Z/ p^i*Z for different values of i. I can count the operations for each piece, but to have an overall complexity, I need to know how the difference pieces compare. So, can anyone tell me how many bit operations are performed,

[sage-support] compilation questions

2010-05-05 Thread Luis Finotti
Dear all, I've just tried to compile 4.4.1 on my laptop. It is Thinkpad T60: - t60[~]$ infobash -v3 Host/Kernel/OS t60 running Linux 2.6.33-3.slh.5-sidux-686 i686 [ sidux 2009-02 Αιθήρ - kde-lite - (200907141544) ] CPU Info(1) Genuine Intel T2500 @ 2048 KB cache flags(

[sage-support] Re: compilation questions

2010-05-05 Thread Luis Finotti
On May 5, 8:45 am, William Stein wst...@gmail.com wrote: On Wed, May 5, 2010 at 4:10 AM, Luis Finotti luis.fino...@gmail.com wrote: Also, how do I compile a binary for this laptop using a different computer? Just do this: export SAGE_FAT_BINARY=yes make ./sage -bdist 4.4.1-extra_info

[sage-support] Re: sage-mode bug?

2010-04-14 Thread Luis Finotti
On Apr 14, 3:17 am, Dan Drake dr...@kaist.edu wrote: Hello sage-support (but mostly Nick Alexander), I'm starting to use Sage mode, and overall it seems quite nice but today it locked up my emacs session. I was using a run-sage (...) so, when point was at the u in exhau, I hit tab -- and

[sage-support] computations in parallel

2010-03-23 Thread finotti
Dear all, I've been trying to find out if it is possible to run some computations in parallel. I've seen the documentation of @paralell, but I *think* it is not what I need. Here is what I have in mind: I have a function, say, defined recursively based on the size of the input vector.

[sage-support] Re: sage and readline problems

2010-03-02 Thread finotti
Dear all, Thank you very much Minh for the reply! On Mar 1, 3:33 pm, Minh Nguyen nguyenmi...@gmail.com wrote: I think it's not related to readline, but instead to something else. See some recent threads [1,2] in sage-support and sage-devel for the same/similar problem. They seem to be

[sage-support] sage and readline problems

2010-03-01 Thread finotti
Hi, I've been having some problems using Sage in a terminal. Mainly, TAB completion doesn't work properly. Pressing TAB suggests completion but moves the cursor to a different position, making it difficult to read and type. (I suspect it's related to readline, no?) Let me know if this is not

[sage-support] %time

2010-02-09 Thread finotti
Dear all, Cells starting with %time stopped working with 4.3.2. (It works with 4.3.1.) Is it no long supported or is it a bug? (time still works with the command line.) Running on Linux 32-bit, ubuntu binary. Thanks, Luis -- To post to this group, send email to

[sage-support] Re: Problems with 3d plotting

2010-01-20 Thread finotti
Dear all, On Jan 18, 11:35 am, Jack Fearnley j...@alcor.concordia.ca wrote: The plot3d command works silently producing no visible output and no error messages. Oddly enough, I am having the same problem. (Yes, unless things changed, you should be able to get 3D graphs from the command line.

[sage-support] Re: Can SAGE perform raising to a p^th power quicker in char p?

2009-12-31 Thread finotti
On Dec 31, 12:46 am, Alex P alexvpetr...@gmail.com wrote: I was trying to figure out if SAGE can raise to the pth power quickly in characteristic p. It seems that it doesn't. Am I right to think that or am I missing something? Here is what led me to this [snip] See also:

[sage-support] Re: powers of polynomials in characteristic p0

2009-11-20 Thread finotti
Hi, On Oct 20, 1:16 am, Robert Bradshaw rober...@math.washington.edu wrote: Interesting point, I've madehttp://trac.sagemath.org/sage_trac/ticket/7253 I know that Sage developers have different priorities, but this is sort of important to me... So, is there a way I can redefine how Sage

[sage-support] Re: powers of polynomials in characteristic p0

2009-11-20 Thread finotti
Dear Simon, On Nov 20, 2:19 pm, Simon King simon.k...@nuigalway.ie wrote: Hi Luis! First, I would produce a clone of Sage, in order to not  destroy your installation by mistake. So, in the shell, do   sage -clone work where you can replace work by another word that you like (except main).

[sage-support] Re: default linux binary (64 bit)

2009-11-11 Thread finotti
Hi, Thanks William for the reply. There's a 32-bit debian binary here:  http://sage.math.washington.edu/home/wstein/binaries/old-4.2/ I've downloaded a binary from UTK (for my 32-bit laptop) compiled for Debian Lenny. At start it says version 4.1.2... I don't know if it is just the

[sage-support] default linux binary (64 bit)

2009-11-09 Thread finotti
Dear all, Since a Debian binary is not available (for 4.2), what should be the binary most likely to be compatible with most distributions? (In my case, it is Debian 5.0.) In fact, I have already compiled it, but I think it would be good to know for future reference. (I could test a few, but

[sage-support] maximum

2009-10-19 Thread finotti
.| -- sage: v=[10,2,3,1,45] sage: max(v) --- TypeError Traceback (most recent call last) /home/dept/finotti/.sage/temp/boole.math.utk.edu/11162/ _home_dept_finotti_comp_sage_pol_power_sage_2.py

[sage-support] powers of polynomials in characteristic p0

2009-10-19 Thread finotti
Dear all, I need to compute some larger powers of polynomials in characteristic p0. I've noticed that Sage does not do it very efficiently, as even f^(p^n) takes a long time. I wrote the following code then: # write m in base n (as vector): # [v0, v1, ..., vk]

[sage-support] Re: Transitioning from Maple...

2008-07-20 Thread Luis Finotti
On Sun, Jul 20, 2008 at 5:05 PM, William Stein [EMAIL PROTECTED] wrote: There is a very cool firefox extension that makes it so you can edit *any* textarea in your web browser using emacs. I've never used it, but saw a lot of people using it at the last Sage workshop. Unfortunately I can't

[sage-support] Re: RuntimeError: no available port

2008-07-10 Thread Luis Finotti
Hi, I am far from a specialist, but... What do you get if you try $ sudo iptables --list If you have rules that are blocking, you can allow all traffic by doing (as root): # iptables -F # iptables -X # iptables -t nat -F # iptables -t nat -X # iptables -t mangle -F # iptables

[sage-support] Re: RuntimeError: no available port

2008-07-10 Thread Luis Finotti
There is no possible way you can run the sage notebook without a loopback device. You absolutely must configure your linux install to have a loopback device.It'll look something like this: loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6

[sage-support] Re: Will Sage run on a 4GB Asus Eee PC?

2008-06-07 Thread Luis Finotti
Dear all, I just got a Eee PC 900, so it is a bit different... It has 20GB of SSD, but it seems to be partitioned (or maybe it has two SSDs?) leaving not that much space in the root partition. So, I installed it in $HOME. But, the debian binary seemed to have just worked. (I did not try make

[sage-support] Re: plot3d freezes the browser

2008-04-09 Thread Luis Finotti
Hi, So I purged all java packages, then installed sun-java5-jre, sun-java5-plugin and openoffice.org (this pulled a lot of other java packages in too) and now everything is working. I have no idea where the problem was. I think you have to tell debian to use the Sun's java by default:

[sage-support] 3d plotting (jmol) problems

2008-04-02 Thread Luis Finotti
Dear all, I've been having some problems with 3D plots in Sage 2.11. The machine is a dual (64 bit) Xeon with 16GB of RAM, running Fedora Core 6. boole[~]$ uname -a Linux boole.math.utk.edu 2.6.22.14-72.fc6 #1 SMP Wed Nov 21 14:10:25 EST 2007 x86_64 x86_64 x86_64 GNU/Linux I installed the

[sage-support] Re: 3d plotting (jmol) problems

2008-04-02 Thread Luis Finotti
On Wed, Apr 2, 2008 at 12:29 PM, mabshoff [EMAIL PROTECTED] wrote: FC6 ships gcj instead of the Sun Java SDK. Recent version of gcj do mostly work with jmol, but FC6's gcj is known to be broken. I would recommend to install the Sun Java SDK. Alternatively you could update the gcj

[sage-support] notebook on x86_64 (java)

2008-02-23 Thread Luis Finotti
Hi, Just a quick question. Since there is no java plugin for 64-bit firefox, does one need a 32-bit firefox (with the 32-bit java plugin) to get 3D plots in the notebook? (In Linux, running Debian Etch on Core 2 Duo with kernel 2.6.18-6-amd64.) Thanks, Luis

[sage-support] Re: more on that sh: cannot create notebook.log: Permission denied

2008-01-18 Thread Luis Finotti
On Jan 18, 2008 11:52 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am in the same situation that he is in. I tried what you said and the notebook won't open on my firefox. Wild guess here: I has some similar problems because of (possibly my improper use of) sudo. You could try: sudo

[sage-support] Re: can one modify how xdvi executes when show is invoked?

2008-01-18 Thread Luis Finotti
Hi, On Jan 18, 2008 12:16 AM, Rick Pember [EMAIL PROTECTED] wrote: I'm running sage remotely (see previous post to see why) and show makes a somewhat blurry image. I found that using xdvi on a .dvi file gave me the same problem -- so the problem is with my version of xdvi, not sage -- but

[sage-support] Re: Problems with 2.9.3, jmol applet, jsMath fonts

2008-01-14 Thread Luis Finotti
Dear Michael, On Jan 14, 2008 11:58 AM, mabshoff [EMAIL PROTECTED] wrote: (...) But, so far, I haven't had any problems while running my old stuff... The doctest that fails communicates with another Sage instance. I have seen this fail on occasion with systems with low memory. Since your

[sage-support] Re: Problems with 2.9.3, jmol applet, jsMath fonts

2008-01-12 Thread Luis Finotti
Dear Michael (and Ted, and all), Thanks for your reply! On Jan 11, 2008 10:56 AM, mabshoff [EMAIL PROTECTED] wrote: Here is the error: -- ** File sage0.py, line 47: sage: a^3 Expected:

[sage-support] Problems with 2.9.3, jmol applet, jsMath fonts

2008-01-10 Thread Luis Finotti
JmolApplet... But nothing happens. Opening the Java Console (by right clicking at the space for the plot), I get: Java Plug-in 1.5.0_02 Using JRE version 1.5.0_02 Java HotSpot(TM) Client VM User home directory = /home/finotti

[sage-support] small bug?

2007-11-16 Thread Luis Finotti
() --- type 'exceptions.NotImplementedError' Traceback (most recent call last) /home/dept/finotti/ipython console in module() /home/dept/finotti/polynomial_element.pyx

[sage-support] Re: return of an old problem

2007-08-01 Thread Luis Finotti
Hi, On 8/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Some time ago I asked for and requested help for a bizarre problem that occurs only for me -- namely, sage cannot find octave on my computer even though it is properly installed. At that time you suggested that I add a small file to

[sage-support] Re: change from root to admin in notebook

2007-08-01 Thread Luis Finotti
recent call last) /home/dept/finotti/ipython console in module() /scratch/local/sage/local/lib/python2.5/site-packages/sage/server/notebook/notebook_object.py in __call__(self, *args, **kwds) 109 110 def __call__(self, *args, **kwds): -- 111 return self.notebook(*args, **kwds

  1   2   >