[sage-devel] Re: units

2009-08-12 Thread Jason Grout
William Stein wrote: > On Tue, Aug 11, 2009 at 11:30 PM, Jason > Grout wrote: >> William Stein wrote: >>> Hi, >>> >>> I just wanted to let people know that David Ackerman -- a UW student who >>> took my course on Sage last quarter -- is working (funded by NSF) on >>> creating a "units package" for

[sage-devel] Re: units

2009-08-12 Thread Jason Grout
William Stein wrote: > On Tue, Aug 11, 2009 at 11:30 PM, Jason > Grout wrote: >> William Stein wrote: >>> Hi, >>> >>> I just wanted to let people know that David Ackerman -- a UW student who >>> took my course on Sage last quarter -- is working (funded by NSF) on >>> creating a "units package" for

[sage-devel] Re: GCC requirements for OS X

2009-08-12 Thread Dr. David Kirkby
William Stein wrote: > On Tue, Aug 11, 2009 at 9:17 PM, David Kirkby wrote: >> 2009/8/12 William Stein : >>> On Tue, Aug 11, 2009 at 7:38 PM, Robert >>> Bradshaw wrote: On Aug 11, 2009, at 1:42 PM, Dr. David Kirkby wrote: > I gather that what gcc works on OS X depends on many things.

[sage-devel] Re: units

2009-08-12 Thread Minh Nguyen
On Wed, Aug 12, 2009 at 5:04 PM, Jason Grout wrote: > > William Stein wrote: >> On Tue, Aug 11, 2009 at 11:30 PM, Jason >> Grout wrote: >>> William Stein wrote: Hi, I just wanted to let people know that David Ackerman -- a UW student who took my course on Sage last quarter -- i

[sage-devel] Re: units

2009-08-12 Thread Fredrik Johansson
On Wed, Aug 12, 2009 at 8:44 AM, William Stein wrote: > > On Tue, Aug 11, 2009 at 11:30 PM, Jason > Grout wrote: >> >> William Stein wrote: >>> Hi, >>> >>> I just wanted to let people know that David Ackerman -- a UW student who >>> took my course on Sage last quarter -- is working (funded by NSF)

[sage-devel] Re: units

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 12:02 AM, Jason Grout wrote: > > William Stein wrote: >> On Tue, Aug 11, 2009 at 11:30 PM, Jason >> Grout wrote: >>> William Stein wrote: Hi, I just wanted to let people know that David Ackerman -- a UW student who took my course on Sage last quarter --

[sage-devel] Re: units

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 12:11 AM, Fredrik Johansson wrote: > > On Wed, Aug 12, 2009 at 8:44 AM, William Stein wrote: >> >> On Tue, Aug 11, 2009 at 11:30 PM, Jason >> Grout wrote: >>> >>> William Stein wrote: Hi, I just wanted to let people know that David Ackerman -- a UW student wh

[sage-devel] Re: GCC requirements for OS X

2009-08-12 Thread William Stein
>> Anyway, it seems like we should do something like print a huge warning >> and an interactive "are you sure you want to continue? [yes/no]" if >> the >> "(Apple Inc. Build )" has < some_arbitrary_number, where the >> arbitrary number is something like say 5470? >> >> -- William > > > Yo

[sage-devel] Re: units

2009-08-12 Thread Fredrik Johansson
On Wed, Aug 12, 2009 at 9:19 AM, William Stein wrote: > > On Wed, Aug 12, 2009 at 12:11 AM, Fredrik > Johansson wrote: >> >> On Wed, Aug 12, 2009 at 8:44 AM, William Stein wrote: >>> >>> On Tue, Aug 11, 2009 at 11:30 PM, Jason >>> Grout wrote: William Stein wrote: > Hi, > > I

[sage-devel] Re: units

