[sage-devel] Gamma(N)

2023-08-31 Thread Ralf Hemmecke
The following contradicts the specification of reduce_cusp for Gamma(7). https://doc.sagemath.org/html/en/reference/arithgroup/sage/modular/arithgroup/congroup_gamma.html sage: Gamma(7).are_equivalent(Cusp(6,7),Cusp(1,0)) True sage: Gamma(7).reduce_cusp(Cusp(1,0)) Infinity sage:

[sage-devel] modular form basis

2023-04-17 Thread Ralf Hemmecke
Hello, is there any particular reason why the term 12/5*q is not subtracted away by the first basis element? Ralf ┌┐ │ SageMath version 9.6, Release Date: 2022-05-15 │ │ Using Python 3.10.6. Type "help()"

[sage-devel] boolean value of inequality

2022-08-11 Thread Ralf Hemmecke
Am I doing something wrong? I would have expected the last line to return False. ┌┐ │ SageMath version 9.6, Release Date: 2022-05-15 │ │ Using Python 3.10.4. Type "help()" for help. │

[sage-devel] problem with paralell build

2021-09-29 Thread Ralf Hemmecke
I seem to have a problem with building sage 9.4 via. MAKE='make -j12' make -j12 It stops during the build of dochtml. Obviously because of too many open files. I'm now trying without "-j12" and it seems to be building nicely. Anyhow... any suggestion what to change to prevent my problem and

Re: [sage-devel] sage -i fricas broken ?

2020-10-01 Thread Ralf Hemmecke
https://sourceforge.net/projects/fricas/files/fricas/1.3.6/ On 10/1/20 9:28 PM, Frédéric Chapoton wrote: > Hello, > it seems that "sage -i fricas" is currently not working. > Maybe the tarball is missing on the mirrors, > or maybe the tarball name is wrong ? > Frédéric > > [fricas-1.3.6]

[sage-devel] groebner walk

2017-09-19 Thread Ralf Hemmecke
Hello, on http://doc.sagemath.org/html/en/reference/polynomial_rings/sage/rings/polynomial/multi_polynomial_ideal.html is an examle, how to use Gröbner walk. sage: R.=PolynomialRing(GF(32003),3,order='lex') sage: I=Ideal([y^3+x*y*z+y^2*z+x*z^3,3+x*y+x^2*y+y^2*z]) sage:

Re: [sage-devel] Re: SAGE_PATH and PYTHONPATH

2017-09-09 Thread Ralf Hemmecke
On 09/09/2017 05:05 PM, Maarten Derickx wrote: > In case people start setting pythonpath after reading this thread: > you will actually get some silly doctest failures if python path is > set. I don't need to set SAGE_PATH (or PYTHONPATH) for testing Sage. All I want is to tell Sage about a

[sage-devel] SAGE_PATH and PYTHONPATH

2017-09-06 Thread Ralf Hemmecke
Since my settings using SAGE_PATH do seemingly not work anymore, I looked for the use of SAGE_PATH in the sources. I found in 7.6 some code if [ -n "$SAGE_PATH" ]; then PYTHONPATH="$SAGE_PATH:$PYTHONPATH" fi but that was removed in commit

[sage-devel] NotImplemented?

2017-08-14 Thread Ralf Hemmecke
Isn't it a bit strange if in the documentation it says "NotImplementedError"? http://doc.sagemath.org/html/en/reference/arithgroup/sage/modular/arithgroup/arithgroup_generic.html#sage.modular.arithgroup.arithgroup_generic.ArithmeticSubgroup.coset_reps Is it true that Sage cannot compute the

Re: [sage-devel] Re: Question on git merge

2017-07-11 Thread Ralf Hemmecke
If it is only a small difference to just one file on another (diverged) branch, then why not simply create a patch and apply it to the right branch. Something like this. git checkout mybranch git format-patch -k1 # if it is just on commit # This gives a file 0001-... git checkout master git

Re: [sage-devel] convert .sws to .ipynb

2015-10-23 Thread Ralf Hemmecke
> Also, sagews != sws, i.e., that script won't help you. > > If I were you, I would start with this script that I wrote: >https://github.com/sagemathinc/smc/blob/master/salvus/scripts/sws2sagews.py > > since it parses sws files at least. Thank you. Worked like a charm. Ralf -- You

[sage-devel] convert .sws to .ipynb

