[sage-devel] Re: Inserting Images into Notebook - upload dialog

2010-04-12 Thread Alec Mihailovs
On Apr 12, 4:49 pm, William Stein wrote: > On Monday, April 12, 2010, Alec Mihailovs  wrote: > > > from shutil import copy > > copy('/home/excetera.png', '.') > > Using DATA explicitly and shutil is not necessary.  Just upload the > file foo.png as y

[sage-devel] Re: Inserting Images into Notebook - upload dialog

2010-04-12 Thread Alec Mihailovs
On Apr 12, 8:43 am, Tim Joseph Dumol wrote: > > import shutil > shutil.copy(DATA + 'myfilename.ext', '.') That could be done similarly without using DATA - as from shutil import copy copy('/home/excetera.png', '.') Alec -- To post to this group, send an email to sage-devel@googlegroups.com To

[sage-devel] Re: If using a computer to do your math homework is like copying

2010-04-04 Thread Alec Mihailovs
On Apr 4, 11:22 am, rjf wrote: > (followup could be done at the MIT page, here, or Sage-flame, or is > there a list for educational applications > of Sage??) I forwarded that to http://groups.google.com/group/sage-edu (but that should be approved by moderators there :) Alec Mihailov

[sage-devel] Re: Sage on AIX

2010-04-03 Thread Alec Mihailovs
ft also offers free (as in beer) Visual Studio 2008, Windows Server 2008 Enterprise, Expression Studio 3 and more for faculty, http://www.microsoft.com/education/facultyconnection/software/softwarelist.aspx?c1=en-us&c2=0 That might be helpful for people interested in developing native Sage port

[sage-devel] Re: Annual Spies Prize Winner Announced!

2010-03-21 Thread Alec Mihailovs
e for the committee. Congratulations!!! Alec Mihailovs -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-deve

[sage-devel] Re: Bug advertisement

2010-03-21 Thread Alec Mihailovs
On Mar 21, 9:28 pm, Alec Mihailovs wrote: > Is it working in 64-bit Windows 7 now? I would be happy to install it > again. Wow! Just installed the basic cygwin and it is working! I'll try to build Sage there. Alec -- To post to this group, send an email to sage-devel@googlegr

[sage-devel] Re: Bug advertisement

2010-03-21 Thread Alec Mihailovs
Jaap, > On my ugly 64 bit system I can run 32 bit software without a problem :) Me too. But cygwin is a different story. A couple of years (or more?) ago, when I switched from 32-bit Windows to 64-bit (XP at that time), cygwin didn't work on 64-bit Windows. I used cygwin extensively for many year

[sage-devel] Re: Bug advertisement

2010-03-21 Thread Alec Mihailovs
Jaap, > But wait! A native Windows Sage is almost there. That would be excellent! I'm not sure that cygwin would work on my 64- bit system (never tried it though.) Alec -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage

[sage-devel] Re: Sage 4.3.4.rc0 released

2010-03-21 Thread Alec Mihailovs
e some other Sage developers wants to post > an updated VirtualBox image. I would build it myself if there were sources and building instructions available. Are they? Alec Mihailovs -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an

[sage-devel] Re: Bug advertisement

2010-03-21 Thread Alec Mihailovs
On Mar 21, 11:38 am, Ronan Paixão wrote: > Also, since I'm using that ugly OS, For me, Windows 7 is beautiful! Unfortunately, I have to use that ugly Linux most of the time when I want to use Sage. > Also, the terminal which is opened when sage is autostarted, doesn't say that > the showed IP

[sage-devel] Re: method int_repr only works for small finite fields

2010-03-21 Thread Alec Mihailovs
+y,reversed(L),0)') 625 loops, best of 3: 29.2 ��s per loop Alec Mihailovs -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://grou

[sage-devel] Re: method int_repr only works for small finite fields

