Re: [sage-devel] Code style guidelines

2011-10-24 Thread Jeroen Demeyer
On 2011-10-25 02:33, Dan Drake wrote: > It seems like no one wants to have an epic break-all-patches-in-trac > patch that removes all the trailing whitespace in the Sage library -- > and, some people like some trailing whitespace, so perhaps we should > also add just a warning to the sage-merge scr

Re: [sage-devel] Re: Code style guidelines

2011-10-24 Thread daly
diff has options to deal with whitespace. -b --ignore-space-change -w --ignore-all-space Tim Daly On Tue, 2011-10-25 at 07:35 +0200, Florent Hivert wrote: > On Mon, Oct 24, 2011 at 11:20:47AM -0700, Keshav Kini wrote: > > Hmm. I have to say I'm surprised that people are advocating for using > >

Re: [sage-devel] Re: Code style guidelines

2011-10-24 Thread Florent Hivert
On Mon, Oct 24, 2011 at 11:20:47AM -0700, Keshav Kini wrote: > Hmm. I have to say I'm surprised that people are advocating for using > trailing whitespace at all, as it seemed to me to be quite universally > reviled in the programming world. But on some reflection, the only real > problem with t

[sage-devel] Re: Code style guidelines

2011-10-24 Thread kcrisman
> > whitespace to files). There are way too many patches on trac with chunks > > that just remove trailing whitespace introduced in other patches, IMHO. If > > we take some stance on it (much like our official endorsement of PEP 8), > > this will be reduced. If people agree I'll make a ticket to a

Re: [sage-devel] Code style guidelines

