[sage-devel] Re: Sage Notebook CSS

2008-05-27 Thread john_perry_usm
I am working on a project this summer that uses SAGE to assemble some interactive Calculus lessons, and I was hoping to do something like this. So thank you very much! Will this be placed in the manual or the Wiki? regards john perry On May 27, 9:57 am, "William Stein" <[EMAIL PROTECTED]> wrote

[sage-devel] Re: Sage Notebook CSS

2008-08-22 Thread john_perry_usm
Hi, I've been working with this recently and I'm wondering which CSS tag I should change for the background color of the table whose id is "topbar". It doesn't have a class assigned to it and for the life of me I can't find the class that affects it. My CSS is not the best; is there a generic tab

[sage-devel] Re: Sage Notebook CSS

2008-08-25 Thread john_perry_usm
Found it. I was missing a div.worksheet_title. regards john perry On Aug 22, 12:00 pm, john_perry_usm <[EMAIL PROTECTED]> wrote: > Hi, > > I've been working with this recently and I'm wondering which CSS tag I > should change for the background color of the tabl

[sage-devel] Re: Toy-F5

2008-10-22 Thread john_perry_usm
> Is it still true that Perry is working on putting a version in Singular? I personally am not writing the code. I did offer, but Christian Eder, a student at the University of Kaiserslautern, has the primary responsibility. (I had worked with him on the original toy implementation as an interpre

[sage-devel] Re: Toy-F5

2008-10-23 Thread john_perry_usm
Hi all, I *really* like the ideas behind slimgb, and I agree with you that there are more efficiency considerations than reduction to zero. One of the optimizations I want to try on F5 is a hybrid slimgb/F5 algorithm; I have ideas on how it might work. I believe that F5 will terminate on the sys

[sage-devel] Re: Toy-F5

2008-10-23 Thread john_perry_usm
I wrote: > For example, my toy Singular implementation > of the basic F5 took nearly a month to compute the GB of Cyclic-8; an > optimized version took about a week. That wasn't a very smart thing to say; let me clarify. By "optimized" version, I still mean a toy (=interpreted, not optimized) ve

[sage-devel] Re: Toy-F5

2008-10-23 Thread john_perry_usm
Martin, > The right thing to do from my perspective is to ask Christian if he wants > help. John, can you make Christian aware of this thread? I sent him a copy of the email I posted. Now that I think of it, it would be nice to send him a link to this conversation, too. > Another option is to t

[sage-devel] Re: Toy-F5

2008-10-23 Thread john_perry_usm
Michael, I can answer one of your challenges: The non-homogenized system terminated correctly in about 139 minutes on my home computer, a 1.7GHz P4 w/512MB. I used a sugar variant, having modified Martin's basic F5 sometime last week. No other changes were made to F5. I realize this isn't worth

[sage-devel] Re: Toy-F5

2008-10-23 Thread john_perry_usm
Michael, > Did you check for the result being [1]? Sort of. I did this: sage: len(G) <<< 1 Since the output G has length one, it's reasonable to conclude that it ended with {1}; otherwise there should have been at least 6 polynomials. I didn't think to look at G until afterwards, partly becaus

[sage-devel] Re: sage-4.0.2

2009-06-21 Thread john_perry_usm
The spkg also works on a Fedora 11, x86_64 box. regards john perry On Jun 20, 11:13 am, Andrzej Giniewicz wrote: > Final update on my Arch Linux current try - with #6362 "all tests passed"! > > On Sat, Jun 20, 2009 at 10:24 AM, Andrzej Giniewicz wrote: > > Hi, > > > small update - build finishe

[sage-devel] Re: sage fails to make on 64 bit fedora 11 when making Singular

2009-06-30 Thread john_perry_usm
I also encountered this, and the problem is actually GCC 4.4, which comes with Fedora 11. See http://trac.sagemath.org/sage_trac/ticket/6362 I installed the spkg from that page and built Sage flawlessly; I suspect it would fix your problem too. regards john perry On Jun 30, 4:45 pm, wn wrote:

[sage-devel] Re: sage fails to make on 64 bit fedora 11 when making Singular

2009-07-01 Thread john_perry_usm
William, I'd be happy to, but I'm not sure how to referee an spkg. Should I just go ahead & give it a positive review since it works for me? john On Jul 1, 6:10 am, William Stein wrote: > On Tue, Jun 30, 2009 at 11:55 PM, john_perry_usm wrote: > > > I also encountere

[sage-devel] Re: Sage and Singular Talk

2009-07-16 Thread john_perry_usm
Martin, page 29 has "PolyBoRi is not use inexplicitly": Should it be "is not used explicitly" or "is used implicitly" or "is used explicitly"? page 57 has "at least 10 \times -20 \times": "10--20x" (not in math mode) might be more readable; right now it looks like "negative 20 times" page 57 ha

[sage-devel] Re: grant proposal season

2009-08-26 Thread john_perry_usm
Just yesterday I bumped up against factoring univariate polynomials in QQbar (*not* CC). Being able to factor in QQbar would have a broad impact (or maybe not, but at least on one ticket I was studying), but I don't know about feasibility. regards john perry On Aug 25, 1:56 pm, William Stein wr

[sage-devel] implicit_diff

2009-10-06 Thread john_perry_usm
Hi, >From what I can tell, Sage lacks an explicit function to compute implicit derivatives, akin say to Maple's implicit_diff command. See this (really) old thread: http://groups.google.com/group/sage-devel/browse_thread/thread/f374f76bb3cd0361 Is this still the current situation? I've wri

[sage-devel] Re: Is this a bug?

2009-10-17 Thread john_perry_usm
On Oct 17, 1:00 pm, QuantumDream wrote: > OK, so ,there is the plot_points option, but shouldn't the default > value of the plot_point be a function of the range? Maybe I'm wrong, but I don't think the range is nearly as important as the type of function. Some functions won't require many plot

[sage-devel] Re: Sage and commercial software

2009-11-24 Thread john_perry_usm
On Nov 24, 1:25 am, Martin Rubey wrote: > "Dr. David Kirkby" writes: > > > I find it hard to believe Sage will not have a negative impact on the > > sales of Mathematica, but I certainly hope Sage does not put Wolfram > > Research out of business. I very much doubt it will either. > > I am with y

[sage-devel] Re: syntax highlighting in notebook textareas

2009-01-10 Thread john_perry_usm
One of the reasons I switched to Sage was that a handful of years ago the previous CAS I used (who shall remain nameless) introduced a worksheet interface that grossly slowed down the system. Rather than improve the efficiency, subsequent releases made things worse by adding an extremely slow synt

[sage-devel] Re: syntax highlighting in notebook textareas

2009-01-11 Thread john_perry_usm
Hi, On Jan 10, 11:13 am, "Luiz Felipe Martins" wrote: > Hi. The software you mention may remain nameless, but it is pretty > obvious what it is. Yeah, I was aiming more for obnoxious than subtle. :-) > There was a serious screw up when they tried to > redo their whole interface in Java, as I w

