[sage-devel] Possible to add no-cache headers on the critical files on the server?

2008-02-03 Thread philt
Hello, I had many troubles getting the upgrade through a caching proxy on which I've no control. When running sage -upgrade, the proxy didn't let me getting the latest versions, which made troubles with the critical files: http://www.sagemath.org/packages/standard/list http://www.sagemath.org/pac

[sage-devel] (again) about showing users list when failing login

2008-02-03 Thread philt
Hello, I know it was already discussed and I'm quoting http://trac.sagemath.org/sage_trac/ticket/1556 : > So maybe you are talking about semi-private servers that have a fixed list > of accounts and users, like a normal UNIX system say, where potential > users cannot sign up for a new account -

[sage-devel] upgrade to 2.10.1 -> zlib headers taken from the host?

2008-02-03 Thread philt
Hello, I first installed and compiled the sources 2.10 without any problems last week. Now I ran sage -upgrade and I got an error about missing zlib headers when compiling libpng: "checking for zlibVersion in -lz..." I then installed the host package (debian: zlib1g-dev) and ran again sage -upgr

[sage-devel] Re: upgrade to 2.10.1 -> zlib headers taken from the host?

2008-02-04 Thread philt
> http://sage.math.washington.edu/home/mabshoff/SPKG/libpng-1.2.22.p5.spkg > that should fix the issue. Since you already installed the system zlib > headers testing it won't verify that the problem was fixed for you > unless you deinstall zlib1g-dev first. The ticket number is #2043. Hello, I tr

[sage-devel] Re: Possible to add no-cache headers on the critical files on the server?

2008-02-04 Thread philt
Hi Michael, Apparently your server is an Apache so after googling myself I found those pages: http://www.askapache.com/htaccess/speed-up-sites-with-htaccess-caching.html http://httpd.apache.org/docs/2.0/mod/mod_expires.html http://httpd.apache.org/docs/2.0/mod/mod_headers.html#header http://www.w

[sage-devel] Least hacky way to upgrade sage-scripts if they were modified locally?

2008-02-04 Thread philt
Hello, As I explained in another thread I had to modify the sage-update script to bypass a caching proxy and get the latest list&deps. The problem is that now I see the sage_scripts-2.10.1 package was half- installed: If I compare with another sage server upgraded to 2.10.1, I've still the old sa

[sage-devel] Re: sage -upgrade

2008-02-05 Thread philt
> > Is the problem you are solving that with the current situation, > > you and sage-support) get too many silly build questions? > Yes. If it's easier to support a full install from sources from scratch than to support planned upgrades (we're not talking about release candidates here), it only d

[sage-devel] Re: upgrade to 2.10.1 -> zlib headers taken from the host?

2008-02-05 Thread philt
Hi, libpng-1.2.22.p5 added this in spkg-install: LDFLAGS="-L\"$SAGE_LOCAL/lib\" $LDFLAGS" I tried the following modification: LDFLAGS="-L$SAGE_LOCAL/lib $LDFLAGS" and it worked. The problem is that quoting the arg of -L seems still wise as the path could contain a space but it seems it interfer

[sage-devel] Re: sage -upgrade

2008-02-05 Thread philt
> Perhaps. Please help us make Sage more mature in > this regard. I'm working on it with small pieces when I can ;-) (cf zlib prob reports) > I do not see Sage that way. I see Sage as being like a monolithic program > such as Magma, vmware, Parallels, etc. It is very similar in size to those

[sage-devel] Re: Possible to add no-cache headers on the critical files on the server?

2008-02-13 Thread philt
Hi Michael, > I have to work on the sagemath.org webserver > today, so hopefully it will be reolved easily. Great! Thanks! > > PS: I've troubles updating sage-scripts because I modified sage-update > > file to bypass this problem, I'll describe it in a separate email. > ok, I hope you already di

[sage-devel] Is there a way to bind the notebook to a specific IP?

2008-02-18 Thread philt
Hello, Is there a way to bind the notebook to a specific IP? So when checking with netstat, I'd like to see Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 1.2.3.4:83000.0.0.0:* LI

[sage-devel] Re: sage-2.10.2

