[sage-devel] Re: singular-3.0.2-20070506-2226 compile failure on cygwin

2007-05-07 Thread Martin Albrecht

On Monday 07 May 2007 07:59, mabshoff wrote:
  Both fixed in:
 
/home/malb/pkgs/singular-3-0-2-20070507-0123.spkg
 
  IIRC Nick reported that the libsingular stuff works on OSX/PPC for him,
  so this spkg should _build_ on all SAGE supported platforms. Reports are
  very welcome. I think there is an issue when importing (to SAGE)
  libsingular.dll under CYGWIN which I will fix tomorrow. But this
  shouldn't affect make test.
 
  Thanks to everybody helping out so far!
  Martin
  --

 Hello,

 at least on cygwin libsingular still fails to build. Singular.exe
 seems to work. In addition it seems that a failure during the singular
 build screws up python as well as some other components, i.e. import
 md5 fails. Rebuilding python fixes that, but then pyres has some
 rather odd problems, spkg-install in the singular build directory then
 fails due to a missing gmp.

 The problem with libsingular seems to be that certain symbols cannot
 be exported. The package also still has a libsingular.dylib copy in
 it. Can you check with your build whether/how we delete bits?
 Restarting from scratch is rather expensive on cygwin :(

Dang, as the Windows FS is case insensitive make clean actually nuked the 
complete local/lib subdirectory. That means that I have to start from scratch  
i.e. as a compile will take at least 10 hours so do not expect results 
soon :-(.

Martin


-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: sage-2.5.alpha3

2007-05-07 Thread Bill Hart


William Stein wrote:
  * w hart: quadratic sieve update (SAGE's qsieve command):
 It is MUCH faster,
especially for large factorizations, on account
 of having implemented the
large prime variant. it will factor an 81 digit
 number in  20 minutes.
On the Athlon it is the fastest generally
 available implementation of the
quadratic sieve in the world for certain sized
 factorizations, and
only slightly behind at other sizes.
Another example: n =
 next_prime(2^110)*next_prime(2^120) has these
times on 32-bit 2Ghz linux: qsieve (107s), PARI
 (223s), Magma 2.13 (336s).

Whoops, sorry, I've given you some wrong info William. That should
have read well under 30 minutes.

Also, unfortunately Jason P didn't take my Athlon improvements lying
down. He's released a new version of msieve which again beats my sieve
comprehensively on the Athlon. Work continues... At any rate, we are
still miles ahead of LiDIA, MAGMA and Pari, etc.

I also forgot to mention, the tuning parameters for the Athlon are
currently commented out in QS.cpp. The tuning that is currently
activated is for sage.math, i.e. 2.2GHz Opteron. Sorry about that. It
appears I never got around to updating the makefile to take the
architecture into account.

Actually, if there is anyone who knows a lot about makefiles, I could
really use a hand with this. C I know. makefile language I do not.

Bill.


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: sage-2.5.alpha3

2007-05-07 Thread Joel B. Mohler

To add to the success reports.
Gentoo (Pentium 4):

Builds fine and ...

--
All tests passed!
Total time for all tests: 1569.5 seconds

--
Joel

On Sun, May 06, 2007 at 09:24:19AM -0700, William Stein wrote:
 
 Hello,
 
 I've posted sage-2.5.alpha3 here:
 
http://sage.math.washington.edu/home/was/sage2.5/
 
 Feedback is welcome.   This still won't build on OS X PowerPC or
 Cygwin, but should build on Linux and Intel OS X and pass make test
 there.  Also, it should have most code that people have sent me for
 inclusion in SAGE.   The official sage-2.5 is getting close, so any
 testing feedback is greatly appreciated.  In particular, if people
 could try out some of the new features in sage-2.5, especially symbolic
 computation, this would be quite valuable.
 
 Here's a list of the main things that are new in sage-2.5.alpha3:
 
 2.5: * new packages:
  - flintqs
  - ipython-0.8.0 (w stein)
  - maxima-5.12.0 (w stein)
  - python-2.5.1 (y qiang) -- important bug fixes
  - tachyon3d-0.98beta (w stein)
  * m abshoff:  cputime bugfix for cygwin
  * m albrecht: major new singular library mode interface for SAGE 
 which
provides the world's fastest polynomial
 arithmetic to SAGE (not
yet enabled by default!)
  * r bradshaw: tons of polynomial and power series optimizations;
Coleman p-adic integration; Kedlaya for genus  1
  * t clemens:  source browser bugfix
  * p de napoli:fix some bugs in rationals and integers
  * d deshomme: (refereed by r bradshaw and w stein) very good support
for Hida's quad-double field RQDF.
  * w hart: quadratic sieve update (SAGE's qsieve command):
 It is MUCH faster,
especially for large factorizations, on account
 of having implemented the
large prime variant. it will factor an 81 digit
 number in  20 minutes.
On the Athlon it is the fastest generally
 available implementation of the
quadratic sieve in the world for certain sized
 factorizations, and
only slightly behind at other sizes.
Another example: n =
 next_prime(2^110)*next_prime(2^120) has these
times on 32-bit 2Ghz linux: qsieve (107s), PARI
 (223s), Magma 2.13 (336s).
  * d harvey:   improvements, bug fixes.
  * d kohel:quaternion algebra improvements
  * k minola:   tmp file clean bugfix; misc build fixes.
  * k minola, d joyner:  updated the conway polynomial table
  * w stein and b moretti: major new symbolic calculus functionality
  * w stein:rewrite of SAGE/maxima interface.
  * c witty:(refereed by n alexandar) a new algebraic reals field
(Qbar meet RR!).  mpfr improvements
 
 

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Tate's algorithm over number fields

2007-05-07 Thread William Stein

Hello,

(Ignore this email if you are not a number theorist.)

If anybody wants to implement Tate's algorithm i SAGE over number fields
(for elliptic curve conductors, etc.) now is a good time.  John Cremona
just GPL'd his MAGMA program for Tate's algorithm.  See

  http://www.sagemath.org:9002/sage_trac/ticket/361

for more details.

-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: web page redesign

2007-05-07 Thread alex clemesha
Hello,

First off, nice job with the redesigning of the SAGE site, it's looking
good.

About the sage logo, it's cool you guys want to display it as the
icon for sage, thanks.

On the other hand, it's true that look can come off being a little cryptic,
but I wanted it to look 'fast' and 'cool' and the 'a' and 'g' come together
to
form an infinity sign, which just screams 'cool math' ;)

I would definitely like to help making it more clear to read, but I not
sure yet how to exactly do that ... I kind of like the way the shape of
the logo is (btw, it looks a little squished on the homepage),
but maybe I could accent the 'a' to make it stand out, or maybe add
more of an outline to all the letters to make them all stand out,
or maybe just add some text below like:
SAGE: Free Open Source Mathematics Software (or some shorter catch-line)
in stylized text to make it clear what the logo says above.

I'm open to any ideas, thanks,
-Alex


On 5/6/07, mabshoff [EMAIL PROTECTED]
wrote:


 Hello,

  To be clear, it's the way the 'a' and 'g' are joined, together with
  the 'type face', that makes for a complex visual experience (:-}), at
  least for me.  I think the idea can be maintained, if the visual
  aspect is modified slightly.  But again, since I'm a part-time
  engineer with no artistic capability, I have lots of opinions about
  this stuff...
 
  Justin

 I really like the logo sagelogo.png and would suggest using it as
 icon for the installer/dmg/desktop link on windows because it should
 scale down much better than the png that is attached to sage-devel.

 Cheers,

 Michael


 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: web page redesign

2007-05-07 Thread Robert Miller

Perhaps you could have the menus that appear at the top and bottom of
the main page appear on each sub-page, as well as the grey borders. It
would give the overall site more consistency, and give the user a
feeling of still being at the same site. You could add the download,
documentation, etc. links to the menus on the sub-pages too. It's good
for a user to be able to navigate from any page towards where they're
trying to get.

The front page is quite nice. As I continue to navigate downward (as a
n00b user), I keep seeing comforting familiar things, like Gnu,
Python, and Firefox, and I start to think, what is this new,
intriguing math software wait it's *free*!?

I completely disagree that two columns are confusing. The fundamental
flaw of so many annoying websites is an abundance of gimmicks and no
real content. Personally, I hate mouseOver effects.

One reaction I had was to instead of an obscure language designed for
mathematics. ...designed for, maybe a particular mathematics program,
or... there's something kind of pejorative about the way the word
mathematics fits in there... And there are still critics out there who
might say Python was such (although, to hell with 'em).

And of course I liked the first graphic...


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: sage-2.5.alpha3

2007-05-07 Thread Hamptonio

For my OS X intel mac pro:

All tests passed!
Total time for all tests: 1516.7 seconds

I also fired up the notebook and ran a few pieces of my own code, no
problems.

Marshall Hampton

On May 6, 11:24 am, William Stein [EMAIL PROTECTED] wrote:
 Hello,

 I've posted sage-2.5.alpha3 here:

http://sage.math.washington.edu/home/was/sage2.5/

 Feedback is welcome.   This still won't build on OS X PowerPC or
 Cygwin, but should build on Linux and Intel OS X and pass make test
 there.  Also, it should have most code that people have sent me for
 inclusion in SAGE.   The official sage-2.5 is getting close, so any
 testing feedback is greatly appreciated.  In particular, if people
 could try out some of the new features in sage-2.5, especially symbolic
 computation, this would be quite valuable.

 Here's a list of the main things that are new in sage-2.5.alpha3:

 2.5: * new packages:
  - flintqs
  - ipython-0.8.0 (w stein)
  - maxima-5.12.0 (w stein)
  - python-2.5.1 (y qiang) -- important bug fixes
  - tachyon3d-0.98beta (w stein)
  * m abshoff:  cputime bugfix for cygwin
  * m albrecht: major new singular library mode interface for SAGE 
 which
provides the world's fastest polynomial
 arithmetic to SAGE (not
yet enabled by default!)
  * r bradshaw: tons of polynomial and power series optimizations;
Coleman p-adic integration; Kedlaya for genus  1
  * t clemens:  source browser bugfix
  * p de napoli:fix some bugs in rationals and integers
  * d deshomme: (refereed by r bradshaw and w stein) very good support
for Hida's quad-double field RQDF.
  * w hart: quadratic sieve update (SAGE's qsieve command):
 It is MUCH faster,
especially for large factorizations, on account
 of having implemented the
large prime variant. it will factor an 81 digit
 number in  20 minutes.
On the Athlon it is the fastest generally
 available implementation of the
quadratic sieve in the world for certain sized
 factorizations, and
only slightly behind at other sizes.
Another example: n =
 next_prime(2^110)*next_prime(2^120) has these
times on 32-bit 2Ghz linux: qsieve (107s), PARI
 (223s), Magma 2.13 (336s).
  * d harvey:   improvements, bug fixes.
  * d kohel:quaternion algebra improvements
  * k minola:   tmp file clean bugfix; misc build fixes.
  * k minola, d joyner:  updated the conway polynomial table
  * w stein and b moretti: major new symbolic calculus functionality
  * w stein:rewrite of SAGE/maxima interface.
  * c witty:(refereed by n alexandar) a new algebraic reals field
(Qbar meet RR!).  mpfr improvements


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: web page redesign

2007-05-07 Thread Robert Bradshaw

On May 6, 2007, at 12:37 AM, William Stein wrote:

 Hi,

 I'm doing a redesign of the SAGE website to target SAGE much
 more at end users rather than developers (I think the tipping
 point has now arrived, since about 500 people downloaded
 SAGE in the last two weeks...)  Anyways, your comments
 on the mockup here would be welcome:
http://sage.math.washington.edu/home/was/rc/web/index.html
 (Note that links to actual downloads etc might not work.)
 My questions are mainly:
   (1) do the pages look:
  -- visually appealing
  -- simple and clean
  -- convey all the necessary information (i.e., I'm not missing
  key things that used to be there)

I really like new, clean user-targeted design. I might be coming a  
little late into the discussion, but I did have some additional  
thoughts.

I might add a couple of links to some of the graphics (which wouldn't  
visually change the page at all). Like to the GNU icon, a link either  
to something on the gnu website (though often their treatment of the  
topic is a bit heavy-handed) or preferably to a page containing that  
quote about the Sylow theorems and a link to browsing the entire  
source. The python one could link to the python page (for people  
coming from the mathematics side of things) and the Use most  
matematics software... could link to a list of interfaces (perhaps  
this list could be merged in with the components. I'm not sure Be  
curious could link to a relevant page in the tutorial.

I think the text for the download blurb makes it a bit confusing as  
to what SAGE actually is. Perhaps something along the lines of

SAGE is available for Windows, Mac OS X, and Linux. SAGE also makes  
it very easy to install or build from source most major open source  
math programs. Download SAGE here.

I think the Try SAGE online link(s) need to be much more prominent,  
perhaps even placed somewhere in that last paragraph.

   (2) does the text on the front page reasonably convey what
SAGE is to somebody who say has never heard of programs
like GAP and PARI, and just wants to know if SAGE might
be for them?

Yes, though perhaps it could do a better job of presenting itself to  
people who do use these systems. I'm not sure how redundant this  
would be with the next paragraph, but perhaps something could be  
added to the second paragraph to the effect that SAGE leverages/ 
includes existing high-quality open source math packages such as...

   (3) Does the front page text seem to much like sales talk?
Compared to Maple or Mathematica's web pages it's nothing
(those pages are gut-wrenchingly obnoxious),
but it might still be too much.

I don't think so.


- Robert


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: web page redesign

2007-05-07 Thread David Harvey

I'm slightly concerned about using the GNU logo. To my eyes it suggests 
that SAGE is part of the GNU project, which it's not. The GNU logo to 
me says more GNU project than free software. The Python and Firefox 
logos somehow don't give that impression, I guess because I usually 
think of GNU as an umbrella project, whereas I think of Python and 
Firefox as more specific, and I see them all over the place all the 
time.

David


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: sage-2.5.alpha3

2007-05-07 Thread Kate


William,

sage-2.5.alpha3 successfully passes all tests on my x86-Linux and
x86_64-Linux machines.  (I believe this is the first time that sage
has
passed ALL the tests for me.  Yeah!)

It fails the following two tests on my ia64-Linux machine:

 devel/sage-main/sage/plot/plot.py
   *** *** Error: TIMED OUT! *** ***

 devel/sage-main/sage/schemes/elliptic_curves/ell_generic.py

First error message is:

File ell_generic.py, line 220:
sage: eqn = symbolic_expression(E); eqn
Exception raised:
Traceback (most recent call last):
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/docte
st.py, line 1212, in __run
compileflags, 1) in test.globs
  File doctest __main__.example_4[2], line 1, in module
eqn = symbolic_expression(E); eqn###line 220:
sage: eqn = symbolic_expression(E); eqn
  File sage_object.pyx, line 87, in
sage_object.SageObject.__repr__
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/calculus/equations.py, line 114, in _repr_
return %s%s%s %(paren(self._left), symbols[self._op],
paren(self._righ
t))
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/calculus/equations.py, line 70, in paren
return '(%s)'%repr(x)
  File sage_object.pyx, line 87, in
sage_object.SageObject.__repr__
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/calculus/calculus.py, line 2530, in _repr_
return self.simplify()._repr_(simplify=False)
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/calculus/calculus.py, line 1750, in simplify
S =
evaled_symbolic_expression_from_maxima_string(self._maxima_init_())
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/calculus/calculus.py, line 4555, in
evaled_symbolic_expression_fr
om_maxima_string
return symbolic_expression_from_maxima_string(maxima.eval(x))
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/interfaces/expect.py, line 506, in eval
return '\n'.join([self._eval_line(L) for L in code.split('\n')
if L != '
'])
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/interfaces/maxima.py, line 531, in _eval_line
self._sendline(line)
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/interfaces/maxima.py, line 424, in _sendline
self._sendstr(str)
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/interfaces/maxima.py, line 429, in _sendstr
self._start()
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/interfaces/maxima.py, line 414, in _start
Expect._start(self)
  File /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/lib/
python2.5/site-
packages/sage/interfaces/expect.py, line 317, in _start
raise RuntimeError, Unable to start %s%self.__name
RuntimeError: Unable to start maxima


When I run /home/kate/sage/sage-2.5.alpha3-ia64-Linux/local/bin/
maxima
I get the maxima startup banner.

Kate Minola
University of Maryland, College Park



--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: web page redesign

2007-05-07 Thread Timothy Clemans

 I intend to.  It's some work automate adding that content to each sub-page,
 so I wanted to make sure the design is solid before doing that.

Apache Tutorial: Introduction to Server Side Includes
http://httpd.apache.org/docs/1.3/howto/ssi.html

You could use h2, float, and margin to remove a lot of the table stuff
and html spaces.

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: web page redesign

2007-05-07 Thread Timothy Clemans

 It would be easy -- and it is tempting -- to add dozens of links
 all over the page.  Almost every word could be a link, e.g., to
 the mathematica website, to the MAGMA website, to the Singular
 website, to the FSF, etc. I have purposely avoided doing so.

I think that it would be helpful if there were links to pages about
the various parts of SAGE such as the Magma interface and a comparison
between the two.

On the part about the Notebook there should be mention that it is not
supported in IE.

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] sage2.5alpha2 attach bug

2007-05-07 Thread Jonathan Bober

I haven't tried alpha3 yet, but I just came across a problem that must
have popped up somewhere between alpha0 and alpha2, unless its just a
problem with my installation. Here it is. I'll try alpha3 when I get a
chance. (This does not happen in alpha0.)

sage: attach something.sage
---
type 'exceptions.AttributeError'Traceback (most recent call last)

/home/bober/math/misc/ipython console in module()

/home/bober/sage2.5/sage-2.5.alpha2/local/lib/python2.5/site-packages/IPython/iplib.py
 in ipmagic(self, arg_s)
955 else:
956 magic_args = self.var_expand(magic_args,1)
-- 957 return fn(magic_args)
958 
959 def ipalias(self,arg_s):

/home/bober/sage2.5/sage-2.5.alpha2/local/lib/python2.5/site-packages/IPython/Magic.py
 in magic_run(self, parameter_s, runner)
   1674 if restore_main:
   1675 sys.modules['__main__'] = restore_main
- 1676 self.shell.reloadhist()
   1677 
   1678 return stats

/home/bober/sage2.5/sage-2.5.alpha2/local/lib/python2.5/site-packages/IPython/iplib.py
 in reloadhist(self)
   1255 
   1256 if self.has_readline:
- 1257 self.readline.clear_history()
   1258 self.readline.read_history_file(self.shell.histfile)
   1259 

type 'exceptions.AttributeError': 'module' object has no attribute 
'clear_history'
sage: 



--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: sage2.5alpha2 attach bug

2007-05-07 Thread Justin C. Walker


On May 7, 2007, at 2:49 PM, Jonathan Bober wrote:


 I haven't tried alpha3 yet, but I just came across a problem that must
 have popped up somewhere between alpha0 and alpha2, unless its just a
 problem with my installation. Here it is. I'll try alpha3 when I get a
 chance. (This does not happen in alpha0.)

 sage: attach something.sage
 -- 
 -
 type 'exceptions.AttributeError'Traceback (most recent  
 call last)

It would help to know:
  - OS/version, platform
  - is 'something.sage' the same as 'anything.sage', or is it a specific
file that causes the problem?
FWIW, I have no problem attaching 'onespecificfile.sage' in alpha2 on  
Mac OS X/MacBook Pro.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income

Experience is what you get
   when you don't get what you want.





--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: sage2.5alpha2 attach bug

2007-05-07 Thread Jonathan Bober

Sorry. I definitely should have been more specific.

This is on Ubuntu 7.04, x86 32-bit (Core Duo), and it happens for any
file (.sage or .py). Specifically, when I tried this example,
'something.sage' was a file containing a single function definition. It
also happens if the file is empty.

I just started compiling alpha3, so, I'll report back shortly.

On Mon, 2007-05-07 at 16:36 -0700, Justin C. Walker wrote:
 
 On May 7, 2007, at 2:49 PM, Jonathan Bober wrote:
 
 
  I haven't tried alpha3 yet, but I just came across a problem that must
  have popped up somewhere between alpha0 and alpha2, unless its just a
  problem with my installation. Here it is. I'll try alpha3 when I get a
  chance. (This does not happen in alpha0.)
 
  sage: attach something.sage
  -- 
  -
  type 'exceptions.AttributeError'Traceback (most recent  
  call last)
 
 It would help to know:
   - OS/version, platform
   - is 'something.sage' the same as 'anything.sage', or is it a specific
 file that causes the problem?
 FWIW, I have no problem attaching 'onespecificfile.sage' in alpha2 on  
 Mac OS X/MacBook Pro.
 
 Justin
 
 --
 Justin C. Walker, Curmudgeon-At-Large
 Institute for the Enhancement of the Director's Income
 
 Experience is what you get
when you don't get what you want.
 
 
 
 
 
  
 
 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: sage2.5alpha3 attach bug

2007-05-07 Thread Jonathan Bober

I'm still getting the same error with alpha3, reproduced again below.
This also affects the load command, and the load command now gives
other errors if quotes are not used (these are below). All of these
commands worked fine with 2.5alpha0, but not 2.5alpha2.

The IPython version included in SAGE did change between alpha0 and
alpha2, so maybe the problem lies somewhere in that change - although
that is just an ignorant guess.

Incidentally, there were no problems with

[EMAIL PROTECTED]:~/sage2.5/sage-2.5.alpha3$ math test
[...]
--
All tests passed!
Total time for all tests: 991.1 seconds
[EMAIL PROTECTED]:~/sage2.5/sage-2.5.alpha3$ 

Once again, this is occurring on Ubuntu 7.04 on an Intel Core Duo (32
bit). And, below, something.sage should really be replaced with
anything.sage. This seems to happen with any file.

I might try to figure out what's going on tomorrow, if the problem still
exists then, since, at least so far, this is platform specific to me.



sage: attach /home/bober/math/misc/something.sage
---
type 'exceptions.AttributeError'Traceback (most recent call
last)

/home/bober/sage2.5/sage-2.5.alpha3/ipython console in module()

/home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/iplib.py
 in ipmagic(self, arg_s)
955 else:
956 magic_args = self.var_expand(magic_args,1)
-- 957 return fn(magic_args)
958 
959 def ipalias(self,arg_s):

/home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/Magic.py
 in magic_run(self, parameter_s, runner)
   1674 if restore_main:
   1675 sys.modules['__main__'] = restore_main
- 1676 self.shell.reloadhist()
   1677 
   1678 return stats

/home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/iplib.py
 in reloadhist(self)
   1255 
   1256 if self.has_readline:
- 1257 self.readline.clear_history()
   1258 self.readline.read_history_file(self.shell.histfile)
   1259 

type 'exceptions.AttributeError': 'module' object has no attribute
'clear_history'
sage: load /home/bober/math/misc/something.sage
---
type 'exceptions.AttributeError'Traceback (most recent call
last)

/home/bober/sage2.5/sage-2.5.alpha3/ipython console in module()

/home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/iplib.py
 in ipmagic(self, arg_s)
955 else:
956 magic_args = self.var_expand(magic_args,1)
-- 957 return fn(magic_args)
958 
959 def ipalias(self,arg_s):

/home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/Magic.py
 in magic_run(self, parameter_s, runner)
   1674 if restore_main:
   1675 sys.modules['__main__'] = restore_main
- 1676 self.shell.reloadhist()
   1677 
   1678 return stats

/home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/iplib.py
 in reloadhist(self)
   1255 
   1256 if self.has_readline:
- 1257 self.readline.clear_history()
   1258 self.readline.read_history_file(self.shell.histfile)
   1259 

type 'exceptions.AttributeError': 'module' object has no attribute
'clear_history' 
sage: load /home/bober/math/misc/something.sage
---
type 'exceptions.NameError' Traceback (most recent call
last)

/home/bober/sage2.5/sage-2.5.alpha3/ipython console in module()

type 'exceptions.NameError': name 'home' is not defined
sage: load something.sage

   File ipython console, line 1
 load something.sage
  ^
type 'exceptions.SyntaxError': invalid syntax

sage: 





On Mon, 2007-05-07 at 19:57 -0400, Jonathan Bober wrote:
 Sorry. I definitely should have been more specific.
 
 This is on Ubuntu 7.04, x86 32-bit (Core Duo), and it happens for any
 file (.sage or .py). Specifically, when I tried this example,
 'something.sage' was a file containing a single function definition. It
 also happens if the file is empty.
 
 I just started compiling alpha3, so, I'll report back shortly.



--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Problems with symbolic differentiation

2007-05-07 Thread Nick Alexander


The following transcript shows some problems with the new (and rather
cool) symbolic package.  Perhaps someone in the know could address
them, or file the relevant trac issue?

Nick

sage: exp(x*t).diff(t, 2)
 xe

sage: exp(x^2*t).diff(t, 2)
 xe

sage: exp(x^2*e^t).diff(t, 2)
---
type 'exceptions.TypeError' Traceback (most recent call last)

/Users/nalexand/Documents/School/MATH235/ipython console in module()

/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py
 in derivative(self, *args)
   1058 pass
   1059 t = maxima('diff(%s, %s)'%(self._maxima_().name(), s))
- 1060 f = self.parent()(t)
   1061 return f
   1062 

/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py
 in __call__(self, x)
281 elif hasattr(x, '_symbolic_'):
282 return x._symbolic_(self)
-- 283 return self._coerce_impl(x)
284 
285 def _coerce_impl(self, x):

/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py
 in _coerce_impl(self, x)
289 return x
290 elif isinstance(x, MaximaElement):
-- 291 return symbolic_expression_from_maxima_element(x)
292 elif is_Polynomial(x) or is_MPolynomial(x):
293 return SymbolicPolynomial(x)

/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py
 in symbolic_expression_from_maxima_element(x)
   4411 
   4412 def symbolic_expression_from_maxima_element(x):
- 4413 return symbolic_expression_from_maxima_string(x.name())
   4414 
   4415 def evaled_symbolic_expression_from_maxima_string(x):

/Users/nalexand/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py
 in symbolic_expression_from_maxima_string(x, equals_sub, maxima)
   4406 return x
   4407 except SyntaxError:
- 4408 raise TypeError, unable to make sense of Maxima expression 
'%s' in SAGE%s
   4409 finally:
   4410 is_simplified = False

type 'exceptions.TypeError': unable to make sense of Maxima expression 
'x(ex+1)e' in SAGE

sage: exp(x^2*e^t).diff(t, 1)
 xe

sage: exp(x^2*e^t).diff(t)
 xe

sage: exp(x^2*exp(t)).diff(t)
 xe

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: Problems with symbolic differentiation

2007-05-07 Thread William Stein

On 5/7/07, Nick Alexander [EMAIL PROTECTED] wrote:
 The following transcript shows some problems with the new (and rather
 cool) symbolic package.  Perhaps someone in the know could address
 them, or file the relevant trac issue?

Nick,

I tried these examples in sage-2.5.alpha3 on several platforms
and in all cases they work perfectly.  What version of SAGE, what
platform, etc.?


 Nick

 sage: exp(x*t).diff(t, 2)
  xe

 sage: exp(x^2*t).diff(t, 2)
  xe

 sage: exp(x^2*e^t).diff(t, 2)
 ---
 type 'exceptions.TypeError' Traceback (most recent call last)

 /Users/nalexand/Documents/School/MATH235/ipython console in module()

 /Users/nalexand/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py
  in derivative(self, *args)
1058 pass
1059 t = maxima('diff(%s, %s)'%(self._maxima_().name(), s))
 - 1060 f = self.parent()(t)
1061 return f
1062

 /Users/nalexand/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py
  in __call__(self, x)
 281 elif hasattr(x, '_symbolic_'):
 282 return x._symbolic_(self)
 -- 283 return self._coerce_impl(x)
 284
 285 def _coerce_impl(self, x):

 /Users/nalexand/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py
  in _coerce_impl(self, x)
 289 return x
 290 elif isinstance(x, MaximaElement):
 -- 291 return symbolic_expression_from_maxima_element(x)
 292 elif is_Polynomial(x) or is_MPolynomial(x):
 293 return SymbolicPolynomial(x)

 /Users/nalexand/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py
  in symbolic_expression_from_maxima_element(x)
4411
4412 def symbolic_expression_from_maxima_element(x):
 - 4413 return symbolic_expression_from_maxima_string(x.name())
4414
4415 def evaled_symbolic_expression_from_maxima_string(x):

 /Users/nalexand/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py
  in symbolic_expression_from_maxima_string(x, equals_sub, maxima)
4406 return x
4407 except SyntaxError:
 - 4408 raise TypeError, unable to make sense of Maxima expression 
 '%s' in SAGE%s
4409 finally:
4410 is_simplified = False

 type 'exceptions.TypeError': unable to make sense of Maxima expression 
 'x(ex+1)e' in SAGE

 sage: exp(x^2*e^t).diff(t, 1)
  xe

 sage: exp(x^2*e^t).diff(t)
  xe

 sage: exp(x^2*exp(t)).diff(t)
  xe

 



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: sage2.5alpha3 attach bug

2007-05-07 Thread William Stein

Hi Jonathan,

Thanks for the bug report.  I've fixed this for sage-2.5. The problem
was due to a switch from the string type to a unicode type in the
new version of IPYthon.

William

On 5/7/07, Jonathan Bober [EMAIL PROTECTED] wrote:

 I'm still getting the same error with alpha3, reproduced again below.
 This also affects the load command, and the load command now gives
 other errors if quotes are not used (these are below). All of these
 commands worked fine with 2.5alpha0, but not 2.5alpha2.

 The IPython version included in SAGE did change between alpha0 and
 alpha2, so maybe the problem lies somewhere in that change - although
 that is just an ignorant guess.

 Incidentally, there were no problems with

 [EMAIL PROTECTED]:~/sage2.5/sage-2.5.alpha3$ math test
 [...]
 --
 All tests passed!
 Total time for all tests: 991.1 seconds
 [EMAIL PROTECTED]:~/sage2.5/sage-2.5.alpha3$

 Once again, this is occurring on Ubuntu 7.04 on an Intel Core Duo (32
 bit). And, below, something.sage should really be replaced with
 anything.sage. This seems to happen with any file.

 I might try to figure out what's going on tomorrow, if the problem still
 exists then, since, at least so far, this is platform specific to me.



 sage: attach /home/bober/math/misc/something.sage
 ---
 type 'exceptions.AttributeError'Traceback (most recent call
 last)

 /home/bober/sage2.5/sage-2.5.alpha3/ipython console in module()

 /home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/iplib.py
  in ipmagic(self, arg_s)
 955 else:
 956 magic_args = self.var_expand(magic_args,1)
 -- 957 return fn(magic_args)
 958
 959 def ipalias(self,arg_s):

 /home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/Magic.py
  in magic_run(self, parameter_s, runner)
1674 if restore_main:
1675 sys.modules['__main__'] = restore_main
 - 1676 self.shell.reloadhist()
1677
1678 return stats

 /home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/iplib.py
  in reloadhist(self)
1255
1256 if self.has_readline:
 - 1257 self.readline.clear_history()
1258 self.readline.read_history_file(self.shell.histfile)
1259

 type 'exceptions.AttributeError': 'module' object has no attribute
 'clear_history'
 sage: load /home/bober/math/misc/something.sage
 ---
 type 'exceptions.AttributeError'Traceback (most recent call
 last)

 /home/bober/sage2.5/sage-2.5.alpha3/ipython console in module()

 /home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/iplib.py
  in ipmagic(self, arg_s)
 955 else:
 956 magic_args = self.var_expand(magic_args,1)
 -- 957 return fn(magic_args)
 958
 959 def ipalias(self,arg_s):

 /home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/Magic.py
  in magic_run(self, parameter_s, runner)
1674 if restore_main:
1675 sys.modules['__main__'] = restore_main
 - 1676 self.shell.reloadhist()
1677
1678 return stats

 /home/bober/sage2.5/sage-2.5.alpha3/local/lib/python2.5/site-packages/IPython/iplib.py
  in reloadhist(self)
1255
1256 if self.has_readline:
 - 1257 self.readline.clear_history()
1258 self.readline.read_history_file(self.shell.histfile)
1259

 type 'exceptions.AttributeError': 'module' object has no attribute
 'clear_history'
 sage: load /home/bober/math/misc/something.sage
 ---
 type 'exceptions.NameError' Traceback (most recent call
 last)

 /home/bober/sage2.5/sage-2.5.alpha3/ipython console in module()

 type 'exceptions.NameError': name 'home' is not defined
 sage: load something.sage
 
File ipython console, line 1
  load something.sage
   ^
 type 'exceptions.SyntaxError': invalid syntax

 sage:





 On Mon, 2007-05-07 at 19:57 -0400, Jonathan Bober wrote:
  Sorry. I definitely should have been more specific.
 
  This is on Ubuntu 7.04, x86 32-bit (Core Duo), and it happens for any
  file (.sage or .py). Specifically, when I tried this example,
  'something.sage' was a file containing a single function definition. It
  also happens if the file is empty.
 
  I just started compiling alpha3, so, I'll report back shortly.



 



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to