[sage-devel] interact and auto-update

2009-01-26 Thread john_perry_usm
Hi, At SD12 I brought up (again) the question of auto-updating interact worksheets. To review the problem: if an interact engages in a lot of computation, and the moves a slider, then the interact gets kind of ugly. This can be especially bad if a lot of students are using the same server. It oc

[sage-devel] Re: Notebook themes

2009-01-26 Thread john_perry_usm
Hi, I meant to reply to this earlier, but forgot. I had developed a theme, too. I've now uploaded it to a wiki page for themes (couldn't find one) at http://wiki.sagemath.org/themes Elliott, you should upload your theme there. I'd do it myself but I didn't want to step on any toes. If I ma

[sage-devel] Re: interact and auto-update

2009-01-27 Thread john_perry_usm
I agree with Mike and William. john perry On Jan 27, 12:52 am, William Stein wrote: > On Mon, Jan 26, 2009 at 3:23 PM, Mike Hansen wrote: > > > On Mon, Jan 26, 2009 at 3:01 PM, Jason Grout > > wrote: > >> How about this slight change in syntax: > > >> @interact(update=False) > >> def _(... >

[sage-devel] not-so-n00b developing question

2009-01-30 Thread john_perry_usm
Hi all, I'm trying to make some changes to my sage installation. I change the file in the $SAGE_ROOT/devel tree, then call $SAGE_ROOT/sage -b Now this works on my laptop, but not on my desktop. If I run $SAGE_ROOT/sage, it's as if I made no changes at all. This is an example of the output from

[sage-devel] Re: not-so-n00b developing question

2009-01-30 Thread john_perry_usm
Thanks. "which sage" gives /usr/local/bin/sage, but the working directory is / home/software/sage-3.2.1/devel/sage and I'm calling "../../sage -b" from the command line. That seems (to me) to rule out that possibility. john On Jan 30, 7:00 pm, Jason Grout wrote: >

[sage-devel] Re: not-so-n00b developing question

2009-01-30 Thread john_perry_usm
ce code showed up correctly. Thank you very much! john On Jan 30, 7:00 pm, Jason Grout wrote: > john_perry_usm wrote: > > Hi all, > > > I'm trying to make some changes to my sage installation. I change the > > file in the $SAGE_ROOT/devel tree, then call $SAGE_ROOT/sag

[sage-devel] Re: tab completion and function aliases cluttering the namespace

2009-02-09 Thread john_perry_usm
> This is a bit arbitrary for my tastes, but I think it (or somthing > similar) could work: > > If you type foo.X, where X is only one or two characters, then > the extended completion list checks for *_X*.  Otherwise (if X is > three or more characters) then the extended completion list is *X*.

[sage-devel] Re: tab completion and function aliases cluttering the namespace

2009-02-09 Thread john_perry_usm
What if there were a different trigger for the extended completions? This way the user would have only one box to parse at a time. john perry On Feb 9, 9:44 am, Jason Grout wrote: > Hi all, > > Currently, anytime there is a command that contains a noun and an > adjective, there seems to be deba

[sage-devel] Re: mathematica advertising

2009-04-07 Thread john_perry_usm
On Apr 6, 11:10 pm, William Stein wrote: > I think it is *highly* likely they did, since it is the *only* ad, it > is for the cheapest version of Mathematica, and that ad doesn't come > up for searches for "math". I'm directed to the home version at $295, and the regular student version is $139.

[sage-devel] Re: Which IDE do you use to write code for sage?

2010-07-19 Thread john_perry_usm
On Jul 18, 4:51 pm, koffie wrote: > I started this thread so people can > share which IDE's they are using and what they like about it. jEdit > Which OS does it run on (linux/os x/windows)? anything that runs java > Is it open source/free but not open source/paid? open source/free (GPL 2.0),

[sage-devel] Re: Dodgson condensation

2010-08-04 Thread john_perry_usm
Hi As it turns out I had an undergraduate student do a research project on Dodgson's method, and we have a paper coming out in College Math Journal later this year on a way that sort of fixes it, but (still) not always. Here's a preprint that's somewhat strewn with typos, but should still get the

[sage-devel] Re: Who wrote the paper saying commercial software is like hiding proofs?

2010-11-05 Thread john_perry_usm
> Does the lack of availability of source code for a program mean it is > unacceptable to publish the results of that program in a journal?  I > think not. I know of at least one recent case where claimed improvements in performance were due not to a new algorithm (as claimed by the authors) but t

[sage-devel] cython -a

2011-09-19 Thread john_perry_usm
Hi One of the nice aspects of cython is that you can "cython -a" a file and see what could use optimization. If I import a .pyx file into Sage, Sage compiles it into cython. Is there a way to make it show the same thing? I tried compiling a Sage file with Cython, but (as one might expect) it cou

[sage-devel] Re: cython -a

2011-09-19 Thread john_perry_usm
On Sep 19, 11:39 am, Simon King wrote: > Under the assumption that I remember correctly: Would that be enough > for you? I'd prefer to use the command line, but that would work fine. Where does the link appear? I attached a file in a worksheet, and it compiled without complaint but I don't see an

[sage-devel] Re: cython -a

2011-09-19 Thread john_perry_usm
Robert On Sep 19, 11:39 am, Robert Bradshaw wrote: > Try doing sage -cython /path/to/file.pyx. If your .pyx file is in the > sage library, this sets up all the extra paths for you. It's not in the sage library; it's a separate file I'm working with. john -- To post to this group, send an emai

[sage-devel] Re: cython -a

2011-09-19 Thread john_perry_usm
FWIW it looks like this is a trac ticket. http://trac.sagemath.org/sage_trac/ticket/2110 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 a

[sage-devel] Re: cython -a

2011-09-19 Thread john_perry_usm
On Sep 19, 2:10 pm, Robert Bradshaw wrote: > See > > http://hg.sagemath.org/scripts-main/file/26abf552ceaa/sage-cython#l1 > > Specifically, you can do "sage -cython -a -sage /path/to/file.[s]pyx" > and it should do what you want. That's *exactly* what I was looking for. Thanks! john perry -- T

[sage-devel] degree of a monomial with a matrix ordering

2011-09-20 Thread john_perry_usm
This took me by surprise: sage: tord = TermOrder(matrix([3,2,4,1,1,0,1,0,0])) sage: R. = PolynomialRing(QQ,'x',3,order=tord) sage: (x^2).degree() 6 sage: (x^2).degree(x) 2 I didn't find the docstring helpful on this. Digging around, I learned that this is how Singular treats the degree

[sage-devel] Re: degree of a monomial with a matrix ordering

2011-09-20 Thread john_perry_usm
Hi Simon! On Sep 20, 4:18 pm, Simon King wrote: > However, note that since sage-4.7.2.alpha1 Sage finally has "proper" > weighted degree term orders - that was trac ticket #11316. So, it will > be in the next release. Yes! I'm aware of (& delighted with) that. > > sage: (x^2).degree(x) > > > >>

[sage-devel] Re: degree of a monomial with a matrix ordering

2011-09-21 Thread john_perry_usm
Hi again! On Sep 21, 8:24 am, Simon King wrote: >> sage: tord = TermOrder(matrix([3,2,4,1,1,0,1,0,0])) >> sage: S.=PolynomialRing(QQ) >> sage: R. = PolynomialRing(S,'x',3,order=tord) >> sage: (x^2).degree() >> 2 > > I think that's a bug. What about this? sage: tord = TermOrder(matrix([3,2,4,1,1

[sage-devel] Re: degree of a monomial with a matrix ordering

2011-09-22 Thread john_perry_usm
Simon, I have seen graded rings before, for example when defining homogeneous rings one has standard and non-standard gradings. But the grading wasn't determined by a term ordering in those cases, and I have seen a distinction between the two: a recent paper on Computing Inhomogeneous Groebner Bas

[sage-devel] Re: degree of a monomial with a matrix ordering

2011-09-25 Thread john_perry_usm
Simon, On Sep 23, 12:32 am, Simon King wrote: > I said two things. I understand you now. (I think. :-)) > One statement was: The matrix term ordering should not interfere with > the degrees of the generators. It must be possible to define > generators in degree 2,3,4 and order the monomials wit