2009-08-12 Thread Stan Schymanski
Converting of units is one useful function, but I'd also like a possibility to perform simple unit checks on functions. For example, if one gets a nice equation for the total energy of a system after some symbolic acrobatics, one would like to know whether the units of this equation are still

[sage-devel] Re: Groebner bases over symbolic ring

2009-08-12 Thread Bjarke Hammersholt Roune
On Jul 22, 7:20 pm, William Stein wrote: > Albrecht wrote: > > Not, sure it is enough to add this though. Since it isn't clear what the the > > symbolic ring is exactly, i.e. is it a field, I don't know which definition > > of > > a GB applies. > > I think one should treat it like a field for th

[sage-devel] Re: Test failures with sage-4.1.1.rc0 with Maxima 5.19.0

2009-08-12 Thread Dr. David Kirkby
Jason Grout wrote: > Robert Dodier wrote: >> Dr. David Kirkby wrote: >> >>> sage: A.eigenvectors() >>> Expected: >>> [[[2,11],[1,2]],[0,0,1],[0,1,1/3]] >>> Got: >>> [[[2,11],[1,2]],[[[0,0,1]],[[0,1,1/3 >> eigenvectors now tries to present more detail in its return value. >> ? eigen

[sage-devel] Re: sage-4.1 on FreeBSD-7.2/i386

2009-08-12 Thread Peter Jeremy
On 2009-Aug-11 20:02:37 -0700, Robert Bradshaw wrote: >csin is part of the c99 standard, and should be defined in complex.h Unfortunately, FreeBSD 7.x is not C99. FreeBSD 8.x is implementing some parts of C99 but I'm not sure when it will be complete - and csin() is not implemented yet. --

[sage-devel] Re: sage-4.1 on FreeBSD-7.2/i386

2009-08-12 Thread Dr. David Kirkby
Robert Bradshaw wrote: > On Aug 11, 2009, at 5:02 PM, Peter Jeremy wrote: > >> On 2009-Aug-11 07:05:42 +1000, Peter Jeremy >> wrote: >>> I thought I saw a csin() during the build so I'll investigate and >>> add code as necessary. >> The relevant error in "devel/sage/sage/ext/fast_callable.pyx"

[sage-devel] Re: sage-4.1 on FreeBSD-7.2/i386

2009-08-12 Thread Dr. David Kirkby
Peter Jeremy wrote: > On 2009-Aug-11 20:02:37 -0700, Robert Bradshaw > wrote: >> csin is part of the c99 standard, and should be defined in complex.h > > Unfortunately, FreeBSD 7.x is not C99. FreeBSD 8.x is implementing > some parts of C99 but I'm not sure when it will be complete - and csi

[sage-devel] Re: units

2009-08-12 Thread Bjarke Hammersholt Roune
Given some product of units, it can be desirable to find a nicest way of expressing it, where nicest can mean least total degree or that certain units are preferred or something else. This is an integer linear programming problem, and a while ago I fell over this email by Daniel Lichtblau (of Math

[sage-devel] Re: Groebner bases over symbolic ring

2009-08-12 Thread Michael Brickenstein
We strongly recommend to use exact types for Groebner bases computations in Singular. Michael --~--~-~--~~~---~--~~ 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...@googlegro

[sage-devel] Re: Groebner bases over symbolic ring

2009-08-12 Thread Martin Albrecht
> > I think one should treat it like a field for this purpose. It is of > > course not really > > a field, since functions have poles, etc.; also, their are floating > > point numbers in > > SR and floating point numbers don't form a field either. But they are > > supposed to approximately mode

[sage-devel] Re: [sage-release] Top 10: Sage-4.1 valgrind report

2009-08-12 Thread Robert Miller
Minh, > ... The release management wiki page ... mentions that a release > manager should valgrind Sage late in the release cycle. I just added that to the list recently. If you follow the link there, you get all the instructions and commands you need. In fact, you get *exactly* what I just did

[sage-devel] Re: Sage organizational structure, AWOL people

2009-08-12 Thread Peter Jeremy
On 2009-Jul-30 09:47:11 -0700, William Stein wrote: >"Lance Davis, the main project administrator for CentOS, a popular free >'rebuild' of Red Hat's Enterprise Linux, appears to have gone AWOL. (He has since resurfaced and CentOS appears to be back to business as usual). As an alternative scenar

[sage-devel] Re: elliptic_e(0.5, 0.1) differs from Mathematica 7 by about 0.04%.

2009-08-12 Thread Peter Jeremy
On 2009-Aug-11 12:42:41 -0700, Harald Schilly wrote: >My personal guess is that they want to be able to audit the software >by looking at the source code. That's not possible if one of the >components is or depends on binary code, where something could be >hidden. This is probably an opportune ti

[sage-devel] Compile and Install Latest VLC in Debian Lenny

2009-08-12 Thread Minh Nguyen
Compile and Install Latest VLC in Debian Lenny http://tuxarena.blogspot.com/2009/08/how-to-compile-and-install-latest-vlc.html --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: Compile and Install Latest VLC in Debian Lenny

2009-08-12 Thread Minh Nguyen
Please ignore the last email. Sorry people. It was meant to be addressed to someone else. On Wed, Aug 12, 2009 at 10:14 PM, Minh Nguyen wrote: > Compile and Install Latest VLC in Debian Lenny > http://tuxarena.blogspot.com/2009/08/how-to-compile-and-install-latest-vlc.html -- Regards Minh Van N

[sage-devel] Re: Groebner bases over symbolic ring

2009-08-12 Thread Michael Brickenstein
Hmm, poles are not so bad. We can imagine, that you do something like with rational functions: define two expressions are equal, if they are equal on some open and dense subset. If you have something like sin[x] and cos[x-Pi/2] you should add a relation, that they are equal. And I suppose, there

[sage-devel] Re: Sage organizational structure, AWOL people

2009-08-12 Thread Dr. David Kirkby
Peter Jeremy wrote: > On 2009-Jul-30 09:47:11 -0700, William Stein wrote: >> "Lance Davis, the main project administrator for CentOS, a popular free >> 'rebuild' of Red Hat's Enterprise Linux, appears to have gone AWOL. > > (He has since resurfaced and CentOS appears to be back to business as >

[sage-devel] Re: barriers to community growth

2009-08-12 Thread Dr. David Kirkby
Harald Schilly wrote: > On Jul 24, 4:56 pm, kcrisman wrote: >>> * Do new employees get the keys to the house on their first day? >>> Not applicable. >> It's worth pointing out here, although it's not the point the author >> makes since there are (mostly) not "employees", that there is a >> "quara

[sage-devel] Re: units

2009-08-12 Thread Robert Dodier
William Stein wrote: > Maple example is: > > convert(4.532, 'units', 'N'/'m'^2, 'lb''ft'/('s'^2'ft'^2)) > In Mathematica it would be basically: > > Convert[4.532*Newton/Meter^2, Pound * Feet/(Second^2 * Feet^2)] > > and in Sage it will be > > sage: from units import newton, meter, pound, feet, s

[sage-devel] Re: units

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 7:22 AM, Robert Dodier wrote: > > William Stein wrote: > >> Maple example is: >> >> convert(4.532, 'units', 'N'/'m'^2, 'lb''ft'/('s'^2'ft'^2)) > >> In Mathematica it would be basically: >> >> Convert[4.532*Newton/Meter^2, Pound * Feet/(Second^2 * Feet^2)] >> >> and in Sage

[sage-devel] Re: units

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 12:53 AM, Fredrik Johansson wrote: > > On Wed, Aug 12, 2009 at 9:19 AM, William Stein wrote: >> >> On Wed, Aug 12, 2009 at 12:11 AM, Fredrik >> Johansson wrote: >>> >>> On Wed, Aug 12, 2009 at 8:44 AM, William Stein wrote: On Tue, Aug 11, 2009 at 11:30 PM, Jason >

[sage-devel] Should a re-run of 'make' run spkg/base/prereq-0.3/configure again?

2009-08-12 Thread Dr. David Kirkby
When one types 'make', a configure script is run. That checks for various things (not very much currently), but it does check the gcc version and the perl version, plus a few other things. One issue is that if someone starts a build, stops it, then restarts it by typing 'make', those checks wi

[sage-devel] Re: Should a re-run of 'make' run spkg/base/prereq-0.3/configure again?

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 7:31 AM, Dr. David Kirkby wrote: > > When one types 'make', a configure script is run. That checks for > various things (not very much currently), but it does check the gcc > version and the perl version, plus a few other things. > > One issue is that if someone starts a bu

[sage-devel] Re: Should a re-run of 'make' run spkg/base/prereq-0.3/configure again?

2009-08-12 Thread Dr. David Kirkby
William Stein wrote: > On Wed, Aug 12, 2009 at 7:31 AM, Dr. David > Kirkby wrote: >> When one types 'make', a configure script is run. That checks for >> various things (not very much currently), but it does check the gcc >> version and the perl version, plus a few other things. >> >> One issue is

[sage-devel] Re: units

2009-08-12 Thread Robert Dodier
William Stein wrote: > suggested doing almost precisely what Robert Dodier keeps telling us > to do, which is make the different units just be symbolic variables, Well, in addition to implementing units as symbols, it greatly simplifies the whole business to keep the units separate from the quan

[sage-devel] Re: units

2009-08-12 Thread M. Backens
I have in fact been working on a units package for Sage this summer, based on the DimPy package for Python and am now nearing the end of my project. I wasn't expecting to be putting things online for another week or two, but I've put some preliminary documentation and the current version of the s

[sage-devel] Re: units

2009-08-12 Thread Robert Dodier
William Stein wrote: > We will just do whatever Mathematica does, unless somebody can come up > with a good argument while the Mathematica design is nonoptimal. Hmm. I wonder what it would take to talk you out of it. I claim that you're better off copying ezunits instead. Try demo(ezunits); in

[sage-devel] Re: units

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 7:56 AM, Robert Dodier wrote: > > William Stein wrote: > >> suggested doing almost precisely what Robert Dodier keeps telling us >> to do, which is make the different units just be symbolic variables, > > Well, in addition to implementing units as symbols, it greatly > simp

[sage-devel] Re: barriers to community growth

2009-08-12 Thread Harald Schilly
On Aug 12, 3:58 pm, "Dr. David Kirkby" wrote: > The > ability to post a question and get an answer is reasonable period of > time is important. My guess is that Sage's response time is excellent and in some cases that take longer there is no real answer anyways. I hope google will sometimes allo

[sage-devel] Re: units

2009-08-12 Thread Robert Dodier
William Stein wrote: > Mathematica's design spells out the units instead of using the > conventional abbreviations. I think that makes a lot more sense for > Sage as well, since it's much more explicit, and it is very easy to > confuse say "N" (for Newton's) with say "N" for numerical_approx. A

[sage-devel] Re: units

2009-08-12 Thread Dr. David Kirkby
William Stein wrote: > On Wed, Aug 12, 2009 at 7:56 AM, Robert Dodier wrote: >> I think it's fairly important to keep the names of things close >> to what people would scribble on a piece of paper. >> Unconventional capitalization and having to write out every >> name is going to make it clumsy t

[sage-devel] Re: units

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 8:03 AM, M. Backens wrote: > > I have in fact been working on a units package for Sage this summer, > based on the DimPy package for Python and am now nearing the end of my > project. > > I wasn't expecting to be putting things online for another week or > two, but I've put

[sage-devel] Re: barriers to community growth

2009-08-12 Thread rjf
Regarding the mathematica newsgroup, I think that there may be only one moderator, but I think there are "friends of the newsgroup" who receive the (unedited) news feed before moderation, and can if they wish, respond directly to the person trying to post to the newgroup even before the post appea

[sage-devel] Re: units

2009-08-12 Thread M. Backens
> sage: 1/2 * meter/second > 0.5 m s^-1 > sage: I * meter/second > 1.00*I m s^-1 > > As a consequence this sort of thing doesn't work: > > sage: from dimpy import * > sage: var('x') > x > sage: f = x^2 * meter >

[sage-devel] Re: units

2009-08-12 Thread Robert
Maybe another feature would be to check if arithmetic of units is compatible, so that you'd get an error when you try to add temperature to length, for example. I got this idea from a tutorial of the c++ boost library at http://www.boost.org/doc/libs/1_39_0/libs/mpl/doc/tutorial/dimensional-analy

[sage-devel] Re: units

2009-08-12 Thread Bill Page
On Wed, Aug 12, 2009 at 11:44 AM, javier wrote: > ... > This is definitely not my field of expertise, but how is this "working > with units" thing any different from working in a (Laurent) polynomial > ring? > ... > Maybe I misunderstood something, but why to start from scratch when > there is alr

[sage-devel] Re: units

2009-08-12 Thread javier
On Aug 12, 4:14 pm, Robert Dodier wrote: > Agreed. That's a good argument for separating units from quantities > in an expression. Then you can tell without ambiguity which symbols > are supposed to be units. This is definitely not my field of expertise, but how is this "working with units" thin

[sage-devel] Re: Test failures with sage-4.1.1.rc0 with Maxima 5.19.0

2009-08-12 Thread Juan Jose Garcia-Ripoll
On Tue, Aug 11, 2009 at 10:31 PM, Juan Jose Garcia-Ripoll wrote: > On Tue, Aug 11, 2009 at 10:23 PM, Dr. David > Kirkby wrote: >>> maxima seemed to install fine on an intel macbook running 10.4.11.[...] >>> However, the ecl install failed. There were a lot of errors, but here are >>> some near the

[sage-devel] Re: units

2009-08-12 Thread M. Backens
On Aug 12, 4:59 pm, Robert wrote: > Maybe another feature would be to check if arithmetic of units is > compatible, so that you'd get an error when you try to add temperature > to length, for example. I got this idea from a tutorial of the c++ > boost library > athttp://www.boost.org/doc/libs/1_

[sage-devel] Re: barriers to community growth

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 8:33 AM, rjf wrote: > (The Microsoft I was reading had to do with Speech and with Tablet > PCs. I stopped reading them when I realized that -- as > little as I knew about these development kits -- I knew much more than > 95% of the people posting questions.) > > RJF Wow.

[sage-devel] Re: barriers to community growth

2009-08-12 Thread Bill Page
On Sat, Jul 25, 2009 at 8:01 PM, William Stein wrote: > ... I recently started playing around with Virtual Box again, > and think it's made a lot of improvements in Version 3.x, and > that we should consider switching to it from vmware for the > sage windows virtual machine. > +1 Unlike vmware

[sage-devel] Re: barriers to community growth

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 10:54 AM, Bill Page wrote: > > On Sat, Jul 25, 2009 at 8:01 PM, William Stein wrote: > >> ... I recently started playing around with Virtual Box again, >> and think it's made a lot of improvements in Version 3.x, and >> that we should consider switching to it from vmware fo

[sage-devel] Re: barriers to community growth

2009-08-12 Thread Harald Schilly
On Aug 12, 8:04 pm, William Stein wrote: > > At this point VirtualBox is like a massive breath of fresh air > compared to vmware ... and don't forget, virtualbox has a python API. That might be useful sometimes and fits perfectly. H --~--~-~--~~~---~--~~ To p

[sage-devel] Re: barriers to community growth

2009-08-12 Thread Ondrej Certik
On Wed, Aug 12, 2009 at 12:58 PM, Harald Schilly wrote: > > On Aug 12, 8:04 pm, William Stein wrote: >> >> At this point VirtualBox is like a massive breath of fresh air >> compared to vmware > > ... and don't forget, virtualbox has a python API. That might be > useful sometimes and fits perf

[sage-devel] Re: Test failures with sage-4.1.1.rc0 with Maxima 5.19.0

2009-08-12 Thread David Joyner
On Wed, Aug 12, 2009 at 12:06 PM, Juan Jose Garcia-Ripoll wrote: > > On Tue, Aug 11, 2009 at 10:31 PM, Juan Jose > Garcia-Ripoll wrote: >> On Tue, Aug 11, 2009 at 10:23 PM, Dr. David >> Kirkby wrote: maxima seemed to install fine on an intel macbook running 10.4.11.[...] However, the ecl

[sage-devel] Re: Test failures with sage-4.1.1.rc0 with Maxima 5.19.0

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 4:05 PM, David Joyner wrote: > > On Wed, Aug 12, 2009 at 12:06 PM, Juan Jose > Garcia-Ripoll wrote: >> >> On Tue, Aug 11, 2009 at 10:31 PM, Juan Jose >> Garcia-Ripoll wrote: >>> On Tue, Aug 11, 2009 at 10:23 PM, Dr. David >>> Kirkby wrote: > maxima seemed to install fin

[sage-devel] Re: barriers to community growth

2009-08-12 Thread ghtdak
Something to be aware of WRT VirtualBox. The VM doesn't have a true clock so VirtualBox has "client code" which updates the guest's clock periodically... but in-between updates the clock can be very far off. Not sure to what degree this can be adjusted. This seems to have gotten significantly wor

[sage-devel] Re: elliptic_e(0.5, 0.1) differs from Mathematica 7 by about 0.04%.

2009-08-12 Thread David Kirkby
On 11 Aug, 22:50, William Stein wrote: > > It's actually interesting to summarize, the specific constraints I am aware > of: > >    1. A major government agency -- we can't use Sage unless you > provide a version that contains no binary components and that builds > from source using the latest

[sage-devel] Re: GCC requirements for OS X

2009-08-12 Thread David Kirkby
On 12 Aug, 08:21, William Stein wrote: > >> Anyway, it seems like we should do something like print a huge warning > >> and an interactive "are you sure you want to continue? [yes/no]" if > >> the > >> "(Apple Inc. Build )" has < some_arbitrary_number, where the > >> arbitrary number i

[sage-devel] Using of 'set -e' in spkg-install

2009-08-12 Thread David Kirkby
I just created a new .spkg for ECL, as it has been updated to 9.8.3 (I'll post it once I have tested it). In the spkg-install there was a bit of code to copy a patch #!/usr/bin/env bash if [ -z "$SAGE_LOCAL" ] ; then echo "SAGE_LOCAL undefined ... exiting"; echo "Maybe run 'sage -sh'?"

[sage-devel] Re: elliptic_e(0.5, 0.1) differs from Mathematica 7 by about 0.04%.

2009-08-12 Thread William Stein
On Wed, Aug 12, 2009 at 9:33 PM, rjf wrote: > So it seems that people are being encouraged (coerced?) into > delivering and debugging and using a (probably inferior) Maxima by the > requirements of he-who-must-not-be-named. Please post future messages flaming me to sage-flame where they belong:

[sage-devel] Re: elliptic_e(0.5, 0.1) differs from Mathematica 7 by about 0.04%.

2009-08-12 Thread rjf
Regarding shipping 2 lisps: I thought Sage already knew how to ship a kit for CLISP, because that is what Sage was using for Maxima a year ago. So the Sage project is already building the second lisp from scratch now, voluntarily. ECL. But you don't really have to generally ship 2 lisps, it see