Re: [sage-devel] Optimizing posets and lattices

2014-12-12 Thread Jori Mantysalo
On Sat, 13 Dec 2014, Nathann Cohen wrote: It is basically just self.lequal_matrix().inverse().change_ring(ZZ). Oh. No Poset-specific algorithm. I see. Then we should earn a lot by doing so. But really, in the Poset class we are very very very far from having implemented correctly all that

Re: [sage-devel] Mem vs. CPU ; and optimization idea for LatticePoset

2014-12-12 Thread Nathann Cohen
Hello ! >> I don't know Is it very costly to compute ? The Moebius function >> should be quick, shouldn't it ? O_o > > It is basically just self.lequal_matrix().inverse().change_ring(ZZ). Oh. No Poset-specific algorithm. I see. Then we should earn a lot by doing so. > More general question:

Re: [sage-devel] SageMathCloud now open source

2014-12-12 Thread Travis Scrimshaw
On Friday, December 12, 2014 3:08:04 PM UTC-8, William wrote: > > On Fri, Dec 12, 2014 at 2:46 PM, John Foster > wrote: > > I would like to play around with this. Are there any instructions for > > installation. > > There are no instructions or anything to make it easy yet. > > I was just th

[sage-devel] Re: Sage Crash Report

2014-12-12 Thread Volker Braun
Run "make", if that fails "make distclean && make" On Friday, December 12, 2014 9:16:53 PM UTC, Bruno Grenet wrote: > > Dear all, > > Wanting to work again on ticket #15790 > , I've checked out the > corresponding branch but I am unable to compile: "sage -

Re: [sage-devel] SageMathCloud now open source

2014-12-12 Thread William Stein
On Fri, Dec 12, 2014 at 2:46 PM, John Foster wrote: > I would like to play around with this. Are there any instructions for > installation. There are no instructions or anything to make it easy yet. > Thanks for making this open source. > On 12/11/2014 11:46 AM, William Stein wrote: >> >> Hi, >>

Re: [sage-devel] SageMathCloud now open source

2014-12-12 Thread John Foster
I would like to play around with this. Are there any instructions for installation. Thanks for making this open source. On 12/11/2014 11:46 AM, William Stein wrote: Hi, SageMathCloud is now completely open source.The complete source code is here, so if you've ever wondered how something in

Re: [sage-cloud] Re: [sage-devel] Re: SageMathCloud now open source

2014-12-12 Thread Christopher Swenson
I'm usually pretty against AGPL, though it may make a little bit of sense here. I often see companies "open source" their code under AGPL, which basically allows them to call themselves open source, but still able to sell commercial licenses, as few other companies will want to touch AGPL code. (I

Re: [sage-cloud] Re: [sage-devel] Re: SageMathCloud now open source

2014-12-12 Thread William Stein
On Fri, Dec 12, 2014 at 2:04 PM, Ondřej Čertík wrote: > On Fri, Dec 12, 2014 at 1:37 PM, William Stein wrote: >> On Fri, Dec 12, 2014 at 12:19 PM, mmarco wrote: >>> My impression is that open sourcing SMC wouldn't have a big impact on the >>> business oportunity. >>> >>> The main niche of client

Re: [sage-cloud] Re: [sage-devel] Re: SageMathCloud now open source

2014-12-12 Thread Ondřej Čertík
On Fri, Dec 12, 2014 at 1:37 PM, William Stein wrote: > On Fri, Dec 12, 2014 at 12:19 PM, mmarco wrote: >> My impression is that open sourcing SMC wouldn't have a big impact on the >> business oportunity. >> >> The main niche of clients would be universities that want to move their math >> course

Re: [sage-devel] Re: Should we strip leading whitespace in notebook?

2014-12-12 Thread Andrey Novoseltsev
On Friday, 12 December 2014 14:56:55 UTC-7, William wrote: > > I also agree with you and Karl's suggestion to pass off the string as > is to IPython, which would maintain consistency... > > Now the easy part - who knows how to do it and where?-) -- You received this message because you are sub

Re: [sage-devel] Re: Should we strip leading whitespace in notebook?

2014-12-12 Thread William Stein
On Fri, Dec 12, 2014 at 1:54 PM, Andrey Novoseltsev wrote: > > On Friday, 12 December 2014 14:46:06 UTC-7, William wrote: >> >> It's completely reasonable to assign a variable and do a calculation >> with it in the same cell. >> >> > > Of course, I meant that on the command line those line were tw

Re: [sage-devel] Re: Should we strip leading whitespace in notebook?

2014-12-12 Thread Andrey Novoseltsev
On Friday, 12 December 2014 14:46:06 UTC-7, William wrote: > > It's completely reasonable to assign a variable and do a calculation > with it in the same cell. > > > Of course, I meant that on the command line those line were two "execution units" and so were handled separately, with separate t

Re: [sage-devel] Should we strip leading whitespace in notebook?