[sage-devel] Re: Code style guidelines

2011-10-25 Thread john_perry_usm
On Oct 24, 10:33 am, Jason Grout wrote: > Here is one of the big situations when I like trailing spaces: > > def hello():$ >      print 'hi'$ >      $ >      print 'bye'$ +1 Quite a few text editors do this by default. It's enormously convenient to the programmer; it's terribly inconvenient to g

[sage-devel] Re: Code style guidelines

2011-10-26 Thread john_perry_usm
On Oct 25, 9:43 pm, leif wrote: > > After all, comments and empty lines contribute to file bloat, but they > > also contribute to readability. > > Trailing blanks in contrast certainly don't, just like spaces on > otherwise empty lines :-) (perhaps unless your editor shows them -- > I've configure

[sage-devel] closures

2012-01-06 Thread john_perry_usm
Hi Are closures permanently broken in sage-4.8's cython, or was it a passing fashion? When I use something like this in a pyx file: cpdef test(): a = [1,2,3,4] if any(b < 0 for b in a): print "yes" else: print "no" return I get this error: _Users_user_common_Research_SAGE_p

[sage-devel] Re: closures

2012-01-07 Thread john_perry_usm
Thanks for the reply. On Jan 7, 11:09 am, Volker Braun wrote: > We did upgrade to cython-0.15.1 early on in the 4.8.alpha series, fwiw. I > guess line 90 is the any() construct. Yeah, I mixed source code for a test program with an error message from an actual program, sorry. > Perhaps that was