2015-10-22 Thread Ralf Hemmecke
Hello, I'd like to convert some simple .sws file into Ipython notebooks (.ipynb). Searching for a converter led me to https://github.com/anteprandium/sagews2ipynb but unfortunately the README.md says nothing about how to actually call the script. Any suggestions? Thank you Ralf -- You

[sage-devel] 404 Error: page not found

2015-05-26 Thread Ralf Hemmecke
Click Changelog on http://www.sagemath.org/ Or README.txt on http://www.sagemath.org/download-source.html http://www.sagemath.org/mirror/src/README.txt Ralf -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and

[sage-devel] missing changelog

2015-02-23 Thread Ralf Hemmecke
There is currently a 404 for http://sagemath.org/mirror/src/changelogs/sage-6.5.txt which is linked from http://sagemath.org/ Ralf -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it,

[sage-devel] Re: [fricas-devel] fricas pkg in Sage

2014-12-06 Thread Ralf Hemmecke
On 12/06/2014 06:23 PM, 20100.delecr...@gmail.com wrote: I have a very naive question: the version of lisp we have in Sage is ecl, does it make a huge difference with sbcl ? I'd say yes. But it's probably Waldek who has more knowledge of ecl vs. sbcl. I only remember that compilation (at least

Re: [sage-devel] git config --global push.default matching/simple ?

2014-11-20 Thread Ralf Hemmecke
http://www.lmgtfy.com/?q=git+config+global+push.default+simplel=1 On 11/20/2014 09:04 PM, John Cremona wrote: On 20 November 2014 17:24, Dima Pasechnik dimp...@gmail.com wrote: with new git, one has new default behavour of git push. Namely, you can choose git config --global push.default

Re: [sage-devel] Re: Docs, return vs. returns etc.

2014-08-22 Thread Ralf Hemmecke
Shorter is generally better for headlines, so I'd prefer Test whether f is foo over Return whether f is foo over Return ``True`` if f is foo, and ``False`` otherwise. I hate it when someone documents 'test whether this and that holds'. Or is there some convention that a test returns true if

Re: [sage-devel] Re: Docs, return vs. returns etc.

2014-08-22 Thread Ralf Hemmecke
Suppose you have: nonzero(x) tests whether x is zero or not Your example is confusing because the method name is not expressive enough. Call it is_nonzero() and it is much clearer. Or maybe ensure_nonzero(x) if you want to return x if x!=0 and something else if x==0. Well, of course, a

Re: [sage-devel] Re: Docs, return vs. returns etc.

2014-08-22 Thread Ralf Hemmecke
On 08/22/2014 10:14 PM, Volker Braun wrote: On Friday, August 22, 2014 9:11:08 PM UTC+1, Ralf Hemmecke wrote: Well, of course, a name is just a name. So call the function 'foo' instead of 'nonzero'. Would you still be happy with the specification? I wouldn't be happy with the method name

Re: [sage-devel] backups of the git tree ?

2014-07-17 Thread Ralf Hemmecke
what if the russians suddendly attack the US When does it stop that everyone fears the other for no good reason. I guess if you ask an ordinary russian person, he fears being invaded by the US. Are we still in the cold war? reach our server and achieve to erase our data ? (or what if our hard

Re: [sage-devel] (c) Copyright 2005--2011, The Sage Development Team

2014-06-26 Thread Ralf Hemmecke
Perhaps here? http://git.sagemath.org/sage.git/tree/src/doc/common/conf.py#n40 Ralf On 06/26/2014 09:52 AM, Nathann Cohen wrote: That's what you can read at the bottom of the doc pages : http://www.sagemath.org/doc/index.html Does anybody know how to change that ? Nathann -- You

Re: [sage-devel] Re: hash for algebraic field

2014-06-13 Thread Ralf Hemmecke
I'll second this. Are there *any* computer algebra systems (or programming languages for that matter) out there such that 4/2 != 2 != 2.0? Code would simply be too hard to write. Ada, I guess. It should give error if you try to compare integer with float. Ah, no wonder it's so widely used

Re: [sage-devel] Re: free private github repos

2014-05-15 Thread Ralf Hemmecke
On 05/15/2014 10:55 AM, Volker Braun wrote: Of course I'm not going to say no to free stuff, but hosting your own unlimited number of private repos (and/or a gitolite installation, as we do for Sage) is pretty simple ;-) Bsst! Not so loud! ;-) If people knew how easy it is to share git

Re: [sage-devel] Viewing real merge commit

2014-03-26 Thread Ralf Hemmecke
I have not personally used it (so I might be wrong), but I somehow feel that git-rerere might be of some help. As I understand, you basically want to see exactly what your merge resolution was. http://git-scm.com/blog/2010/03/08/rerere.html Ralf On 03/27/2014 12:31 AM, Andrey Novoseltsev wrote:

[sage-devel] system-wide sage installation with option to add spkgs locally

2014-03-10 Thread Ralf Hemmecke
I don't know whether this is the right place to ask, but how can meet Sage the following use case? - system-wide installation of sage in /opt/sage/$SAGEVERSION - /opt/sage is not writable by an ordinary user - sage -i PACKAGE exacuted as an ordinary user should install an additional

Re: [sage-devel] system-wide sage installation with option to add spkgs locally

2014-03-10 Thread Ralf Hemmecke
i'd be happy to see (something like) SAGE_PREFIX (maybe just PREFIX?) in future versions. i'm sorry i currently don't have a lot of (read: no) time to work on this. Sounds like: No Ralf's use case is not yet possible with Sage 6.1.1. :-( Ralf -- You received this message because you are

Re: [sage-devel] review and rebase workflow with git

2013-12-18 Thread Ralf Hemmecke
6. And then create a new branch, say my_branch, to work (do the review) on, if I choose not to work detached: git checkout -b my_branch FETCH_HEAD Right. And I don't know why one ever seriously wants to work detached. Detached work is always in danger of being garbage collected via git gc.

Re: [sage-devel] Volunteer for changelog?

2013-12-17 Thread Ralf Hemmecke
On 12/17/2013 04:14 PM, Volker Braun wrote: Jeroen has been doing very nice release announcements summarizing the changes and people involved. For an example, see https://groups.google.com/d/msg/sage-release/V5RVnB2sH88/zs8hXmUlkq8J It would be nice to keep that tradition, but also divide

Re: [fricas-devel] Re: [sage-devel] Ubuntu/Debian packages

2013-11-23 Thread Ralf Hemmecke
Hi William, hi Pippijn, As of today, we can also provide packages for Debian and Ubuntu at https://launchpad.net/~pippijn/+archive/ppa I haven't checked exactly what sha1 from his aldor git repo actually corresponds to this ppa. But that would be important. Since only recently FriCAS added a

Re: [fricas-devel] Re: [sage-devel] Ubuntu/Debian packages

2013-11-23 Thread Ralf Hemmecke
Hi William, I've updated rhx-instructions for the installation of FriCAS that should work in connection with Aldor. You'd need the latest github versions of both. Ralf -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group

Re: [fricas-devel] Re: [sage-devel] Ubuntu/Debian packages

2013-11-23 Thread Ralf Hemmecke
Could you re-send me the link to the instructions? Thanks! I would have done that before but I didn't know whether a link like this https://cloud.sagemath.com/projects/87b42925-de3b-482c-99b2-edf1e1ba8bfb/files/fricas.term does help you. Anyway, under https://cloud.sagemath.com/projects I

Re: [fricas-devel] Re: [sage-devel] Ubuntu/Debian packages

2013-11-23 Thread Ralf Hemmecke
https://cloud.sagemath.com/projects/87b42925-de3b-482c-99b2-edf1e1ba8bfb/files/fricas/rhx-instructions Updated. That compiles Aldor and FriCAS and seems to work. Unfortunately, FriCAS will show Version: FriCAS 2013-09-27 which isn't quite correct. Ralf -- You received this message

Re: [sage-devel] compile sage from github

2013-11-12 Thread Ralf Hemmecke
On 11/12/2013 07:00 PM, Michael Orlitzky wrote: Yes, yes, and yes. But there's more: Oh... I only wondered why Sage from github wants to install its own git. But this thread seems to develop into a discussion of some people that like a monolithic we-redo-all-ourselves sage and some that like

Re: [sage-devel] compile sage from github

2013-11-11 Thread Ralf Hemmecke
On 11/11/2013 06:29 PM, Volker Braun wrote: Its not a technical problem - I think Felix is technically very competent. But he didn't listen to our concerns nor did he engage in discussions. He continues to be focused on Debian whereas Sage has a much larger target. In the end, a Debian

Re: [sage-devel] compile sage from github

2013-11-11 Thread Ralf Hemmecke
mean that a sage installation should never install anything that is already available in a standard distribution. Even if that means that the Sage testsuite fails because distribution packages have a bug that isn't fixed upstream yet? Thats an important policy question and we never had

Re: [sage-devel] compile sage from github

2013-11-11 Thread Ralf Hemmecke
My initial question was What requirement for git does Sage have? It should have none, you found a bug. It would be nice if you could answer Vincent's question about the full build log so it can be fixed. OK. I can only dig that out later. But I think even if I send that log, the bug is

Re: [sage-devel] compile sage from github

2013-11-11 Thread Ralf Hemmecke
It would be nice if you could answer Vincent's question about the full build log so it can be fixed. As promised... Oh, interesting, I just looked through it. One can find there something like /bin/sh: 1: curl-config: not found /bin/sh: 4: autoconf: not found /bin/sh: 1: msgfmt: not found

Re: [sage-devel] compile sage from github

2013-11-11 Thread Ralf Hemmecke
check git --version and then don't start trying to build git at all, That is really a feature request, not a bug. Of course it would be nice. If you want to work on a configure-style script that queries the system for build- and runtime dependencies then please do! Interesting! You can

Re: [sage-devel] compile sage from github

2013-11-11 Thread Ralf Hemmecke
On 11/11/2013 07:22 PM, William Stein wrote: check git --version and then don't start trying to build git at all, If this (and any other similar) change is made, it needs to be made in a way that doesn't mess up the binaries we build. The binaries that are built for generic redistribution

[sage-devel] compile sage from github

2013-11-10 Thread Ralf Hemmecke
Hello! I've cloned from git://github.com/sagemath/sage.git (094712a Merge in bug fixes for the dev scripts) and typed make on a (relatively minimal) Debian 7 Installation. I didn't know whether such a step would actually succeed, since I haven't yet been able to find a description that such a

Re: [sage-devel] compile sage from github

2013-11-10 Thread Ralf Hemmecke
The part of the log you paste is not long enough. I guess you need to install msgfmt which is not part of standard debain. The name of the package is gettext. Thanks. I'd probably found that myself. But of course, that was not my point. Does anybody know why git is a standard spkg ? It is

Re: [sage-combinat-devel] searching tool for git

2013-11-05 Thread Ralf Hemmecke
On 11/06/2013 08:35 AM, Anne Schilling wrote: You told us today how we can do the search for keywords, but I forgot how. Maybe they showed this one. https://www.kernel.org/pub/software/scm/git/docs/git-grep.html See also

Re: [sage-devel] Re: Changing branch on a trac ticket

2013-11-05 Thread Ralf Hemmecke
So, what simple and easy-to-use command does git offer to create a negative commit? That's to say, if I have commits A-B-C and want to remove B, how can I make git create a commit D for me such that A-B-C-D results in the same code as A-C?

Re: [sage-devel] Re: Changing branch on a trac ticket

2013-11-05 Thread Ralf Hemmecke
On 11/05/2013 10:09 AM, Simon King wrote: To achieve this from the above situation, you do git rebase --onto ticket/123 master ticket/456 Good to know! I did not test yet. Is there any manual intervention needed, if X is disjoint from the changes introduced in B? No. A merge conflict can

[sage-devel] git workflow with trac?

2013-11-05 Thread Ralf Hemmecke
Bold question... does Sage still need Trac? Has someone already compared all options for a workflow with git? Sage-Trac vs. Github pull-requests with comments vs. Gerrit vs. ... https://help.github.com/articles/using-pull-requests

Re: [sage-devel] Re: Changing branch on a trac ticket

2013-11-05 Thread Ralf Hemmecke
On 11/05/2013 12:02 PM, Simon King wrote: Good. So, would you (and other people) agree that the effort needed to rebase X on top of A-C' is always (i.e., also in the case of conflicts) the same as the effort needed to rebase X on top of A-B-C-D (where D reverts B)? In terms of code the

Re: [sage-combinat-devel] sage-combinat move to git

2013-11-04 Thread Ralf Hemmecke
- Should we use a fork for sage-combinat? Or branches for the various patches or projects? Technically, every clone is a fork. :-) * If we do use a fork, how to sync the combinat fork with the main sage fork? In particular, once branches are merged in the main fork, can they

[sage-combinat-devel] axiom.py

2013-10-15 Thread Ralf Hemmecke
Hi, I've installed sage-combinat on top of Sage-5.11. Now I see find . -name axiom.py ./devel/sage-main/sage/interfaces/axiom.py ./devel/sage-combinat/sage/interfaces/axiom.py I also see find . -name cell.py ./devel/sagenb-main/sagenb/notebook/cell.py

Re: [sage-combinat-devel] Re: axiom.py

2013-10-15 Thread Ralf Hemmecke
On 10/15/2013 12:09 PM, Frédéric Chapoton wrote: when you install sage-combinat, you create a clone of sage-main, with the name sage-combinat. Thank you. That helped. Ralf -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To

Re: [fricas-devel] Re: [sage-devel] Ubuntu/Debian packages

2013-07-29 Thread Ralf Hemmecke
Bill Page made a project on cloud called Test Aldor in Sage Cloud, added me to it, and I've now added you to it. I apt-get install'ed the packages you mentioned above. There's a directory in the project called fricas and a terminal fricas.term opened there. I tried running your

Re: [sage-devel] Ubuntu/Debian packages

2013-07-25 Thread Ralf Hemmecke
Which of the modes at http://codemirror.net/ seems to best work with .as files? Since Aldor looks in some sense pretty much like C, I guess that should be fine. But in contrast to C one doesn't have TYPE FUNCTIONNAME(...) but rather FUNCTIONNAME(...): TYPE so that wouldn't fit.

Re: [sage-devel] Ubuntu/Debian packages

2013-07-25 Thread Ralf Hemmecke
http://codemirror.net/mode/clike/index.html Ah, on can enter code there! I hadn't realized that at first. But no. None of the modes look in any way reasonable for aldor. Looks like JS-expert has to do something new. :-( Ralf -- You received this message because you are subscribed to the

Re: [fricas-devel] Re: [sage-devel] Ubuntu/Debian packages

2013-07-25 Thread Ralf Hemmecke
Tell me exactly how to do that, and I would be happy to. apt-get install sbcl emacs libgmp3-dev apt-get install git build-essential gawk noweb # The following is probably not needed since I don't think that from within a browser you can start X applications like hyperdoc. # Since graphics in

Re: [fricas-devel] Re: [sage-devel] Ubuntu/Debian packages

2013-07-25 Thread Ralf Hemmecke
I tried with Aldor build form Aldor-2013.tar.gz. I had to copy lang.as by hand to 'src/aldor' subdirectory of FriCAS build tree, but otherwise things went smoothly. Yes, copying the respective files directly into the right place should also work, but I'm about to prepare a little temporary

Re: [sage-devel] Ubuntu/Debian packages

2013-07-24 Thread Ralf Hemmecke
Hi William, On 07/23/2013 09:32 PM, William Stein wrote: Nice. Your Aldor ubuntu package (with the updated fix so setting ALDORROOT=/usr is not necessary) is now available in ther Terminal of https://cloud.sagemath.com, in case anybody wants to easily try it out. Just create an account,

Re: [sage-devel] Ubuntu/Debian packages

2013-07-24 Thread Ralf Hemmecke
[1] https://github.com/haraldschilly/sage-cloud-templates Well, I'm pretty new here and Harald's page doesn't really explain what I'd have to do to create such a template. this is an example of how you can publish data from inside a project. Well, I begin to understand.

Re: [fricas-devel] Re: [sage-devel] Ubuntu/Debian packages

2013-07-23 Thread Ralf Hemmecke
I tried putting the program sieve.as from http://www.aldor.org/docs/HTML/chap1.html into a file and typing aldor -Fx sieve.as as they do there, but it fails with many errors, starting as follows. I don't know anything about Aldor really, so I'm probably doing something wrong. The

Re: [sage-devel] Re: SymbolicData

2013-07-11 Thread Ralf Hemmecke
On 07/11/2013 01:04 PM, Martin Albrecht wrote: I have to admit that I haven't touched that package in years, but I agree that we should use your database properly (my code is a bit of a hack). Martin, it would be interesting if you can list some use cases for the data and how you could

Re: [sage-devel] Re: SQRT of negative number is negative? Or positive? Or what?

2013-05-14 Thread Ralf Hemmecke
does Axiom have Coercion? You surely have never looked into AXIOM. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.132.4943rep=rep1type=pdf How does it handle this? http://www.sagemath.org/doc/reference/coercion/sage/structure/coerce.html It depends on how much automatic coercions

Re: [sage-combinat-devel] Re: use Sage!

2013-05-03 Thread Ralf Hemmecke
Tour main goal should be getting books into university libraries around the world and not making nice hardcopies for advanced users. Noble goal. But why filling libraries with hardcopies if it is cheaper for them to store an electronic version on some server? I certainly like books and I like

[sage-devel] deinstallation of spkg

2013-04-08 Thread Ralf Hemmecke
Is there a way to undo sage -i somepackage, i.e. deinstall a package? Ralf -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com.

Re: [sage-devel] deinstallation of spkg

2013-04-08 Thread Ralf Hemmecke
On 04/08/2013 01:39 PM, David Roe wrote: There are various people working on making this possible, but it requires a lot of changes to Sage's packaging system. As Jeroen says, this is not currently possible. Thanks, but then another question. We have Sage installed centrally and would like to

[sage-devel] symbolic copy of installed sage into HOME

2013-04-08 Thread Ralf Hemmecke
On 04/08/2013 02:26 PM, Julien Puydt wrote: Or instead of a real local copy, only have the same directory structure and symlinks for the files. Suppose that $S is a shell variable that points to the installed Sage. What do the people say who have more knowledge of the Sage-internals. A) Is the

[sage-devel] md5 missing

2013-04-06 Thread Ralf Hemmecke
Hello, I want to install sage on a system that share the sage installation directory and are all Debian6 machines, but they might have different packages installed. In particular, I ran into the problem (see below): ERROR:root:code for hash md5 was not found. Unfortunately, I haven't found a

[sage-devel] ImportError: libffi.so.6: cannot open shared object file

2013-04-06 Thread Ralf Hemmecke
In particular, I ran into the problem (see below): ERROR:root:code for hash md5 was not found. Well, I did sage -i openssl and then at least I could start sage. But then, I ran into the thing below and gave up. I used

Re: [sage-combinat-devel] Re: Upcoming Sage workflow

2013-04-03 Thread Ralf Hemmecke
On 04/03/2013 03:06 PM, Jordi Gutiérrez Hermoso wrote: You can use hg-git to keep working with hg and pushing to a git upstream. There is no need to understand the abstruse git interface this way and you can stay with the familiar hg interface. You will however need to learn how hg bookmarks

Re: [sage-combinat-devel] Re: Upcoming Sage workflow

2013-04-03 Thread Ralf Hemmecke
I have stripped the rest of your gitology. Yes, git can be learned, but if you already know hg, it doesn't have to be, and our goal here is to hack on Sage, not to learn gitology. Of course, you can work with less powerful tools. It's your choice. No problem at all. ;-) Ralf -- You received

