Re: [sage-support] Re: SAGE and .NET interoperability.

2010-01-06 Thread Robert Bradshaw
Very interesting discussion--I'm glad to see stuff is still happening  
on this front, and great to hear from you again Blair.


On Jan 5, 2010, at 6:49 PM, David Kirkby wrote:


On Jan 3, 6:13 pm, Dima Pasechnik  wrote:

Also, note that many parts of Sage are not developed by Sage
developers, e.g. Maxima, GAP. There is little chance that these parts
would be ported to Windows natively (on the other hand, e.g., GAP has
a Cygwin port, that is well-supported etc). I toyed with making a
native port of GAP to Windows some ten years ago. It was a highly
non-trivial task that would have taken me months back then (and  
then I

was relatively well-versed in Windows programming).
So a "native" port of Sage would still settle for Cygwin ports of  
some of its

modules.


That was why thought such a port would take 10-30 man years. William
and I disagree over what is a 'native' application, but as he said,
the lawyers can argue that one out.


It helps that Sage's primary front end is a web interface, in a  
"native Windows" browser--as long as the back end runs smoothly and  
out of sight the user won't notice how it works. As for those that  
preferrer the command line, they'd probably be just as happy in a  
Cygwin shell or VM (if they choose Windows at all).


I'm more hopeful about the Sage Python classes--Python and Cython are  
both supported on Windows, and distutils is supposed to handle all the  
linking stuff. I'm not saying there won't be issues though--from what  
I've seen of it the path to a Windows port is littered with so many  
tools and solutions that, in theory, should Just Work (cygwin,  
colinux, virtualization, ...) but in practice just don't.


- Robert

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Octave in Sage?

2010-01-06 Thread kcrisman
> > For instance, only the time independent problems in quantum mechanics
> > can be solved with Sage and therefore one needs to find an alternative
> > to Sage to solve (numerically) the time dependent problems. This is a
> > limitation for me.
>
> Indeed, Octave [1] is not yet a standard package of Sage. Looking

However, there is an Octave interface, including through the Notebook,
which works fine assuming one has Octave in one's path.  There have
been a number of posts over years about Octave, and I guess there are
several reasons it is not included - perhaps duplication with Scipy,
and the excellent self-contained nature of Octave itself.  Hope this
helps.

- kcrisman
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Octave in Sage?

2010-01-06 Thread Jason Grout

Le Fou Volant wrote:

Hello,

Before writing this post, I did search the support group archive and
therefore
what I'm about to write was not addressed (if I didn't miss anything).
One can
find a post dating from 2007 about why Sage is not in Octave.

I need to solve a system of differential equations. It seems sage
cannot do
that and that Sage help points to Octave. I had in mind that the
philosophy
behind Sage was to create the most complete alternative to
Mathematica,
Matlab and the likes.
For instance, only the time independent problems in quantum mechanics
can be solved with Sage and therefore one needs to find an alternative
to Sage to solve (numerically) the time dependent problems. This is a
limitation for me.



I assume you looked at scipy and decided it did not meet your needs? 
Scipy is included as a standard part of Sage.


http://docs.scipy.org/doc/scipy/reference/

particularly

http://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.odeint.html#scipy.integrate.odeint

and

http://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.ode.html#scipy.integrate.ode

Thanks,

Jason



-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Octave in Sage?

2010-01-06 Thread Minh Nguyen
Hi Alex,

On Thu, Jan 7, 2010 at 1:56 PM, Le Fou Volant  wrote:



> For instance, only the time independent problems in quantum mechanics
> can be solved with Sage and therefore one needs to find an alternative
> to Sage to solve (numerically) the time dependent problems. This is a
> limitation for me.

Indeed, Octave [1] is not yet a standard package of Sage. Looking
through the list of optional [2] and experimental packages [3], I
don't see Octave either. However, what you can do is request that
Octave be added as either an experimental package or as an optional
package. The barrier for being a standard package is much higher than
those for being an optional or experimental package.


[1] http://www.gnu.org/software/octave/

[2] http://www.sagemath.org/packages/optional/

[3] http://www.sagemath.org/packages/experimental/

