[sage-devel] Re: weirdness on the wiki

2011-04-20 Thread Rob Beezer
On Apr 20, 6:18 pm, Ryan Grout wrote: > Hi, > > Am I the only one seeing a funny starting page on wiki.sagemath.org? FWIW, Keshav Kini's excellent "sagebot" in the IRC channel (sagemath) reports every time the main Trac wiki page is edited. In this case: [18:11] New news from tractimeline: Tic

Re: [sage-devel] Re: progress on sage on python-2.7

2011-04-20 Thread David Roe
Does hitting Enter again not do it? David On Wed, Apr 20, 2011 at 22:04, Francois Bissey < francois.bis...@canterbury.ac.nz> wrote: > > On Wed, Apr 20, 2011 at 06:41:26PM -0700, François wrote: > > > > This test reduces to: > > > > > > > > sage: class CCls(Parent): > > > > ... def

[sage-devel] optional SCIP integer constraint solver (Ticket #10879)

2011-04-20 Thread S
Hi, I noticed that Martin started work on a SCIP wrapper for SAGE. http://trac.sagemath.org/sage_trac/ticket/10879 I wanted to add two other ideas for interfacing with SCIP that are written in python: Numberjack http://4c110.ucc.ie/numberjack/ python-zibopt http://code.google.com/p/python

Re: [sage-devel] weirdness on the wiki

2011-04-20 Thread Justin C. Walker
On Apr 20, 2011, at 18:27 , Tom Boothby wrote: > The spammer's account is named "Lila Marion", can somebody with access > delete it? Just tried, and and it seems someone beat me to it! Justin -- Justin C. Walker Curmudgeon-at-large Director Institute for the Absorption of Federal Funds 18

Re: [sage-devel] Re: progress on sage on python-2.7

2011-04-20 Thread Francois Bissey
> On Wed, Apr 20, 2011 at 06:41:26PM -0700, François wrote: > > > This test reduces to: > > > > > > sage: class CCls(Parent): > > > ... def __eq__(self, other): > > > ... return True > > > sage: x = CCls() > > > sage: x == None > > > True > > > > > > and I

Re: [sage-devel] Re: progress on sage on python-2.7

2011-04-20 Thread Nicolas M. Thiery
On Wed, Apr 20, 2011 at 06:41:26PM -0700, François wrote: > > This test reduces to: > > > >     sage: class CCls(Parent): > >     ...       def __eq__(self, other): > >     ...           return True > >     sage: x = CCls() > >     sage: x == None > >     True > > > > and I assume you get False ins

Re: [sage-devel] default __hash__

2011-04-20 Thread Nicolas M. Thiery
On Wed, Apr 20, 2011 at 10:45:03PM +0200, Florent hivert wrote: > Hi There, > > Speaking about hash... > > > - Much worst: the Python assumption that the hash value of an object > >does not change can easily be broken inadvertently, even by a total > >beginner, by using the rename

[sage-devel] Re: progress on sage on python-2.7

2011-04-20 Thread François
On Apr 20, 8:26 pm, "Nicolas M. Thiery" wrote: > On Fri, Apr 15, 2011 at 12:40:20PM +1200, Francois Bissey wrote: > > After a small number of patch (#11156 from Nicolas M. Thiery, and 2 in > > #9958, one of which is from my friend Steve Trogdon) we have a clear view > > of what needs to be fixed

Re: [sage-devel] weirdness on the wiki

2011-04-20 Thread Tom Boothby
The spammer's account is named "Lila Marion", can somebody with access delete it? On Wed, Apr 20, 2011 at 6:26 PM, Tom Boothby wrote: > Thanks Ryan, fixed. > > On Wed, Apr 20, 2011 at 6:18 PM, Ryan Grout wrote: >> Hi, >> >> Am I the only one seeing a funny starting page on wiki.sagemath.org? >>

Re: [sage-devel] Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread Nicolas M. Thiery
On Wed, Apr 20, 2011 at 08:46:55AM -0700, Robert Bradshaw wrote: > Shouldn't the lifting morphism simply be a section of R -> Q? Ideally, > this could come from Q.coerce_map_from(R).section() in which case it > would automatically get invoked by R(x). yes, whenever possible, the lifting morphism s

Re: [sage-devel] weirdness on the wiki

2011-04-20 Thread Tom Boothby
Thanks Ryan, fixed. On Wed, Apr 20, 2011 at 6:18 PM, Ryan Grout wrote: > Hi, > > Am I the only one seeing a funny starting page on wiki.sagemath.org? > > I see: > > http://www.eradicatebedbugs.com - Bed Bug Dog NYC > > Here is a

[sage-devel] weirdness on the wiki

2011-04-20 Thread Ryan Grout
Hi, Am I the only one seeing a funny starting page on wiki.sagemath.org? I see: http://www.eradicatebedbugs.com - Bed Bug Dog NYC Here is an article through which you will get to know what your dog maybe called when infected

Re: [sage-devel] Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread Nicolas M. Thiery
Hi David! On Wed, Apr 20, 2011 at 02:29:08PM -0400, David Roe wrote: >Why not have Q.lift() return the morphism and Q.lift(x) return the >morphism applied to x? I think I've seen this paradigm applied elsewhere I am fine with this for backward compatibility in, say, sage.rings.qu

[sage-devel] Re: GPL Mathematica clone (written in Java)

2011-04-20 Thread Simon
On Thursday, 21 April 2011 02:45:37 UTC+10, rjf wrote: > > I tried > Do[print[i];If[i>4,Return[toobig]], {i,1,10}] > > which failed. So it can't iterate > It's lack of basic (working) loop constructions it a bit disheartening. > > Nothing on the web site interface can include a left-hand-side

Re: [sage-devel] default __hash__

2011-04-20 Thread Gonzalo Tornaria
On Wed, Apr 20, 2011 at 1:45 PM, Florent Hivert wrote: > >>  - Much worst: the Python assumption that the hash value of an object >>    does not change can easily be broken inadvertently, even by a total >>    beginner, by using the rename feature: >> >>       sage: K = QQ['x'] >>       sage: hash

Re: [sage-devel] default __hash__

2011-04-20 Thread Florent Hivert
Hi There, Speaking about hash... > - Much worst: the Python assumption that the hash value of an object >does not change can easily be broken inadvertently, even by a total >beginner, by using the rename feature: > > sage: K = QQ['x'] > sage: hash(K) > -764788796

[sage-devel] Re: Short trac maintainence downtime april 22nd from 14:00 GMT

2011-04-20 Thread John H Palmieri
On Monday, April 18, 2011 9:53:00 AM UTC-7, Maarten Derickx wrote: > > Dear All, > > On friday april 22nd from 14:00 GMT there might be some short down > time of trac.sagemath.org. On this day I will add a new input cell to > tickets called "dependency's" and make it impossible for people with a

Re: [sage-devel] Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread David Roe
Why not have Q.lift() return the morphism and Q.lift(x) return the morphism applied to x? I think I've seen this paradigm applied elsewhere David On Wed, Apr 20, 2011 at 11:46, Robert Bradshaw wrote: > On Wed, Apr 20, 2011 at 5:15 AM, Nicolas M. Thiery > wrote: > > On Wed, Apr 20, 2011 at 02:3

[sage-devel] Re: GPL Mathematica clone (written in Java)

2011-04-20 Thread rjf
I tried Do[print[i];If[i>4,Return[toobig]], {i,1,10}] which failed. So it can't iterate I tried a + f[8] /. f[x_?(# > 7 &)] -> aha which it refused to parse, much less do pattern matching. Nothing on the web site interface can include a left-hand-side for assignment. While I think this progr

Re: [sage-devel] Re: Windows port status

2011-04-20 Thread William Stein
[Please respond on sage-windows...] On Tue, Apr 19, 2011 at 9:50 PM, Volker Braun wrote: > If you are fine with using a virtual machine then just punch the notebook > port through. The only thing running native would be the browser rendering > the worksheet. Of course you need admin rights to ins

Re: [sage-devel] Re: Windows port status

2011-04-20 Thread William Stein
On Wed, Apr 20, 2011 at 9:07 AM, John Cremona wrote: > Why not move this thread to the sage-windows group? +1 -- I cross-posted my response there. > > John > > On Wed, Apr 20, 2011 at 4:38 PM, Dima Pasechnik wrote: >> >> >> On Apr 20, 10:20 pm, RegB <2regburg...@earthlink.net> wrote: >>> Perhap

Re: [sage-devel] Re: Windows port status

2011-04-20 Thread John Cremona
Why not move this thread to the sage-windows group? John On Wed, Apr 20, 2011 at 4:38 PM, Dima Pasechnik wrote: > > > On Apr 20, 10:20 pm, RegB <2regburg...@earthlink.net> wrote: >> Perhaps even farther off topic; >> I doubt that Cygwin (Cygwin/X) is in any case a good path for many/ >> most MS_

Re: [sage-devel] Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread Robert Bradshaw
On Wed, Apr 20, 2011 at 5:15 AM, Nicolas M. Thiery wrote: > On Wed, Apr 20, 2011 at 02:34:49AM -0700, Simon King wrote: >>  * Q.lift(x) should be removed, and the category framework for >> quotient rings should request a parent method "lifting_morphism" >> instead of "lift". > > For the record, I

[sage-devel] Re: Windows port status

2011-04-20 Thread Dima Pasechnik
On Apr 20, 10:20 pm, RegB <2regburg...@earthlink.net> wrote: > Perhaps even farther off topic; > I doubt that Cygwin (Cygwin/X) is in any case a good path for many/ > most MS_Windows > folk - from THEIR point of view. > The path to getting Cygwin/X up and running "usefully" on a MS_Windows > plat

Re: [sage-devel] Re: Windows port status

2011-04-20 Thread Robert Bradshaw
On Tue, Apr 19, 2011 at 9:50 PM, Volker Braun wrote: > If you are fine with using a virtual machine then just punch the notebook > port through. The only thing running native would be the browser rendering > the worksheet. I think that this is the whole point no matter what approach we take; the

[sage-devel] Re: Windows port status

2011-04-20 Thread kcrisman
On Apr 20, 10:20 am, RegB <2regburg...@earthlink.net> wrote: > Perhaps even farther off topic; > I doubt that Cygwin (Cygwin/X) is in any case a good path for many/ > most MS_Windows > folk - from THEIR point of view. > The path to getting Cygwin/X up and running "usefully" on a MS_Windows > plat

[sage-devel] Re: Windows port status

2011-04-20 Thread RegB
Perhaps even farther off topic; I doubt that Cygwin (Cygwin/X) is in any case a good path for many/ most MS_Windows folk - from THEIR point of view. The path to getting Cygwin/X up and running "usefully" on a MS_Windows platform is long and arduous for the naive user, e.g. it was so for me. Oracle

Re: [sage-devel] Octave talk for Sage Days 30

2011-04-20 Thread Jordi Gutiérrez Hermoso
On 20 April 2011 01:24, Dan Drake wrote: > On Tue, 19 Apr 2011 at 11:47PM -0500, Jordi Gutiérrez Hermoso wrote: >> Given my involvement with Octave, I was considering giving a talk >> about it, and I wanted to get a feel for how Sage users relate to >> Octave and what possible topics could be int

[sage-devel] Re: Notebook password auth flaw

2011-04-20 Thread Jason Grout
On 4/20/11 6:52 AM, jmakov wrote: Hi. PROBLEM: sage's web server allows diff passwords for one user EXAMPLE: userpassw = "!//chars//number#//string" //chars is a string of characters e.g. "mypassw" //number is some number e.g. "123" using that args the userpassw would be "!mypassw123#mypassw"

[sage-devel] Re: Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread Simon King
Hi Nicolas, On 20 Apr., 14:39, "Nicolas M. Thiery" wrote: > I guess we want to keep temporary backward compatibility and leave > Q.lift() as an alias Q.lifting_morphim() (with deprecation) in > sage.rings.quotient_ring? That is part of the question. My impression is that Q.lift() is not so often

Re: [sage-devel] Re: GPL Mathematica clone (written in Java)

2011-04-20 Thread Simon
The whole symja thing is interesting... how much of Mathematica's syntax are they allowed to copy without breaching some sort of intellectual property rights? Since some claims were made about symja's integration capabilities, I tested a few integrals... It didn't take long to find simple integ

Re: [sage-devel] Re: Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread Nicolas M. Thiery
On Wed, Apr 20, 2011 at 05:33:57AM -0700, Simon King wrote: > >  - In many cases it is convenient to implement lift in the parent. > >    Sometimes because this avoid creating an element class just to put > >    this method there. Sometimes because this method lift is directly > >    constructed as

[sage-devel] Re: Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread Simon King
Hi Nicolas, On 20 Apr., 14:15, "Nicolas M. Thiery" wrote: > For the record, I would keep it, allowing for both x.lift() and > Q.lift(x), for two reasons: > >  - In many cases it is convenient to implement lift in the parent. >    Sometimes because this avoid creating an element class just to put

Re: [sage-devel] Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread Nicolas M. Thiery
On Wed, Apr 20, 2011 at 02:34:49AM -0700, Simon King wrote: > * Q.lift(x) should be removed, and the category framework for > quotient rings should request a parent method "lifting_morphism" > instead of "lift". For the record, I would keep it, allowing for both x.lift() and Q.lift(x), for two re

Re: [sage-devel] Notebook password auth flaw

2011-04-20 Thread Willem Jan Palenstijn
On Wed, Apr 20, 2011 at 04:52:10AM -0700, jmakov wrote: > Hi. > > PROBLEM: sage's web server allows diff passwords for one user > > > EXAMPLE: > Now I can login with the following credentials: > username = user > password = "!mypassw123#mypassw" #ok since that is user's passw > username = user

[sage-devel] Notebook password auth flaw

2011-04-20 Thread jmakov
Hi. PROBLEM: sage's web server allows diff passwords for one user EXAMPLE: userpassw = "!//chars//number#//string" //chars is a string of characters e.g. "mypassw" //number is some number e.g. "123" using that args the userpassw would be "!mypassw123#mypassw" sage: notebook() 2011-04-20 13:25:3

Re: [sage-devel] Octave talk for Sage Days 30

2011-04-20 Thread David Joyner
I vote for some material on image processing. For example, material from http://amath.colorado.edu/courses/5720/2000Spr/Labs/Worksheets/Matlab_tutorial/matlabimpr.html http://www.math.ucla.edu/~getreuer/matlabimaging.html or ones of the books Digital Image Processing Using MATLAB (Gonzalez, etal),

Re: [sage-devel] Re: GPL Mathematica clone (written in Java)

2011-04-20 Thread Dr. David Kirkby
On 04/20/11 11:40 AM, Dr. David Kirkby wrote: On 04/20/11 10:13 AM, Jason Grout wrote: Interesting. Looking through the docs to the integration functions leads to this website with a large number of rules for integration, which claims that in some cases, it performs much better than MMA and Ma

[sage-devel] Re: State of the Patchbot

2011-04-20 Thread Maarten Derickx
> > I've also been thinking about how best to handle spkgs, and Dag > Seljebotn recently pointed me to > Nixhttp://nixos.org/nix/https://github.com/dagss/scidist/blob/master/ideas.rst. > The basic > idea is that each component is compiled in a directory based on the > hash of its sources and a

Re: [sage-devel] Re: GPL Mathematica clone (written in Java)

2011-04-20 Thread Dr. David Kirkby
On 04/20/11 10:13 AM, Jason Grout wrote: On 4/20/11 3:50 AM, Dr. David Kirkby wrote: This is interesting. http://code.google.com/p/symja/ Apparently it can parse a large percentage of the Mathematica language and has nearly 295 functions. I note it has "D[]" and "Integrate[]" as two of them.

[sage-devel] Re: Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread Simon King
Hi John, On 20 Apr., 12:02, John Cremona wrote: > > Let Q be a quotient ring with ambient ring R, and let x be an element > > of x. > > You meant: x is an element of Q. Sure, thank you! -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send

Re: [sage-devel] Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread John Cremona
I agree with your proposal.Would it be too ambiguous to also allow Q(x) as synonymous for x.lift()? On Wed, Apr 20, 2011 at 10:34 AM, Simon King wrote: > Hi! > > Working at #9138 and #11068, I'd like to put as many rings as possible > into both the new coercion model and the category framewor

[sage-devel] Q.lift()(x) or Q.lift(x)?

2011-04-20 Thread Simon King
Hi! Working at #9138 and #11068, I'd like to put as many rings as possible into both the new coercion model and the category framework. One question arose for quotient rings. Let Q be a quotient ring with ambient ring R, and let x be an element of x. In order to "lift" x, i.e., return a represen

[sage-devel] Re: GPL Mathematica clone (written in Java)

2011-04-20 Thread Jason Grout
On 4/20/11 3:50 AM, Dr. David Kirkby wrote: This is interesting. http://code.google.com/p/symja/ Apparently it can parse a large percentage of the Mathematica language and has nearly 295 functions. I note it has "D[]" and "Integrate[]" as two of them. You can try it online at http://mobmath.a

[sage-devel] GPL Mathematica clone (written in Java)

2011-04-20 Thread Dr. David Kirkby
This is interesting. http://code.google.com/p/symja/ Apparently it can parse a large percentage of the Mathematica language and has nearly 295 functions. I note it has "D[]" and "Integrate[]" as two of them. You can try it online at http://mobmath.appspot.com/ It did not take me too long to

Re: [sage-devel] Octave talk for Sage Days 30

2011-04-20 Thread Dr. David Kirkby
On 04/20/11 05:47 AM, Jordi Gutiérrez Hermoso wrote: Barring any unfortunate events, I will most likely be attending Sage Days 30 in Nova Scotia in less than a couple of weeks. Given my involvement with Octave, I was considering giving a talk about it, and I wanted to get a feel for how Sage user

Re: [sage-devel] progress on sage on python-2.7

2011-04-20 Thread Nicolas M. Thiery
On Fri, Apr 15, 2011 at 12:40:20PM +1200, Francois Bissey wrote: > After a small number of patch (#11156 from Nicolas M. Thiery, and 2 in > #9958, one of which is from my friend Steve Trogdon) we have a clear view > of what needs to be fixed. Test done on 4.7.alpha4 + #7377 and #9969 > > Aside fro

[sage-devel] Re: Indented code in terminal

2011-04-20 Thread Maarten Derickx
On Apr 19, 9:34 pm, kcrisman wrote: > On Apr 19, 11:57 am, John Cremona wrote: > > > > > > > > > > > John, that is an absolutely brilliant feature I had no idea existed. > > It should be better known -- thanks! > > > John > > > On Tue, Apr 19, 2011 at 3:47 PM, John H Palmieri > > wrote: > > >

Re: [sage-devel] Re: Windows port status

2011-04-20 Thread Dr. David Kirkby
On 04/20/11 04:21 AM, William Stein wrote: Python was annoyingly seriously broke on Cygwin for about 8 months. Gary understood exactly what the problem was, but the Cygwin dev's didn't seem to agree... at least not until several months.At the time (5 years ago), at least, it was very difficu

Re: [sage-devel] default __hash__

2011-04-20 Thread Nicolas M. Thiery
On Mon, Apr 18, 2011 at 10:24:17PM -0700, William Stein wrote: > So the main issue I pointed out above, namely that SageObject has a > __hash__ defined, is really a non-issue, since that's the standard > default convention in Python anyways. The real issue to consider is > whether using the strin