[sage-devel] Re: Embedded LaTeX do not show up in Sage 6.1 notebook

2014-02-02 Thread Eric Gourgoulhon
Thank you for this rapid fix ! 

Eric.

Le samedi 1 février 2014 23:45:29 UTC+1, P Purkayastha a écrit :


 You can fix it temporarily by doing the modification in 
 https://github.com/sagemath/sagenb/issues/195#issuecomment-33885044 

 The modification has to be made to the file 
 SAGE_ROOT/local/lib/python/site-packages/sagenb-0.10.7*/sagenb/misc/misc.py 




-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [sage-devel] Broken optional packages...

2014-02-02 Thread Jeroen Demeyer

On 2014-02-02 07:36, William Stein wrote:

database_stein_watkins_mini.p0

This is the old package. The new one is database_stein_watkins_mini.

--
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-devel] Benchmarks

2014-02-02 Thread Thierry Dumont


Hello,
I was looking at the benchmarks in 
http://www.sagemath.org/tour-benchmarks.html


All are very obsolete (sage  4.1.1, linux 32 bits, a core I5 processor). 
 Redoing the sage examples results in an improvement  factor of 4 at 
least (but not a constant factor).


But I do not have access to mathematica to redo the comparisons!
(I have matlab...).

I would not take a long time to actualize this.

Yours.
t.d.

--
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.
attachment: tdumont.vcf

Re: [sage-devel] Broken optional packages...

2014-02-02 Thread John Cremona
On 2 February 2014 09:19, Jeroen Demeyer jdeme...@cage.ugent.be wrote:
 On 2014-02-02 07:36, William Stein wrote:

 database_stein_watkins_mini.p0

 This is the old package. The new one is database_stein_watkins_mini.


-- correct, Jeroen and I fixed the small and large stein_watkins
spkgs, and they even include the later corrections to the data (from
2007) which the old spkg did not.

According to #15556 (closed, fixed) the new version is in 6.1 which I
presume means that the usual sage -i will give you something which
works.

John



 --
 You received this message because you are subscribed to the Google Groups
 sage-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-devel.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-devel] Integrating Mayavi with Sage

2014-02-02 Thread alexeftimiades
I have been using Sage to run code on my server interactively from my laptop. I 
enjoy being able to run code on my GPU from anywhere. I often find the most 
time consuming part of the processes is plotting--particularly three 
dimensional plotting and animations. It seems that Mayavi is a particularly 
sophisticated plotting package that would be perfect for me. The only problem 
is that it is nearly impossible to get Sage to play nicely with it. After a few 
days of tinkering, I have drawn a few conclusions:

* All the current VTK spkgs do not work with the current version of sage (and 
hacking them into submission is futile).
* Installing wxPython on Sage is pretty much impossible, but PyQT is pretty 
easy.
* All the current Mayavi spkgs do not work with the current version of Sage 
(again, hacking them has proven fruitless).

I found some ways around these obstacles. First, I installed Mayavi on my 
system. Then I linked the python vtk modules to an identical folder in the 
corresponding location within Sage. Then I installed PyQT with this spkg:

http://code.google.com/p/computational-sage/downloads/detail?name=PyQt-x11-gpl-4.8.4.spkg

Then I installed Mayavi from Enthought's ets.py (from within the Sage shell of 
course). See the section on installing Mayavi from git for more information:

http://docs.enthought.com/mayavi/mayavi/installation.html

I can now run examples with Mayavi from my Sage notebook--sort of. If I try 
mlab.show(), the images get plotted on my desktop, not below the corresponding 
cell on my browser. However, if I call mlab.savefig('test.jpg'), I will see an 
image in the same way I would with matplotlib.

Now I want to finish the job by any means I can. First, I need to know why the 
problem I am experiencing does not happen with Sage's built in viewers--like 
Jmol. Why does Jmol not plot images on my desktop? How does Sage redirect that 
interface to appear below the appropriate cell on the notebook server? I tried 
a simple script that embeds Mayavi in a custom Qt widget, but that again 
appeared on my desktop, not in my browser (see 
http://docs.enthought.com/mayavi/mayavi/auto/example_qt_embedding.html).

My plan is to learn how Sage redirects output to the notebook server, then 
figure out how to apply that process to a Qt widget that redirects Mayavi 
output in a similar fashion.

Please let me know how (or how I can find out how) Sage manages interactive 
plots through the notebook. Any further help/guidance would be of course be 
greatly appreciated.

Thanks,
Alex Eftimiades

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-devel] Re: Embedded LaTeX do not show up in Sage 6.1 notebook