[sage-devel] Re: closures

2012-01-07 Thread john_perry_usm
> As to why it worked for you, perhaps you only called the Python version of > your cpdef function. I'm pretty sure I did not call the Python version in the production code, but maybe. I did call a cpdef function from Python, which then called another cpdef, which called another cpdef. At some lev

[sage-devel] std::string

2012-01-12 Thread john_perry_usm
Hi I'm trying to wrap C++ functions that expect & return std::string types. There seems to be a way to do that in Cython via cdef extern from "" namespace "std": cdef cppclass string: ... but Sage complains that is not found. Is there a way to make Sage find it on the machine? rega

[sage-devel] Re: std::string

2012-01-13 Thread john_perry_usm
On Jan 13, 10:10 am, Volker Braun wrote: > You probably want > > from libcpp.string cimport string > > instead. I fixed a bug where our setup.py didn't work with libcpp > inhttp://trac.sagemath.org/sage_trac/ticket/11614, I'm pretty sure that > this is what you are tripping over. Maybe you want to

[sage-devel] Re: std::string

2012-01-13 Thread john_perry_usm
PS I'm willing to review it if I can get it to work! :-) On Jan 13, 10:10 am, Volker Braun wrote: > You probably want > > from libcpp.string cimport string > > instead. I fixed a bug where our setup.py didn't work with libcpp > inhttp://trac.sagemath.org/sage_trac/ticket/11614, I'm pretty sure th

[sage-devel] Re: std::string

2012-01-13 Thread john_perry_usm
On Jan 13, 8:03 pm, john_perry_usm wrote: > Does this depend on a particular alpha? I was testing it with > 4.8.alpha0. Same errors with 4.8.alpha4. john -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage

[sage-devel] Re: A Cython module requiring -librt. But not on Mac computers

