[sage-devel] Re: C++ and Cython

2009-04-26 Thread Ondrej Certik
Hi Robert, On Sat, Apr 25, 2009 at 2:12 PM, Robert Bradshaw wrote: > > This summer Danilo Freitas got accepted to work on better C++ support > for Cython as a GSoC project. This is a great opportunity to make it > easier to wrap and use C++ code from Python. We are still in the > planning stages

[sage-devel] Re: C++ and Cython

2009-04-26 Thread Robert Bradshaw
On Apr 26, 2009, at 2:08 AM, Ondrej Certik wrote: > Hi Robert, > > On Sat, Apr 25, 2009 at 2:12 PM, Robert Bradshaw > wrote: >> >> This summer Danilo Freitas got accepted to work on better C++ support >> for Cython as a GSoC project. This is a great opportunity to make it >> easier to wrap and u

[sage-devel] Re: sage and symbolic software design

2009-04-26 Thread David Joyner
On Sat, Apr 25, 2009 at 9:59 PM, William Stein wrote: > > On Sat, Apr 25, 2009 at 11:43 AM, David Joyner wrote: >> >> Hi: >> >> I just started preparing for a talk next Friday in an >> NSF workshop on "Future Directions of Computaton >> Research" in the "Symbolic Software Design" section. Theref

[sage-devel] sage on ubuntu 9.04

2009-04-26 Thread David Joyner
Hi: I upgraded my phemon chip box to amd64 ubuntu 9.04 (jaunty jackalope) from 8.10. This is a brief report of its effect on Sage. The upgrade took 12 hours. The Sage binaries for 8.10 seem to run without problems. I installed sage 3.0.5 using "sudo apt-get install sagemath". It seems to have in

[sage-devel] Re: Sage 3.4.2.alpha0 released!

2009-04-26 Thread Justin C. Walker
On Apr 25, 2009, at 19:37 , mabshoff wrote: > > > > On Apr 25, 7:30 pm, kcrisman wrote: > > Hi, > >> Builds from scratch fine on OSX.4 on PPC G4. I do have a couple >> random things which came out of it, but I assume these are known - >> just in case, I post them: >> >> 1. I get this error mes

[sage-devel] Re: Final 3.4.1 source released