2010-03-21 Thread Alec Mihailovs
On Mar 21, 5:34 pm, Alec Mihailovs wrote: > So both of them should be corrected by dealing with 0 separately and > converting python int to Sage integers in int4. Here are the corrected versions of int4 and poly_repr, sage: def int4(z): : C=reversed(map(int,z.polynomial().

[sage-devel] Re: method int_repr only works for small finite fields

2010-03-21 Thread Alec Mihailovs
sage: int4(F.zero()) TypeError: reduce() of empty sequence with no initial value sage: poly_repr(0,F) TypeError: reduce() of empty sequence with no initial value So both of them should be corrected by dealing with 0 separately and converting python int to Sage integers in int4. Alec Mihailovs --

[sage-devel] Re: method int_repr only works for small finite fields

2010-03-21 Thread Alec Mihailovs
:-input(101); 2 3 + 2 T F:-output(%); 101 Alec Mihailovs -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more opt

[sage-devel] Re: method int_repr only works for small finite fields

2010-03-21 Thread Alec Mihailovs
z): : C=reversed(map(int,z.polynomial().coeffs())) : fc=parent(z).characteristic() ....: return reduce(lambda x,y:fc*x+y,C) Alec Mihailovs -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubsc

[sage-devel] Re: Category for IntegerModRing(n)

2010-03-20 Thread Alec Mihailovs
if desirable. Alec Mihailovs -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org

[sage-devel] Re: Sage 4.3.4.rc0 released

2010-03-17 Thread Alec Mihailovs
17 (a negative number) C code lines. Say, -5 shell script comment lines I can understand (5 lines with negative comments), but how the number of code lines can be negative? Alec Mihailovs -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an

[sage-devel] Re: Sage 4.3.4.rc0 released

2010-03-17 Thread Alec Mihailovs
tu 4.4.1-4ubuntu9) ** Error installing Fortran: You must install gfortran or set SAGE_FORTRAN (and possibly SAGE_FORTRAN_LIB). ****** Alec Mihailovs -- To post to this group,

[sage-devel] Re: Sage 4.3.4.rc0 released

2010-03-17 Thread Alec Mihailovs
On Mar 17, 8:02 pm, William Stein wrote: > I didn't realize that the VirtualBox distro hadn't been upgraded in so long. > I'll try hard to upgrade it to 4.3.4 and post a new version before I > leave for Canada on Sunday morning.   (Upgrading it is not easy, as > you found...) Thank you very much

[sage-devel] Re: Parents with a natural action on a space

2010-03-17 Thread Alec Mihailovs
End(E) > > What should be the name of the method of P returning E ? > >  - P.domain() ? >  - P.natural_representation() ? >  - P.natural_representation_space() ? >  - P.natural_module() ? >  - P.action_set() ? >  - something else? Maybe, P.over ? It could be a propert

[sage-devel] Re: Sage 4.3.4.rc0 released

2010-03-17 Thread Alec Mihailovs
stribution as a VirtualBox appliance can not be upgraded? Alec Mihailovs -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/g

[sage-devel] Re: Logistic Curve Fitting in Sage

2010-03-14 Thread Alec Mihailovs
r,t,t0,v') model(t) = K/(1 + a*exp(r * (t - t0)))^(1/v) s=find_fit(data, model,initial_guess=[200,10,0,1,1],parameters=[K,a,r,t0,v],solution_dict=True); s {t0: 1.9182136806459771, K: 249.14668753230089, a: 4.0889718235600832, r: -0.53583047134875161, v: 0.52295328451032852} plot([scatter_plot(data

[sage-devel] Re: Windows

2009-01-28 Thread Alec Mihailovs
Another alternative, for using Sage in class, instead of using a (non-existing) native Windows port, or one of the virtualizations, is to use it from a live CD, booting Linux. The CDs are easy to distribute in class, and students don't have to download and install anything. Alec --~--~-

[sage-devel] Re: Windows

2009-01-25 Thread Alec Mihailovs
From: "mabshoff" > There shouldn't be two cygwin.dlls on the same computer. > No, this does not apply since first cygwin1.dll in %PATH% or CWD will > be the one used if no DLL has been loaded into RAM. You cannot run two > different Cygwin instances at the same time and expect them to work. Th

[sage-devel] Re: Windows

2009-01-25 Thread Alec Mihailovs
From: "mabshoff" > That is why having an MSI installer that > includes Cygwin is important at that stage since dropping a working > Sage into a "foreign" Cygwin is assured with probability 1 to be > broken in some aspect. That will create problems though if Cygwin is already installed. There s

[sage-devel] Re: virtual box