Re: [sage-devel] Re: Patches overwriting patches in singular

2010-06-30 Thread Ralf Hemmecke
On 06/30/2010 02:05 AM, Dr. David Kirkby wrote: On 06/30/10 12:54 AM, Tim Daly wrote: I'm surprised you don't use patch. Mercurial can generate patches. That would only be ok at the point Mercurial is built, so might be tricky. $SAGE_ROOT/sage/spkg/standard/deps says... all:

Re: [sage-devel] Re: Patches overwriting patches in singular

2010-06-30 Thread Ralf Hemmecke
Why would one need an extra 'patch' program? mercurial is a python program - python needs some patches, see a problem with using mercurial on its own? ??? Sage uses a patched python? And the python people don't want to fix these issues? OK, life is tough. Anyway, then restrict this copy

Re: [sage-devel] Re: Patches overwriting patches in singular

2010-06-30 Thread Ralf Hemmecke
So if we added GNU patch, and removed two of the many excess files from Python alone, we would save a few disk space. Is it actually an issue, how long sage builds? Why build gpatch if mercurial is built by default and would do the job? I don't understand you guys. Ralf -- To post to this

[sage-devel] maxima

2010-06-23 Thread Ralf Hemmecke
I've just run a sage -upgrade which complained that some .fas file was not existing or too old. ;;; Internal error: Unable to find include directory ; - Binary file binary-ecl/maxima-package.fas is old or does not exist. ;Compile (and load) source file