2014-12-12 Thread Andrey Novoseltsev
On Friday, 12 December 2014 14:43:50 UTC-7, kcrisman wrote: > > IPython notebook and Sage command line (as Karl pointed out): >> >> > It would be nice if we could (easily) grab whatever ipynb does and just be > consistent with that, as the examples in the tickets in question and the > (presumabl

Re: [sage-devel] Re: Should we strip leading whitespace in notebook?

2014-12-12 Thread William Stein
On Fri, Dec 12, 2014 at 1:42 PM, Andrey Novoseltsev wrote: > On Friday, 12 December 2014 14:35:40 UTC-7, kcrisman wrote: >> >> >> >>> Does anyone have arguments to keep stripping? >>> >> >> Just for reference, the usual argument is that one wants full >> compatibility with the command line (which

Re: [sage-devel] Should we strip leading whitespace in notebook?

2014-12-12 Thread kcrisman
> > IPython notebook and Sage command line (as Karl pointed out): > > It would be nice if we could (easily) grab whatever ipynb does and just be consistent with that, as the examples in the tickets in question and the (presumably) bit-rotted patch show we weren't very successful at exactly rep

[sage-devel] Re: Should we strip leading whitespace in notebook?

2014-12-12 Thread Andrey Novoseltsev
On Friday, 12 December 2014 14:35:40 UTC-7, kcrisman wrote: > > > > Does anyone have arguments to keep stripping? >> >> > Just for reference, the usual argument is that one wants full > compatibility with the command line (which we don't currently have, > however). E.g. > > sage:a = 4 >

Re: [sage-devel] Should we strip leading whitespace in notebook?

2014-12-12 Thread William Stein
On Fri, Dec 12, 2014 at 1:26 PM, Andrey Novoseltsev wrote: > Hello, > > See https://github.com/sagemath/sagenb/pull/290#event-206993817 and links > from there for details and examples. > > Basically, notebook cells have whitespace stripped from the beginning and > the end (of the whole cell, not e

[sage-devel] Re: Should we strip leading whitespace in notebook?

2014-12-12 Thread kcrisman
Does anyone have arguments to keep stripping? > > Just for reference, the usual argument is that one wants full compatibility with the command line (which we don't currently have, however). E.g. sage:a = 4 sage: a+a 8 while with no stripping, {{{ a = 4 a+a }}} some kind of syn

[sage-devel] Should we strip leading whitespace in notebook?

2014-12-12 Thread Andrey Novoseltsev
Hello, See https://github.com/sagemath/sagenb/pull/290#event-206993817 and links from there for details and examples. Basically, notebook cells have whitespace stripped from the beginning and the end (of the whole cell, not each line). This leads to problems with languages that require some sp

[sage-devel] Sage Crash Report

2014-12-12 Thread Bruno Grenet
Dear all, Wanting to work again on ticket #15790 , I've checked out the corresponding branch but I am unable to compile: "sage -br" crashes. Attached is the crash report. What is the right way to make it compile again? Thanks! Bruno -- You received th

Re: [sage-devel] Re: SageMathCloud now open source

2014-12-12 Thread William Stein
On Fri, Dec 12, 2014 at 12:19 PM, mmarco wrote: > My impression is that open sourcing SMC wouldn't have a big impact on the > business oportunity. > > The main niche of clients would be universities that want to move their math > courses to the cloud. For them, having the source code mean that it

Re: [sage-devel] Re: SageMathCloud now open source

2014-12-12 Thread mmarco
My impression is that open sourcing SMC wouldn't have a big impact on the business oportunity. The main niche of clients would be universities that want to move their math courses to the cloud. For them, having the source code mean that it would be possible to set up their own server, but they

Re: [sage-devel] Re: SageMathCloud now open source

2014-12-12 Thread William Stein
On Fri, Dec 12, 2014 at 10:28 AM, maldun wrote: > Hi! > > On Thursday, December 11, 2014 10:47:20 PM UTC+1, William wrote: >> >> On Thu, Dec 11, 2014 at 1:28 PM, maldun wrote: >> > That's great to hear! >> > >> > Although I don't know If GPL3 is the best choice ... >> >> I actually didn't have an

Re: [sage-devel] Re: SageMathCloud now open source

2014-12-12 Thread maldun
Hi! On Thursday, December 11, 2014 10:47:20 PM UTC+1, William wrote: > > On Thu, Dec 11, 2014 at 1:28 PM, maldun > > wrote: > > That's great to hear! > > > > Although I don't know If GPL3 is the best choice ... > > I actually didn't have an option regarding GPL or not. > > Not even LGPL or a

Re: [sage-devel] Re: SageMathCloud now open source

2014-12-12 Thread William Stein
On Thu, Dec 11, 2014 at 11:40 AM, William Stein wrote: > On Thu, Dec 11, 2014 at 11:33 AM, Christopher Swenson > wrote: >> I would definitely be interested in another SMC Sage Days (or SMC days). > > Tentative plan: > >Sage Days n on the Open Sourced SageMathCloud - in Seattle Feb 2-7, 2015.

Re: [sage-devel] SageMathCloud now open source

2014-12-12 Thread William Stein
On Dec 11, 2014 11:23 PM, "Dr. David Kirkby (Kirkby Microwave Ltd)" < drkir...@kirkbymicrowave.co.uk> wrote: > > On 11 Dec 2014 17:46, "William Stein" wrote: > > > > Hi, > > > > SageMathCloud is now completely open source. > > Great. > > > Question: Why is SMC open source? > > > > Answer: Two of t

Re: [sage-devel] Mem vs. CPU ; and optimization idea for LatticePoset

2014-12-12 Thread Jori Mantysalo
More general stuff at the end of mail. On Thu, 11 Dec 2014, Nathann Cohen wrote: More difficult is to optimize product() or ordinal_sum() etc. And impossible, I think, is to optimize mobius_function_matrix, because one can not know if it has already been calculated or not. Or maybe with test w

Re: [sage-devel] Re: SageMathCloud now open source

2014-12-12 Thread Robert Bradshaw
Very good to hear! On Thu, Dec 11, 2014 at 1:46 PM, William Stein wrote: > On Thu, Dec 11, 2014 at 1:28 PM, maldun wrote: >> That's great to hear! >> >> Although I don't know If GPL3 is the best choice ... > > I actually didn't have an option regarding GPL or not. I wonder what constitutes dist