-- 
Regards
Minh Van Nguyen
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Octave in Sage?

2010-01-06 Thread Le Fou Volant
Hello,

Before writing this post, I did search the support group archive and
therefore
what I'm about to write was not addressed (if I didn't miss anything).
One can
find a post dating from 2007 about why Sage is not in Octave.

I need to solve a system of differential equations. It seems sage
cannot do
that and that Sage help points to Octave. I had in mind that the
philosophy
behind Sage was to create the most complete alternative to
Mathematica,
Matlab and the likes.
For instance, only the time independent problems in quantum mechanics
can be solved with Sage and therefore one needs to find an alternative
to Sage to solve (numerically) the time dependent problems. This is a
limitation for me.

Hopefully, I did not forget any F this time around (for those who
followed the
"crl+shiFt left" debate).

Alex
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Insert New HTML Cell?

2010-01-06 Thread Le Fou Volant
Wow! The magic of copy and paste made me miss this one (the shit
versus shiFt typo).

Alex


On Jan 5, 10:01 am, Le Fou Volant  wrote:
> On Jan 4, 2:32 pm, William Stein  wrote:> On Mon, Jan 4, 
> 2010 at 2:24 PM, Le Fou Volant  wrote:
>
> > > Hello,
>
> > > shift+left click on the blue line does work.
>
> > > I was not "shit+left clicking" on the blue line before, but
> > > literally "shit+left clicking" any where between two cells.
>
> Well, I should have written:
> ..., but "shit+left clicking" literally anywhere between two cells.
> My bad.
>
> Though, I'm pretty sure some computer jargon will make its way to
> the Meriam-Webster some day :)
>
> This aside, I think this post helps clarify a point that might
> be misunderstood in the help.
>
> Alex
>
>
>
> > Literally?  LOL.
>
> > William
>
> > > Thank you very much. This post helped me.
>
> > > Alex
>
> > > On Jan 3, 1:15 pm, Simon King  wrote:
> > >> Hi!
>
> > >> On 3 Jan., 21:10, Tim Joseph Dumol  wrote:
>
> > >> > Hello,
>
> > >> > You need to shift+left click the blue line that apppears.
>
> > >> This is what Alex observed as well. But apparently it does not answer
> > >> his question, because (citing him) "None of these three observations,
> > >> helps me to create a new HTML cell."
>
> > >> I wonder why? Alex, if you shift+left click on the blue line, does an
> > >> editor-like environment opens? I guess this editor is how people are
> > >> supposed to create a new HTML cell. If you type in your comments and
> > >> click on the "Save changes" button on the lower left corner, your
> > >> comments should nicely appear in the notebook.
>
> > >> Best regards,
> > >> Simon
>
> > > --
> > > To post to this group, send email to sage-support@googlegroups.com
> > > To unsubscribe from this group, send email to 
> > > sage-support+unsubscr...@googlegroups.com
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/sage-support
> > > URL:http://www.sagemath.org
>
> > --
> > William Stein
> > Associate Professor of Mathematics
> > University of Washingtonhttp://wstein.org
>
>
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


Re: [sage-support] Re: 'subprocess must have crashed' ....

2010-01-06 Thread William Stein
On Tue, Jan 5, 2010 at 9:53 AM, John H Palmieri  wrote:
>
>
> On Jan 5, 9:16 am, William Stein  wrote:
>> On Tue, Jan 5, 2010 at 7:03 AM, jeff_kantor  wrote:
>> > Deleting .matplotlib and then running sage yields the same problem as
>> > before.  I've updated EPD to the new distribution
>> > that was released this morning, version 6.0, with no luck.  Not sure
>> > what interaction is going on, but sage definitely
>> > feels broken.
>>
>> When Sage starts up on OS X  it still says:
>>
>> -
>> d-69-91-158-194:~ wstein$ sage
>> ...
>> WARNING: There is one major unsolved bug in some versions of
>> Sage on OS X 10.6 that causes an 'Abort trap' crash when
>> doing certain symbolic computations.
>> Seehttp://trac.sagemath.org/sage_trac/ticket/7095/.
>> -
>>
>> That warning is there for a reason.  This morning I tried to build
>> GCC-4.4.2 from source on Snow Leopard, in hopes of seeing if 7095 is
>> caused by a compiler bug.  ...
>
> Any luck?  I tried this, but building Sage failed when it got to
> twisted.
>

