[sage-devel] Re: Fwd: NaN = Not A Number ???

2012-03-21 Thread kcrisman
On Mar 21, 11:25 pm, Dima Pasechnik wrote: > On Wednesday, 21 March 2012 22:39:25 UTC-4, kcrisman wrote: > > > On Mar 21, 10:00 pm, Gonzalo Tornaria > > wrote: > > > In sage 4.8: > > > > sage: NaN - NaN > > > sage: 0 > > > sage: NaN + NaN > > > 2*NaN > > > sage: NaN * NaN > > > NaN^2 > > > Natu

[sage-devel] Re: Fwd: NaN = Not A Number ???

2012-03-21 Thread Dima Pasechnik
On Wednesday, 21 March 2012 22:39:25 UTC-4, kcrisman wrote: > > > > On Mar 21, 10:00 pm, Gonzalo Tornaria > wrote: > > In sage 4.8: > > > > sage: NaN - NaN > > sage: 0 > > sage: NaN + NaN > > 2*NaN > > sage: NaN * NaN > > NaN^2 > > Naturally! Since NaN is a symbolic expression, appare

[sage-devel] Re: Fwd: NaN = Not A Number ???

2012-03-21 Thread kcrisman
On Mar 21, 10:00 pm, Gonzalo Tornaria wrote: > In sage 4.8: > > sage: NaN - NaN > sage: 0 > sage: NaN + NaN > 2*NaN > sage: NaN * NaN > NaN^2 Naturally! Since NaN is a symbolic expression, apparently: sage: type(NaN) See sage/symbolic/constants.py, e.g. http://hg.sagemath.org/sage-main/fil

[sage-devel] Fwd: NaN = Not A Number ???

2012-03-21 Thread Gonzalo Tornaria
In sage 4.8: sage: NaN - NaN sage: 0 sage: NaN + NaN 2*NaN sage: NaN * NaN NaN^2 not what I expected... RR(NaN) seems to work better sage: RR(NaN) - RR(NaN) NaN sage: RR(NaN) + RR(NaN) NaN sage: RR(NaN) * RR(NaN) NaN Still some weirdness: sage: RR(NaN) + x x sage: RR(NaN) * x NaN*x Gonzalo

Re: [sage-devel] Re: Trac reports