2008-08-26 Thread Alec Mihailovs
The best experience that I had in Windows with SAGE was when SAGE was available from cygwin. The second best was in Virtual PC (free from Microsoft) with first Ubuntu installed in it, and then SAGE built from source there. Currently I use SAGE (built from source) in Ubuntu 8.04 installed in th

[sage-devel] Re: Things I miss from Maple in Sage

2008-08-22 Thread Alec Mihailovs
> Couldn't stop myself from showing how that would work in Maple, > > data:=[-1,2,3]: > evalindets(data,negative,0); > > [0, 2, 3] Or in more, maybe, readable form, applyrule(x::negative=0,data); [0, 2, 3] Alec --~--~-~--~--

[sage-devel] Re: Things I miss from Maple in Sage

2008-08-22 Thread Alec Mihailovs
>>> sage: data = [-1, 2, 3] >>> sage: [(0 if d < 0 else d) for d in data] > sage: data = ma_eval('data /. x_?(# < 0 &) -> 0') Couldn't stop myself from showing how that would work in Maple, data:=[-1,2,3]: evalindets(data,negative,0); [0, 2, 3] Alec --~--~

[sage-devel] Re: Symbolic differential equation solving deserves better syntax

2008-08-21 Thread Alec Mihailovs
Yes, Maple puts both ODE and initial conditions in one set, as dsolve({ODE, ICs}, y(x), options) Alec --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For m

[sage-devel] Re: Sphinx and the Sage Documentation

2008-08-21 Thread Alec Mihailovs
I, certainly, like both Sphinx and wiki. It would be great if they could be united. What I miss in the documentation, is index and search (not just one document, but all of them), as in Windows chm files. Alec --~--~-~--~~~---~--~~ To post to this group, se

[sage-devel] Re: Symbolic differential equation solving deserves better syntax

2008-08-21 Thread Alec Mihailovs
> I guess Mathematica is the leader on solving differential equations > symbolically, and pending other great ideas, I think their syntax is > worth copying. Here's an example of the DSolve syntax in Mathematica: I think, Maple is better at that, especially for partial differential equations. I

[sage-devel] Re: questions about the "Programming guide"

2008-08-18 Thread Alec Mihailovs
Just random pick from today's mail, follows below, and sorry for top posting. 100+ lines of quotting (I didn't really count, it may be less than that) and 4 lines of comment. With my spam rules (everything with more than 50% of quotting goes to junk mail) it went directly there, where it belong

[sage-devel] Re: questions about the "Programming guide"

2008-08-18 Thread Alec Mihailovs
> - Show quoted text - I didn't mean exactly your post. It was just a note in general. What is the point in quoting if you read posts in Google? Everything is there, above. It's just clogging my mail and I really don't see any point in it. What is the point? Alec --~--~-~--~~--

[sage-devel] Re: questions about the "Programming guide"

2008-08-18 Thread Alec Mihailovs
Guys, I started to read that recently, and it's really appalling. How long do you post on the Usenet? One of the first thing one should to learn is not to quote the previous message in full, or most of it. Quote only the part that you respond to. Please. Alec --~--~-~--~~--

[sage-devel] Re: sagemath.org relaunch

2008-07-09 Thread Alec Mihailovs
I've noticed 2 things. First - mirrors were not showing in the download page (when I looked at it - it may be fixed by now). Second - there seem to be no a link to the screenshot page. Alec --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@

[sage-devel] MoinMoin with jsMath

2008-06-16 Thread Alec Mihailovs
ine the same as above. Please don't hesitate to experiment with that in http://mapleadvisor.com/cgi-bin/moin.cgi/JsMathTest and http://mapleadvisor.com/cgi-bin/moin.cgi/JsMathTest1 . Alec Mihailovs --~--~-~--~~~---~--~~ To post to this group, send email to sage

[sage-devel] Promoting SAGE at Mapleprimes

2008-05-18 Thread Alec Mihailovs
posts list (that's what many people use - in the menu from the left hand side.) Thank you, Alec Mihailovs --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

[sage-devel] Re: New GMP for SAGE

2008-05-07 Thread Alec Mihailovs
From: "Bill Hart" <[EMAIL PROTECTED]> > 5) Rewrite the x86 assembly to use NASM (possibly FASM, but there is > a > bootstrapping issue with the source code for that, NASM is written in > C, so no bootstrapping problems there). > Q. What about Apple and Microsoft support? > > A. We want to suppor