2008-02-24 Thread philt
sage -upgrade from 2.10.1 to 2.10.2: I got a failure here: package /opt/sage-2.10/spkg/standard/linbox-20070915.p6.spkg checking for NTL >= 5.0... found checking for GIVARO >= 3.0... found checking for C interface to BLAS... not found checking for others BLAS... not found **

[sage-devel] Re: sage-2.10.2

2008-02-24 Thread philt
Hi Michael, > Does this happen reproducibly? I tried twice "sage -upgrade" and twice the same error (looks like it tries twice per attempt then stops) > I assume you are on Linux, but which > distribution, CPU type, gcc and so on? 64-bit Debian Lenny in a vserver sage:/# uname -a Linux sage 2.6

[sage-devel] Re: sage-2.10.2

2008-02-25 Thread philt
> In between the upgrade to 2.10.1 did you change anything like the gcc > version? No > #define __LINBOX_CONFIGURATION > #include "linbox/config-blas.h" > int main () > { > double a; > return 0; > > } > > If that work we have a problem somewhere, if it doesn't work something > it wrong with yo

[sage-devel] Re: sage-2.11 is out!

2008-04-01 Thread philt
Hi, I downloaded sage-2.11.tar and did make on 2 machines, both 64-bit Debian. One went fine, "make test" is still running but seems ok. The other make failed install log: http://www.yobi.be/files/install.log.bz2 (300k) tail: config.status: creating Makefile config.status: executing depfiles

[sage-devel] Re: sage-2.11 is out!

2008-04-01 Thread philt
> > I wonder if he has enough RAM? Maybe gcc does dumb things > > when there isn't enough ram sometimes. > > Well, I would assume that the OOM killer might do something stupid. If > malloc fails inside gcc I would expect it to die gracefully. Maybe > Phil should check /var/log/messages for any

[sage-devel] Get polygon() supporting 3D just as line() supports line2d() and line3d()

2008-12-16 Thread philt
Hello, I got some trouble trying to draw polygons in JMol because the function looks not available easily. Sage is featuring the following: point() -> try point2d else point3d line() -> try line2d else line3d polygon() -> only 2d but many fancy volumes are available in 3D... I think it'd be more

[sage-devel] Shouldn't range() return Integer list instead of int list?

2008-12-16 Thread philt
Hi all, I stumbled across a hard-to-find bug in my code because of the way Sage redefines integers. Usually int is mapped to Integer more or less transparently: N=3 for i in range(1, N): print "i=%s N=%s i/N=%s" % (str(i), str(N), str(i/N)) i=1 N=3 i/N=1/3 i=2 N=3 i/N=2/3 Actually N is Inte

[sage-devel] Re: Get polygon() supporting 3D just as line() supports line2d() and line3d()

2008-12-17 Thread philt
Thank you all! I got more than expected, including a tips for my example resolution with matrices, thanks! Phil --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubs

[sage-devel] Re: Shouldn't range() return Integer list instead of int list?

2008-12-17 Thread philt
I didn't know that one, thanks! Phil --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.go

[sage-devel] Interesting Prolog-like engine in Python

2008-12-18 Thread philt
Hello, I stumbled upon this project: PyKE http://pyke.sourceforge.net/index.html "Pyke introduces a form of Logic Programming (inspired by Prolog) to the Python community by providing a knowledge-based inference engine (expert system) written in 100% Python. Unlike Prolog, Pyke integrates with P

[sage-devel] Computing smart positions for new vertice since a save_pos()

2008-12-20 Thread philt
Hello, I wanted to manipulate a graph (removing/adding vertice) but keeping the general structure with option save_pos . Here is a little example to illustrate: gg=Graph() gg.add_cycle(range(5)) gg.plot(save_pos=True) Then I delete vertex 1 and add it again, stupid example. gg.delete_vertex(1) g

[sage-devel] Account creation problem on notebook: require initial login & new sheet

2009-01-09 Thread philt
Hello, I'm running my server with account creation disabled and when I want to add a user I restart it briefly with notebook(...,accounts=true) Stage 1: I through the "create a new account" procedure without trying the newly created user then immediately restarts the server with accounts disable