2012-01-25 Thread john_perry_usm
Hi Some more information which I find fascinating; apologies if it's not helpful: . all this is needed because the library CoinUtils wants to call gzopen; . g++ compiles the patch for Nathann even though librt isn't linked; . Nathann can start sage just fine; but . when he tries to create a Mixed

[sage-devel] Re: A Cython module requiring -librt. But not on Mac computers

2012-01-25 Thread john_perry_usm
Oh, I forgot -- the patch I have works just fine on 32-bit Ubuntu and 32-bit Mac OSX. As far as we know, it fails only on 64-bit Debian. john perry -- 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...@goog

[sage-devel] Re: A Cython module requiring -librt. But not on Mac computers

2012-01-25 Thread john_perry_usm
On Jan 25, 11:35 am, Volker Braun wrote: > Sounds like some library that you are linking to uses librt, even though > your own program doesn't. At the linker command line you must specify all > libraries being used. Older versions of ld will automatically try to find > implicit dependencies, but t

[sage-devel] Re: A Cython module requiring -librt. But not on Mac computers

2012-01-25 Thread john_perry_usm
> Well OSX doesn't support librt and I'm pretty sure Ubuntu 10.04.3 ld is > using old-style DSO linking. OK. So basically we just have to fix modules_list.py. > I don't see why you cbc needs librt to start with. Does it do any real-time > stuff? I think the problem is that zlib requires rtlib. C

[sage-devel] Re: A Cython module requiring -librt. But not on Mac computers

2012-01-25 Thread john_perry_usm
> Well OSX doesn't support librt and I'm pretty sure Ubuntu 10.04.3 ld is > using old-style DSO linking. OK. So basically we just have to fix modules_list.py. > I don't see why you cbc needs librt to start with. Does it do any real-time > stuff? I think the problem is that zlib requires rtlib. C

[sage-devel] Re: A Cython module requiring -librt. But not on Mac computers

2012-01-25 Thread john_perry_usm
On Jan 25, 3:51 pm, Jeroen Demeyer wrote: > On 2012-01-25 22:22, john_perry_usm wrote:>> Well OSX doesn't support librt > and I'm pretty sure Ubuntu 10.04.3 ld is > >> using old-style DSO linking. > > > OK. So basically we just have to fix modules_list.

[sage-devel] Re: A Cython module requiring -librt. But not on Mac computers

2012-01-25 Thread john_perry_usm
On Jan 25, 3:51 pm, Jeroen Demeyer wrote: > On 2012-01-25 22:22, john_perry_usm wrote:>> Well OSX doesn't support librt > and I'm pretty sure Ubuntu 10.04.3 ld is > >> using old-style DSO linking. > > > OK. So basically we just have to fix modules_list.

[sage-devel] Re: Tickets #715, #11521 and #12313 need 32 bits testing

2012-04-15 Thread john_perry_usm
On Apr 14, 7:57 am, Jean-Pierre Flori wrote: > We're currently stuck with Simon on tickets #715, #11521 and #12313, > because we do not have access to 32 bits systems. I can do it. I have a very old 32-bit system that I sometimes use both to develop & test patches. What precisely should I test w/

[sage-devel] Re: Tickets #715, #11521 and #12313 need 32 bits testing

2012-04-16 Thread john_perry_usm
On Apr 15, 10:33 am, john_perry_usm wrote: > I can do it. I have a very old 32-bit system that I sometimes use both > to develop & test patches. My very old computer is quite slow, so I am applying the patches now. Looks like you're already taken care of, but if anything inter

[sage-devel] Re: Tickets #715, #11521 and #12313 need 32 bits testing

2012-04-16 Thread john_perry_usm
On Apr 16, 6:30 am, John Cremona wrote: > > My very old computer is quite slow, so I am applying the patches now. > > Looks like you're already taken care of, but if anything interesting > > turns up, I'll pass it on. > > #12313 still needs testing, but my 32-bit laptop is at home and I will > not

[sage-devel] Re: ld complains that "cannot find -lOsiVol" when doing ./sage -b test

2012-05-01 Thread john_perry_usm
Hello Sage 4.8 came with an earlier Cbc package, 2.3-somethingorother. It included something called OsiVol. Your version of sage is trying to build with that library. The more recent Cbc package, 2.7.5, does not. It looks as if sage downloaded the newer Cbc package. An unpatched sage 4.8 does not

[sage-devel] Re: ld complains that "cannot find -lOsiVol" when doing ./sage -b test

2012-05-02 Thread john_perry_usm
Nick On May 2, 12:47 am, Nicu Tofan wrote: > The problem is not me being unable to use sage... Ah, I had misunderstood. > I was thinking that sage 4.8, when installed and used in the way I > presented it (which looks pretty standard to me) does not work well. I agree that it is a bug that sage