[sage-devel] Re: gmp 4.2.2 LGPL V3 issues and other minor tidbits

2007-09-23 Thread Alec Mihailovs
>> By the way, the GPL licensing, generally, is the main thing that prevents >> me >> personally from contributing to SAGE. > > Is it your personal distate for the GPL, or is that you don't want to be > forced > to license code under the GPL. Both, I think. > You can contribute code to Sage u

[sage-devel] Re: gmp 4.2.2 LGPL V3 issues and other minor tidbits

2007-09-23 Thread Alec Mihailovs
> Could you please elaborate on this a bit? What is it about the GPL > that you don't like? If you were to contribute code to SAGE, what > would be your ideal license? My ideal license would be MIT. I don't like the GPL in general. I read it a few times up to some point where I said to myself -

[sage-devel] Re: gmp 4.2.2 LGPL V3 issues and other minor tidbits

2007-09-23 Thread Alec Mihailovs
> This is only perhaps ideal from the typical end user's point of view. > The GPL-style license is greatly preferred over the BSD/MIT as the > license for Sage by most Sage developers (this was discussed a lot > at Sage Days 2). In fact, several of the top contributors to Sage have > explicitly

[sage-devel] Re: gmp 4.2.2 LGPL V3 issues and other minor tidbits

2007-09-23 Thread Alec Mihailovs
> Well, one possibility is to have GPLv2 in the main distribution and LGPLv3 > as an optional package. Another possibility is to distribute SAGE-new parts under any of GPL2, GPL3, or GPL2 and later, and distribute all the rest as a collection of packages, each with its own license, without havi

[sage-devel] Re: gmp 4.2.2 LGPL V3 issues and other minor tidbits

2007-09-23 Thread Alec Mihailovs
> In fact, it is impossible to combine GPLv2 only and LGPLv3 only code > in they same project, under any license. Well, one possibility is to have GPLv2 in the main distribution and LGPLv3 as an optional package. Alec --~--~-~--~~~---~--~~ To post to this grou

[sage-devel] Re: gmp 4.2.2 LGPL V3 issues and other minor tidbits

2007-09-23 Thread Alec Mihailovs
> Ideally, the alternative to M* CASes should be released under more > permissive license, such as MIT or new BSD. But the current situation > seems > to be far from ideal :( >From other point of view, Python, for instance, has its own license. SAGE, probably, could be licensed under its own li

[sage-devel] Re: gmp 4.2.2 LGPL V3 issues and other minor tidbits

2007-09-23 Thread Alec Mihailovs
> GPLv2 and GPLv3 are actually incompatible. You might think > GPLvN should be compatible with GPLv(N-1) but that isnt the case here. > At the moment, I think SAGE cannot be released under GPLv3. Ideally, the alternative to M* CASes should be released under more permissive license, such as MIT o

[sage-devel] Re: Calculus

2007-09-17 Thread Alec Mihailovs
- Original Message - From: William Stein > One possibly nasty possibility would be to allow Magma-like notation: > sage: [1..4] > [1, 2, 3, 4] > > How does one specify an integer range in Maple, Mathematica, Maxima? In Maple it is similar to Magma, $1..4 produces 1,2,3,4. Also, .. is u

[sage-devel] Re: SAGE download stats -- how to increase SAGE usage?

2007-08-07 Thread Alec Mihailovs
From: "mabshoff" <[EMAIL PROTECTED]> > The compartmentilazation of SAGE has been suggested many times before, > but as William has stated many times: This makes testing and debugging > infinitely more diffcult. It is also extreme likely that if you use > even minor different versions of certain

[sage-devel] Re: SAGE download stats -- how to increase SAGE usage?

2007-08-07 Thread Alec Mihailovs
From: "Bill Page" <[EMAIL PROTECTED]> >> Being a Windows user, I can't agree less. > > ??? In my reading of English this sounds like you strongly disagree. :-( Yes, my English is not that great. Certainly I meant "strongly agree" :-) > I am not sure if this is necessary but apparently Python can

[sage-devel] Re: SAGE download stats -- how to increase SAGE usage?

2007-08-07 Thread Alec Mihailovs
From: "Bill Page" <[EMAIL PROTECTED]> > As technically hard as it might be, I think having a native Windows > version of Sage - even if it includes only a subset of the standard > packages - would likely be a big factor in attracting more users. Being a Windows user, I can't agree less. Also, th

[sage-devel] Re: ams notices opinion column

2007-08-05 Thread Alec Mihailovs
From: "Justin C. Walker" <[EMAIL PROTECTED]> > Tthere are large mounds of open source lying around for anyone to > inspect. The unix kernel is one such (nowadays). Take a look :-} Justin, do you have a link? I just searched Google for Unix kernel sources and found the Unix V7 tour at http://w