2014-02-02 Thread P Purkayastha

Thanks goes to Jeroen :)

On 02/02/2014 04:45 PM, Eric Gourgoulhon wrote:

Thank you for this rapid fix !

Eric.

Le samedi 1 février 2014 23:45:29 UTC+1, P Purkayastha a écrit :


You can fix it temporarily by doing the modification in
https://github.com/sagemath/sagenb/issues/195#issuecomment-33885044
https://github.com/sagemath/sagenb/issues/195#issuecomment-33885044

The modification has to be made to the file
SAGE_ROOT/local/lib/python/site-packages/sagenb-0.10.7*/sagenb/misc/misc.py


--
You received this message because you are subscribed to the Google
Groups sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-devel] Re: Pkgconfig as standard spkg

2014-02-02 Thread Georg S. Weber
 


 +1 to distributing and using our own pkgconfig.  One problem I found in 
 rewriting the location-moving code above is that there are some cool 
 features of newer pkgconfigs that we couldn't necessarily take advantage 
 of on older systems. 

 Thanks, 

 Jason 




+1  and keep your good pace!


Kind regards,

Georg

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-devel] problems trying to login to the trac web interfase

2014-02-02 Thread Pablo De Napoli
Hi

I cannot login to the trac web interfase.
I have tried to reset my password, and I have received an e-mail
with a new password, but it didn't work!
(I have tried both using Chromium and Iceweasel (Firefox) on
Debian GNU Linux)
My username is pdenapo

best regards
Pablo

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [sage-devel] Broken optional packages...

2014-02-02 Thread anne1 . schilling

Here is another broken optional package. At least it prevents me from 
building 6.1:

Error building Sage.

The following package(s) may have failed to build:

package: semigroupe-2.0-2
log file: /Applications/sage/logs/pkgs/semigroupe-2.0-2.log
build directory: 
/Applications/sage/local/var/tmp/sage/build/semigroupe-2.0-2

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Anne

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [sage-devel] Broken optional packages...

2014-02-02 Thread anne1 . schilling
And in fact another one that we installed during the Sage Days in Davis:

make: *** [build] Error 1
:sage anne$ more /Applications/sage/logs/pkgs/cchache.log
Attempting to download package cchache
 Checking online list of optional packages.
[.]
 Checking online list of experimental packages.
[.]
 Checking online list of standard packages.
[.]
 Checking online list of huge packages.
[.]
 Checking online list of archive packages.
[.]
Error: could not find a package matching cchache on http://www.sagemath.org/

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-devel] Re: pip

2014-02-02 Thread Andrey Novoseltsev
On Saturday, 1 February 2014 20:38:03 UTC-7, jason wrote:

 On 2/1/14 9:33 PM, William Stein wrote: 
  Hi, 
  
  I think we should include pip with Sage.  It's now the standard Python 
  package manager, and anybody using Sage now should always do this with 
  their new Sage install, so they can install/upgrade/remove(!)/etc., 
  packages. 
  
   wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py 
   ./sage -python get-pip.py 
  
  I don't plan to do the work in getting pip into Sage.  But if somebody 
  else does, I would strongly encourage it. 
  
  I'm not asking for a vote at this point, until at least somebody 
  volunteers.   I'm curious what people think though. 
  
  Here's the webpage for pip:   http://www.pip-installer.org/en/latest/ 

 +1.  I always install it as practically the first thing. 

 Jason 


+1 (although I am not volunteering to do the work either)

Figuring out how to to correctly install pip (correctly in the sense make 
it work) was one of the difficulties for me in compiling sagecell, since
sage -sh -c easy_install pip
did not work correctly and messed up something. Presumably there would be 
no difficulties if pip was installed already.

Andrey
 

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.