[sage-devel] %directive in sage-notebook

2010-06-22 Thread Ralf Hemmecke
Sorry for crossposting, but I guess that topic should get a wider audience. Obviously that notebook has been very much tailored for having Sage as the standard session/system type. However, the notebook also allows to set the standard system type to some other system, for example to axiom

Re: [sage-devel] Re: shell commands in the notebook

2010-06-22 Thread Ralf Hemmecke
3. If you do not want to use virtual machine, at least do not run sage notebook under you account! If you somewhat trust the 20 or so users, you can set accounts=True, make their accounts, then set account=False before publishing so random people won't be able to join. If you trust these

[sage-devel] shell commands in the notebook

2010-06-21 Thread Ralf Hemmecke
What exactly has been done to prevent users of http://sagenb.org to do mischief on that server. It's easy to set the session type to sh and find out about the system. Ralf -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

Re: [sage-devel] shell commands in the notebook

2010-06-21 Thread Ralf Hemmecke
Thanks. Looks like I rather want to use localhost. But I need it for about 20 users. What options do I have to give to sage -notebook? Ralf On 06/22/2010 01:58 AM, Robert Bradshaw wrote: On Jun 21, 2010, at 4:47 PM, Ralf Hemmecke wrote: What exactly has been done to prevent users of http

