[sage-support] Re: Integration issue

2012-05-14 Thread John H Palmieri
On Sunday, May 13, 2012 8:46:41 PM UTC-7, ketchers wrote: Sage returns negative value for the integral of a positive function x*cos(x^3) on (0,0.5), if I use abs(cos(x^3))*x, then it gets it correct? This works for me: sage: numerical_integral(x*cos(x^3), 0, 0.5)

Re: [sage-support] Re: error in comparison of pi

2012-05-11 Thread John H Palmieri
On Friday, May 11, 2012 2:55:19 PM UTC-7, Robert Bradshaw wrote: Yeah, stopgap refers to the other ticket in case the bug is hard to fix. How about bogus or badmath? How about blocker? :) -- John -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe

Re: [sage-devel] Re: Symbolic variables and uninitialized variables.

2012-05-11 Thread John H Palmieri
On Friday, May 11, 2012 12:31:55 PM UTC-7, Robert Bradshaw wrote: I should not that all single-case letters used to be defined, and I for one was often bitten by this in strange ways. Wow. Even n and i? I'm glad that was changed. -- John -- To post to this group, send an email to

[sage-support] Re: Discrepancy in assumptions and assume

2012-05-10 Thread John H Palmieri
On Thursday, May 10, 2012 2:41:07 PM UTC-7, Duc Trung Ha wrote: Hola, would anybody be so kind and explain to me the mechanism behind assume(sth)? The mechanism seems to be broken. Actually, the mechanism that compares boolean expressions seems to be broken, which means that assumptions

Re: [sage-devel] sage-5.0.rc0 released

2012-05-04 Thread John H Palmieri
On Friday, May 4, 2012 12:27:33 PM UTC-7, Henry de Valence wrote: On Wed, May 2, 2012 at 3:02 AM, Jeroen Demeyer wrote: Please build, test, and report! We'd love to hear about your experiences with this release. Running ./sage -testall -long, I get: What sort of machine, OS, etc.?

[sage-devel] Re: Can we develop a plan to get 100% doctest coverage?

2012-05-02 Thread John H Palmieri
On Wednesday, May 2, 2012 2:38:42 PM UTC-7, Simon King wrote: Hi Michael, On 2012-05-02, Michael Orlitzky wrote: You can usually call the underscore methods directly. I thought (i.e.: I am sure that I was repeatedly told) that calling magical methods in a doctest is strongly

[sage-devel] Re: Can we develop a plan to get 100% doctest coverage?

2012-05-02 Thread John H Palmieri
On Wednesday, May 2, 2012 4:15:59 PM UTC-7, John H Palmieri wrote: Also, I believe that the Sage coverage script doesn't require an indication of '# indirect doctest' for doctests for underscore methods; it is assumed (I guess) that in those cases, you may very well doctest those

[sage-devel] Re: CFLAGS detection

2012-04-30 Thread John H Palmieri
On Monday, April 30, 2012 3:24:05 AM UTC-7, Jeroen Demeyer wrote: The current way how Sage handles CFLAGS is quite bad. There are several issues: If we change it, we need it to interact well with upgrades, not just building from scratch. -- John -- To post to this group, send an

Re: [sage-devel] Re: bug in os.py

2012-04-19 Thread John H Palmieri
On Thursday, April 19, 2012 8:25:15 PM UTC-7, Rajeev wrote: I don't think that should happen because I'm just giving the following command on terminal - sage -i git-1.7.9.4 I am using sage-4.8. I get the same error on two computers (one running SuseLinux and another running Debian). I

[sage-devel] Re: bug in os.py

2012-04-19 Thread John H Palmieri
On Thursday, April 19, 2012 9:23:47 PM UTC-7, leif wrote: On 20 Apr., 05:25, Rajeev Singh rajs2...@gmail.com wrote: I don't think that should happen because I'm just giving the following command on terminal - sage -i git-1.7.9.4 I am using sage-4.8. I get the same error on

[sage-devel] Re: OS X 10.7 testing again

2012-04-11 Thread John H Palmieri
On Tuesday, April 10, 2012 2:11:13 AM UTC-7, Jeroen Demeyer wrote: Please build the following source tarball from source on OS X 10.7: http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta13-lion/sage-5.0.beta13-lion.tar I have included a few fixes, now *hopefully* it should

Re: [sage-devel] Re: Broken links in Doc

2012-04-10 Thread John H Palmieri
On Tuesday, April 10, 2012 3:45:01 PM UTC-7, Nicolas M. Thiéry wrote: On Mon, Apr 09, 2012 at 05:03:08PM -0700, John H Palmieri wrote: I agree that it would be nice if __*__ and _*_ showed up in the documentation. David Then run sage --docbuild -u reference html

Re: [sage-devel] Re: Broken links in Doc