[sage-devel] Re: ld complains that "cannot find -lOsiVol" when doing ./sage -b test

2012-05-02 Thread john_perry_usm
Nathann > I never heard of anything related to an association between Sage version > and spkgs, but it may indeed be nice in this situation. Probably not on the > client's side but rather on the server. Yes, exactly. > Anyway the 5.0 will soon be out :-) While true, and while I think it's impos

[sage-devel] Re: ld complains that "cannot find -lOsiVol" when doing ./sage -b test

2012-05-02 Thread john_perry_usm
Hello again > It looks as if sage downloaded the newer Cbc package. Oddly, I just looked in my sage-4.8 directory, and found that spkg/ optional contains cbc-2.3.p2.spkg, whereas sage: optional_packages() reports (['cbc-2.7.5'],... Nick, can you look in your $SAGE_ROOT/spkg/optional and t

[sage-devel] Re: Community thanks

2011-01-07 Thread john_perry_usm
I have a camera & I would have taken photos but I forgot batteries. I'll bring batteries tomorrow, honest. If not, I'll buy them. john perry On Jan 7, 8:12 pm, mhampton wrote: > > Can you post a picture of the booth with some people around? > > >  -- William > > Sadly I forgot to grab my camera

[sage-devel] mackichan software is interested in integrating sage

2011-01-07 Thread john_perry_usm
Hi The ceo of MacKichan Software came by the booth to ask how easy it might be to integrate sage into their big software package (Scientific Workplace). I'm not sure that those of us there were able to give him a specific answer (correct me if I'm wrong, guys, my memory is awful); for example, I d

[sage-devel] Re: Rapid growth in Python popularity

2011-02-18 Thread john_perry_usm
Hi On Feb 17, 6:49 pm, Matt Goodman wrote: > MATLAB isn't a tool used outside of academia very often. I am loathe to involve myself in this conversation, but: I'm aware that MATLAB is used by people at NASA, in the Navy, and at Raytheon. I seriously doubt that approaches even a tenth of MATLAB's

[sage-devel] Re: Is Sage better because of the notebook?

2011-06-15 Thread john_perry_usm
Hi On Jun 15, 5:09 pm, Ceigh Boone wrote: > Assuming that you always have your browser running, it > is a good idea that your math software runs inside it also, instead of > hogging resources of it own. Is this true for trivial reasons? Do you have > any insights? (1) It is nice to be able to ta

[sage-devel] Profiling in Cython

2011-07-13 Thread john_perry_usm
Hi In a previous thread, Martin Rubey had problems running the profiler in Cython. See http://groups.google.com/group/sage-devel/browse_thread/thread/81d1cc666e1ffbe6/ His question seemed to have gone unresolved. I'm having the same problem. If I follow the tutorial at http://docs.cython.org/s

[sage-devel] Re: Profiling in Cython

2011-07-18 Thread john_perry_usm
either works. I think I found my problem: I was attach'ing the Cython file rather than import'ing it. If I import it, it works fine. john On Jul 18, 9:29 am, Robert Bradshaw wrote: > On Wed, Jul 13, 2011 at 7:16 PM, john_perry_usm wrote: > > Hi > > > In a previous t

[sage-devel] Re: Geo buckets?

2012-05-23 Thread john_perry_usm
Simon On May 22, 9:15 am, Simon King wrote: > AFAIK, Singular uses the geo bucket data structure for internally > representing polynomials during Gröbner basis computations. You probably knew this already, but: peeking at Singular's source, I find at least two different bucket structures in Sing

[sage-devel] Re: Geo buckets?

2012-05-23 Thread john_perry_usm
Simon > Is it perhaps the case that kbucket is Singular's notion of geo bucket? Now that you mention it, I seem to recall a conversation with one of the Singular developers where he mentioned this. I could try to look through the emails at my office desktop, but it's probably better to ask him di

[sage-devel] doctest coverage & testsuites

2012-05-25 Thread john_perry_usm
Hello (1) I'm trying to bring doctest coverage of sage.numerical to 100%. When I test for coverage, it says that, for example, the functions add_variable() and solve() of glpk_backend.pyx are missing documentation. But, they're *not* missing documentation. It's right there in the file, immediatel

[sage-devel] Re: doctest coverage & testsuites

2012-05-25 Thread john_perry_usm
On May 25, 4:43 pm, David Roe wrote: > The sage-coverage script doesn't handle cython files very well. Thanks. I'll keep that in mind. regards john perry -- 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

[sage-devel] Re: doctest coverage & testsuites