[sage-devel] sagenotebook vs codenode

2010-06-20 Thread Ralf Hemmecke
What is the relation between sagenotebook and codenode.org? Ralf -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at

Re: [sage-devel] sagenotebook vs codenode

2010-06-20 Thread Ralf Hemmecke
What is the relation between sagenotebook and codenode.org? My understanding is that Codenode was supposed to be a generalized Sage Notebook. OK, but that doesn't fully answer my question. From appearance they look similar. Do they have the same codebase? Was sagenotebook developed from

[sage-devel] Sage-Notebook file format

2010-06-18 Thread Ralf Hemmecke
Hello, I realized that the .sws File of a notebook is not a text file. Would it be hard to also provide a text format that one could edit with any editor? What I see, when I press the Edit button already doesn't look too bad. Also when pressing the Text button, the notebook shows nice txt.

Re: [sage-devel] Re: Sage-Notebook file format

2010-06-18 Thread Ralf Hemmecke
On 06/18/2010 01:55 PM, ma...@mendelu.cz wrote: Hi, sws it is gzipped (or bzipped) tar fille. Unzip, untar and bzipped and tarred... ;-) OK that helps. Thanks. you should see text version and directories, one subdirectory for each output cell. Yes. But the output cell directories are empty.

[sage-devel] axiom.py