2012-04-09 Thread John H Palmieri
On Monday, April 9, 2012 2:14:02 PM UTC-7, David Roe wrote: I agree that it would be nice if __*__ and _*_ showed up in the documentation. David Then run sage --docbuild -u reference html. According to sage --docbuild help: -u, --underscoreinclude variables prefixed with '_' in

Re: [sage-devel] Re: Broken links in Doc

2012-04-09 Thread John H Palmieri
On Monday, April 9, 2012 1:51:43 PM UTC-7, Nicolas M. Thiéry wrote: While we are speaking about documentation for ``._*`` methods it, a related question. I consider Python's (``.__*__``) and Sage's (``._*_``) special methods as public, and would be very much in favor of including them by

[sage-combinat-devel] Re: doctesting nonsage modules

2012-04-08 Thread John H Palmieri
On Sunday, April 8, 2012 8:44:47 PM UTC-7, Mark Shimozono wrote: Suppose I make a new file that looks like a sage module, replete with doctesting strings. If I run sage -t on it, the functions defined in the new file are not loaded and errors occur. What version of Sage is this?

[sage-devel] Re: OS X 10.7 testers needed

2012-04-04 Thread John H Palmieri
On Tuesday, April 3, 2012 6:11:48 AM UTC-7, Jeroen Demeyer wrote: Could somebody with an OS X 10.7 machine please try to build the following from source, preferably with SAGE_CHECK=yes: http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar On

Re: [sage-support] Re: Best way to develop Sage packages?

2012-04-02 Thread John H Palmieri
On Monday, April 2, 2012 8:32:18 AM UTC-7, Emil wrote: Thanks for everyone's help. I decided to make it a package that can be installed like: sage -python setup.py install My setup.py is as follows (except I changed the name of the package). I arrived at its contents by trial and error,

[sage-devel] Re: a modest proposal: spooning

2012-04-01 Thread John H Palmieri
On Sunday, April 1, 2012 2:57:46 AM UTC-7, Dan Drake wrote: One of the main goals will be to implement new command line options sage -fork sage -spoon sage -knife On behalf of Sage users in Asia, I feel like I should request sage -chopsticks as well... Absolutely not! These

[sage-support] Re: issues with if statements in a loop.

2012-03-30 Thread John H Palmieri
On Friday, March 30, 2012 9:41:14 AM UTC-7, Eric Kangas wrote: Hi, I am trying to find the values, and locations of those values in a sequence of numbers. I have written up code that I thought would work, but it doesn't. Here is the code: l31 = [len(l3[i]) for i in range(a/len(l))];

[sage-support] Re: Best way to develop Sage packages?

2012-03-30 Thread John H Palmieri
On Friday, March 30, 2012 10:14:15 AM UTC-7, Emil wrote: Hi, I'm working on a Sage package. I'm new to Sage, and learning as I go along... My source code is a mixture of .py and .spyx files, that (until now) I have been attaching() at the sage: prompt. This seems to work quite well.

Re: [sage-devel] Problem building 4.8

2012-03-29 Thread John H Palmieri
On Thursday, March 29, 2012 12:48:20 AM UTC-7, William wrote: What version of XCode, GCC, etc.? Did you upgrade anything? This looks like exactly the sort of bug that one would have with XCode 4.x but *not* with XCode 3.x. Along the same lines as William's questions, you could try

