[sage-devel] Re: Bug in determinant?

2009-11-25 Thread Michel
Too bad. I really need those determinants. Will sage -upgrade magically put things right for me? I feel hesitant to spend another day compiling sage. On Nov 25, 1:14 pm, Florent Hivert wrote: > > [...] > > > > This looks like an after-effect of ticket #6441. Sebastian Pancratz > > > wrote some

[sage-devel] Re: Bug in determinant?

2009-11-25 Thread Michel
This was on a freshly compiled Sage 4.2. I did not do anything else in this session. On Nov 25, 1:03 pm, Florent Hivert wrote: > On Wed, Nov 25, 2009 at 03:20:38AM -0800, Michel wrote: > > -- > > | Sage Version 4.

[sage-devel] Bug in determinant?

2009-11-25 Thread Michel
-- | Sage Version 4.2, Release Date: 2009-10-24 | | Type notebook() for the GUI, and license() for information.| -- sage: var("t a

[sage-devel] Re: "What can Magma do that Sage can't do?"

2009-06-11 Thread Michel
/ As far as I know there is no software to do mutations of graphs with potentials (see http://arxiv.org/abs/0704.0649) so this would be very useful to have in sage as well. Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel

[sage-devel] Re: chain complexes over the integers are not abelian

2009-05-19 Thread Michel
at most N elements. Regards, Michel On May 19, 4:50 pm, John H Palmieri wrote: > On May 19, 2:25 am, "Nicolas M. Thiery" > wrote: > > > > >         Hi John, > > > On Mon, May 18, 2009 at 09:25:56PM -0700, John H Palmieri wrote: > > > > On May

[sage-devel] Re: chain complexes over the integers are not abelian

2009-05-19 Thread Michel
definition of an abelian category. Regards, Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit t

[sage-devel] Re: Strange behaviour of solve...

2009-05-18 Thread Michel
Fantastic. Thanks a lot!!! I had never heard of this "to_poly_solve function". Regards, Michel On May 18, 7:05 pm, Mike Hansen wrote: > Hello Michel, > > On Sat, May 16, 2009 at 2:59 AM, Michel > wrote: > > > var('Q') > > solve(Q*sqrt(Q^2 + 2)

[sage-devel] Re: Help system

2009-05-18 Thread Michel
For some reason the documentation in the reference manual seems to be different from the documentation in the docstrings. I think if the docstrings were sufficiently expanded then it should be possible to extract the reference manual directly from the docstrings. Regards, Michel On May 18, 9

[sage-devel] Re: Help system

2009-05-17 Thread Michel
One thing: the TEST section is not documented. Michel On May 16, 9:52 pm, Robert Bradshaw wrote: > On May 16, 2009, at 8:35 AM, Michel wrote: > > > > > On May 16, 1:10 pm, Robert Bradshaw > > wrote: > >> On May 16, 2009, at 3:16 AM, Michel wrote: > >

[sage-devel] Re: Help system

2009-05-16 Thread Michel
On May 16, 1:10 pm, Robert Bradshaw wrote: > On May 16, 2009, at 3:16 AM, Michel wrote: > > > Here is one thing I find difficult to use about sage: the help system. > > That's surprising, because it's something a lot of people really find   > nice. > &g

[sage-devel] Re: Help system

2009-05-16 Thread Michel
Dear Simon, I am a fairly experienced python/sage user so I know what you wrote. My point is that what that apparently "solve" is documented in two ways (1) as reply to "solve?" (2) as a section in the reference manual In this case the information obtained by method (2) is more concise and use

[sage-devel] Re: Help system

2009-05-16 Thread Michel
I did some more digging around and now I see that the section in the reference manual on "solve" is actually more useful than what is returned by "solve?" (1) It is more concise. (2) It actually contains a reference to "find_root", a numerical method for solving

[sage-devel] Help system

2009-05-16 Thread Michel
Here is one thing I find difficult to use about sage: the help system. When in my previous post the symbolic "solve" command failed on me I wanted to use a numeric solve command. So I did solve? Alas the help page that is returned does not contain a "See also" section. So this didn't work. So

[sage-devel] Strange behaviour of solve...

2009-05-16 Thread Michel
var('Q') solve(Q*sqrt(Q^2 + 2) - 1,Q) yields [Q == 1/sqrt(Q^2 + 2)] Not what I was looking for! Regards, Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to

[sage-devel] Re: prime_pi

2009-05-05 Thread Michel
I always get /home/sage/sage_install/sage-a/local/bin/sage-sage: line 348: 26501 Segmentation fault python "$@" Connection to localhost closed. when trying prime_pi on www.sagenb.org Regards, Michel On May 5, 4:32 am, William Stein wrote: > This is from the guy who w

[sage-devel] Re: JavaScript Graph editor

2009-05-01 Thread Michel
I very much like the self organizing feature of the graphs on the applets on this page http://people.math.jussieu.fr/~keller/quivermutation/ Don't forget to check "Live Quiver". It's like what GraphViz does but then in real ti

[sage-devel] Re: JavaScript Graph editor

2009-04-30 Thread Michel
That's too bad. I knew GraphViz was open source. I didn't know they chose a GPL incompatible license. Michel On Apr 30, 6:06 pm, William Stein wrote: > On Thu, Apr 30, 2009 at 9:02 AM, Michel > wrote: > > > I wonder if GraphViz is part of sage. I thought it was &

[sage-devel] Re: JavaScript Graph editor

2009-04-30 Thread Michel
I wonder if GraphViz is part of sage. I thought it was specially designed for visualizing graphs. --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroup

[sage-devel] Re: evaluating integrals

2009-04-17 Thread Michel
+1 I always wondered why this doesn't work. Forcing me to remember the syntax for a numerical integral... > %maxima > integrate(sqrt(x^3+1),x,2,10), float > /// > 'integrate((x^3+1)^0.5,x,2,10) > > It would be very nice to have this feature though! > >  -- William > > > > --~--~-~--~

[sage-devel] Re: Power series rings

2009-03-14 Thread Michel
I think so. But then you should be working in a ring of truncated power series (i.e. k[x]/(x^a)). This seems conceptually different from working in a ring of power series where you only know the elements up to a given precision On Mar 14, 9:53 pm, John Cremona wrote: > David says in the do

[sage-devel] Re: Fractions with factored denominators

2009-03-12 Thread Michel
on of Sage. Regards, Michel On Mar 9, 7:53 pm, "Nicolas M. Thiery" wrote: >         Dear Michel, > > On Mon, Mar 09, 2009 at 12:03:34AM -0700, Michel wrote: > > A long time ago I made a FractionFIeld implementation which would > > cache factorizations of den

[sage-devel] Re: tutorial: add something about functions vs. expressions, etc.?

2009-03-10 Thread Michel
Very nice. This something I always found confusing. One thing is not clear to me: why is "sin" not a callable symbolic expression by default? Is there a coneptional reason for this, or is it performance related? On Mar 10, 8:07 am, William Stein wrote: > On Mon, Mar 9, 2009 at 4:32 PM, John H Pa

[sage-devel] Re: Fractions with factored denominators

2009-03-09 Thread Michel
Hi Nicolas, A long time ago I made a FractionFIeld implementation which would cache factorizations of denominators. instead of taking gcd's all the time http://markmail.org/message/7hxox5cbz5knxjse#query:new%20implementation%20of%20fraction%20field+page:1+mid:5bf3l37bsim34m4g+state:results It i

[sage-devel] Re: Fwd: [MPFR] new license for GNU MPFR

2009-03-05 Thread Michel
On Mar 5, 7:02 pm, Robert Bradshaw wrote: > On Mar 5, 2009, at 5:27 AM, Michel wrote: > > > Hi all, > > > Maybe it is time for Sage to drop its ban on GPL3 code? > > This is a topic that we will certainly be revisiting in the future,   > but I see no reason

[sage-devel] Re: Fwd: [MPFR] new license for GNU MPFR

2009-03-05 Thread Michel
Hi all, Maybe it is time for Sage to drop its ban on GPL3 code? After all there is the lawsuit of Microsoft against TomTom. If Microsoft does not behave nicely with people using open source software there is zero reason to be nice to them. Michel

[sage-devel] Re: msieve addition to sage

2009-02-20 Thread Michel
+1 The default factor command in sage is rather slow. On Feb 19, 9:48 am, jeffblakeslee wrote: > Hello all, > >     Please consider voting on the addition of msieve to sage.  This > includes an interface file and an .spkg.  Msieve, by Jason > Papadopoulos, should increase the integer factoriz

[sage-devel] Re: Question to Martin Albrecht

2008-11-12 Thread Michel
Thanks! I will think about your suggestions. I asked you since I know you are a cryptographer. I assume cryptographers know all about reversing hashes! Of course the question was in fact addressed to the whole list. Thanks again, Michel On Nov 12, 4:30 pm, Martin Albrecht <[EMAIL PROTEC

[sage-devel] Re: Question to Martin Albrecht

2008-11-12 Thread Michel
, Michel BTW I more or less know how this problem is attacked in characteristic zero. On Nov 12, 11:10 am, Michael Brickenstein <[EMAIL PROTECTED]> wrote: > http://m4ri.sagemath.org/performance.html > > On 12 Nov., 11:07, Michel <[EMAIL PROTECTED]> wrote: > > > > I

[sage-devel] Re: Question to Martin Albrecht

2008-11-12 Thread Michel
> If the equations are really linear, then it's trivial. > > Ah, can you tell me more? Regards, Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTE

[sage-devel] Re: Question to Martin Albrecht

2008-11-12 Thread Michel
Hmm this question is going to have (too) many solutions: Take any solution with 781-64 arbitrarily assigned zeros. Chances are big that this solution has at most 38 ones. What if we replace 38 by a smaller number. Say 20? Michel On Nov 12, 8:43 am, Michel <[EMAIL PROTECTED]> wrote

[sage-devel] Question to Martin Albrecht

2008-11-11 Thread Michel
specifically a so-called Zobrist hash function which is widely used in chess engines. Regards, Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options

[sage-devel] Inconsistency in interpreting the arguments of some functions

2008-09-24 Thread Michel
coercion to a complex number happens for pi but not for I (even though zeta_symmetric expect a complex number as input). Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[sage-devel] Re: Proposal for inclusion of GINAC/pynac-0.1 in Sage.

2008-08-26 Thread Michel
An assumption framework is non-trivial as it is basically computational real algebraic geometry. Recenty there was a post about QEPCAD (http://www.cs.usna.edu/~qepcad/ B/QEPCAD.html). Perhaps this might fit the bill? Michel On Aug 26, 8:43 am, "William Stein" <[EMAIL PROTECTED]

[sage-devel] Re: Trying to extend Integer

2008-06-03 Thread Michel
> sage: m = matrix(ZZ,2,[1,2,3,4]) > sage: d = m.det(); d > -2 > sage: d.__init__(389) > sage: m > [1 2] > [3 4] > sage: m.det() > 389 This problem would not occur if m.det() were to return a copy of the cache

[sage-devel] Re: coercing of log(2)*1.0

2008-05-31 Thread Michel
I think log(2) is an element of the symbolic ring SR. There is no canonical morphism SR-->RR. So perhaps coercion is not expected to work? Michel On May 31, 2:21 pm, Henryk Trappmann <[EMAIL PROTECTED]> wrote: > Hello, > > while the general rule of coercing in binary oper

[sage-devel] Re: matrices with no ring specified default to QQ if the elements are all integers

2008-05-23 Thread Michel
For what it's worth, I prefer B. Michel On May 23, 3:17 pm, John Cremona <[EMAIL PROTECTED]> wrote: > I vote for Proposal B. > > John > > On May 21, 10:02 pm, Nick Alexander <[EMAIL PROTECTED]> wrote: > > > > Wow! In that case I revise my vie

[sage-devel] Re: Fwd: Tensor products

2008-05-07 Thread Michel
ntax. It needs to be (1) easy > and natural to use, (2) mathematically correct and complete. > One remark. The tensor product is only the coproduct in the category of commutative rings. In the category rings the coproduct is the free product but the tensor product st

[sage-devel] derivatives of elements of fraction fields

2008-04-02 Thread Michel
vantage of having abstract derivations would be that one could add them, take their commutatior etc Regards, Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROT

[sage-devel] Re: Can maxima do more than sage?

2008-03-28 Thread Michel
ally about points at infinity we need to specify which compactification we use. In the case of the real line we have the choice of the the interval (-inf,+inf) and the circle (inf). The preferred choice of compactification depends on the context. Michel On Mar 28, 9:54 am, "William Stein&quo

[sage-devel] Re: Can maxima do more than sage?

2008-03-28 Thread Michel
t;-->1/z exchanges complex infinity and the origin. That way you can speak about functions holomorphic at infinity etc... Now we could also equip the complex plane with a "circle at infinity". This is the Stone Cech compactification. I guess this is just n

[sage-devel] Re: nc algebra?

2007-12-27 Thread Michel
There is also the "affine" package in maxima. Regards, Michel On Dec 27, 5:46 am, "Mike Hansen" <[EMAIL PROTECTED]> wrote: > Hello, > > > what about the non-commutative part of Singular (formerly known as > > "Plural")? > > Singular-P

[sage-devel] Re: "chroot is not a security tool"

2007-10-06 Thread Michel
> > I helps a little, but getting from non-privileged shell to root shell > provided you have compilers isn't very hard. Do you claim any ordinary user can become root? I.e. that the unix security model is worthless? Surely this is not what you mean. Can you clarify? R

[sage-devel] Re: "chroot is not a security tool"

2007-10-05 Thread Michel
I think the trick is not to run the processes in the chroot as root. I used a command like this (as root) /usr/sbin/chroot chroot_directory su - sage -c "sage -c \"$COMMAND\" " Thus the sage process inside the chroot is run by a user "sage". I am not sure how secu

[sage-devel] Re: Algebraic Number Theory Timings : Part 1 - Take 2

2007-09-06 Thread Michel
Yes. Who would have expected the existence of a faster generic algorithm to compute the order of an element in a group. Michel On Sep 6, 1:50 pm, Bill Hart <[EMAIL PROTECTED]> wrote: > But WOW, what an amazing thesis!! I think you sent this one to me > before, yes? But this is the

[sage-devel] Re: ticket #59 (optimize elliptic curve arithmetic)

2007-08-14 Thread Michel
steps and on how fast the numerators/denominators grow. I am sure the elliptic curve experts on this forum can say more about this. Michel On Aug 14, 10:41 pm, David Harvey <[EMAIL PROTECTED]> wrote: > On Aug 14, 2007, at 4:19 PM, Alex Ghitza wrote: > > > > > Hi, > &g

[sage-devel] Re: SAGE notebook 2

2007-06-27 Thread Michel
irewall could be configured to allow only specific host access (which would of course still allow DOS attacks against those hosts) Anyway I realize this is not a sage issue but a firewall issue. Michel --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-devel] Re: SAGE notebook 2

2007-06-27 Thread Michel
code correctly the notebook users sage** have easy to guess passwords which is also bad of course! Michel On Jun 27, 11:20 am, Michel <[EMAIL PROTECTED]> wrote: > So far everything looks good. For serious testing one would need the > source > of the notebook. > > Here are some p

[sage-devel] Re: SAGE notebook 2

2007-06-27 Thread Michel
they could execute denial of service attacks against other computers. Shouldn't internet access for notebook users be turned off by default? Michel On Jun 27, 10:25 am, Michel <[EMAIL PROTECTED]> wrote: > So the notebook processes are executing the actual sage commands? > What

[sage-devel] Re: SAGE notebook 2

2007-06-27 Thread Michel
restarted automatically (or on demand). Having to push "restart" when you log in is confusing. Michel On Jun 27, 9:56 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On 6/27/07, Michel <[EMAIL PROTECTED]> wrote: > > > Doing > > > sage: import

[sage-devel] Re: SAGE notebook 2

2007-06-27 Thread Michel
t seem to restore my connection. Michel On Jun 27, 9:39 am, "William Stein" <[EMAIL PROTECTED]> wrote: > Hi, > > SUMMARY: I've made the public SAGE notebook servers > nontrivial to seriously vandalize or kill... I hope. Try to > crack them (especiallyhttps://sage.m

[sage-devel] Re: SAGE notebook 2

2007-06-21 Thread Michel
The new notebook looks very good. Here is another quirk. I pressed "help" in a worksheet and as expected got to the help page. However my name was given as "Timoty Clemans"! More importantly it is quite unclear to me how to go back from the help page to the worksheet! Mich

[sage-devel] Re: SAGE notebook 2

2007-06-21 Thread Michel
I often select the content of a cell and press backspace to delete it. In the new notebook it seem to throw me out of the notebook (it sometimes works though). Quite bizarre. This is firefox 1.0.4 on FC4. Michel On Jun 22, 5:36 am, "William Stein" <[EMAIL PROTECTED]> wro

[sage-devel] Re: SAGE notebook 2

2007-06-21 Thread Michel
Sorry, Didn't read the note. I guess I hadn't understood that notebook processes running under a different user and ssh had anything to do with each other. I hope the new security model gets turned on soon! Michel On Jun 21, 10:56 pm, "Timothy Clemans" <[EMAIL PROTECTED]

[sage-devel] Re: SAGE notebook 2

2007-06-21 Thread Michel
The following command seemed to kill the notebook process. os.system("kill -9 `ps -u server4 -o pid=`") I was unable to log in afterwards. Shouldn't the notebook process be restarted automatically? Regards, Michel --~--~-~--~~~---~--~~ To pos

[sage-devel] Re: Recursive base extend prototype (for coercion)

2007-06-19 Thread Michel
Things like this are definitely needed. So what came out of the redesign of the coercion model at SD4? Michel On Jun 20, 6:14 am, [EMAIL PROTECTED] wrote: > A while ago, I wrote a little function that took a multivariate polynomial > into a corresponding recursive univariate poly

[sage-devel] Re: make test failure (possible solution)

2007-06-19 Thread Michel
William, A while ago I reported that the implementation of RR(0).exact_rational() made some machines run out of memory, giving weird doctest errors. You posted a patch (special casing zero) but I now see in the source of sage-2.6 you forgot to apply it. Can you please apply! Regards, Michel

[sage-devel] Re: make test failure

2007-06-18 Thread Michel
pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow ts bogomips: 3603.04 Michel On Jun 18, 6:38 pm, Jonathan Bober <[EMAIL PROTECTED]> wrote: > I just compiled and tested sage on a machine that I haven't run it on > before, and got the following puzzling error: > > s

[sage-devel] Re: twisted sage notebook

2007-06-17 Thread Michel
Everything working here! I look forward to the new security measures to do some real testing:-) Regards, Michel On Jun 16, 10:40 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On 6/16/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > > > I'm getting a

[sage-devel] Re: Complex numers in symbolic expressions.

2007-06-12 Thread Michel
Ideally I should be the element x in ZZ[x]/(x^2+1) (and not QQ[x]/ (x^2+1)). Likewise zeta[n] could be the element y in ZZ[y]/(y^n-1). These rings should have automatic coercions to many other rings (including of course the symbolic ring). Michel On Jun 12, 8:04 pm, Robert Bradshaw <[EM

[sage-devel] Re: GiNaC

2007-06-09 Thread Michel
Lack of integration is not a showstopper. One can still call maxima for that. Michel On Jun 9, 10:27 pm, "Joel B. Mohler" <[EMAIL PROTECTED]> wrote: > I'm curious if GiNaC has been evaluated for use in SAGE as an alternate > symbolic engine.http://www.ginac.de/ >

[sage-devel] Re: Inconsistency in next_prime (new patch)

2007-06-09 Thread Michel
Oops, Patch contains stupid typo. The docstring for precprime(gen self) should be precprime(x): *largest* pseudoprime <= x Michel On Jun 9, 9:06 pm, Michel <[EMAIL PROTECTED]> wrote: > Hi, > > Attached is a patch that fixes these inconsistencies. It also > introduces pr

[sage-devel] Re: Inconsistency in next_prime (new patch)

2007-06-09 Thread Michel
://emis.uhasselt.be/sage_patches/next_prime_inconsistencies.patch Michel On Jun 8, 5:49 pm, Jack Schmidt <[EMAIL PROTECTED]> wrote: > My benchmarks agree. The gap between primes is so small as to make my > communication point moot. Even checking some of the record setting > prime

[sage-devel] Re: Inconsistency in next_prime

2007-06-07 Thread Michel
38.98 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137859 Michel On Jun 8, 3:48 am, Jack Schmidt <[EMAIL PROTECTED

[sage-devel] Re: Make "attach" easier to use from the notebook

2007-06-07 Thread Michel
I wonder if there are any open source javascript editor widgets. It would be nice to be able to start up an editor from the notebook. Michel On Jun 7, 9:33 pm, Nils Bruin <[EMAIL PROTECTED]> wrote: > I just postedhttp://www.sagemath.org:9002/sage_trac/ticket/386 > > Current

[sage-devel] Re: Inconsistency in next_prime

2007-06-07 Thread Michel
Unfortunately I was too quick as well... It is not actually faster to use the pari next_prime function. This is because is_prime is of course extremely fast at detecting composite numbers. Michel On Jun 7, 9:28 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On 6/7

[sage-devel] Re: Inconsistency in next_prime

2007-06-07 Thread Michel
I guess you mean the opposite. The pseudoprimetest used internally by pari should never declare a prime number to be composite. Most likely they use Miller Rabin which has this property. I will check. Michel On Jun 7, 8:54 pm, "William Stein" <[EMAIL PROTECTED]> wrote: >

[sage-devel] Re: Inconsistency in next_prime

2007-06-07 Thread Michel
Whoops, I just looked at the code again. Wouldn't it be much better to call pari's "next_prime" function. Test for primeness, if true, return, if false, call next_prime again etc...? That should be ***much*** faster than the current method. Michel On Jun 7, 8:38 pm, Mich

[sage-devel] Re: Inconsistency in next_prime

2007-06-07 Thread Michel
Hi, This thread started because (...).next_prime() and next_prime(...) behave differently. So I assume this can be fixed immediately? As to provable/probabilistic. I am worried about global modes since people will forget about them Michel On Jun 7, 8:19 pm, "William Stein&quo

[sage-devel] Re: Inconsistency in next_prime

2007-06-07 Thread Michel
And what should the default be? I would vote for probable primes since looking for provable primes is unbearably slow. Michel On Jun 7, 8:01 pm, David Joyner <[EMAIL PROTECTED]> wrote: > Michel wrote: > > It has often bothered me that there is a big difference in > >

[sage-devel] Inconsistency in next_prime

2007-06-07 Thread Michel
methods/functions should have identical behaviour. What do other people think? Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this

[sage-devel] Re: Sage in chroot

2007-06-07 Thread Michel
ere are of course many tricky isues, not the least the authentication of the user versus the controlling process. This is important since it would determine the userid and home directory for the slave process. There are many more securithy issues that would have to be dealt with. Michel On Jun 7

[sage-devel] Re: Sage in chroot

2007-06-06 Thread Michel
ould be able to kill sageprocess5 but nothing else. Moreover sageprocess5 would be restarted immediately. Everything is fully isolated. No security risk whatsoever. One would need a system with a lot of memory of course. Michel --~--~-~--~~~---~--~~ To pos

[sage-devel] Re: Sage in chroot

2007-06-06 Thread Michel
en restart the user copy of sage. So your solution is exactly equivalent to mine. Of course I agree that writing the server process in python would give a lot more flexibility. Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegro

[sage-devel] Re: Sage in chroot

2007-06-06 Thread Michel
00:00 sage-run 6440 ?00:00:00 sh . sage: os.system("kill -9 6418") I don't see how sage can recover from this (on my system it didn't). Unless it is started by some kind of monitoring process running as root. On Jun 6, 9:33 pm, "William Stein" <[EMAIL PRO

[sage-devel] Re: Sage in chroot

2007-06-06 Thread Michel
. Ah: maybe your point is that if the user kills his own sage process he is just shooting himself in the foot? So no special action should be required... Michel On Jun 6, 8:07 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Hi, > > The better solution -- in the long

[sage-devel] Re: Sage in chroot

2007-06-06 Thread Michel
Yep this solution seems to work quite well. My son remarked that when restarting sage it is necessary to also kill all processes run by sageuser. Otherwise sageuser could start a process which would be on the lookout for new instances of sage and kill these also! Michel On Jun 6, 6:40 pm

[sage-devel] Re: Sage in chroot

2007-06-06 Thread Michel
On Jun 6, 2:04 pm, Michel <[EMAIL PROTECTED]> wrote: > Input from my son who is fascinated by security. > > On my setup at least the notebook user can > kill the sage binary, needing manual intervention > to start it again. > > How to guard against that? > > Mic

[sage-devel] Re: Sage in chroot

2007-06-06 Thread Michel
Input from my son who is fascinated by security. On my setup at least the notebook user can kill the sage binary, needing manual intervention to start it again. How to guard against that? Michel --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-devel] Notebook features

2007-06-05 Thread Michel
expand as much as necessary. One global scrollbar is more than enough to keep track of. I assume I can achieve this through css hacking, but perhaps there is a better way? Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel

[sage-devel] Re: strings and symbolic expressions

2007-06-05 Thread Michel
;s where for 2d display. Since there is already a display2d method I don't see why str(...) could not return the 1D version. Michel On Jun 5, 7:42 pm, "Joel B. Mohler" <[EMAIL PROTECTED]> wrote: > On Tuesday 05 June 2007 12:09, William Stein wrote: > > > On

[sage-devel] Re: Bug in sage-test (strip_automount_prefix)?

2007-06-05 Thread Michel
Ok thanks for the explanation. BTW My name is Michel and not Michael! On Jun 5, 3:54 pm, Kate <[EMAIL PROTECTED]> wrote: > Michael, > > Thanks for the URL. (Alternately, you could have told me to look > in the > > maxima.console() works but not maxima.interact

[sage-devel] Re: Bug in sage-test (strip_automount_prefix)?

2007-06-05 Thread Michel
This one! Hope the URL works. http://groups.google.com/group/sage-devel/browse_thread/thread/ea56d4fc266fd79b/7bc0cb3bb2ff28cc?lnk=st&q=&rnum=4#7bc0cb3bb2ff28cc Michel On Jun 5, 2:46 pm, Kate <[EMAIL PROTECTED]> wrote: > Michael, > > Which thread? > > Kate

[sage-devel] Re: Sage in chroot

2007-06-05 Thread Michel
ge" inside the jail and start the notebook as follows #/usr/sbin/chroot /sage-root su - sage -c "sage -notebook" Are there any security problems associated with this? Michel On Jun 5, 2:15 pm, Michel <[EMAIL PROTECTED]> wrote: > I have compiled sage from source

[sage-devel] Sage in chroot

2007-06-05 Thread Michel
led: out of pty devices I have mounted /dev/pts etc... Sometimes the error goes away for unclear reasons but after reboot it it is there again. Really frustrating. I am going to give up for now, unless somebody knows what causes this behaviour. Michel --~--~-~--~~~---~-

[sage-devel] Re: C question

2007-06-04 Thread Michel
At the risk of saying something really stupid (as I am relatively clueless in the matter)it seems LD_PRELOAD is often used to achieve the effect you want. Michel On Jun 5, 7:18 am, Joshua Kantor <[EMAIL PROTECTED]> wrote: > This is a C question, I was hoping someone had some

[sage-devel] Re: Bug in sage-test (strip_automount_prefix)?

2007-06-04 Thread Michel
William already posted a patch to this in another thread! On Jun 4, 7:39 pm, Nick Alexander <[EMAIL PROTECTED]> wrote: > > PS. Strictly speaking one should use os.path.separator instead of > > "/" :-) > > Perhaps os.path.realpath and os.path.normpath are even better? I > think Kate Minola will h

[sage-devel] Re: Singular compilation error. File format not recognized??? (Solved(?))

2007-06-04 Thread Michel
k but that are apparently necessary for building SAGE. Michel On Jun 4, 4:55 pm, Martin Albrecht <[EMAIL PROTECTED]> wrote: > On Monday 04 June 2007 16:39, Michel wrote: > > > I building SAGE in a FC7 chroot jail in FC4. Everything went fine > > until Singular &

[sage-devel] Singular compilation error. File format not recognized???

2007-06-04 Thread Michel
I building SAGE in a FC7 chroot jail in FC4. Everything went fine until Singular Singular has problems with ndbm.dl_o. What is ndbm.dl_o??? Michel ==Error message make[3]: Entering directory `/root/sage-2.6/spkg/build/ singular-3-0-2

[sage-devel] Singular compilation error. File format not recognized???

2007-06-04 Thread Michel
I building SAGE in a FC7 chroot jail in FC4. Everything went fine until Singular Singular has problems with ndbm.dl_o. What is ndbm.dl_o??? Michel ==Error message make[3]: Entering directory `/root/sage-2.6/spkg/build/ singular-3-0-2

[sage-devel] Singular compilation error. File format not recognized???

2007-06-04 Thread Michel
I building SAGE in a FC7 chroot jail in FC4. Everything went fine until Singular Singular has problems with ndbm.dl_o. What is ndbm.dl_o??? Michel ==Error message make[3]: Entering directory `/root/sage-2.6/spkg/build/ singular-3-0-2

[sage-devel] Re: maxima.console() works but not maxima.interact()

2007-06-04 Thread Michel
On Jun 4, 2:46 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Thanks for the bug report about strip_automount_prefix. Please try > the attached sage-test. > > On 6/4/07, Michel <[EMAIL PROTECTED]> wrote: > > > > > > > I am working on

[sage-devel] Re: maxima.console() works but not maxima.interact()

2007-06-04 Thread Michel
art from within sage. Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http:/

[sage-devel] maxima.console() works but not maxima.interact()

2007-06-04 Thread Michel
sh prompt (I have done install-scripts). Does anybody recognize this situation? In particular I am very worried that my prompt is In [x]: and not sage:... What could possibly cause this? Michel --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-devel] Bug in sage-test (strip_automount_prefix)?

2007-06-04 Thread Michel
rip_automount_prefix assumes that a path contains at least two "/"'s which is not satisfied in my case. I assume this function should just bail out in the case that a path contains 0 or 1 slashes. But since I do not fully understand what strip_automount_prefix is supposed to do I would like

[sage-devel] Re: GPLv2 or GPLv3?

2007-06-04 Thread Michel
Personally I think the extra patent protection provided by the GPL3 would be a good thing for SAGE and for open source CAS's in general. But I assume this issue depends mainly on the software SAGE itself depends on. I might be mistaken but I think Maxima is GPL2 only. Michel PS. I thin

[sage-devel] Re: Fwd: Thanks for Sage, and a question/suggestion...

2007-06-03 Thread Michel
interface) has some stuff on Lie algebras and root data but it probably does not go beyond what you list under (0) (and probably it does far less). Michel PS. Not directly related to what you wrote. A system that knows about enveloping algebras of Lie algebras is Plural (the non-commutative algebra

[sage-devel] Re: Hiding doctests from documentation.

2007-06-02 Thread Michel
manual. Michel On Jun 2, 3:02 pm, Martin Albrecht <[EMAIL PROTECTED]> wrote: > On Saturday 02 June 2007 14:59, David Harvey wrote: > > > > > On Jun 2, 2007, at 8:44 AM, Michel wrote: > > > There is something I have not fully understood yet. > > > If I un

[sage-devel] Hiding doctests from documentation.

2007-06-02 Thread Michel
s from the documentation? Michel --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel

[sage-devel] Re: Sparse Block Diagonal Matrices

2007-06-01 Thread Michel
s *much* faster. So: question: could it be that the multiplication of sparse matrices is not as optimized as it should be? I looked in "matrix_generic_sparse.pyx" but I don't even see a _mul_ method. Where is multiplication of sparse matrices implemented? Michel On Jun 2, 4:23 am,

[sage-devel] Re: Symbolic manipulation questions

2007-05-31 Thread Michel
Recently I also encountered this "\cdot". I think it does not correspond to usual mathematical typesetting so perhaps it should go. Michel On May 31, 5:23 pm, "Joel B. Mohler" <[EMAIL PROTECTED]> wrote: > On Thursday 31 May 2007 11:09, William Stein wrote: > &

  1   2   3   >