2010-06-18 Thread Ralf Hemmecke
The last few lines in the _eval_line function of devel/sage/sage/interfaces/axiom.py look like outs = out.split(\n) i = 0 outline = '' for line in outs: line = line.rstrip() # print '%s'%line if line[:4] == ' (':

Re: [sage-devel] moving Sage directories

2010-06-11 Thread Ralf Hemmecke
On 06/10/2010 04:49 PM, Jason Grout wrote: There seem to be a lot of loose ends left hanging when a sage directory is moved. For example, I usually compile Sage on a ramdisk, and then move it to my home directory. [snip] It seems common knowledge in Sage that you can compile Sage and move

[sage-devel] Standalone SageNotebook

2010-06-07 Thread Ralf Hemmecke
Hello, The for the source code repository on http://nb.sagemath.org/ points to sage -hg pull http://boxen.math.washington.edu:8100 sage -hg update ../sage -python setup.py install But running hg clone http://boxen.math.washington.edu:8100 results in abort: error: Connection refused 1) Is

Re: [sage-devel] sage path bug

2010-06-02 Thread Ralf Hemmecke
today, running ./sage -t filename did not succeed on my system. After a while, I could figure out with some help of Burcin that my setup of sage was too much using symbolic links. In fact, after I removed sage from being available via PATH, the above command succeeded. Could you elaborate?