2012-05-25 Thread john_perry_usm
Dan > I don't have any help for your doctesting, but be aware that > athttp://trac.sagemath.org/sage_trac/attachment/ticket/2607I have a big > patch that hits a couple files in that directory, and you might want to > coordinate your work with those patches. (Or not, and ask *me* to > coordinate w

[sage-devel] Re: doctest coverage & testsuites

2012-05-25 Thread john_perry_usm
> Thanks for the heads up. Actually, you might want to cooperate with my > patches, partly because some of them remove whitespace, but also > because some have already been accepted into Sage 5.1: 12736, 12823, > 12884. BUT! If you've already incorporated 12736 & 12823 into your work, I'll modify

[sage-devel] Re: doctest coverage & testsuites

2012-05-25 Thread john_perry_usm
Karl-Dieter > BTW, you can put keyword sd40.5 in any tickets you work on this > weekend, John :) Already did :-) 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 option

[sage-devel] Re: Poll on loglog and semilog plots

2012-05-25 Thread john_perry_usm
Why not have it as an option to the show() command? Seems to me a plot should just be a plot, and display options should be handled by the function that does the actual displaying. Of course, I have no idea how the backend works, and (worse) didn't bother to read the comments, just a bit of the ti

Re: [sage-devel] sage 5.0.1 build failure on fedora-17

2012-06-20 Thread john_perry_usm
On Wednesday, June 20, 2012 4:15:12 AM UTC-5, Jeroen Demeyer wrote: > > What do the following commands (outside of Sage) say: > $ gcc -print-prog-name=as > $ which as > $ as --version > perry@atlas:~$ gcc -print-prog-name=as as perry@atlas:~$ which as /usr/bin/as perry@atlas:~$ as --version GN

[sage-devel] Re: sage 5.0.1 build failure on fedora-17

2012-06-20 Thread john_perry_usm
On Wednesday, June 20, 2012 6:01:04 AM UTC-5, Volker Braun wrote: > > I didn't have any problems compiling on Fedora 17 x86_64. The > libopcodes.so is part of the binutils rpm, so if you have /bin/as you > should also have libopcodes. The only possible issue that I can think of is > that libopco

Re: [sage-devel] sage 5.0.1 build failure on fedora-17

2012-06-21 Thread john_perry_usm
Jeroen On Wednesday, June 20, 2012 10:05:18 AM UTC-5, Jeroen Demeyer wrote: > > Try reinstalling binutils within Fedora and try again. On many other > installations of Fedora 16, it *does* work. > I did reinstall binutils. While I was at it, I decided to install Fortran, too. That avoided the

[sage-devel] What am I doing wrong in mercurial?

2013-01-03 Thread john_perry_usm
Hello I'm having trouble with mercurial. I thought it was just my one branch, but now I'm having the same issues with a fresh download of sage. 1) I have aliased hg to ../../sage, and work in the devel/sage-somebranch directory. 2) I have run hg qinit, though I understand that's not actually n

Re: [sage-devel] What am I doing wrong in mercurial?

2013-01-03 Thread john_perry_usm
> hg qrefresh? > Sorry: I forgot to mention that I did that, too. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsub

Re: [sage-devel] What am I doing wrong in mercurial?

2013-01-03 Thread john_perry_usm
On Thursday, January 3, 2013 2:00:09 PM UTC-6, john_perry_usm wrote: > > > hg qrefresh? >> > > Sorry: I forgot to mention that I did that, too. > Wait, now it works. Weird. I did that earlier. I won't waste your time copying my shell history, but it's

Re: [sage-devel] Re: Attribute errors with polynomials

2013-01-04 Thread john_perry_usm
tab-completion has been fun for me from time to time, as John Cremona points out. thinking of how java interfaces & multiple inheritance work: wouldn't it be possible to have an interface orabstract class that defines an abstract function abs, along with associated functions that require an abs

Re: [sage-devel] Re: About log and ln. Free fight.

2013-01-10 Thread john_perry_usm
On Thursday, January 10, 2013 8:38:56 AM UTC-6, Nathann Cohen wrote: > > > i.e. log2 is already defined to equal log(2) (to base e!). We are > > already inconsistent, since log2 is a symbolic constant meaning > > log(2), whereas there are *already* functions in Sage whenre log2 > > means log-to-th

[sage-devel] Re: Sage review in CMJ

2013-03-06 Thread john_perry_usm
I've logged onto the MAA website twice now and don't even see the March CMJ available online, let alone that article. I hope it becomes available soon. john perry On Tuesday, March 5, 2013 10:51:26 AM UTC-6, kcrisman wrote: > > See http://www.maa.org/pubs/cmj_mar13.html and your local library (o

[sage-devel] Re: [sage-edu] Re: Sage review in CMJ