[sage-devel] Re: ams notices opinion column

2007-08-04 Thread Alec Mihailovs
From: "William Stein" <[EMAIL PROTECTED]> > I think Jon Bober's code for number of partitions is a very nice example > of how open source is so much better. Have a look at it some time; the > comments are fascinating. And reading through the extremely interesting > and extensive comments makes

[sage-devel] Re: ams notices opinion column

2007-08-04 Thread Alec Mihailovs
From: "Alec Mihailovs" <[EMAIL PROTECTED]> > > It actually may be true (regarding to Mathematica). Their code may be very > poorly commented (and AFAICT it is.) And the motivation for doing that is very simple. If you (a developer) do it that way, so that you a

[sage-devel] Re: ams notices opinion column

2007-08-04 Thread Alec Mihailovs
> It is indeed *their* statement on the matter and it is what they > strongly believe > to be true. It's actually may be true (regarding to Mathematica). Their code may be very poorly commented (and AFAICT it is.) Alec --~--~-~--~~~---~--~~ To post to this gro

[sage-devel] Re: computing the number of partitions of an integer

2007-08-03 Thread Alec Mihailovs
From: "Jonathan Bober" <[EMAIL PROTECTED]> > It's not quite ready for inclusion, but, eventually, maybe Bill Hart's > prediction about it only taking 10 seconds to compute p(10^9) on > sage.math will come true. That's fantastic! Great work! Alec --~--~-~--~~~---~--~

[sage-devel] Re: opinion column for the Notices of the AMS

2007-08-03 Thread Alec Mihailovs
> David Joyner and I are writing an "opinion column" for the Notices of the > AMS on "funding open source mathematical software". It must be at > most 800 words, and we have a first rough draft. We have to finish it > fairly quickly. I've attached the current version to this email. > Feedback

[sage-devel] Re: computing the number of partitions of an integer

2007-08-03 Thread Alec Mihailovs
From: "William Stein" <[EMAIL PROTECTED]> > Thanks. I've fixed this for sage >= 2.7.3 in the attached patch. Just upgraded SAGE to 2.7.3 and number_of_partitions works twice as fast as in 2.7.2 with algorithm='bober' for 10^9 - it took 112 sec in 2.7.2 and only 56 sec in 2.7.3. This is in Ubu

[sage-devel] Re: usageof sage.

2007-08-03 Thread Alec Mihailovs
>> But,it needs vmware. Inside Microsoft that is not easy, can we use >> Microsoft's virtualpc or any other idea? > > Yes, I could definitely make a Microsoft virtualpc version of SAGE! > I'll look into it when I get back -- or perhaps somebody on sage-devel > who uses virtualpc and has run some

[sage-devel] jsmath 3.4.c

2007-08-02 Thread Alec Mihailovs
jsMath3.4c is available, http://sourceforge.net/project/showfiles.php?group_id=172663 while SAGE is using 3.3 version, I think. By the way, I put Tex-fonts from http://www.math.union.edu/~dpvc/jsMath/download/jsMath-fonts.html and http://www.math.union.edu/~dpvc/jsMath/download/extra-fonts/we

[sage-devel] Fw: Updated: singular-*-3.0.3-1

2007-08-02 Thread Alec Mihailovs
Singular 3.03 was included in Cygwin today. Are there plans to include it in SAGE? An interesting thing is that now it can be built as a library. Alec - Original Message - From: "Oliver Wienand" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2007 10:07 AM Subjec

[sage-devel] Re: computing the number of partitions of an integer