Re: [sage-devel] SEP

2010-06-02 Thread Ralf Hemmecke
http://wiki.sagemath.org/AutoToolsSEP One problem with that is that too many packages in Sage do not honor things like CC, MAKE, CXX. Cython misbehaves if CFLAGS set. What does that have to do with autotools? If the subpackages misbehave then one has to provide proper fixes with or without

Re: [sage-devel] SEP

2010-06-02 Thread Ralf Hemmecke
http://wiki.sagemath.org/AutoToolsSEP My primary concern with both of these proposals is that they seek to widen the gap between developers and users, Huh? and I think a huge part of Sage's success in attracting contributors is erasing that gap. Sage is not a sucess for me as I stumple

Re: [sage-devel] SEP

2010-06-02 Thread Ralf Hemmecke
For the reasons Robert Bradshaw mentioned, I don't think the AutoTools SEP makes a lot of sense for Sage. Robert also added Automake would add another level of complexity to the build process, in particular one which is not understood by many in the community. to

[sage-devel] SEP

2010-06-01 Thread Ralf Hemmecke
Hello, today, running ./sage -t filename did not succeed on my system. After a while, I could figure out with some help of Burcin that my setup of sage was too much using symbolic links. In fact, after I removed sage from being available via PATH, the above command succeeded. Since that is not

