This slowly and inexorably goes on. Computing `sqrt(T2)` leaks 32 bytes
each and every time (asymptotically).
Found by a student who, through no fault of himself, brought down our
server (unable to ssh in until the OOM triggered -- but since the leak is
slow it takes a while to trash 16G of swa
See https://trac.sagemath.org/ticket/34850#comment:65.
Do I get that beer in Luminy?
Best,
Gonzalo
On Friday, December 16, 2022 at 5:47:46 PM UTC-3 dim...@gmail.com wrote:
> On Fri, Dec 16, 2022 at 4:58 PM David Lowry-Duda
> wrote:
> >
> > On Thu, Dec 15, 2022 at 12:19:28PM +, Dima Pasech
Maybe you could append a "Fixes: #x" to the commit message (similar to
the Signed-of-by lines that are used in the linux kernel), then have an
hook in the "official" repo close the ticket. This way the ticket is
automatically closed iff and when the fix is merged to the official
development bra
On Tue, Nov 5, 2013 at 12:32 PM, Simon King wrote:
> Hi Gonzalo,
>
> On 2013-11-05, Gonzalo Tornaria wrote:
>> Example:
>>
>> 1. A, B are posted in ticket
>> 2. purple-sage (or sage-next, or whatever) gets interested in ducks,
>> and decides to merge th
More reading and some comments:
a. Linus et al on git rebase: http://yarchive.net/comp/linux/git_rebase.html.
b. An article in LWN about the topic: http://lwn.net/Articles/328436/
c. In the first reference there are a couple of comments by Linus on
"revert" -- including a recipe using rebase tha
Relevant article by Linus Torvalds:
http://lwn.net/Articles/328438/
Best,
Gonzalo
On Mon, Nov 4, 2013 at 4:33 PM, David Roe wrote:
> I agree with Volker: any plan which involves rewriting the history of your
> branch to make it "nicer" is a very bad idea. Once you push changes to
> trac, you r
On Tue, Dec 11, 2012 at 10:38 PM, Robert Bradshaw
wrote:
> Not requiring a coercion allows statements like
>
> sage: 4/2 in ZZ
> True
>
> when there's no coercion from QQ to ZZ. I'm all for a better
> heuristic. (Perhaps require a coercion or injective coercion inverse
> into the target parent?) I
I want to report two issues in the bash scripts (sage 5.0.1) which
break the build of sage under certain situations. This actually
happens in the computers at ICTP.
The two issues are related with using "time" with a pipeline, assuming
it is the builtin time, but in fact is not (I've no idea why).
On Thu, Mar 22, 2012 at 4:14 PM, Robert Bradshaw
wrote:
> ...
> This is horrendous. Better to not have this "constant" (at least not
> in the global namespace) than behavior like this. The top level NaN,
> if we want one, could be in RR (precision doesn't really matter for
> this value).
Agreed,
In sage 4.8:
sage: NaN - NaN
sage: 0
sage: NaN + NaN
2*NaN
sage: NaN * NaN
NaN^2
not what I expected...
RR(NaN) seems to work better
sage: RR(NaN) - RR(NaN)
NaN
sage: RR(NaN) + RR(NaN)
NaN
sage: RR(NaN) * RR(NaN)
NaN
Still some weirdness:
sage: RR(NaN) + x
x
sage: RR(NaN) * x
NaN*x
Gonzalo
On Thu, Jun 23, 2011 at 4:49 PM, Rob Beezer wrote:
> Proposal: For matrices over QQ (or implicitly ZZ) with eigenvalues
> outside QQ, make the default output like the second example above,
> while retaining the current output as optional behavior via a keyword.
What's wrong with:
sage: B = matr
On Tue, Jun 7, 2011 at 5:18 PM, Simon King wrote:
> Hi Gonzalo,
>
> On 7 Jun., 21:25, Gonzalo Tornaria wrote:
>> What is the base class that one is supposed to use instead of ParentWithBase?
>
> I think it is Parent. The Parent.__init__ accepts an argument base.
>
&
In sage/structure/parent_base.pyx there is a function
"check_old_coerce" with the following definition:
cdef inline check_old_coerce(parent.Parent p):
if p._element_constructor is not None:
raise RuntimeError, "%s still using old coercion framework" % p
This function is called from a f
On Sun, May 8, 2011 at 3:34 PM, John Cremona wrote:
> I forwarded this thread to sage-algebra.
Thanks John. I'm actually not subscribed to sage-algebra.
Is it undesirable to discuss this here?
Gonzalo
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from t
Slightly unrelated, there is the following note at the top of
sage/algebras/group_algebra.py:
"""
-- It seems to be impossible to make this fit nicely with Sage's coercion
model. The problem is that (for example) if G is the additive group (ZZ,+),
and R = ZZ[G] is its group ring, then
sage: G = AbelianGroup(1,[2])
sage: ZG = GroupAlgebra(G)
sage: f = ZG(G.gen())
sage: f in ZG
True
sage: ZG(f)
...
TypeError: Don't know how to create an element of Group algebra of
group "Multiplicative Abelian Group isomorphic to C2" over base ring
Integer Ring from f
--
Proposed fix:
--- a
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
On Mon, Apr 18, 2011 at 10:24 PM, William Stein wrote:
> ...
> I think it is worth revisiting this design decision. I did a
> little poking, and in Python and Cython, a class by default has a
> hash, which is the location in memory of the object, e.g.,
Only so long as the class doesn't define
http://thedailywtf.com/Articles/The-Nondeterministic-Hash.aspx
Gonzalo
On Mon, Apr 18, 2011 at 4:13 PM, William Stein wrote:
> Hi,
>
> I was just explaining to a student in my Sage course how I had
> stupidly defined a default __hash__ method for SageObject, which was
> -- stupidly -- to just ha
On Wed, Mar 30, 2011 at 7:52 PM, William Stein wrote:
> There is an easy fix though. The problem was that the default network
> interface got renamed by udev to eth6, but the file
> /etc/network/interfaces only lists eth1-eth4.
> So whoever (?) is maintaining the vmware image should just add a bu
On Thu, Dec 9, 2010 at 10:03 PM, Rob Beezer wrote:
> Is there any objection to deprecating the current .adjoint() function
> (which returns a matrix of cofactors) and renaming it as the
> "adjugate"? With all the usual procedures and warnings for the
> deprecation. That would begin the process t
On Fri, Dec 3, 2010 at 12:59 AM, kcrisman wrote:
>> Do you have a reference for this convention? I had never seen the word
>> "adjugate" before.
>
> At least in an older edition of Lay's Linear Algebra book (fairly
> widely used) uses this, and points out there is a "real" adjoint which
> is not c
On Thu, Dec 2, 2010 at 7:16 AM, John Cremona wrote:
> What you call the classical adjoint is really the adjugate. That is
> abbreviated to adj, and since there is also an adjoint, it is a common
> error to call the adjugate the adjoint.
Do you have a reference for this convention? I had never se
On Mon, Oct 25, 2010 at 12:09 PM, David Kirkby wrote:
> Since Minh has been using an external server (I think run by GNU) for
> Debian, we can probably add Debian at some point if we can get
> permission to run a buildbot slave there.
1. Is there a reason for not running debian on a vm on boxen?
On Tue, Jul 20, 2010 at 3:43 AM, 3DRaven <3dra...@gmail.com> wrote:
> Yes. I do not speak English.
> I use a translator of Google.
> Why unpacking: sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-
> Linux.tar.lzma
> I get the message about the impossibility of creating hard links?
I just checked the fi
On Mon, May 10, 2010 at 9:41 AM, William Stein wrote:
> On Monday, May 10, 2010, Tim Joseph Dumol wrote:
>>
>> I have the same problem. I see color noise instead of 3d plots.
>>
>
> There is no support in the sage notebook for printing 3d plots. I'm
> a little surprised you guys didn't know thi
On Thu, May 6, 2010 at 7:58 PM, Dr. David Kirkby
wrote:
> ...
> The recent case of gcc accepting the macro INFINITY even when code was not
> compiled in C99 mode was just one example. INFINITY was not defined until the
> C99 standard.
> ...
> I must admit, I find it somewhat annoying that gcc is
On Fri, Apr 30, 2010 at 4:11 AM, Sergey Bochkanov
wrote:
> Hello, William.
>
>> In Sage we (=mostly Gonzalo Tornaria) spent an enormous amount of time
>> writing two very efficient C functions, one to convert from mpz to
>> Python ints, and one to convert back. Yes
2010/4/27 Johan Grönqvist :
> The definition of norm on vectors is consistent with definitions of norm
> according to wikipedia [0] and the springer encyclopedia of mathematics [1],
> and (I believe) any book I have ever used. Those did not even mention that
> there is an alternative definition of
On Mon, Apr 26, 2010 at 4:26 PM, John Cremona wrote:
> In number theory it is very useful to have this norm-alisation, as
> well as the square root one also called abs. It's a special case of
> the algebraic concept of norm(a) = product of conjugates of a.
And the determinant of the action of a
On Sun, Apr 25, 2010 at 2:59 PM, Nathan O'Treally wrote:
> On 25 Apr., 19:07, Gonzalo Tornaria wrote:
> This is actually a security issue, too. (Imagine e.g. a Sage bdist was
> compiled in /tmp: Everybody could place arbitrary code in a fake
> library there. Or he could even l
On Sun, Apr 25, 2010 at 1:26 PM, Nathan O'Treally wrote:
> On 25 Apr., 17:11, Gonzalo Tornaria wrote:
>> I'd rather have
>>
>> sage: 1/3 == GF(3)(1)
>>
>> raise a ZeroDivisionError, and
>
> I'd prefer TypeError (or coercion error, &quo
On Sun, Apr 25, 2010 at 2:07 PM, Gonzalo Tornaria
wrote:
> I'm having an issue with sage relocation, and wonder if this is known or not.
> [...]
> Moreover, if I move the directory /scratch/tornaria/sage-4.3.3 away,
> and restart sage, it works perfectly, and sqlite and freetype
I'm having an issue with sage relocation, and wonder if this is known or not.
My setup is as follows:
I have a fast filesystem mounted on /scratch (two 15k sas disks on
hardware raid0). I compiled sage 4.3.3 on this scratch filesystem
(it's noticeable faster). Then I created a binary tarball usin
On Fri, Apr 23, 2010 at 11:07 PM, Nathan O'Treally wrote:
> "[...] A coercion from one parent to another must be defined on the
> whole domain, and always succeeds. As it may be invoked implicitly, it
> should be obvious and natural (in both the mathematically rigorous and
> colloquial sense of th
On Fri, Apr 2, 2010 at 12:31 PM, Simon King wrote:
> Hi John!
>
> On 2 Apr., 17:10, John Cremona wrote:
>> On your local machine running linux (which is the only thing I know
>> about) I type
>>
>> ssh selmer -L 8123:localhost:8000
>>
>> and I get the usual prompt on selmer *and* now in my browse
On Mon, Mar 29, 2010 at 8:16 PM, Dr. David Kirkby
wrote:
> I don't know how practical it is going to be for a Sage developer to change
> the the source code of PARI, NTL and whatever else has this problem, to add
> mprotect() where needed. I suspect that might be a bit difficult, and
> perhaps slo
On Sun, Mar 28, 2010 at 3:13 AM, William Stein wrote:
> We should definitely move to PARI 2.4. We haven't only because it is
> indeed a monumental task. Perhaps I'll do the move, since I wrote
> most of the Sage wrapper of PARI anyways, and surely porting is much
> less work than writing the who
On Mon, Mar 29, 2010 at 5:41 PM, Dr. David Kirkby
wrote:
> I'm just puzzled why SELinux is indicating problems with code trying to
> execute the stack, whereas there are no such complaints on sage.math,
> despite the fact attempting to execute the stacks dumps core on sage.math.
No, it doesn't if
On Mon, Mar 29, 2010 at 11:04 AM, Dr. David Kirkby
wrote:
> When I try the same program on sage.math, it dumps core there too. So I
> don't know if sage.math has protection of the stack enabled. If it does,
> then it is strange that SELinux has problems, whereas sage.math does not.
The stack is n
On Sat, Mar 20, 2010 at 11:52 AM, Rob Beezer wrote:
>> (2) IntegerModRing(n) is always in CommutativeRings()
IMO this is the one that makes sense, by the same reasons why:
sage: parent(2/1)
Rational Field
IOW, IntegerModRing should be a map from ZZ to CommutativeRings()
This is the only "natur
On Mon, Mar 15, 2010 at 3:57 PM, Brian Granger wrote:
> Thanks for describing this better, it helps me to understand what the
> current _sig_on/_sig_off does. Because of the licensing issues, I am
> not looking at the code in Sage until it has been officially re-licensed.
> Once that has been do
On Sun, Mar 14, 2010 at 9:21 PM, Brian Granger wrote:
> Gonzalo,
> Thanks for starting this discussion. I am willing to help with this effort
> as I definitely need this capability. Part of the challenge will be
> figuring out how to do this on Windows.
Not necessarily. I think signals(2) is pa
On Sat, Mar 13, 2010 at 7:22 PM, Robert Bradshaw
wrote:
> On Mar 13, 2010, at 4:04 PM, Gonzalo Tornaria wrote:
>> What are the options for supporting this (either the
>> decorator/function attribute or the with-clause)?
>
> We can support both. We could support custo
On Sat, Mar 13, 2010 at 2:30 PM, Robert Bradshaw
wrote:
> On Mar 13, 2010, at 5:29 AM, Nicolas M. Thiery wrote:
>>
>> def bla(...):
>> with sig_on:
>> if ...
>> raise ...
>> elif ...
>> return
>> ...
This is exactly the required semantics. I didn't k
On Fri, Mar 12, 2010 at 10:03 PM, Minh Nguyen wrote:
> ...
> if [ $UNAME = "Darwin" ]; then
> OPT="Rp"
> else
> OPT="ra"
> fi
>
> I'm referring to the option "a", which is passed to cp later on in
> that script. With sage-bdist as is, I can't wrap up my build. But if I
> remove the option "a
On Fri, Mar 5, 2010 at 7:47 AM, Simon King wrote:
> I created a ticket at
> http://trac.sagemath.org/sage_trac/ticket/8444
Thanks Simon. I posted a patch with an explanation into that ticket,
which is now awaiting review (it's one line patch).
I was looking around gen.pyx, and there seems to be
On Fri, Mar 5, 2010 at 10:47 AM, Simon King wrote
> Hi!
>
> I created a ticket at
> http://trac.sagemath.org/sage_trac/ticket/8444
I think this is caused by a duplicate _sig_on in the bottom part of
pari.__call__.
I'll post details and (possible) solution later (feel free to ping me
in a few da
On Fri, Jan 22, 2010 at 3:24 AM, Dr. David Kirkby
wrote:
> But sorting out whether the version of libraries on a system are suitable,
> can be tricky. Even having the right versions does not guarantee they will
> be found in preference to some other version.
Sure. We already have related issues.
On Thu, Jan 21, 2010 at 7:11 PM, William Stein wrote:
> +1 to Robert's comments. I can't tell you how many people just in the
> last few days have told me that they use (and work on!) Sage *only*
> because when they try to build it on their computer it "just worked".
Do people tell you when they
On Thu, Jan 21, 2010 at 6:05 PM, Robert Bradshaw
wrote:
> On Jan 21, 2010, at 6:31 AM, Gonzalo Tornaria wrote:
>
>> On Wed, Jan 20, 2010 at 5:47 PM, Peter Jeremy wrote:
>>>
>>> My personal feeling is that it would be nice if some of the more generic
>>
On Fri, Jan 22, 2010 at 12:46 AM, Minh Nguyen wrote:
> With or without the above Unicode preamble, a non-ASCII character in a
> docstring can cause the PDF version of a document to fail to build.
> See ticket #8036 [1] for an example of a case where a source file
> contains the above preamble, but
On Thu, Jan 21, 2010 at 12:16 PM, kcrisman wrote:
> Not everyone can easily use a text editor which recognizes all non-
> ASCII character properly, so I think we should be careful about
> this.
I don't think that's true anymore. It may have been true ten years
ago, but nowadays unicode and utf-8
On Wed, Jan 20, 2010 at 5:47 PM, Peter Jeremy wrote:
> My personal feeling is that it would be nice if some of the more generic
> packages (eg bzip, zlib, readline, mercurial) were moved out of sage
> and made explicit requirements.
+1
I think Sage is mature enough now to slowly migrate toward t
On Thu, Jan 21, 2010 at 3:22 AM, Pat LeSmithe wrote:
> Should we put
>
> # -*- coding: utf-8 -*-
>
> at the top of all .py and .pyx(?) files in the Sage library?
>
> I think this will allow us to use Unicode literal strings in Sage code,
> doctests, documentation --- without raising coding errors.
On Tue, Jan 19, 2010 at 7:48 AM, Dag Sverre Seljebotn
wrote:
> Dima Pasechnik wrote:
>>
>> is it possible to make patches, instead/as well as posting full source
>> releases?
>> It took 4+ hours here to download rc0...
>>
>
> One thing one could try out is to play with rsync over SSH to an account
On Fri, Jan 15, 2010 at 4:45 PM, Dr. David Kirkby
wrote:
> Gonzalo Tornaria wrote:
>>
>> sys 7m59.726s
>> sphinx-build -b html -d
>>
>> /scratch/tornaria/sage-4.3.1.alpha3/devel/sage/doc/output/doctrees/en/developer
>> /scratch/tornaria/sage-4.3.1.a
Just after successfully built dsage -- which I believe is the last
spkg which gets installed. The sphinx build fails quite strangely.
Running ./sage fails with the same error (TypeError: unsupported
operand parent(s) for '+': 'Integer Ring' and 'Integer Ring')
Gonzalo
Finished installing ds
On Wed, Jan 13, 2010 at 5:52 PM, William Stein wrote:
> What matters for this benchmark is the number of cores that the computer has.
> Though t2 can manage 128 hardware threads, it only has 16 actual *cores*.
Not quite; the following is in a box with 8 cores -- 16 threads:
sage: time b = bernou
On Wed, Jan 13, 2010 at 12:06 PM, Jaap Spies wrote:
> Gonzalo Tornaria wrote:
>>
>> On Wed, Jan 13, 2010 at 11:43 AM, Jaap Spies wrote:
>>>
>>> gcc version 4.4.2 20091222 (Red Hat 4.4.2-20) (GCC)
>>> ***
On Wed, Jan 13, 2010 at 11:43 AM, Jaap Spies wrote:
> gcc version 4.4.2 20091222 (Red Hat 4.4.2-20) (GCC)
>
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
Still misdetected, it s
On Wed, Jan 13, 2010 at 9:18 AM, Bill Hart wrote:
> Ah, I see in a later trac update you have the same problem in Fedora.
> But surely there you have cat /proc/cpuinfo. What information does it
> give you? We might be able to tackle the problem from there.
>> > This is in VirtualBox, so virtual p
2010/1/12 William Stein :
> Maybe somebody who speaks Spanish can email this person back?
>
>
> -- Forwarded message --
> From: Kelvy Segura Cuevas
> Date: 2010/1/12
> Subject: Manual en español
> To: "wst...@gmail.com"
>
>
> Estimado William Stein,
>
>
>
> Donde podría encontrar
On Tue, Jan 12, 2010 at 2:24 AM, Gonzalo Tornaria
wrote:
> On Sun, Jan 10, 2010 at 8:02 PM, Gonzalo Tornaria
> wrote:
>> cpu = 2 x quad core xeon E5520 (nehalem/i7)
>> os = debian 5.0/lenny (64 bit)
> ...
>> sage -t devel/sage/sage/symbolic/express
On Sun, Jan 10, 2010 at 8:02 PM, Gonzalo Tornaria
wrote:
> cpu = 2 x quad core xeon E5520 (nehalem/i7)
> os = debian 5.0/lenny (64 bit)
...
>sage -t devel/sage/sage/symbolic/expression.pyx # 6 doctests failed
> sage -t devel/sage/sage/numerical/optimize.py # 6 doc
On Tue, Jan 12, 2010 at 1:29 AM, Gonzalo Tornaria
wrote:
> Only suspicious flag I see is sse4_2, since both have sse4_1 (note
> that the old 65nm core2 don't have sse4_1 also).
At least mpir uses "popcnt" on nehalem, which is available for sse4_2
only. So, the sse4_2 flag s
As posted before, I am getting (consistent) test failures when
running sage doctests on a core i7. I've been doing some more
experiments and found some more interesting things about this.
I'm using two different boxes:
core2:
Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
family=6 model=23 ste
On Mon, Jan 11, 2010 at 5:42 PM, William Stein wrote:
> Cool. Instead of suggesting people use bits of code like this in
> their spkg-install's, why don't we make a single *sage sh library*
> that gets used. It could start as a script
>
> local/bin/sage-spkg-lib
>
> that gets sourced before s
On Sun, Jan 10, 2010 at 10:47 PM, William Stein wrote:
> Is the following possible with sh? Instead of
>
>
> if [ $? -ne 0 ]; then
> echo "Foo bar argh"
> exit 1
> fi
>
> we make a function so that we can just write
>
>
> sage-err "Foo bar argh".
> (causes script to exit).
>
> We can en
On Mon, Jan 11, 2010 at 10:55 AM, John Cremona wrote:
> In the notebook (4.3), in either a text cell between Sage cells or in
> the output of (for example) show(QuadraticField(-1,'i')) I see the the
> symbol "/" wrongly rendered as "=". So in that example, what I see is
>
>
>
> Q[i]=(i^2+1)
>
> (
On Sun, Jan 10, 2010 at 8:49 PM, John Cremona wrote:
> The server log ends like this (for some reason I cannot scroll back as
> it is running under screen):
Use C-a [ to enter "copy mode" which allows you to see the scroll back
of screen itself (pgup, arrows, etc, esc to quit).
Gonzalo
--
To po
**
1 items had failures:
1 of 5 in __main__.example_17
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/tornaria/.sage//tmp/.doctest_sagedoc.py
[12.4 s]
On Mon, Jan 4, 2010 at 2:07 PM, Gonzalo Tornaria
wrote:
> ---
On Sun, Jan 3, 2010 at 3:49 AM, Alex Ghitza wrote:
> On Sun, 3 Jan 2010 05:35:37 +, David Kirkby
> wrote:
>>
>> Was there a good reason for choosing the name 'sgn'? It sems a bit
>> strange to me.
>>
>
> That's the standard mathematical notation for this function, see
>
> http://en.wikipedia
-- Forwarded message --
From: Gonzalo Tornaria
Date: Thu, Dec 31, 2009 at 6:10 PM
Subject: Re: [sage-release] sage-4.3
To: sage-rele...@googlegroups.com
I haven't seen these reported:
$ \time ./sage -tp 16 devel/sage
...
The following tests failed:
sage -t devel
On Wed, Dec 30, 2009 at 10:38 PM, Dr. David Kirkby
wrote:
> Em, This is very odd. exp(1) gives a different result on SPARC if you build
> with gcc or Sun Studio. GCC is correct, and Sun Studio is wrong. Yet Sage on
> 't2' was build with gcc, not Sun Studio.
gcc is actually inlining exp(1.0) to i
On Wed, Nov 25, 2009 at 11:04 PM, William Stein wrote:
> Another nice addition would be to use Tachyon instead of Java by
> default to render 3d images on the iphone. I.e.,
>
> I = icosahedron()
> I.show(viewer='tachyon')
>
> works fine on the iphone, but it is tedious to type viewer='tachy
On Mon, Nov 23, 2009 at 7:04 PM, rjf wrote:
> That's helpful. Forgive me for asking for information. I see,
> somewhat later, that this has to do with adding type declarations.
> Just the ticket. To me is suggests that Python is inappropriate for
> numerical work -- for which C is more appropri
On Sun, Nov 15, 2009 at 3:32 AM, William Stein wrote:
>> model name : Dual-Core AMD Opteron(tm) Processor 8220
>> cpu MHz : 1000.000
>
> Why do you say "1000" MHZ when that particular processor is a 2800Mhz
> (=2.8Ghz) processor?
> [...]
>> model name : Intel(R) Core(TM
On Tue, Nov 10, 2009 at 4:02 PM, Dr. David Kirkby
wrote:
> /opt/kirkby/sage-4.2-Solaris-10-SPARC-sun4u-SunOS/local/bin/sage-native-execute:
> xdg-open: not found
>
> Is 'xdg-open' supposed to be included in Sage anywhere, or is the user
> expected
> to have it on their machine?
Check out
http:
This is with sage 4.2 notebook (both in the atom install mentioned
above and with sagenb.org):
1. enter "def f(n): // return n+1" on a cell, evaluate
2. enter "f??" on the second cell, evaluate.
the result is a box with "could not get source code".
Docstrings do work.
Gonzalo.
--~--~---
On Mon, Nov 9, 2009 at 6:20 PM, William Stein wrote:
> Upload from a URL can't upload from a published worksheet that is
> published as http or https, actually. It never occurred to me to
> implement that. It's meant for uploading sws files, which might be
> sitting on the web somewhere. Up
On Mon, Nov 9, 2009 at 5:59 PM, William Stein wrote:
> On Mon, Nov 9, 2009 at 11:46 AM, Gonzalo Tornaria
>> I ran notebook() from sage, iceweasel (3.0.14) launches, I tried to
>> upload a worksheet using an url, and after hitting Upload Worksheet
>> the notebook crashes wit
I've just finished compilation of sage-4.2 on a netbook (atom N280) --
6h47m walltime.
The OS is debian (testing, very minimal install).
I ran notebook() from sage, iceweasel (3.0.14) launches, I tried to
upload a worksheet using an url, and after hitting Upload Worksheet
the notebook crashes wi
David,
On Sun, Nov 8, 2009 at 10:15 PM, David Kirkby wrote:
>
> If you look on the thread
>
> " Do we need "cp -a" - or would 'cp -pR' do ?"
>
> you may have noticed that Gonzalo Tornaria has discovered that
> "local/bin/python" is
On Sun, Nov 8, 2009 at 9:31 PM, David Kirkby wrote:
> Hopefully, -pR may work for any POSIX system if the reason for the
> hard link is known. I can't see what creates that link myself. You
> clearly have a much greater understanding of the issues than me.
Just to clarify, the option "-pR" is no
On Sat, Nov 7, 2009 at 11:00 PM, Dr. David Kirkby
wrote:
> Gonzalo Tornaria wrote:
>> Is it really necessary for sage-bdist to preserve hardlinks?
>>
>> [ ... checking a bdist tarball of 4.1.1 ... ]
>>
>> there is exactly one hardlink in this bdist tarball:
>&
On Sat, Nov 7, 2009 at 11:00 PM, Dr. David Kirkby
wrote:
> But how did you find out these two were hard links? I'm not aware of any way
> to
> find if A is a hard link of B, unless one finds the inodes and compares them,
> which would be next to impossible where there are a lot of files. I assum
On Sun, Nov 8, 2009 at 2:29 AM, Alex Ghitza wrote:
>
>
> This is a bit disconcerting:
>
> sage: Set(['a', 'b', 'c'])
> {'a', 'c', 'b'}
I am surprised by the following:
sage: s = set(['a', 'b', 'c'])
sage: repr(s)
"set(['a', 'c', 'b'])"
sage: str(s)
"set(['a', 'c', 'b'])"
s
On Sat, Nov 7, 2009 at 6:48 AM, Dr. David Kirkby
wrote:
> "cp -L$OPT devel/sage-main "$TMP"/devel/sage-main"
Maybe this is done to handle the case where "sage-main" is a symlink
to an actual directory. The option -L means to copy symlinks as real
files. Otherwise, the symlink may be copied (when
On Wed, Nov 4, 2009 at 2:43 PM, William Stein wrote:
> sage: Integers(7)(3) in ZZ
> True
I found this one funny:
sage: a = Integers(7)(3)
sage: a in ZZ
True
sage: a in QQ
False
In the same vein:
sage: b = Integers(11)(3)
sage: a in ZZ
True
sage: b in ZZ
True
sage: a + b
On Tue, Nov 3, 2009 at 3:22 PM, Florent Hivert
wrote:
> +1 to no simplification...
>
> Rationale: I think indeed that it is very important that the type of the
> result of an operator depends only of the type of the operands and not of
> their actual values. If > is a constructor for symbolic equ
On Tue, Nov 3, 2009 at 3:05 PM, William Stein wrote:
> This reminds me of / being a constructor for elements of QQ, no matter
> what, i.e., a/b for a and b both integers (with b!=0) is a rational,
> no matter what:
>
> sage: type(2/3)
>
> sage: type(2/1)
>
>
> This was an important design decis
On Fri, Oct 30, 2009 at 10:54 PM, Ondrej Certik wrote:
> I solve this problem by using gmail, filtering all messages into the
> "sage" label (folder) and then when I want to check threads, which I
> am involved in, I click on the "sent emails" link and gmail will
> highlight those threads that co
Laptop:
Intel(R) Core(TM)2 CPU T5300 @ 1.73GHz
8 0.023 7.611
16 0.046 2.018
32 0.093 2.034
64 0.289 3.097
128 0.641 2.216
256 0.744 1.160
512 1.542 2.073
1024 3.394 2.202
2048 7.826 2.305
4096
On Sun, Oct 25, 2009 at 11:57 PM, William Stein wrote:
>
> On Sun, Oct 25, 2009 at 10:45 AM, John Cremona wrote:
>>
>> Beautiful, thanks. Yes, I do recognise it from Lloyd's book.
>
> Here are some other images by Tom Boothby, by the way:
>
> http://8tb.us/home/boothby/cover/samples/
>
Aweso
On Fri, Oct 23, 2009 at 11:41 PM, Ondrej Certik wrote:
> On Fri, Oct 23, 2009 at 4:21 PM, Ondrej Certik wrote:
>> Interesting. Do you have some notes about your KVM setup? I want to
>> try it as well, as the ubuntu guys seem to prefer it over virtualbox:
I'm using kvm directly (not libvirt / vi
For comparision, I'm using kvm to virtualize our sage notebook server.
Here's the timings for your scripts:
A) the real hardware
0.196608066559
1
0.191864967346
-50
B) the kvm instance
0.219820976257 (11.8% slowdown)
1
0.213951826096 (11.5% slowdown)
-50
Gonzalo
On Fri, Oct 23, 200
On Thu, Oct 22, 2009 at 2:52 AM, William Stein wrote:
>
> Hi,
>
> Mathematica released their web-based *manipulate* implementation:
>
> http://wolfram.com/products/webmathematica/
Alternate HTML content should be placed here. This content requires
the Adobe Flash Player. Get Flash
This
On Fri, Oct 16, 2009 at 2:18 AM, William Stein wrote:
> 1. Where? (E.g., "Dept. of Mathematics, University of Maryland")
Centro de Matemática, Universidad de la República (Montevideo, Uruguay)
> 2. Why? (E.g, "for our Math 411 course on differential equations")
Graduate and undergrad
On Thu, Oct 15, 2009 at 2:06 PM, Timothy Clemans
wrote:
>
> On Thu, Oct 15, 2009 at 2:42 AM, Dan Drake wrote:
>> Here's a complete translation of the Sage notebook into Korean:
>>
>> http://math1.skku.ac.kr/
>>
>> Go ahead and log in -- username test, password "test95". This is the
>> work of a
1 - 100 of 190 matches
Mail list logo