Re: [sage-devel] Re: Add matplotlib as dependency of cvxopt (#12742) needs review

2012-03-29 Thread John H Palmieri
On Thursday, March 29, 2012 9:00:24 AM UTC-7, P Purkayastha wrote: On Thursday, March 29, 2012 7:02:45 AM UTC+8, John H Palmieri wrote: On Wednesday, March 28, 2012 3:51:42 PM UTC-7, Jeroen Demeyer wrote: On 2012-03-28 17:08, leif wrote: Simply making CVXOPT depend on matplotlib

[sage-devel] Re: Add matplotlib as dependency of cvxopt (#12742) needs review

2012-03-29 Thread John H Palmieri
On Thursday, March 29, 2012 6:56:52 PM UTC-7, Dima Pasechnik wrote: On 2012-03-29, John H Palmieri wrote: If only there were some way to add explanatory comments to the deps file... there is a clean way to handle this: it would involve creating a separate testing dependencies graph

Re: [sage-devel] Re: Add matplotlib as dependency of cvxopt (#12742) needs review

2012-03-28 Thread John H Palmieri
On Wednesday, March 28, 2012 3:51:42 PM UTC-7, Jeroen Demeyer wrote: On 2012-03-28 17:08, leif wrote: Simply making CVXOPT depend on matplotlib is certainly easier, but IMHO not really appropriate since the former *builds* without the latter. I don't see the problem. What's the harm

[sage-devel] Call for vote: remove MoinMoin?

2012-03-27 Thread John H Palmieri
This topic has been brought up here before as side notes in various threads, but I'd like to discuss it more officially: Should we remove MoinMoin as a standard package? [ ] Yes [ ] No If yes, I'm assuming we should make it an optional package instead. Or does anyone support getting rid of it

[sage-devel] Re: Call for vote: remove MoinMoin?

2012-03-27 Thread John H Palmieri
On Tuesday, March 27, 2012 10:34:12 AM UTC-7, leif wrote: On 27 Mrz., 19:19, Jason Grout jason-s...@creativetrax.com wrote: On 3/27/12 12:10 PM, John H Palmieri wrote: This topic has been brought up here before as side notes in various threads, but I'd like to discuss it more

[sage-devel] Re: Depreciated is_AlgebraElement function

2012-03-26 Thread John H Palmieri
On Monday, March 26, 2012 9:32:45 AM UTC-7, Keshav Kini wrote: Simon King writes: sage: is_Integer(int(5)) False sage: is_Integer(5/1) False sage: int(5) in ZZ True sage: 5/1 in ZZ True Huh. It seems like this is the opposite of what you'd expect, doesn't it?

Re: [sage-devel] Upgrading to latest development release

2012-03-23 Thread John H Palmieri
On Friday, March 23, 2012 2:04:32 PM UTC-7, Starx wrote: So I'm trying to upgrade my beta7 to beta9. Upgrading from one beta release to another is not supported, so this is not likely to work. (If you are curious about why, then search through sage-devel for other threads on upgrading.)

Re: [sage-devel] Include ../../../../whatever -- uh?

2012-03-23 Thread John H Palmieri
On Friday, March 23, 2012 2:07:21 PM UTC-7, Snark wrote: Le jeudi 22 mars, Julien Puydt a écrit: Le jeudi 22 mars, William Stein a écrit: On Wed, Mar 21, 2012 at 7:34 PM, Julien Puydt wrote: Hi, yesterday I noticed that there are many places in sage's sources (I only

[sage-devel] Re: Include ../../../../whatever -- uh?

2012-03-23 Thread John H Palmieri
On Friday, March 23, 2012 4:39:02 PM UTC-7, leif wrote: On 24 Mrz., 00:25, leif not.rea...@online.de wrote: On 23 Mrz., 23:18, Jeroen Demeyer jdeme...@cage.ugent.be wrote: On 2012-03-23 22:58, leif wrote: P.S.: What makes *me* wonder since years btw. is the bizarre python

[sage-support] Re: Ubuntu Installation show(..) fails with Latex error

2012-03-22 Thread John H Palmieri
On Thursday, March 22, 2012 1:53:07 PM UTC-7, firebird wrote: Recently installed Sage on Ubuntu 11.10 from tarball source code. Cant get the show() function to work from command line in sage. Error is An error occurred. Latex error First, I assume that view(...) also fails (with the same

[sage-devel] the directory SAGE_ROOT/ipython/

2012-03-21 Thread John H Palmieri
Does anyone use the files in the directory SAGE_ROOT/ipython? Would you object if they were moved elsewhere in the Sage distribution, and if some of the files were modified or deleted? (In particular, ipythonrc-scipy might not be long for this world, if I have anything to do with it.) Newer

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) :

[sage-devel] Re: Upgrading trac

2012-03-20 Thread John H Palmieri
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 view the attachment. (This may be just the same as

[sage-devel] Re: Docbuild options for sage -docbuild and make doc

2012-03-15 Thread John H Palmieri
On Thursday, March 15, 2012 2:28:02 PM UTC-7, Nicolas M. Thiéry wrote: Dear Sage doc compilation fans, Currently, make doc calls sage -docbuild with the option --no-pdf-links. I don't have an opinion about this specific option, but a very anoying consequence is that if you do a

[sage-devel] Re: Adding GCC and MPC as standard packages

2012-03-13 Thread John H Palmieri
On Tuesday, March 13, 2012 5:11:00 PM UTC-7, Dima Pasechnik wrote: On Monday, 12 March 2012 06:15:35 UTC+8, Jeroen Demeyer wrote: I have made a spkg for GCC (GNU compiler collection) version 4.6.3 with compilers for C, C++ and Fortran, see Trac #12369. The GCC spkg depends on an MPC

[sage-support] Re: divides method for generic dense polynomials?

2012-03-12 Thread John H Palmieri
On Monday, March 12, 2012 11:33:09 AM UTC-7, john_perry_usm wrote: I checked 4.6.2 (I still have a copy!) b/c I was wondering if the massive patch we recently did might have affected it. Unfortunately, it doesn't work there, either. I've tried with 4.4.4 (2010-06-23) and 4.1.2

[sage-devel] Re: Adding GCC and MPC as standard packages

2012-03-12 Thread John H Palmieri
On Sunday, March 11, 2012 3:15:35 PM UTC-7, Jeroen Demeyer wrote: What are your +1/-1 to making GCC and MPC standard packages? +1 (especially since it allows us to build Sage on Lion without making other compromises) -- John -- To post to this group, send an email to

Re: [sage-devel] Patchbot reporting a doctest failure that I can't reproduce

2012-03-11 Thread John H Palmieri
On Sunday, March 11, 2012 8:46:55 PM UTC-7, Starx wrote: The patchbot is reporting a doctest failure in a patch of mine: http://trac.sagemath.org/sage_trac/ticket/12630#comment:10 The failure itself is completely benign, a + b is being returned when b + a is expected, but the addition is

[sage-support] Re: Bug in SimplicialComplex.homology()?

2012-03-08 Thread John H Palmieri
On Thursday, March 8, 2012 8:56:13 PM UTC-8, Itamar Gal wrote: Hey, I'm new to sage and a first time poster to sage-support. I've just started experimenting with the SimplicialComplex class and I'm getting unexpected results in H_0 when computing homology; it seems to be returning 0 when

[sage-devel] Re: OSX10.7 (Lion)'s blas is REALLY BUGGY: Fwd: cvxopt on MacOSX 10.7

2012-03-08 Thread John H Palmieri
On Thursday, March 8, 2012 4:49:12 PM UTC-8, Dima Pasechnik wrote: It turns out that here Apple is not doing anything wrong. (after having a discussion here: https://discussions.apple.com/message/17795537) It's improper use of BLAS by CVXOPT people that triggers errors. The C code in

[sage-devel] Re: Version bumping of extcode and sage_scripts

2012-03-06 Thread John H Palmieri
On Tuesday, March 6, 2012 4:35:45 PM UTC-8, R. Andrew Ohana wrote: It seems odd to me that the extcode and sage_scripts spkgs have their version bumped with every sage release. sage_scripts contains the version info for sage (in sage-banner), but IMO this is something that should be stored

[sage-support] Re: Overriding default browser

2012-03-05 Thread John H Palmieri
On Monday, March 5, 2012 8:40:48 AM UTC-8, Jim wrote: I am running Sage 4.8 on Mac OS X 10.6.8. I have been using Safari as my default browser, but I am getting discouraged because Safari crashes frequently. All of my bookmarks and ways of browsing the web are in Safari, so I want to

[sage-support] Re: Overriding default browser

2012-03-05 Thread John H Palmieri
On Monday, March 5, 2012 8:52:18 AM UTC-8, John H Palmieri wrote: On Monday, March 5, 2012 8:40:48 AM UTC-8, Jim wrote: I am running Sage 4.8 on Mac OS X 10.6.8. I have been using Safari as my default browser, but I am getting discouraged because Safari crashes frequently. All of my

Re: [sage-devel] Re: Natural language interface to sage

2012-02-29 Thread John H Palmieri
On Wednesday, February 29, 2012 3:01:46 PM UTC-8, Snark wrote: Le mercredi 29 février, William Stein a écrit: (1) when you want to apply a theorem, do you just check for the hypotheses then go on, or do you re-do the proof down from the axioms? Neither. This is a false analogy.

[sage-devel] Re: Unifying Command line options

2012-02-28 Thread John H Palmieri
On Tuesday, February 28, 2012 12:45:08 PM UTC-8, Keshav Kini wrote: William Stein writes: On Tue, Feb 28, 2012 at 8:43 AM, Keshav Kini wrote: It's not actually a fallback for b), though. If a file does exist with the same name as a subcommand, b) makes it impossible to use that

[sage-support] Re: sage -t has changed recently ?

2012-02-21 Thread John H Palmieri
On Tuesday, February 21, 2012 5:24:22 AM UTC-8, Laurent Claessens wrote: Hi all ! I want sage -t to test my docstrings. [snip] Is it normal ? With older versions of sage the same docstring was working. Are you sure it was working before? Is it possible that with earlier versions of Sage,

[sage-devel] Re: Sage works on OS X 10.7!

2012-02-21 Thread John H Palmieri
On Tuesday, February 21, 2012 2:00:01 PM UTC-8, entropy wrote: John, Just to confirm, did this build work for you on Lion 10.7.2, with Xcode 4.3, and gcc version 4.2.1 (LLVM build 2336.9.00)? I'm using Lion 10.7.3, not 10.7.2. I agree with the gcc version: $ gcc --version

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-20 Thread John H Palmieri
On Sunday, February 19, 2012 11:49:23 PM UTC-8, Jeroen Demeyer wrote: On 2012-02-19 06:53, John H Palmieri wrote: On the plus side, on the laptop where I had problems before, Sage built and passed all doctests using the default compiler: You mean 5.0.beta4 worked or do you mean my 5.0

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-20 Thread John H Palmieri
On Monday, February 20, 2012 7:53:05 AM UTC-8, John H Palmieri wrote: On Sunday, February 19, 2012 11:49:23 PM UTC-8, Jeroen Demeyer wrote: On 2012-02-19 06:53, John H Palmieri wrote: On the plus side, on the laptop where I had problems before, Sage built and passed all doctests using

Re: [sage-devel] sage, gentoo-prefix lmonade was: log messages

2012-02-20 Thread John H Palmieri
On Monday, February 20, 2012 2:43:29 PM UTC-8, Benjamin Jones wrote: On Mon, Feb 20, 2012 at 2:39 PM, François Bissey wrote: snip There are efforts to parallelize the building of the doc and I would say that if it gets merged we may very well put the doc back into sage and just build

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-18 Thread John H Palmieri
We have another small problem with Lion. I just wiped my hard drive and reinstalled Lion (because of some non-Sage related issues). Then I reinstalled Xcode: the newly released version 4.3. Two issues: command-line tools are no longer installed by default, so you have to install gcc, clang,

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-18 Thread John H Palmieri
On Saturday, February 18, 2012 3:12:19 PM UTC-8, John H Palmieri wrote: We have another small problem with Lion. I just wiped my hard drive and reinstalled Lion (because of some non-Sage related issues). Then I reinstalled Xcode: the newly released version 4.3. Two issues: command-line

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-16 Thread John H Palmieri
On Wednesday, February 15, 2012 10:21:40 PM UTC-8, John H Palmieri wrote: On Wednesday, February 15, 2012 7:59:16 AM UTC-8, John H Palmieri wrote: On Tuesday, February 14, 2012 10:50:52 AM UTC-8, Jeroen Demeyer wrote: John, entropy, Could you try the following: $ rm spkg/logs/gcc

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-15 Thread John H Palmieri
On Tuesday, February 14, 2012 10:50:52 AM UTC-8, Jeroen Demeyer wrote: John, entropy, Could you try the following: $ rm spkg/logs/gcc-4.6.2.log $ MAKE=make -j1 SAGE_CHECK=yes CFLAGS=-O0 ./sage -f spkg/standard/gcc-4.6.2.spkg If it fails, send me spkg/logs/gcc-4.6.2.log It failed. Log:

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-15 Thread John H Palmieri
On Wednesday, February 15, 2012 7:59:16 AM UTC-8, John H Palmieri wrote: On Tuesday, February 14, 2012 10:50:52 AM UTC-8, Jeroen Demeyer wrote: John, entropy, Could you try the following: $ rm spkg/logs/gcc-4.6.2.log $ MAKE=make -j1 SAGE_CHECK=yes CFLAGS=-O0 ./sage -f spkg/standard/gcc

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread John H Palmieri
On Monday, February 13, 2012 11:51:50 PM UTC-8, Jeroen Demeyer wrote: On 2012-02-13 19:05, John H Palmieri wrote: I posted the same failure two days ago to the relevant trac ticket, http://trac.sagemath.org/sage_trac/ticket/12369. Not the same failure, your failure on #12369

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread John H Palmieri
On Tuesday, February 14, 2012 5:14:13 PM UTC-8, R. Andrew Ohana wrote: On Tue, Feb 14, 2012 at 14:57, entropy wrote: Darn, flopped again. The mpir package could not find a working compiler. Kind of ironic, since this whole thread has been about building gcc-4.6.2. :) From the log, it

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-13 Thread John H Palmieri
On Monday, February 13, 2012 9:55:43 AM UTC-8, William wrote: On Mon, Feb 13, 2012 at 8:51 AM, entropy wrote: Hi all, This is wonderful news. So great, that I tried to compile sage-5.0beta3 on my OS X 10.7.2 laptop. Sadly, it threw an error while attempting to compile gcc4.6.2.

Re: [sage-devel] doctest weirdness

2012-02-13 Thread John H Palmieri
On Monday, February 13, 2012 11:16:54 AM UTC-8, William wrote: On Mon, Feb 13, 2012 at 11:10 AM, Michael Orlitzky wrote: On 02/13/12 13:51, Ryan wrote: #this test case will pass def TestCase1(): r''' Examples:: sage: ascii()

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-13 Thread John H Palmieri
On Monday, February 13, 2012 11:49:29 AM UTC-8, Volker Braun wrote: On Monday, February 13, 2012 10:05:56 AM UTC-8, John H Palmieri wrote: Or is there something about the laptop architecture which is causing the problem? It would be useful if people would post the output of uname

[sage-devel] Re: p_group_cohomology optional spkg does not install in sagenb.org

2012-02-11 Thread John H Palmieri
On Saturday, February 11, 2012 11:34:21 AM UTC-8, jason wrote: On 2/11/12 1:27 PM, Justin C. Walker wrote: Hi, Jason, On Feb 11, 2012, at 06:08 , Jason Grout wrote: I'm upgrading sagenb.org to sage 4.8 and I get some errors when trying to install the p_group_cohomology package. If

Re: [sage-devel] Re: GSOC 2012

2012-02-11 Thread John H Palmieri
On Saturday, February 11, 2012 8:39:32 PM UTC-8, Michael Orlitzky wrote: I've started this: http://wiki.sagemath.org/PiecewiseSymbolicSEP It's basically a brain dump at this point, but I can go back and clean up specific ideas now with less overhead. I've also added a link and a few

[sage-devel] Re: Dealing with different signs in doctest output?

2012-02-07 Thread John H Palmieri
On Tuesday, February 7, 2012 2:49:36 AM UTC-8, Jeroen Demeyer wrote: What is the correct way to fix the following doctest failure? Here, G is the result of a gram_schmidt() computation, hence the sign shouldn't matter mathematically. sage -t -force_lib devel/sage/sage/matrix/matrix2.pyx

[sage-devel] Re: spkg dependency checking

2012-02-07 Thread John H Palmieri
On Tuesday, February 7, 2012 3:06:14 PM UTC-8, Jeroen Demeyer wrote: I came across the following in the Sage Developer guide: - If your package depends on another package, say boehmgc, then you should check that this other package has been installed. Your ``spkg-install``

[sage-devel] use ./configure; make for Sage?

2012-02-05 Thread John H Palmieri
Various aspects of building Sage might be cleaner if we used autoconf: ./configure OPTIONS make OPTIONS could include a location to install Sage, various flags for building ATLAS, and other options which we currently control by setting environment variables. For typical users, we should

[sage-devel] Re: Funding for you to come work on Sage

2012-02-05 Thread John H Palmieri
Are these workshops all going to be in Seattle? -- John -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-02-03 Thread John H Palmieri
On Friday, February 3, 2012 8:33:53 AM UTC-8, William wrote: Just to clarify, does gcc-4.2 *not* come with the latex XCode 4.x, but it came with earlier XCode 4.x's?I have gcc-4.2 on my laptop, and I've never installed anything but XCode 4.x on it. Just curious. I think that it came

[sage-support] Re: Evaluate quickly a complex expression

2012-02-02 Thread John H Palmieri
If you preface this by sage: I = CC.0 then you will be working with the complex square root of -1, rather than the symbolic one. Computations should be much faster. With this change and your code, sage: z.subs(K1=3, K2=12).real() is pretty fast. I get sage:

[sage-support] Re: Unexplained doctest error

2012-01-31 Thread John H Palmieri
On Tuesday, January 31, 2012 3:17:51 PM UTC-8, JStarx wrote: Hi, I am running OS X 10.6.8 and I just upgraded to 4.8 from 4.7.2. Some code I've been working on all of a sudden started failing it's doctests. Most of the failures have been easy to track down and fix, I only have one left to

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-31 Thread John H Palmieri
On Tuesday, January 31, 2012 1:01:41 PM UTC-8, R. Andrew Ohana wrote: On Mon, Jan 30, 2012 at 10:04, John H Palmieri jhpalm...@gmail.com wrote: On Tuesday, January 17, 2012 1:59:45 PM UTC-8, William wrote: On Tue, Jan 17, 2012 at 1:39 PM, William Stein wst...@gmail.com wrote

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-30 Thread John H Palmieri
On Tuesday, January 17, 2012 1:59:45 PM UTC-8, William wrote: On Tue, Jan 17, 2012 at 1:39 PM, William Stein wst...@gmail.com wrote: On Mon, Jan 16, 2012 at 3:43 PM, William Stein wst...@gmail.com wrote: On Mon, Jan 16, 2012 at 9:26 AM, John H Palmieri jhpalm...@gmail.com wrote

Re: [sage-devel] Unifying Command line options

2012-01-27 Thread John H Palmieri
On Friday, January 27, 2012 2:19:59 AM UTC-8, Jeroen Demeyer wrote: On 2012-01-27 11:17, David Roe wrote: Why? So that things like sage -i can work without python? Exactly. And also for speed issues, as William brought up a year or two ago when we discussed this sort of thing. If you

[sage-support] Re: issue with sage -t (sage 4.8)

2012-01-24 Thread John H Palmieri
On Tuesday, January 24, 2012 12:07:16 AM UTC-8, Simon King wrote: Hi! On 24 Jan., 08:22, tvn nguyent...@gmail.com wrote: I have this file 'myclass.py' that contains the following class MyClass(object): @staticmethod def myt(l): sage: from

[sage-devel] Re: spkg/base gone missing.

2012-01-22 Thread John H Palmieri
On Sunday, January 22, 2012 8:10:17 AM UTC-8, William wrote: Hi, I wanted to try out #3052, which is Kini's code for converting .hg repos to JSON and back. So I took a Sage-4.8 binary, and started looking for his code. I just wanted to run the script on a sample .hg repo, etc. The

[sage-devel] Re: tracking down sphinx errors

2012-01-21 Thread John H Palmieri
On Saturday, January 21, 2012 8:28:35 AM UTC-8, jason wrote: I'm trying to track down this error: /Users/grout/sage-trees/sage-5.0.prealpha1/devel/sagenb-git/sagenb/notebook/cell.py:docstring of sagenb.notebook.cell.Cell:4: WARNING: Block quote ends without a blank line; unexpected

[sage-devel] Re: tracking down sphinx errors

2012-01-21 Thread John H Palmieri
On Saturday, January 21, 2012 12:01:07 PM UTC-8, jason wrote: It turns out that the error is indeed in a completely different function. One of the functions has a docstring that has this line: sage: W.edit_save('foo\n{{{\n2+3\n///\n5\n}}}bar\n{{{\n2+8\n///\n10\n}}}')

Re: [sage-devel] Re: [sage-notebook] Mathjax needs review

2012-01-19 Thread John H Palmieri
On Thursday, January 19, 2012 9:37:00 AM UTC-8, William wrote: Hi, Regarding jsmath and mathjax... It seems like we have the issues worked out for the Sage notebook. Yeah, and thanks to Jason, David, etc., for their persistence. I was just browsing mathoverflow, e.g., [1], and noticed

[sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread John H Palmieri
On Tuesday, January 17, 2012 10:06:18 AM UTC-8, kcrisman wrote: Here is a probably dumb question. Currently (as far as I am aware), most spkgs should pass with SAGE_CHECK set, though it does depend on the platform and specific machine. Python is somewhat notorious for not doing so.

[sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread John H Palmieri
On Tuesday, January 17, 2012 10:19:03 AM UTC-8, Volker Braun wrote: I consider it a bug that Python's testsuite fails on many systems even though the resulting python install is perfectly usable for our purposes. The Python spkg-check should be changed to not call the whole python

[sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread John H Palmieri
On Tuesday, January 17, 2012 10:45:37 AM UTC-8, kcrisman wrote: On Jan 17, 1:15 pm, John H Palmieri jhpalm...@gmail.com wrote: On Tuesday, January 17, 2012 10:06:18 AM UTC-8, kcrisman wrote: Here is a probably dumb question. Currently (as far as I am aware), most spkgs

[sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-16 Thread John H Palmieri
On Monday, January 16, 2012 7:42:49 AM UTC-8, William wrote: Hi, A major blocker for Sage-5.0 is supporting OS X (version 10.7 -- the version that has been out for months now). Fortunately, it is now relatively easy to build sage-5.0.beta1 on OS X 10.7 with XCode 4.x, and have it start

Re: [sage-devel] Re: Proposal: Remove GNUTLS from Sage.

2012-01-14 Thread John H Palmieri
On Saturday, January 14, 2012 9:07:08 AM UTC-8, William wrote: On Jan 14, 2012 9:00 AM, Dr David Kirkby drki...@gmail.com wrote: On Jan 9, 4:39 pm, William Stein wst...@gmail.com wrote: Very few people actually use the notebook in secure=True mode. For those that do, I think

[sage-combinat-devel] Re: problems with HasseDiagram and rank

2012-01-13 Thread John H Palmieri
On Friday, January 13, 2012 2:07:00 PM UTC-8, Raymond N. Greenwell wrote: Hello! I posted this on sage-support, but I should have posted it here. I tried using the HasseDiagram and rank features of Sage as described on

[sage-support] Re: List of operations on vector functions?

2012-01-10 Thread John H Palmieri
On Tuesday, January 10, 2012 2:03:23 PM UTC-8, LFS wrote: Hi I looked around quite a bit but probably not in the right places? I found I can define a vector function and how to get its derivative vector function. Is there a way to get at the component functions and/or a way to

[sage-devel] Re: Ubuntu 11.10 testers needed

2012-01-05 Thread John H Palmieri
On Thursday, January 5, 2012 2:21:37 PM UTC-8, john.hoebing wrote: On Jan 5, 10:22 am, John Cremona john.c...@gmail.com wrote: Will this procedure work? Surely ./sage -i will not work with a half-built system? Well, I am trying... No that won't work, as some others have already

[sage-support] Re: computing the cup-product in the cohomology of a simplicial complex

2012-01-04 Thread John H Palmieri
On Monday, December 5, 2011 6:07:56 PM UTC-8, Felix Breuer wrote: Here is a first implementation of the cup product. [snip] If there is interest, I would be willing to put in the additional work to add this function to Sage. But for that I would need to learn about the all the other

[sage-devel] Re: Unofficial release sage-5.0.prealpha0

2012-01-01 Thread John H Palmieri
On Sunday, January 1, 2012 7:18:20 AM UTC-8, daveloeffler wrote: I get an error when doing a parallel build with SAGE_CHECK set. See below for the relevant part of the output. The problem seems to be that the M4RIE test suite requires NTL and Givaro to have already been built, but that

[sage-devel] Re: Unofficial release sage-5.0.prealpha0

2012-01-01 Thread John H Palmieri
On Sunday, January 1, 2012 8:52:24 AM UTC-8, daveloeffler wrote: Here's *yet another* SAGE_CHECK issue. The sagetex package doesn't work: [snip] Output written on example.dvi (7 pages, 23380 bytes). Transcript written on example.log. Traceback (most recent call last): File

[sage-combinat-devel] Re: dot2tex, combinat

2011-12-24 Thread John H Palmieri
On Friday, December 23, 2011 4:54:53 PM UTC-8, Travis Scrimshaw wrote: I copied the latest version of TikZ / PGF (using a shared folder) to the VM and installed it. I was able to compile the .tex file using the VM's latex compiler and view the output .pdf from my host OS (Windows

Re: [sage-devel] Backward-uncompatible packages

2011-12-24 Thread John H Palmieri
On Saturday, December 24, 2011 8:08:19 AM UTC-8, John Cremona wrote: This is similar to the situation with the optional elliptic curve database, since the default database is changed as of 4.8 (uses a different database engine) so the optional spkg has also been updated, so we have one

Re: [sage-combinat-devel] Re: dot2tex, combinat

2011-12-20 Thread John H Palmieri
On Tuesday, December 20, 2011 12:48:00 AM UTC-8, Nicolas M. Thiery wrote: On Tue, Dec 20, 2011 at 12:55:11AM +, Sagan, Bruce wrote: Formidable! This installed dot2tex. Thanks so much!! One last question. When I went back to the notebook and ran a view command (I just copied the

Re: [sage-devel] Why use cp for patching

2011-12-17 Thread John H Palmieri
On Saturday, December 17, 2011 3:00:15 PM UTC-8, Burcin Erocal wrote: Hi Maarten, On Sat, 17 Dec 2011 14:28:47 -0800 (PST) Maarten Derickx m.derick...@gmail.com wrote: I was merging my new ipython spkg wich needed review for some time already at

[sage-support] Re: Typesetting arbitrary LaTeX

2011-12-14 Thread John H Palmieri
On Wednesday, December 14, 2011 5:28:25 AM UTC-8, Jeroen Demeyer wrote: How can I typeset arbitrary LaTeX code? I.e. If s is the string $x^2+1$, how can I get a nicely typeset x^2+1 out of this? That is, I dont want to typeset \verb|$x^2 + 1$| but I want to typeset $x^2 + 1$. This

[sage-support] Re: Typesetting arbitrary LaTeX

2011-12-14 Thread John H Palmieri
On Wednesday, December 14, 2011 9:56:34 AM UTC-8, John H Palmieri wrote: On Wednesday, December 14, 2011 5:28:25 AM UTC-8, Jeroen Demeyer wrote: How can I typeset arbitrary LaTeX code? I.e. If s is the string $x^2+1$, how can I get a nicely typeset x^2+1 out of this? That is, I dont

[sage-devel] Re: Mathematica/Magma/Sage dictionaries ?

2011-12-13 Thread John H Palmieri
On Tuesday, December 13, 2011 3:51:19 PM UTC-8, Nathann Cohen wrote: Hello everybody !!! I have been contacted by an enlightened colleague who planned to teach a bit of Sage at the local university, instead of Magma and Mathematica as it was formerly done. Now, enthusiasm is a wonderful

[sage-devel] Re: Mathematica/Magma/Sage dictionaries ?

2011-12-13 Thread John H Palmieri
On Tuesday, December 13, 2011 3:51:19 PM UTC-8, Nathann Cohen wrote: Hello everybody !!! I have been contacted by an enlightened colleague who planned to teach a bit of Sage at the local university, instead of Magma and Mathematica as it was formerly done. Now, enthusiasm is a wonderful

[sage-devel] Re: Converting a symbolic expression to python code

2011-12-12 Thread John H Palmieri
On Monday, December 12, 2011 5:13:00 PM UTC-8, Michael Orlitzky wrote: Is there an easy way to print a symbolic expression so that it's valid python code? E.g. 2*x^2 -- QQ(2) * x**QQ(2) How about sage: preparse('2*x^2') 'Integer(2)*x**Integer(2)' -- John -- To post to

[sage-support] Re: computing the cup-product in the cohomology of a simplicial complex

2011-12-04 Thread John H Palmieri
On Sunday, December 4, 2011 7:47:13 PM UTC-8, Felix Breuer wrote: Hello again! I have followed your instructions and come up with the following: X = simplicial_complexes.Torus() C = X.chain_complex(cochain=True) print C._chomp_repr_() H = C.homology(generators=True) gen1 = H[1][1][0]

[sage-support] Re: computing the cup-product in the cohomology of a simplicial complex

2011-12-03 Thread John H Palmieri
On Saturday, December 3, 2011 6:15:03 PM UTC-8, Felix Breuer wrote: Hello everyone! I would like to compute the cup-product of two chains in the cohomology of a simplicial complex. Me too. What I have so far, is that I have the simplicial complex realized as a SimplicialComplex in

<    9   10   11   12   13   14   15   16   17   18   >