2012-03-21 Thread David Roe
> One request: can we have a query for "Tickets I authored (including > closed)", and similarly "Tickets reviewed by me"? (For me "All my tickets > (including closed)" brings up over 500 tickets, but the vast majority of > those are ones where I just made one trivial comment or metadata > correctio

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread David Roe
Is there another user that could try uploading the patch from your computer? I seem to recall you've had difficulty with trac before. It would be nice to figure out if it was based on your trac account or your computer somehow. David On Wed, Mar 21, 2012 at 14:00, Florent Hivert wrote: >

[sage-devel] Re: Cython debugger; GSOC

2012-03-21 Thread Mark Florisson
On Mar 21, 11:28 pm, Mark Florisson wrote: > On Mar 21, 8:06 pm, Robert Bradshaw wrote: > > > To use this Cython debugger one must start up Sage under gdb. > > (Essentially, this is sage -gdb that knows about Python/Cython, which > > is really nice.) I don't think one could just drop down into

[sage-devel] Re: Cython debugger; GSOC

2012-03-21 Thread Mark Florisson
On Mar 21, 7:42 pm, David Roe wrote: > Hi everyone, > There is now a Cython debugger > (http://docs.cython.org/src/userguide/debugging.html).  It would be great if > this functionality were tied into the python debugger, so that (after you > compiled your program with some flags perhaps and sta

[sage-devel] Re: Cython debugger; GSOC

2012-03-21 Thread Mark Florisson
On Mar 21, 8:06 pm, Robert Bradshaw wrote: > To use this Cython debugger one must start up Sage under gdb. > (Essentially, this is sage -gdb that knows about Python/Cython, which > is really nice.) I don't think one could just drop down into it from > pdb. (Adding Cython support for pdb would be

Re: [sage-devel] Re: Trac reports

2012-03-21 Thread David Roe
> Oh cool. Just FYI it appears there is a trailing space in the page name. > > This says that the session.sid is text. Surely that can't be!? > It is. "session.sid" is a fancy way of saying "trac username." :-) David -- To post to this group, send an email to sage-devel@googlegroups.com To u

Re: [sage-devel] Re: Trac reports

2012-03-21 Thread Ivan Andrus
On Mar 21, 2012, at 8:08 PM, David Roe wrote: > Are we using the same schema as at > http://trac.edgewall.org/wiki/TracDev/DatabaseSchema, or do we have > modifications of our own? Actually, I'm not sure why I'm asking since I > don't really have DBA skills, and I don't want to be a trac admin

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread Florent Hivert
Hi, On Wed, Mar 21, 2012 at 12:03:25PM -0700, Jonathan Bober wrote: > Perhaps you just had a flaky connection, and the fact that the same > file kept failing was just a coincidence? > > There are some errors in the trac log like > > [...] > File "/usr/lib/python2.5/cgi.py", line 691, in

[sage-devel] Re: Cython debugger; GSOC

2012-03-21 Thread Dag Sverre Seljebotn
On 03/21/2012 12:42 PM, David Roe wrote: Hi everyone, There is now a Cython debugger (http://docs.cython.org/src/userguide/debugging.html). It would be great if this functionality were tied into the python debugger, so that (after you compiled your program with some flags perhaps and start Sage

[sage-devel] Re: Cython debugger; GSOC

2012-03-21 Thread Robert Bradshaw
To use this Cython debugger one must start up Sage under gdb. (Essentially, this is sage -gdb that knows about Python/Cython, which is really nice.) I don't think one could just drop down into it from pdb. (Adding Cython support for pdb would be another cool project, though arguably more a Cython p

Re: [sage-devel] Which spkg provided which file?

2012-03-21 Thread Julien Puydt
Le mercredi 21 mars, John H Palmieri a écrit: > On Wednesday, March 21, 2012 12:33:39 PM UTC-7, Snark wrote: > > > > Le mercredi 21 mars, William Stein a écrit: > > > On Wed, Mar 21, 2012 at 2:16 PM, Julien Puydt wrote: > > > > Hi, > > > > > > > > how can I know which spkg provided a file in sage?

Re: [sage-devel] Which spkg provided which file?

2012-03-21 Thread John H Palmieri
On Wednesday, March 21, 2012 12:33:39 PM UTC-7, Snark wrote: > > Le mercredi 21 mars, William Stein a écrit: > > On Wed, Mar 21, 2012 at 2:16 PM, Julien Puydt wrote: > > > Hi, > > > > > > how can I know which spkg provided a file in sage? > > > > > > Let's say for example (from sage-4.8) : > > >

Re: [sage-devel] All known bugs in Sage silently producing wrong answers

2012-03-21 Thread Michael Orlitzky
On 03/21/12 14:56, William Stein wrote: > Hi Proud Sage Developers, > > At the current Sage workshop some people (me, David Roe, Jen > Balakrishnan, etc.) have made a stopgap function and identified Trac > tickets describing "Bugs silently producing wrong answers". So far > they listed 7 of them:

[sage-devel] Re: Which spkg provided which file?

2012-03-21 Thread Keshav Kini
Keshav Kini writes: > hacking $SAGE_LOCAL/bin/sage-spkg . Sorry - it's now $SAGE_ROOT/spkg/bin/sage-spkg , after the exciting events of #11073. -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from th

[sage-devel] Re: Which spkg provided which file?

2012-03-21 Thread Keshav Kini
Julien Puydt writes: > Thanks, but that was an example ; my question was more general : is > there some way to know? On my system, I can for example do "dpkg > -S /path/to/some/file/I/am/wondering/about" and get the name of the > culprit package (in most cases...). You can also do `apt-file searc

[sage-devel] Cython debugger; GSOC

2012-03-21 Thread David Roe
Hi everyone, There is now a Cython debugger ( http://docs.cython.org/src/userguide/debugging.html). It would be great if this functionality were tied into the python debugger, so that (after you compiled your program with some flags perhaps and start Sage under gdb) you could drop into the python

Re: [sage-devel] Which spkg provided which file?

2012-03-21 Thread Julien Puydt
Le mercredi 21 mars, William Stein a écrit: > On Wed, Mar 21, 2012 at 2:16 PM, Julien Puydt > wrote: > > Hi, > > > > how can I know which spkg provided a file in sage? > > > > Let's say for example (from sage-4.8) : > > ./local/lib/python2.6/site-packages/Cython/Includes/numpy.pxd > > This is pro

Re: [sage-devel] Re: Trac reports

2012-03-21 Thread David Roe
> Are we using the same schema as at > http://trac.edgewall.org/wiki/TracDev/DatabaseSchema, or do we have > modifications of our own? Actually, I'm not sure why I'm asking since I > don't really have DBA skills, and I don't want to be a trac admin. :-) > Thanks to those who have this (often than

[sage-devel] Re: Can we prevent sage-devel from soon look the same as sage-support?

2012-03-21 Thread Simon King
Hi Keshav, On 2012-03-21, Keshav Kini wrote: > Yup, news.gmane.org is the NNTP server, and once you connect to it you > can subscribe to or otherwise view different groups. You should create a > file called ~/.gnus.el and use it to set news.gmane.org as the default > NNTP server. Here is my ~/.gn

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread Jonathan Bober
Perhaps you just had a flaky connection, and the fact that the same file kept failing was just a coincidence? There are some errors in the trac log like [...] File "/usr/lib/python2.5/cgi.py", line 691, in read_lines self.read_lines_to_outerboundary() File "/usr/lib/python2.5/cgi.py", lin

[sage-devel] All known bugs in Sage silently producing wrong answers

2012-03-21 Thread William Stein
Hi Proud Sage Developers, At the current Sage workshop some people (me, David Roe, Jen Balakrishnan, etc.) have made a stopgap function and identified Trac tickets describing "Bugs silently producing wrong answers". So far they listed 7 of them: http://trac.sagemath.org/sage_trac/report/79 Do *y

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread David Roe
I have no idea what's going on, but I succeeded in uploading it. It's now attached to 12717. David On Wed, Mar 21, 2012 at 11:23, Florent Hivert wrote: > Hi David, > > > > I don't know exactly what happened, but the folder > > > /var/trac/sage_trac/attachments/ticket/12717 didn't exist eve

Re: [sage-devel] Which spkg provided which file?

2012-03-21 Thread William Stein
On Wed, Mar 21, 2012 at 2:16 PM, Julien Puydt wrote: > Hi, > > how can I know which spkg provided a file in sage? > > Let's say for example (from sage-4.8) : > ./local/lib/python2.6/site-packages/Cython/Includes/numpy.pxd This is provided by the cython spkg. -- William > > Snark on #sagemath >

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread Florent Hivert
Hi David, > > I don't know exactly what happened, but the folder > > /var/trac/sage_trac/attachments/ticket/12717 didn't exist even though the > > ticket existed. I tried attaching a file to the ticket, succeeded, and > > now the folder exists. Try again? Thanks for your help. > I tried

[sage-devel] Which spkg provided which file?

2012-03-21 Thread Julien Puydt
Hi, how can I know which spkg provided a file in sage? Let's say for example (from sage-4.8) : ./local/lib/python2.6/site-packages/Cython/Includes/numpy.pxd Snark on #sagemath -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email t

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread Florent Hivert
Hi David, On Wed, Mar 21, 2012 at 10:59:57AM -0700, David Roe wrote: > I don't know exactly what happened, but the folder > /var/trac/sage_trac/attachments/ticket/12717 didn't exist even though the > ticket existed. I tried attaching a file to the ticket, succeeded, and now > the folder exi

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread David Roe
I don't know exactly what happened, but the folder /var/trac/sage_trac/attachments/ticket/12717 didn't exist even though the ticket existed. I tried attaching a file to the ticket, succeeded, and now the folder exists. Try again? David On Wed, Mar 21, 2012 at 10:55, Florent Hivert wrote: >

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread Florent Hivert
Hi there, Right now trac is perfectly working (I was able to create ticket #12717), except that I can't manage to upload any attachment. Firefox show the uploading busy for hours. Is it me or a general problem ? Cheers, Florent -- To post to this group, send an email to sage-devel@google

Re: [sage-devel] Upgrading trac

2012-03-21 Thread Julien Puydt
Le dimanche 18 mars, David Roe a écrit: > Let us know if today is a bad day for some reason, and also if > something is misbehaving after the switch. I just made something funny ; I don't know if it worked before, but still: as I wanted to do a custom query, I removed all filters... and the handy

Re: [sage-devel] Re: Trac reports

2012-03-21 Thread David Roe
Yeah, I tried to write exactly that query and have been running into SQL problems. I'll poke at it a bit more today if there's a boxen admin around to restart postgres if I mess things up. :-) David On Wed, Mar 21, 2012 at 08:24, William Stein wrote: > On Wed, Mar 21, 2012 at 4:38 AM, David Lo

[sage-devel] Re: Trac reports

2012-03-21 Thread leif
On 21 Mrz., 16:24, William Stein wrote: > Is there a report that lists "tickets needing work that I *attached a > patch to*"? Well, in case you attached a patch to a ticket, you should normally also be listed in the "authors" (or "reviewers") field. I.e., such a query just demands for a bit more

Re: [sage-devel] Re: Trac reports

2012-03-21 Thread Ivan Andrus
On Mar 21, 2012, at 4:29 PM, Keshav Kini wrote: > William Stein writes: >> Is there a report that lists "tickets needing work that I *attached a >> patch to*"? > > As I recall, David was having trouble with those kinds of queries, > because attachments store the ticket number they're on using a s

[sage-devel] Re: Trac reports

2012-03-21 Thread Keshav Kini
William Stein writes: > Is there a report that lists "tickets needing work that I *attached a > patch to*"? As I recall, David was having trouble with those kinds of queries, because attachments store the ticket number they're on using a string field, whereas ticket IDs themselves are integers fo

Re: [sage-devel] Re: Trac reports

2012-03-21 Thread William Stein
On Wed, Mar 21, 2012 at 4:38 AM, David Loeffler wrote: > This looks great -- for ages I've been ignoring the built-in trac reports > and using Custom Query because the built-in reports were no use, but these > look much more sensible. > > One request: can we have a query for "Tickets I authored (i

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread William Stein
On Wed, Mar 21, 2012 at 11:20 AM, William Stein wrote: > On Wed, Mar 21, 2012 at 5:32 AM, David Roe wrote: >> This seems to be happening much more frequently right now.  Could someone >> with root on boxen either restart the postgres server or kill some of the >> postgres processes? > > Done.  I

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread William Stein
On Wed, Mar 21, 2012 at 5:32 AM, David Roe wrote: > This seems to be happening much more frequently right now.  Could someone > with root on boxen either restart the postgres server or kill some of the > postgres processes? Done. I don't know if anybody also did so in the last five hours... > >

[sage-devel] Re: Can we prevent sage-devel from soon look the same as sage-support?

2012-03-21 Thread Keshav Kini
Simon King writes: > Got it! Gnus-Emacs found news.gmane.org, and from there I could > subscribe sage-support. Yup, news.gmane.org is the NNTP server, and once you connect to it you can subscribe to or otherwise view different groups. You should create a file called ~/.gnus.el and use it to set n

Re: [sage-devel] Re: Building a deb for sage on Debian/Ubuntu

2012-03-21 Thread Jan Groenewald
Hi On 20 March 2012 13:20, leif wrote: > (You could most probably also set DOT_SAGE "manually" when invoking > 'sage' for the first time; it defaults to '$HOME/.sage/'.) > Thanks, I have done this and uploaded a new package to launchpad. I now set DOT_SAGE=/root/.sage . Regards, Jan -- .~.

[sage-devel] Re: Real names in author fields

2012-03-21 Thread leif
On 21 Mrz., 01:52, Keshav Kini wrote: > David Roe writes: > > Yep.  Everyone should set their "Real Name" in trac's preferences if they > > want > > the personalized reports to work for them. > > David > > So Dima can set his name to Dima Pasechnik, find all tickets with that > in the Author fie

Re: [sage-devel] Re: Can we prevent sage-devel from soon look the same as sage-support?

2012-03-21 Thread Julien Puydt
Le mercredi 21 mars, Simon King a écrit: > Hi Keshav, > > On 19 Mrz., 20:12, Keshav Kini wrote: > > This followup is also written via Gmane, and in Gnus (an Emacs > > mode) :) No web browser required! > > Can you point me to an introduction how to subscribe to a gmane group > via Emacs in Gnus m

[sage-devel] Re: Can we prevent sage-devel from soon look the same as sage-support?

2012-03-21 Thread Simon King
Hi! On 21 Mrz., 11:27, Simon King wrote: > Hi Keshav, > > On 19 Mrz., 20:12, Keshav Kini wrote: > > > This followup is also written via Gmane, and in Gnus (an Emacs mode) :) > > No web browser required! > > Can you point me to an introduction how to subscribe to a gmane group > via Emacs in Gnus

[sage-devel] Re: Can we prevent sage-devel from soon look the same as sage-support?

2012-03-21 Thread Simon King
Hi Keshav, On 19 Mrz., 20:12, Keshav Kini wrote: > This followup is also written via Gmane, and in Gnus (an Emacs mode) :) > No web browser required! Can you point me to an introduction how to subscribe to a gmane group via Emacs in Gnus mode? I tried to find the answer by search with google, a

Re: [sage-devel] Removing f2c?

2012-03-21 Thread Jeroen Demeyer
On 2012-03-21 00:16, Jeroen Demeyer wrote: > I removed the f2c package from Sage and successfully built and tested it > on sage.math and bsd.math. So why do we need this package? This is now http://trac.sagemath.org/sage_trac/ticket/12714 -- To post to this group, send an email to sage-devel@go

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread David Roe
This seems to be happening much more frequently right now. Could someone with root on boxen either restart the postgres server or kill some of the postgres processes? I'm afraid this is my fault: I've started a few long running processes while experimenting with SQL reports and can't kill them. D

[sage-devel] Re: Trac reports

2012-03-21 Thread David Loeffler
This looks great -- for ages I've been ignoring the built-in trac reports and using Custom Query because the built-in reports were no use, but these look much more sensible. One request: can we have a query for "Tickets I authored (including closed)", and similarly "Tickets reviewed by me"? (F

Re: [sage-devel] The R spkg contains the rpy spkg ?!

2012-03-21 Thread Julien Puydt
Le mercredi 21 mars, Jeroen Demeyer a écrit: > On 2012-03-21 08:48, Julien Puydt wrote: > > I couldn't help but notice that the R spkg contains and builds an > > rpy2 spkg. > > > > Why isn't that spkg in $SAGE/spkg/standard/ like the others, > > properly referenced in $SAGE/spkg/standard/deps? >

Re: [sage-devel] The R spkg contains the rpy spkg ?!

2012-03-21 Thread Jeroen Demeyer
On 2012-03-21 08:48, Julien Puydt wrote: > Hi, > > I couldn't help but notice that the R spkg contains and builds an rpy2 > spkg. > > Why isn't that spkg in $SAGE/spkg/standard/ like the others, properly > referenced in $SAGE/spkg/standard/deps? http://trac.sagemath.org/sage_trac/ticket/9906 --

[sage-devel] The R spkg contains the rpy spkg ?!

2012-03-21 Thread Julien Puydt
Hi, I couldn't help but notice that the R spkg contains and builds an rpy2 spkg. Why isn't that spkg in $SAGE/spkg/standard/ like the others, properly referenced in $SAGE/spkg/standard/deps? Snark on #sagemath -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscrib

Re: [sage-devel] Trac reports

2012-03-21 Thread Ivan Andrus
On Mar 21, 2012, at 4:29 AM, David Roe wrote: > Hi everyone, > I've reorganized our trac reports, added a bunch of new ones and changed the > View Tickets button so that it points to > http://trac.sagemath.org/sage_trac/wiki/TicketReports. If you have any ideas > for new reports you can eithe

Re: [sage-devel] Re: Upgrading trac

2012-03-21 Thread Jeroen Demeyer
On 2012-03-21 06:30, John H Palmieri wrote: > I have no idea if this is a new issue, but the attachments for > http://trac.sagemath.org/sage_trac/ticket/12684 don't view quite > correctly: there are some lines at the end of the patch which move files > around, and those are not visible when you vie