2009-04-26 Thread Harald Schilly
I just want to add that 3.4.1 compiles on my hp 2140 netbook (3.4 didn't) on a dual core Intel(R) Atom(TM) CPU N270 / model 28 All tests pass, except for a timeout in schemes/elliptic_curves/ ell_rational_field.py h --~--~-~--~~~---~--~~ To post to this group, sen

[sage-devel] Re: Final 3.4.1 source released

2009-04-26 Thread evan foss
How long did that take to build? On Sun, Apr 26, 2009 at 10:23 AM, Harald Schilly wrote: > > I just want to add that 3.4.1 compiles on my hp 2140 netbook (3.4 > didn't) on a dual core Intel(R) Atom(TM) CPU N270 / model 28 > > All tests pass, except for a timeout in schemes/elliptic_curves/ > ell

[sage-devel] Re: Final 3.4.1 source released

2009-04-26 Thread William Stein
On Sun, Apr 26, 2009 at 8:25 AM, evan foss wrote: > > How long did that take to build? I did a similar build and it took about 10 hours I think. Most of the time (maybe 2-4 hours?) is spent running the FLINT *test suite*, not building anything (so, I think running the FLINT test suite should be

[sage-devel] Re: Final 3.4.1 source released

2009-04-26 Thread Harald Schilly
On Apr 26, 5:25 pm, evan foss wrote: > How long did that take to build? don't know, some hours. .. started in the night before going to sleep and in the morning everything was done. i did a parallel make and i have 2 gb of ram. maybe 10 hours, but i think it was faster. h --~--~-~--~-

[sage-devel] fast_arith query

2009-04-26 Thread John Cremona
In sage/rings/fast_arith.pyx there are C int & long long versions of some utility functions, which I have just been adding to. All the functions come as _int and _llong (or _longlong) versions with practically identical code. Similarly in sage/modular/modsym/p1list.pyx there are various function

[sage-devel] Re: sage and symbolic software design

2009-04-26 Thread David Joyner
On Sat, Apr 25, 2009 at 9:59 PM, William Stein wrote: > > On Sat, Apr 25, 2009 at 11:43 AM, David Joyner wrote: >> >> Hi: >> >> I just started preparing for a talk next Friday in an >> NSF workshop on "Future Directions of Computaton >> Research" in the "Symbolic Software Design" section. Theref

[sage-devel] Functional derivative in Sage using pynac

2009-04-26 Thread Golam Mortuza Hossain
Hi, I am wondering whether anyone is implementing Functional derivative using pynac in Sage? http://en.wikipedia.org/wiki/Functional_derivative While searching through sage-devel list, I found that Tim Lahey had some mention about implementing variational calculus in Sage. Are there any recent

[sage-devel] Re: Sage 3.4.2.alpha0 released!

2009-04-26 Thread Jaap Spies
William Stein wrote: > On Fri, Apr 24, 2009 at 4:00 PM, Jaap Spies wrote: >> mabshoff wrote: >>> Hello folks, >>> >>> here goes 3.4.2.alpha0. It does not contain all the fixes I wanted, >>> but I merged two large (200kb+) patches (#5610 and #5848) that touched >>> a lot of files and that were in

[sage-devel] Re: Functional derivative in Sage using pynac

2009-04-26 Thread Tim Lahey
On Apr 26, 2009, at 2:29 PM, Golam Mortuza Hossain wrote: > > Hi, > > I am wondering whether anyone is implementing > Functional derivative using pynac in Sage? > > http://en.wikipedia.org/wiki/Functional_derivative > > While searching through sage-devel list, I found that Tim Lahey > had some m

[sage-devel] Re: sage on ubuntu 9.04

2009-04-26 Thread mabshoff
On Apr 26, 6:48 am, David Joyner wrote: > Hi: > > I upgraded my phemon chip box to amd64 ubuntu 9.04 (jaunty jackalope) > from 8.10. This is a brief report of its effect on Sage. > > The upgrade took 12 hours. I assume you mean the Ubunu update? > The Sage binaries for 8.10 seem to > run with

[sage-devel] Re: fast_arith query

2009-04-26 Thread William Stein
On Sun, Apr 26, 2009 at 10:41 AM, John Cremona wrote: > > In sage/rings/fast_arith.pyx there are C int & long long versions of > some utility functions, which I have just been adding to.  All the > functions come as _int and _llong (or _longlong) versions with > practically identical code. > > Si

[sage-devel] Re: sage on ubuntu 9.04

2009-04-26 Thread Tim Abbott
On Sun, 26 Apr 2009, mabshoff wrote: > > The Sage binaries for 8.10 seem to > > run without problems. I installed sage 3.0.5 using > > "sudo apt-get install sagemath". It seems to have installed okay > > but got this eror towards the end: > > > > " > > ... > > Processing triggers for python-suppo

[sage-devel] Re: sage on ubuntu 9.04

2009-04-26 Thread Tim Abbott
On Sun, 26 Apr 2009, David Joyner wrote: > It's great having Sage available from apt-get. Many thanks to Tim > Abbott for doing such a great job. > As a minor suggestion, I wonder if it is possible to add Sage as a > menu item in the next version? I think that asking for broad advertising like t

[sage-devel] Re: sage on ubuntu 9.04

2009-04-26 Thread mabshoff
On Apr 26, 11:50 am, Tim Abbott wrote: > On Sun, 26 Apr 2009, mabshoff wrote: > > Well, I am not 100% sure Sage will pass doctests with Python 2.6. I > > know that at leasy NetworkX does not work with Python 2.6 according to > > the author. Did you try to run doctests? > > The sagemath packa

[sage-devel] Re: sage on ubuntu 9.04

2009-04-26 Thread David Joyner
On Sun, Apr 26, 2009 at 2:42 PM, mabshoff wrote: > > > > On Apr 26, 6:48 am, David Joyner wrote: ... >> >> The upgrade took 12 hours. > > I assume you mean the Ubunu update? Yes. > ... > > Well, I am not 100% sure Sage will pass doctests with Python 2.6. I > know that at leasy NetworkX do

[sage-devel] Re: sage on ubuntu 9.04

2009-04-26 Thread mabshoff
On Apr 26, 11:53 am, David Joyner wrote: > On Sun, Apr 26, 2009 at 2:42 PM, mabshoff wrote: > > Well, I am not 100% sure Sage will pass doctests with Python 2.6. I > > know that at leasy NetworkX does not work with Python 2.6 according to > > the author. Did you try to run doctests? > > Yes

[sage-devel] Re: fast_arith query

2009-04-26 Thread John Cremona
2009/4/26 William Stein : >> >> Question:  in some cases the llong version, despite the name, uses int >> types.  Is that a mistake (from copying and pasting code without >> editing it properly)?  It looks so to me and I am in the process of >> changing where necessary. > > Be careful.  Maybe the

[sage-devel] Re: C++ and Cython

2009-04-26 Thread Ondrej Certik
On Sun, Apr 26, 2009 at 2:27 AM, Robert Bradshaw wrote: > > On Apr 26, 2009, at 2:08 AM, Ondrej Certik wrote: >> So when I am exposing a new class, i it's quite a lot of typing, >> especially the name of the C++ class has to be copied over and over >> again (e.g. in the definition of the new cons

[sage-devel] CompleteGraph(2).show()

2009-04-26 Thread Fidel
Hello! I'm running Sage Version 3.4, Release Date: 2009-03-11. I get some kind of error when I execute the comamnd sage: CompleteGraph(2).show() I get an error message starting with libpng error: Image width or height is zero in IHDR I get a similar error message or a very narrow image when

[sage-devel] Re: CompleteGraph(2).show()

2009-04-26 Thread mabshoff
On Apr 26, 2:31 pm, Fidel wrote: > Hello! Hi Fidel, > I'm running  Sage Version 3.4, Release Date: 2009-03-11. > > I get some kind of error when I execute the comamnd > > sage: CompleteGraph(2).show() > > I get an error message starting with > > libpng error: Image width or height is zero in

[sage-devel] Re: Functional derivative in Sage using pynac

2009-04-26 Thread Golam Mortuza Hossain
Hi Tim, On Sun, Apr 26, 2009 at 3:36 PM, Tim Lahey wrote: > I decided to wait until pynac had stabilized a bit and was better > integrated into the Sage which appears to be around the 4.0 timeframe. > Plus, I've been busy with other things. I have code that I implemented > in Maple and I've been

[sage-devel] Re: Fwd: FInally the link to download SAGElwlcd ISO!

2009-04-26 Thread Lucio Lastra
Alfredo, I sent you an email, many days ago talking about a livecd I built from scratch which is about 200 Mibs less in size and has the performance of sagelwlcd. I'm not sure if you read it and/or you are interested on it. I'm just telling you this because I don't have much time as I did before

[sage-devel] Re: Functional derivative in Sage using pynac

2009-04-26 Thread Tim Lahey
On Apr 26, 2009, at 6:26 PM, Golam Mortuza Hossain wrote: > > Hi Tim, > > On Sun, Apr 26, 2009 at 3:36 PM, Tim Lahey > wrote: >> I decided to wait until pynac had stabilized a bit and was better >> integrated into the Sage which appears to be around the 4.0 >> timeframe. >> Plus, I've been

[sage-devel] Re: sage on ubuntu 9.04

2009-04-26 Thread David Joyner
On Sun, Apr 26, 2009 at 2:58 PM, mabshoff wrote: > > > > On Apr 26, 11:53 am, David Joyner wrote: >> On Sun, Apr 26, 2009 at 2:42 PM, mabshoff wrote: > > > >> > Well, I am not 100% sure Sage will pass doctests with Python 2.6. I >> > know that at leasy NetworkX does not work with Python 2.6 ac

[sage-devel] Re: load/attach bugs

2009-04-26 Thread Rado
Alright, here is my first open-source project patch: http://www.math.uiuc.edu/~rkirov2/sage/11803.patch The description in the patch file is short because vi is driving me insane. I was going to add a better description in the .patch file with gedit but wasn't sure if it is checksumed. Here is m

[sage-devel] Re: Custom folders in notebook (Was Re: sage-moodle integration )

2009-04-26 Thread Rado
This one works pretty fast on my ancient machine: http://marijn.haverbeke.nl/codemirror/contrib/python/index.html I tried to add it but it broke the frames around the cells (those blue frames that show you the active cell). I didn't bother to look further, but that shouldn't be unresolvable. Al

[sage-devel] Re: Final 3.4.1 source released

2009-04-26 Thread evan foss
On Sun, Apr 26, 2009 at 12:20 PM, Harald Schilly wrote: > > > > On Apr 26, 5:25 pm, evan foss wrote: >> How long did that take to build? > > don't know, some hours. .. started in the night before going to sleep > and in the morning everything was done. i did a parallel make and i > have 2 gb of

[sage-devel] Darwin 10 Build Bugs

2009-04-26 Thread jjoonathan
Sage fails to build under Darwin 10 (Mac OS X "Snow Leopard") because of a few small bugs in several of the packages. Here are the fixes, sorry if someone has posted these before, but it would be nice if the 3.4.1 tarball built out of the box :) It still won't finish building, but the remaining i

[sage-devel] Re: Darwin 10 Build Bugs

2009-04-26 Thread mabshoff
On Apr 26, 7:50 pm, jjoonathan wrote: Hi, > Sage fails to build under Darwin 10 (Mac OS X "Snow Leopard") because > of a few small bugs in several of the packages. Here are the fixes, > sorry if someone has posted these before, but it would be nice if the > 3.4.1 tarball built out of the box

[sage-devel] Re: load/attach bugs

2009-04-26 Thread William Stein
On Sun, Apr 26, 2009 at 5:59 PM, Rado wrote: > > Alright, here is my first open-source project patch: > > http://www.math.uiuc.edu/~rkirov2/sage/11803.patch Thanks. I've posted the patch here: http://trac.sagemath.org/sage_trac/ticket/5908 > > The description in the patch file is short becaus

[sage-devel] Re: Darwin 10 Build Bugs

2009-04-26 Thread Justin C. Walker
I think you are violating your NDA with Apple. On Apr 26, 2009, at 19:50 , jjoonathan wrote: > > Sage fails to build under Darwin 10 (Mac OS X "Snow Leopard") because > of a few small bugs in several of the packages. Here are the fixes, > sorry if someone has posted these before, but it would be

[sage-devel] Re: Darwin 10 Build Bugs

2009-04-26 Thread jjoonathan
On Apr 26, 9:49 pm, "Justin C. Walker" wrote: > I think you are violating your NDA with Apple. I think the only detail I revealed that actually belongs to apple is the version number of darwin 10 (and possibly a "version range" of gcc). Since the last few version numbers have been 7, 8, and 9, I

[sage-devel] Re: Darwin 10 Build Bugs

2009-04-26 Thread mabshoff
On Apr 26, 10:15 pm, jjoonathan wrote: > On Apr 26, 9:49 pm, "Justin C. Walker" wrote:> I think you > are violating your NDA with Apple. Hi, > I think the only detail I revealed that actually belongs to apple is > the version number of darwin 10 (and possibly a "version range" of > gcc). Si

[sage-devel] Re: Darwin 10 Build Bugs

2009-04-26 Thread mabshoff
On Apr 26, 10:31 pm, mabshoff wrote: > On Apr 26, 10:15 pm, jjoonathan wrote: Ahh - too many double negatives - my apologies for the double mail, but again for the record: > Well, neither 3.4.2 nor any subsequent release won't officially won't -> will > support an unreleased operating sy