I was able to skip building Twisted and a few other things.   Some of
the bugs we see *do* vanish, but others are still there :-(.  See the
ticket.

 -- William
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: installing 4.3 on Snow Leopard

2010-01-06 Thread Barry Dewitt
It does work!  Thanks Dr. Stein.

Barry

On Jan 5, 7:57 pm, William Stein  wrote:
> On Tue, Jan 5, 2010 at 4:53 PM, Barry Dewitt  wrote:
> > Hi,
>
> > I recently upgraded my three-year old Macbook which was running OS
> > 10.4 to Snow Leopard (a holiday gift from the family).  I downloaded
> > sage 4.3 for 10.6 but it won't work; my terminal prints out "env:
> > python: Bad CPU type in executable".  I have a feeling (but I'm
> > somewhat of a novice about these things) that it's because my computer
> > is 32-bit.  Is there a dmg for a 32-bit intel mac running Snow
> > Leopard?  I hope this question makes sense.
>
> This question makes perfect sense.
>
> Can you try the 32-bit 10.5 binary to see if it works?
>
>    http://boxen.math.washington.edu/home/wstein/binaries/sage-4.3-osx10
>
> Nobody has built a 32-bit 10.6 binary.  You can try to build one from
> source, assuming you have XCode.
>
> William
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: SAGE and .NET interoperability.

2010-01-06 Thread David Kirkby


On Jan 3, 6:13 pm, Dima Pasechnik  wrote:
> Dave,
> it makes no sense to compare cygwin and virtualbox by Googlehits.
> Cygwin is just a tool to port Unix software to Windows quickly
> and relatively painlessly (at least the "command-line" software
> can usually be ported pretty quickly). Cygwin is also a toolchain to
> develop software on Windows (i.e. it has compilers, etc).
>
> Virtualbox is an emulator to run other operating systems
> (e.g. Linux atop WIndows, or the other way aroung). So you can just
> run a Linux program in your Windows box, unamended.

I realise the baic difference. I think Google hits provides some
measuare of the usage of such tools, but it's not something we can use
to get indisputable facts.

>
> Also, note that many parts of Sage are not developed by Sage
> developers, e.g. Maxima, GAP. There is little chance that these parts
> would be ported to Windows natively (on the other hand, e.g., GAP has
> a Cygwin port, that is well-supported etc). I toyed with making a
> native port of GAP to Windows some ten years ago. It was a highly
> non-trivial task that would have taken me months back then (and then I
> was relatively well-versed in Windows programming).
> So a "native" port of Sage would still settle for Cygwin ports of some of its
> modules.

That was why thought such a port would take 10-30 man years. William
and I disagree over what is a 'native' application, but as he said,
the lawyers can argue that one out.
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: displaying graphs

2010-01-06 Thread Nathann Cohen
Hello !!!

To open a ticket on the TRAC server ( http://trac.sagemath.org/sage_trac
) you must first have an account.
*  If you do not, the first page of this website advises you to send a
email to William Stein to request one : wstein at gmail.com
*  When you have one, you can go to http://trac.sagemath.org/sage_trac/newticket
and create your ticket. Be sure to file it under the Graph Theory
section.

If you have more questions, you can join the irc channel #sage-
de...@irc.freenode.net or send/read the Google group Sage-devel ( for
the discussions related to Sage's development ) :-)

Nathann

On Jan 6, 8:42 am, pong  wrote:
> I came across a problem with padding around graphs a couple releases
> ago
>
> http://groups.google.com/group/sage-support/browse_thread/thread/274d...
>
> for example
> k=graphs.CompleteGraph(6)
> show(k)
>
> shows K6 but the vertices are partially chopped off.
>
> The fixes suggested then was
> show(k, axes_pad=.1)
>
> However, it seems that the same problem is still around.
> I want to open a ticket for this, but not sure how.
>
> Thanks in advance
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org