2007-08-02 Thread Alec Mihailovs
From: "Jonathan Bober" <[EMAIL PROTECTED]> > > Incidentally, I should have mentioned here that I submitted a patch for > version .4, and also updated it at > > http://www.math.lsa.umich.edu/~bober/partitions_c.cc > > It uses long doubles now when then precision is small enough (and then, > later,

[sage-devel] Re: computing the number of partitions of an integer

2007-07-31 Thread Alec Mihailovs
From: "Alec Mihailovs" <[EMAIL PROTECTED]> > Being an assembler programmer, I can say definitely that all FPU registers > on x86 are 80-bit and all compilers that I know compile long double as > 80-bit numbers. >From other point of view, 80-bit real gives 64-

[sage-devel] Re: computing the number of partitions of an integer

2007-07-31 Thread Alec Mihailovs
> Actually, even on my 32 bit core duo, the long double type seems to give > 64 bits of precision, so using it might help a little. Do you have any > idea how to check at run/compile time what the precision of a double or > a long double is? Being an assembler programmer, I can say definitely tha

[sage-devel] Re: posible licence issue raised by GPL-v3

2007-07-30 Thread Alec Mihailovs
From: "William Stein" <[EMAIL PROTECTED] > the situation is similar to how one can legally use a program from > bash -- but are there weird legal issues with doing this: > sage: mathematica(2) + gap(2) > 4 Related to that, I wonder whether implementing something like number_of_partition

[sage-devel] Re: posible licence issue raised by GPL-v3

2007-07-29 Thread Alec Mihailovs
From: "Bobby Moretti" <[EMAIL PROTECTED]> > > It would be one thing if SAGE was just a distribution of software, > with a package management system. But SAGE contains (lots) of code > that wraps these libraries and provides a unified interface to them. > I'm fairly confident that this falls under

[sage-devel] Re: posible licence issue raised by GPL-v3

2007-07-29 Thread Alec Mihailovs
From: "Bobby Moretti" <[EMAIL PROTECTED]> >> Well, I wouldn't call SAGE a single program. > > The issue is complicated, and I doubt a lawyer would agree. > > Besides, that's exactly what >> commercial CAS's do. In particular, Maple includes gmp and a series of >> other >> programs under separate

[sage-devel] Re: posible licence issue raised by GPL-v3

2007-07-29 Thread Alec Mihailovs
From: <[EMAIL PROTECTED]> > > Not always so. Verbatim snippet from the horse's mouth: > > > "When we say that GPLv2 and GPLv3 are incompatible, it means there is no > legal way to combine code under GPLv2 with code under GPLv3 in a single > program. This is because both GPLv2 and GPLv3 are cop

[sage-devel] Re: posible licence issue raised by GPL-v3

2007-07-29 Thread Alec Mihailovs
There is also a possibility to release a distribution under few different licenses - for example, a part as GPL3, a part as GPL 2, and a part as MIT or whatever. That, by the way, would allow including code from Microsoft Research. Alec --~--~-~--~~~---~--~~

[sage-devel] Re: computing the number of partitions of an integer

2007-07-26 Thread Alec Mihailovs
From: "Mike Hansen" <[EMAIL PROTECTED]> > I'm not sure where the bottleneck in PARI is since I can't imagine > Mathematica uses a different method to compute the number of > partitions. I don't know what is used in the latest Mathematica version, but originally NumberOfPartitions function in th

[sage-devel] Re: SAGE Documentation brainstorming

2007-07-25 Thread Alec Mihailovs
> MediaWiki > > There is already a site that wove together Mathematica and MediaWiki. > The same could probably be done for SAGE. Of course, that site hasn't > done so well because the Mathematica user base is so small ... Assuming that SAGE's user base is larger? Alec --~--~-~--~~

[sage-devel] Re: SAGE Documentation brainstorming

2007-07-24 Thread Alec Mihailovs
May I suggest to add timing to the examples in the documentation - that would be very useful. For example, in recent discussion about Bell numbers on the math-fun list, it was noted that it takes a very long time to calculate bell(1000) in Maple while BellB[1000] in Mathematica is much faster.

[sage-devel] Re: Kudos on a fabulous system!

2007-05-17 Thread Alec Mihailovs
William, Thank you! > Fortunately this problem is very very easy to solve. Go to > > http://groups.google.com/group/sage-support/subscribe > > where you see that one option is to receive all messages as one > batch per day That is what I should have been done from the very beginning. Alec