[sage-devel] sage -advanced

2010-05-27 Thread Ralf Hemmecke
Hello, Looking at the output of sage -advanced, I couldn't see an explanation of -docbuild. Unfortunately, I cannot provide a better patch than the one below. In fact, to me it's a bit unclear what I can actually put as lang and document. If there were some more explanation of every option, I'd

Re: [sage-devel] sage -advanced

2010-05-27 Thread Ralf Hemmecke
Thanks Minh, for your suggestions. In fact, I wouldn't have expected that simply typing sage -docbuild gives a nice help. In fact, sage is not quite consistent here. sage -b does actually do something. Would be nice if there were a system so that, for example, sage -h -some-option would give a

Re: [sage-devel] Re: sage -advanced

2010-05-27 Thread Ralf Hemmecke
BTW, is there some reason why the -advanced output doesn't use an 80 character line length. It's really hard to read if the lines wrap. Even dumb (serial) terminals have 132 column mode ;-) And screens tend to get bigger and wider, so I consider 80 cols a bit obsolete. I don't belong to

Re: [sage-devel] Re: sage -advanced

2010-05-27 Thread Ralf Hemmecke
Hi John, See trac ticket #21. Your help looks great. Why isn't it the sage default? What's the procedure to get it into a new release? Ralf -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

Re: [sage-devel] Re: numerically stable fast univariate polynomial multiplication over RR[x]

2010-05-03 Thread Ralf Hemmecke
On 05/04/2010 12:16 AM, Bill Hart wrote: [snip] But I was surprised at how much difference it made to the debugging time. I made the same experience. Literate programming is not only beneficial for the people who read the literate program, but if the matter is complex enough, it's also good

[sage-devel] FriCAS in Sage

2010-03-21 Thread Ralf Hemmecke
Does somebody know whether (and how) I can convince Sage to work with an existing FriCAS (compiled with sbcl) instead of compiling+installing the fricas.spkg? Ralf -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

Re: [sage-devel] Re: Randomised testing against Mathematica

2010-03-04 Thread Ralf Hemmecke
If this is a call for a vote ;-), let me tell that I completely agree with the point of view that in an ideal world, tests should be written *before* the code and by a *different* person (extreme/peer programming). In an ideal world test would be extracted from theorems of theoretical papers.

Re: [sage-devel] Optional packages online

2009-12-17 Thread Ralf Hemmecke
On 12/17/2009 07:56 PM, mhampton wrote: I just noticed that the optional package repository on http://www.sagemath.org/packages/optional/ has at least on error - the biopython package is quite out of date, it Same for FriCAS. It should be fricas-1.0.8.

[sage-devel] Re: testing all optional spkg's

2009-11-13 Thread Ralf Hemmecke
There is work being done on FriCAS at http://trac.sagemath.org/sage_trac/ticket/6517. The work on FriCAS-1.0.8 is a bit delayed due to troubles with the aldor interface. I don't know what the status is but the intent is to make two packages. Ehm... I can't remember why it shouldn't work to

[sage-devel] Re: testing all optional spkg's

2009-11-13 Thread Ralf Hemmecke
Regarding: I was told that a GPL package must not install a non-GPL package. The above can never legally come up, right? If a program Foo is GPL and fundamentally depends on a program Bar that is licensed GPL-incompatible, then distributing Foo at all violates the GPL right? No. Can you

[sage-devel] Re: testing all optional spkg's

2009-11-13 Thread Ralf Hemmecke
Since you are *not* distributing the programs together, I don't see how the GPL applies. The *user* is the one that is running the command to download the non-gpl program, and all linking or other dependencies are happening on the user's machine, at their request. The result is not being

[sage-devel] Re: sqrt(2) is real or not

2009-11-04 Thread Ralf Hemmecke
Should I expect sage: SR(1) + SR(2) 1 + 2 just because sage: SR(x) + SR(2) x + 2 And why would 1 + 2 be wrong/bad or whatever? Can you give a suggestion what I must input to sage to exacly get an expression 1+2 in sage, i.e. an expression tree + / \ 1 2 ? It all depends

[sage-devel] Re: deprecation policy

2009-11-03 Thread Ralf Hemmecke
How does WRI support deprecated code? And for how long? One difference between a company like WRI and the Sage project is that WRI charges for its product to get money to do (among other things) maintenance of old versions or caring about upgrade procedures. A pragmatic approach for Sage

  1   2   >