2013-03-06 Thread john_perry_usm
it... ;-) john perry On Wednesday, March 6, 2013 9:29:09 AM UTC-6, Minh Nguyen wrote: > > Hi John, > > On Thu, Mar 7, 2013 at 2:20 AM, john_perry_usm > > > wrote: > > I've logged onto the MAA website twice now and don't even see the March > CMJ > >

Re: [sage-devel] Re: [sage-edu] Re: Sage review in CMJ

2013-03-06 Thread john_perry_usm
y On Wednesday, March 6, 2013 3:41:22 PM UTC-6, Minh Nguyen wrote: > > Hi John, > > On Thu, Mar 7, 2013 at 2:32 AM, john_perry_usm > > > wrote: > > How rude! I pay for online access to MAA magazines (specifically!) and > can't > > see it yet from the MAA

[sage-devel] Re: Another Sage review - from CUNY Math blog

2013-03-21 Thread john_perry_usm
On Thursday, March 21, 2013 8:15:05 AM UTC-5, kcrisman wrote: > > Despite the overall positive tone, I have to say my favorite quote is: > > "I can not help but editorialize that installing and using SageTeX took me > approximately 4 hours of hair tearing frustration — it is comparable in > diffi

[sage-devel] mathfest 2013

2013-04-30 Thread john_perry_usm
Hello Is anyone going to mathfest? (besides me ;-)) regards john perry -- 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. T

[sage-devel] Re: Reasons for upgrading

2013-04-30 Thread john_perry_usm
I know you said to move along if I don't upgrade, but I would like to upgrade if it weren't discommended or unreliable, for reasons (A) and (C). I actually thought it was discommended. I really need to pay more attention... john perry On Tuesday, April 30, 2013 5:14:58 AM UTC-5, Jeroen Demeyer

[sage-devel] Re: use Sage!

2013-05-02 Thread john_perry_usm
I've been teaching a one-semester course on "Mathematical Computation" using Sage for a while, w/the slides posted online. (Latest: www.math.usm.edu/perry/mat305sp13/) The textbook we usually use is a Python-based textbook, and it doesn't always mesh well with the class. I've thought a lot abou

Re: Re: [sage-devel] Re: use Sage!

2013-08-29 Thread john_perry_usm
Martin I'd be willing to help with this. Aside from having worked with you on a couple of the programs, I've been working on resurrecting the dynamic algorithms of Caboara and Gritzmann and Sturmfels, using a new technique. I also have some stuff you could probably use for introductory mate

Re: Re: Re: [sage-devel] Re: use Sage!

2013-08-30 Thread john_perry_usm
Martin Maybe one of us misunderstands the other (& maybe this should become a new thread? dunno). I am somewhat hesitant, though, to go too deep into signature based > algorithms > and new improvements... It was not my intention to go deep into signature based algorithms; I was trying to qu

[sage-devel] Re: motivation: here's one reason your contributions to Sage matter...

2013-10-01 Thread john_perry_usm
On Tuesday, October 1, 2013 1:42:43 AM UTC-5, Keshav Kini wrote: > But as far as I know, Sage is not proof-aware in any way. I've never > heard theorem-proving people talk about making use of existing computer > algebra systems and I can't imagine how they could be useful in the > business of

[sage-devel] Re: Conversions without mathematical sense between polynomial rings

2013-12-31 Thread john_perry_usm
I sometimes illustrate techniques of polynomial factorization in a class by starting with a polynomial in ZZ[x] and converting it to a polynomial in GF(insert_large_prime)[x]. I realize this is not an instance of two _finite_ fields, but (a) you mention "the characteristics are different", and

[sage-devel] Re: Interactive plots for Sage Notebook

2014-02-21 Thread john_perry_usm
> > > So, I would be really thankful if someone would clarify that > > whether the notebook view will be continued? > > if it's going to be replaced, what's the replacement? > > I think the main successor of the sage notebook is William's Sage Cloud > project at cloud.sagemath.com. > Well,

Re: [sage-devel] Re: 2d interactive graphs

2014-03-11 Thread john_perry_usm
On the other hand, a student could combine the two ideas, or work on the interactive plots within the cloud, so as to prepare for a future move to a "personal" version. (Hint to students who read this.) Incidentally, the cloud interface looks really nice. It's kind of sad that I looked at it on

[sage-devel] Trouble building sage on Mavericks

2014-06-09 Thread john_perry_usm
Hello I'm trying to build Sage from source on Mavericks. It quits when trying to build gcc-4.7.3.p1, as it is unable to find cdefs.h. Mavericks is up-to-date; extra packages installed. I'm not finding an option for "command-line tools" in Preferences->Downloads as per the README, but I think t

  1   2   >