[sage-devel] installation guide

2025-07-01 Thread 'Ralf Hemmecke' via sage-devel
Can someoen please provide correct links for the highlightet items at the bottom of page 12 pf https://doc.sagemath.org/pdf/en/installation/installation.pdf in particular "Fundamental system packages required for installing from source". Thanks in advance Ralf -- You received this message be

[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: Gamma(7).reduce_

[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 st

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] FileNot

[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: I.transformed_basis('gwal

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 locall

[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 22e470c2d6941875908f35ff3657843f1fe83f21

[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 repre

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 receive

[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 receive

[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 st

[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, s

[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 leas

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+simple&l=1 On 11/20/2014 09:04 PM, John Cremona wrote: > On 20 November 2014 17:24, Dima Pasechnik wrote: >> with new git, one has new default behavour of git push. Namely, you can >> choose >> git config --global push.default matching >> or

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 specificati

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 cou

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

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 har

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 > --

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

2014-06-12 Thread Ralf Hemmecke
integer with float. > > Ah, no wonder it's so widely used :). Right. ;-) In FriCAS you get (1=1.0)@Boolean if you type that in a session, but ... (200) -> )compile foo.spad Compiling FriCAS source code from file /home/hemmecke/foo.spad using

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 gi

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:

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 a

[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 sp

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

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 d

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 becaus

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

2013-11-23 Thread Ralf Hemmecke
-local works with the installed debian version. # It should also work with newer versions, but one never knows. # It's a patch series that is not yet in the official FriCAS SVN repo. git clone https://github.com/hemmecke/fricas.git fricas cd fricas # No longer needed since FriCAS now includ

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 grou

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

2013-11-23 Thread Ralf Hemmecke
dor: Don't try to evaluate conditions on categories where the category 096d0f8 Use different symbols for labels and values. f4e21a1 make clean now does not remove cliques.as 8a66a07 Evaluate the lambertW function for the special value at -1/e. 8cd3e73 Update INSTALL, INSTALL.aldor and release no

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 mor

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 redistribut

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

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 b

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 i

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

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-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

[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 s

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 sit

[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 http://alblue.bandlem.com/2011/02/gerrit-git-review-with-jenkins-

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 confli

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? https://www.kernel.org/pub/software/scm/git/do

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

2013-07-29 Thread Ralf Hemmecke
characteristic(): NonNegativeInteger == characteristic()$Rep; } (1) -> )co funny.as Compiling FriCAS source code from file /home/hemmecke/scratch/funny.as using AXIOM-XL compiler and options -O -Fasy -Fao -Flsp -laxiom -Mno-ALDOR_W_WillOb

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: [fricas-devel] Re: [sage-devel] Ubuntu/Debian packages

2013-07-25 Thread Ralf Hemmecke
phics in FriCAS also goes via a separate window, # it's questionable whether to build it or not. # But if you start configure in an environment that ha no X, # then then these component will be disabled anyway. apt-get install xvfb libxt-dev libxpm-dev git clone https://github.com/hemmecke/f

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 Go

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 f

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. https://clo

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: [fricas-devel] Re: [sage-devel] Ubuntu/Debian packages

2013-07-23 Thread Ralf Hemmecke
neInteger. Use the pdf-Form of the Aldor User Guide. That's closer to the actual sources. > If somebody ends up making a cloud project with a few examples that > work, it would be a good example for our "project templates" library > [1]. Maybe later. But for a start, you ca

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 im

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.4943&rep=rep1&type=pdf > How does it handle this? > http://www.sagemath.org/doc/reference/coercion/sage/structure/coerce.html It depends on how much automatic coerci

[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 th

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

[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.c

[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 ftp://ftp.fu-berlin.de/unix/misc/sage/linux/32bit/sage-5.8-linu

[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

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 g

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 mec

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: $(INST)/$(SAGE_

[sage-devel] Re: maxima

2010-06-23 Thread hemmecke
followup to my previous message... I tried sage -f ecl sage -f maxima That seemed to have finished without reporting an error. Only the last two lines looked a bit strange. installing Maxima library as /home/hemmecke/software/sage-source/local/ lib/ecl//maxima.fas cp: cannot stat `maxima.fasb

[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 /home/hemmecke/software

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 the

[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 (option

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 do

[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] 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 c

[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 http://groups.google.com/group/s

[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] 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 empt

[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. (A

Re: [sage-devel] moving Sage directories

2010-06-10 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 mov

[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 the

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 http://wiki.sagemath.org/A

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 stu

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 with

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

[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 no

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 sage-devel+unsubscr...@googleg

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 do

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 giv

[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 . If there were some more explanation of every option, I'd hig

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 f

[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 sage-deve

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. A

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. http://trac.sagemath.org/sage_tr

[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 >

[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. C

[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 wor

[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

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

2009-11-03 Thread Ralf Hemmecke
> Symbolic Ring > sage: SR(1) > SR(2) > 1 > 2 > because it returns: > sage: x > 2 > x > 2 > if x is symbolic. Right. And of course it doesn't say whether that is true or false. That's just an expression. Only when one asks to transform that into a boolean value, computation is started. Challen

[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

[sage-devel] Re: Sage registered trademark

2009-11-02 Thread Ralf Hemmecke
> We will not be changing the name to MathTor. > > -- William Has someone already bothered to ask the people at one of the following sites whether they intend to sue Sage (at sagemath.org) or rather its leader in the future? http://sage.com/ http://www.sagefinancial.co.uk/ http://ww

[sage-devel] Re: deprecation policy

2009-11-01 Thread Ralf Hemmecke
What about deprecation warning and moving the deprecated functionality to an optional package in the next version of Sage with a clear notice that there is no official support for this optional package. Ralf --~--~-~--~~~---~--~~ To post to this group, send an e

[sage-devel] Re: Sage env -- RM="rm"?

2009-10-20 Thread Ralf Hemmecke
Though pretty much unix-related, I find this a good rule of thumb. http://www.gnu.org/software/make/manual/make.html#Utilities-in-Makefiles But otherwise there should be "configure" to figure out the machine differences. Ralf On 10/20/2009 12:04 PM, David Kirkby wrote: > Only a few days ago y

[sage-devel] [sage-combinat-devel] Re: Categories review: algebra_ideals.py and algebra_modules.py

2009-10-15 Thread Ralf Hemmecke
> Is there any real reason to use "Modules(R)" as "Bimodules(R,R)" > beyond the comfort of not changing the names? If not, I'd strongly > suggest forgetting the name "Modules" for noncommutative rings or > default it to left modules. Oh, interesting that you say that. That is exactly what PanAxi

  1   2   >