[sage-devel] Re: Kudos on a fabulous system!

2007-05-17 Thread Alec Mihailovs
> Great! Make sure and subscribe to sage-support > http://www.sagemath.org/lists.html The only problem is that both sage-devel and sage-support seem to be having too much of flooding - I am checking my mailbox right now and the amount of postings there is comparable with the amount of spam t

[sage-devel] Re: ianal but...

2007-02-19 Thread Alec Mihailovs
>> (1) Is this license GPL compatible? It seems like it might be. It is >> very >> free (much more so than the GPL). What do you think? I couldn't find >> anything definitive online... One thing -- this license is very clear >> about >> patent issues, which is comforting. I am not ANAL, bu

[sage-devel] Re: SAGE on Vista!

2007-02-16 Thread Alec Mihailovs
- Original Message - From: "William Stein" <[EMAIL PROTECTED]> > Moreover, it's crucial that pexpect > be available and work well -- I don't think it's available in native > Windows Python > (but I could be wrong -- I just can't see how it would be possible). I'm not sure about pexpect

[sage-devel] Re: SAGE on Vista!

2007-02-15 Thread Alec Mihailovs
- Original Message - From: "William Stein" <[EMAIL PROTECTED]> > > A Cygwin build of SAGE is the closest thing to "native SAGE" that I think > we'll ever see on any version of Microsoft Windows. Cygwin's build of SAGE is certainly a great thing - and I am using it. > Cygwin is an implem

[sage-devel] Re: SAGE on Vista!

2007-02-15 Thread Alec Mihailovs
From: <[EMAIL PROTECTED]> > > I just finished building SAGE on Vista. It worked without a hitch! Cygwin or native? Alec --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[sage-devel] Re: new matrix constructor

2007-02-13 Thread Alec Mihailovs
- Original Message - From: "Kyle Schalm" <[EMAIL PROTECTED]> > > here is a matrix constructor i would like to see: > > Matrix(M, N, f): > for i in range(1,M+1): > for j in range(1,N+1): > self[i][j] = f(i,j) # or whatever the syntax is > > > i might use it like this: > > A =

[sage-devel] Re: SAGE performance in cygwin

2007-02-06 Thread Alec Mihailovs
William, It appears that you answered to that question before I asked it. Thank you very much! That was very useful. With this version of m SAGE produces (odd) magic squares faster than Octave, octave:1> t=cputime();a=magic(201);cputime()-t ans = 0.32800 octave:2> t=cputime();a=magic(1001);cpu

[sage-devel] Re: SAGE performance in cygwin

2007-02-06 Thread Alec Mihailovs
From: "William Stein" <[EMAIL PROTECTED]> > If you're using the SAGE command prompt, it's important to either > set the constants outside of the loop (they all get wrapped in > Integer( ... ), which slows things down), or put an r after them > to make them raw literals.(We intend to automatic

[sage-devel] SAGE performance in cygwin

2007-02-06 Thread Alec Mihailovs
time: 3.23 sage: time a=m(1001) CPU times: user 44.34 s, sys: 37.17 s, total: 81.51 s Wall time: 81.77 Alec Mihailovs http://mihailovs.com/Alec/ --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group

[sage-devel] Re: maple and cygwin

2007-01-30 Thread Alec Mihailovs
From: "Jaap Spies" <[EMAIL PROTECTED]> > > Changed that line in '/cygdrive/c/Program\ Files/Maple\ > 9/bin.win/cmaple9.exe $@' I have it as "/cygdrive/c/Program Files/Maple 10/bin.win/cmaple.exe" $* > Now sage: maple.console() works. But still sage: maple('1+1') doesn't work. Alec --~--~

[sage-devel] Re: maple and cygwin

2007-01-29 Thread Alec Mihailovs
From: "Jaap Spies" <[EMAIL PROTECTED]> > > Using Maple with Cygwin: > > [EMAIL PROTECTED] ~/sage > $ /cygdrive/c/Program\ Files/Maple\ 9/bin.win/cmaple9.exe -t > > #--> > > #--> > 1+1; > #-->1+1; > 2 > quit; > #-->quit; > bytes used=150424, alloc=196572, time=0.08 > > I copied a file with content