2011-10-24 Thread Dan Drake
On Mon, 24 Oct 2011 at 07:54AM -0700, Keshav Kini wrote: > Shouldn't we have mention trailing whitespace somewhere in the developer's > guide - namely telling people to omit it? Having such a policy makes for > cleaner revision control, as most agree (for example, at some point git by > default

Re: [sage-devel] Re: Code style guidelines

2011-10-24 Thread Keshav Kini
Hmm. I have to say I'm surprised that people are advocating for using trailing whitespace at all, as it seemed to me to be quite universally reviled in the programming world. But on some reflection, the only real problem with trailing whitespace - other than that it bloats files and that it, er

[sage-devel] Re: Code style guidelines

2011-10-24 Thread Jason Grout
On 10/24/11 12:07 PM, leif wrote: On 24 Okt., 17:33, Jason Grout wrote: Here is one of the big situations when I like trailing spaces: def hello():$ print 'hi'$ $ print 'bye'$ To me, it's annoying to have the cursor jump back to column 0 when scrolling down through the funct

[sage-devel] Re: Code style guidelines

2011-10-24 Thread leif
On 24 Okt., 17:33, Jason Grout wrote: > Here is one of the big situations when I like trailing spaces: > > def hello():$ >      print 'hi'$ >      $ >      print 'bye'$ > > To me, it's annoying to have the cursor jump back to column 0 when > scrolling down through the function.  I think that is th

Re: [sage-devel] Re: Code style guidelines

2011-10-24 Thread William Stein
On Mon, Oct 24, 2011 at 9:31 AM, Jason Grout wrote: > On 10/24/11 11:14 AM, John Cremona wrote: >>> >>> To me, it's annoying to have the cursor jump back to column 0 when >>> scrolling >>> down through the function.  I think that is the only situation where I >>> get >>> annoyed with my emacs sett

[sage-devel] Re: Code style guidelines

2011-10-24 Thread Jason Grout
On 10/24/11 11:14 AM, John Cremona wrote: To me, it's annoying to have the cursor jump back to column 0 when scrolling down through the function. I think that is the only situation where I get annoyed with my emacs settings of deleting trailing whitespace. Thanks, Jason If you tell me how t

Re: [sage-devel] Re: Code style guidelines

2011-10-24 Thread John Cremona
> To me, it's annoying to have the cursor jump back to column 0 when scrolling > down through the function.  I think that is the only situation where I get > annoyed with my emacs settings of deleting trailing whitespace. > > Thanks, > > Jason > If you tell me how to make emacs do that, I'll stop

[sage-devel] Re: sage: An error occurred while installing singular-3-1-1-4.p12

2011-10-24 Thread leif
On 24 Okt., 16:32, Manuel Werner Luethi wrote: > I intended to compile SAGE on Ubuntu 11.10 but during make there was an > error. [...] > ../kernel/libkernel.a(mod_raw.o): In function `dynl_open': > /home/USER/Desktop/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src/kernel/mo > d_raw.cc:217: > > un

[sage-devel] tcpcrypt

2011-10-24 Thread Jason Grout
Over on the zeromq mailing list, there was a post about running zeromq through tcpcrypt [1]. This seems like a good idea for our single-cell server, which uses zeromq to communicate between server and workers. It also seems like it might be nice to support it for sagenb.org, etc. My question

[sage-devel] Re: Code style guidelines

2011-10-24 Thread Jason Grout
On 10/24/11 10:19 AM, Keshav Kini wrote: By the way, I think trailing whitespace is often intentional. Some people consider this a good thing: Some text$ $ Some more text$ Some people also consider this a good thing: -$ TITLE $ -$ Hell, I used to think these were good

[sage-devel] Re: asking if Sage has support for computations with differential operators

2011-10-24 Thread Simon King
Hi Marco, On 24 Okt., 16:44, mmarco wrote: > When is all this expected to be merged? I am sorry to say that #4539 was made dependent on my patch at #9138, which at that time had a positive review and was actually merged in some alpha version of sage-4.7.2. But then, it turned out that #9138 caus

Re: [sage-devel] Code style guidelines

2011-10-24 Thread Jeroen Demeyer
On 2011-10-24 17:19, Keshav Kini wrote: > By the way, I think trailing whitespace is often intentional. Some > people consider this a good thing: > > Some text$ > $ > Some more text$ Personally, I do NOT consider this a problem. I would like to remove whitespace after non-empty lines

Re: [sage-devel] Code style guidelines

2011-10-24 Thread Keshav Kini
By the way, I think trailing whitespace is often intentional. Some people consider this a good thing: Some text$ $ Some more text$ Some people also consider this a good thing: -$ TITLE$ -$ Hell, I used to think these were good things until someone kn

Re: [sage-devel] Code style guidelines

2011-10-24 Thread Keshav Kini
The main point is that it would add legitimacy to people insisting that patches not contain trailing whitespace before giving them positive review on trac :) -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send an email to sage-devel@googlegroups.com To unsub

Re: [sage-devel] Code style guidelines

2011-10-24 Thread Jeroen Demeyer
On 2011-10-24 16:54, Keshav Kini wrote: > If we take some stance on it, this will be reduced. [citation needed] It's obvious that it's better not to have trailing whitespace in files. I'm not against adding a section in the developer's manual for this but I doubt it will make any difference in pr

[sage-devel] Code style guidelines

2011-10-24 Thread Keshav Kini
Hi all, This is pretty trivial, but hey, sage-devel is a bit slow recently :) Shouldn't we have mention trailing whitespace somewhere in the developer's guide - namely telling people to omit it? Having such a policy makes for cleaner revision control, as most agree (for example, at some point g

[sage-devel] Re: asking if Sage has support for computations with differential operators

2011-10-24 Thread mmarco
When is all this expected to be merged? On 24 oct, 15:50, Burcin Erocal wrote: > Hi Pablo, > > On Mon, 24 Oct 2011 10:32:12 -0300 > Pablo De Napoli wrote: > > > Many thanks! > > I see that with this patches, it would be esasy to have also a Weyl > > algebra implementation in Sage > > Yes, writin

Re: [sage-devel] Re: asking if Sage has support for computations with differential operators

2011-10-24 Thread Burcin Erocal
Hi Pablo, On Mon, 24 Oct 2011 10:32:12 -0300 Pablo De Napoli wrote: > Many thanks! > I see that with this patches, it would be esasy to have also a Weyl > algebra implementation in Sage Yes, writing constructors for Weyl algebras will be an easy step when it is merged. We've been waiting a lon

Re: [sage-devel] Re: asking if Sage has support for computations with differential operators

2011-10-24 Thread Pablo De Napoli
Hi Burcin, Many thanks! I see that with this patches, it would be esasy to have also a Weyl algebra implementation in Sage Cheers, Pablo On Mon, Oct 24, 2011 at 10:11 AM, Burcin Erocal wrote: > Hi Pablo, > > On Sat, 22 Oct 2011 18:49:39 -0300 > Pablo De Napoli wrote: > >> On Thu, Oct 20, 2011

Re: [sage-devel] Re: asking if Sage has support for computations with differential operators

2011-10-24 Thread Burcin Erocal
Hi Pablo, On Sat, 22 Oct 2011 18:49:39 -0300 Pablo De Napoli wrote: > On Thu, Oct 20, 2011 at 6:02 PM, Pablo De Napoli > wrote: > > Hi, > > > > I need to perform computations with linear differential operators > > whose coefficients are polynomials > > in several variables (in Euclean space). >

[sage-devel] Organizing sage days

2011-10-24 Thread mmarco
It is possible that i could get some funding to organize a workshop, which must be related to aplied and computational algebraic topology. I thought about organizing a sage days devoted to braids and/or knots and links; maybe with sprints aimed at the implementation of free and finitely presented g