Re: [sage-devel] Unable to install Sage on Debian System

2019-05-08 Thread Stefan Petrea
I had the same problem, but it was easily fixed pre-pending Google's DNS to /etc/resolv.conf "nameserver 8.8.8.8" Also, check that you can resolve other sites via the terminal "ping google.com" ERROR [transfer|run:135]: [Errno socket error] [Errno -2] Name or service not known Also, yes ^^ this

Re: [sage-devel] Re: polymake 3.1 package failing install on SageMath 8.7

2019-05-08 Thread Stefan Petrea
t; Can you start sage in the terminal? > > On Wed, May 8, 2019 at 4:16 AM Stefan W wrote: > > > > Apparently I now SageMath doesn't work anymore. If I try to start the > Jupyter kernel for Sage > > I now get errors about libntl.so.33 (see the log file attached). > &

[sage-devel] Re: polymake 3.1 package failing install on SageMath 8.7

2019-05-07 Thread Stefan W
already available. On Tuesday, May 7, 2019 at 11:20:16 AM UTC+3, jplab wrote: > > Hi Stefan, > > Polymake had some issues with gcc 7 in the past. I do not know if the > following could help you: > > https://forum.polymake.org/viewtopic.php?f=10=579 > > The latest versio

Re: [sage-devel] Re: polymake 3.1 package failing install on SageMath 8.7

2019-05-07 Thread Stefan Petrea
Hi, I've followed the trac ticket 24905 and I've been able to succesfully build the polymake extension for Sage. I'm using SageMath 8.7 (that comes with its own gcc 7.2.0).The OS used was Debian buster (10). Thanks, Stefan On Tue, May 7, 2019 at 11:20 AM jplab wrote: > Hi Stefan, > >

[sage-devel] Re: Graph.show with js sometimes messes up labels

2019-03-12 Thread Stefan Demharter
_id = {v: i for i, v in enumerate(V)} nodes = [... for v in V] That way you'd end up with the same result independent of the ordering in the hashmap. With that you can also construct more test cases that don't depend on that ordering and work for python2 and python3. Cheers, Stefan On Monday, 11 Mar

[sage-devel] Graph.show with js sometimes messes up labels

2019-03-10 Thread Stefan Demharter
ot;group": "0", "name": "10"}]} Another failing example is: Graph({1: [2], 2: [7], 3: [10], 5: [7]}).show(method='js') showing the nodes as: 2-3-10-7, 1-5 Replacing 10 by 9 results in the correct graph: 1-2-7-5, 3-9 Cheers, Stefan -- You received this mes

[sage-devel] Re: GSoC 2018: mentor application and ideas list

2018-01-22 Thread Stefan
We have two project suggestions so far. Any others? The deadline for SageMath to submit its application is tomorrow morning! —Stefan -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving e

[sage-devel] Re: GSoC 2018: mentor application and ideas list

2018-01-12 Thread Stefan
Please register me as mentor again. On Tuesday, January 9, 2018 at 5:03:14 AM UTC-6, Harald Schilly wrote: > > Hello everyone. This year's Google Summer of Code started again. Are > we applying again? Who wants to be a mentor for a student? First step > is to get the application done and fill

[sage-devel] WeylGroup implementation incompatibility

2017-09-20 Thread Stefan Witzel
is that the root systems use different ambient spaces. What's extremely annoying is that g.action(alpha) accepts a 4-touple without raising an exception. Is there a plan of making the behavior more coherent or should one never switch between the two implementations? Best, Stefan -- You received

Re: [sage-devel] Sorting strings and integers

2017-08-07 Thread Stefan
reed. This is especially true for the Matroid class, where the ground set can contain any hashable objects. The automatic label generator for extensions will go for strings, so it's easy to get a mixture of strings and integers. --Stefan. P.S. The Graph class does way too much sorting. See e.g. sa

[sage-devel] Sorting strings and integers

2017-08-07 Thread Stefan
Is this behavior new? I got it on my MacBook running the latest development version. And, more importantly, what is the recommended way of writing doctests for functions that return frozen sets with strings and integers? In particular in light of Python 3 coming up... sage: sorted([1,2,'a'])

[sage-devel] Re: GSoC 2017 accepted SageMath

2017-04-04 Thread Stefan van Zwam
Be aware that this is not the mentor list, but the public list. Please don't discuss content of the submitted proposals here. -- Stefan On Tuesday, April 4, 2017 at 6:25:45 AM UTC-5, Jean-Pierre Flori wrote: > > > Thanks Harald. > I did not realize so many of them were for my proje

[sage-devel] Re: Polynomial ring extension inconsistencies

2017-01-16 Thread Stefan
> That does EXACTLY what I want, but now I run into a bug: > > R1 = ZZ['x0','x1'] > x = R1(1) > R2 = ZZ[tuple('x'+str(i) for i in range(967))] > y = R2('x0') > x*y > > gives a RuntimeError: maximum recursion depth exceeded. > > The 967 is the smallest number in the Notebook that gives an error;

[sage-devel] Re: Polynomial ring extension inconsistencies

2017-01-16 Thread Stefan
> Does this what you want? > > sage: R=ZZ['x1','x2','x3'] > sage: S=ZZ[R.gens()+('x4','x5')] > sage: M=matrix(R,[1,2,3]) > sage: M.change_ring(S) > [1 2 3] > > Variable names actually matter in sage, so there is automatically a > coercion from R into S. > > > That does EXACTLY what I want, but

[sage-devel] Polynomial ring extension inconsistencies

2017-01-13 Thread Stefan
a matrix over R that I'd like to interpret as a matrix over R-with-a-few-extra-variables. What I get: only the ring S has the method extend_variables. Neither R nor T have it. Why is that? What's the proper way to extend R? Cheers, Stefan. -- You received this message because you

[sage-devel] Re: SageMath has been accepted as an GSoC 2016 mentor org

2016-02-29 Thread Stefan van Zwam
Also: yay! A huge thanks to you and the other admins for putting in all the work to get this off the ground! -- 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] Re: [sage-gsoc-mentors] SageMath has been accepted as an GSoC 2016 mentor org

2016-02-29 Thread Stefan van Zwam
Hi Harald, I don’t see anywhere for mentors to sign up, but I will make myself available again this year. Cheers, Stefan. > On Feb 29, 2016, at 2:39 PM, Harald Schilly <harald.schi...@gmail.com> wrote: > > Hi, just a quick note to everyone: SageMath has yet again

[sage-devel] Re: For whoever cares about undergrads (or wants to help William earn more money)

2016-02-16 Thread Stefan
I still don't see your problem. SageMath is open-source, and because of the GPL always will be. Many open-source projects have a commercial side to them (MySQL, RedHat, Mozilla, ...) For now, I think SageMath the company and SageMath the open-source project have goals that are very well

[sage-devel] Re: will Sage apply for GSoC 2016?

2016-02-16 Thread Stefan
You missed this discussion: https://groups.google.com/d/msg/sage-devel/eWjHyd294ck/N02qfE_yAgAJ Short answer: yes. --Stefan On Tuesday, February 16, 2016 at 10:11:36 AM UTC-6, Ralf Stephan wrote: > > Ah thanks, but still: will there be an application? > According to Google: "T

Re: [sage-devel] Re: sage on hacker news right now...

2016-02-15 Thread Stefan
On Monday, February 15, 2016 at 1:43:02 AM UTC-6, Ralf Stephan wrote: > > On Monday, February 15, 2016 at 1:11:18 AM UTC+1, William wrote: >> >> Combinatorics is definitely the strongest part of Sage. > > > Old school combinatorics perhaps. But see >

Re: [sage-devel] Sage on OS X: El Capitan

2015-11-03 Thread Stefan
Discussion in the hallway with a colleague the other day (paraphrased): Colleague: "So, is Sage working yet on the latest OS X?" Me: "Mixed signals. People get errors, it seems to work if you enable root again" Colleague: "Oh no, I don't want to do that. I guess I'll wait and se." Me: "You can

[sage-devel] Re: Default Graph data structure ( complexity of .has_edge() and memory )

2015-10-28 Thread Stefan
On Tuesday, October 27, 2015 at 11:38:13 PM UTC-5, Travis Scrimshaw wrote: > > > > On Tuesday, October 27, 2015 at 10:57:28 PM UTC-5, Stefan wrote: >> >> As a matroid theorist I care about creating millions and millions of >> small graphs (10 vertices is already a

[sage-devel] Re: Default Graph data structure ( complexity of .has_edge() and memory )

2015-10-27 Thread Stefan
deleted. Oh, and I really dig multiple edges, loops, and edge labels. I care about the same thing when it comes to sets, and Sage's Set data structure just doesn't cut it. Graphs don't bother too much with the category framework, right? --Stefan On Tuesday, October 27, 2015 at 10:40:21 AM UTC-5

Re: [sage-devel] Nauty vs SageMath speed comparisons?

2015-10-06 Thread Stefan
Hi Siddharth, I won't be able to mentor you. If I were to go about doing this thoroughly, I would look at the kinds of tests carried out in the literature on graph isomorphism (specifically here: http://arxiv.org/pdf/1301.1493v1.pdf ) and redo these (or very similar) tests with the listed

[sage-devel] Nauty vs SageMath speed comparisons?

2015-10-05 Thread Stefan
, but the link was dead. I'd appreciate any pointers! Cheers, Stefan. -- 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.co

Re: [sage-devel] Nauty vs SageMath speed comparisons?

2015-10-05 Thread Stefan
Yeah, that one doesn't have any timings. I guess someone should sit down and run some tests. Not sure if it'll be me, I'm swamped with work :( On Monday, October 5, 2015 at 2:44:06 PM UTC-5, David Joyner wrote: > > On Mon, Oct 5, 2015 at 2:14 PM, Stefan <stefan...@gmail.com > >

[sage-devel] git diff wrong?

2015-08-18 Thread Stefan
When I click on the green link with the branch name in this ticket, it makes it look like it deletes the contents of two files: http://trac.sagemath.org/ticket/18946 When I git trac try 18946 and then do a diff against the previous commit, everything is fine (i.e. the new code gets added,

[sage-devel] PolynomialQuotientRing_generic not a QuotientRing_generic

2015-08-11 Thread Stefan Witzel
I noticed that PolynomialQuotientRing_generic is not derived from QuotientRing_generic but rather directly from CommutativeRing. Is there a reason for that? -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop

[sage-devel] QuotientRing of PowerSeriesRing

2015-08-11 Thread Stefan Witzel
In the discussion [1] it was noticed out that sage cannot reduce elements in polynomial rings over arbitrary rings modulo non-principal ideals and (more importantly) how to react to this. There was a general tendency for raising an exception rather than returning bogus results. But in the

Re: [sage-devel] PolynomialQuotientRing_generic not a QuotientRing_generic

2015-08-11 Thread Stefan Witzel
or QuotientRing_generic to inherit from. Of course, as a Python class, it could inherit from both. David On Tue, Aug 11, 2015 at 4:28 AM, Stefan Witzel stwit...@gmail.com wrote: I noticed that PolynomialQuotientRing_generic is not derived from QuotientRing_generic but rather directly from CommutativeRing

[sage-devel] PolynomialSequence and infinite fields of characteristic 2

2015-06-11 Thread Stefan Witzel
I noticed [1] a problem in the constructor of PolynomialSequence. It seems that in [2] finite coefficient fields of characteristic 2 are supposed to be treated specially but really the test is only for characteristic 2. I tried to fix [3] the issue by testing for finiteness but then realized

[sage-devel] sage build problems on Cygwin64 from sage-6-7.tar.gz and from https://github.com/sagemath/git-trac-c

2015-06-09 Thread Stefan Auracher
After finding problems sage-6-7.tar.gz Now I succeeded with git clone https://github.com/sagemath/git-trac-command.git But in compiling on Cygwin64 I run into a problem with ecm-6.4.4 After leaving ~/sage-git/sage/local/var/tmp/sage/build/givaro-3.7.1/src I got: The following package(s) may have

[sage-devel] Re: sage-6.7 build failed on Cygwin64 for python-2.7.8 No module named crypt

2015-06-08 Thread Stefan Auracher
initially I tried to install via git as described here http://trac.sagemath.org/wiki/Cygwin64Port but, because I have a very poor internet connection behind some company firewalls I dit not suceed with git clone git://trac.sagemath.org/sage.git. So I downloaded sage-6.7.tar.gz

[sage-devel] Re: sage-6.7 build failed on Cygwin64 for python-2.7.8 No module named crypt

2015-06-08 Thread Stefan Auracher
In the past I had the same experience. I did it but in the last years, but it was really difficult. But recently I tried an install of cygwin with the setup-x86_64.exe --no-admin switch and it worked very well wihout any problems. The recent problems with installation of sage are really my

[sage-devel] Re: sage-6.7 build failed on Cygwin64 for python-2.7.8 No module named crypt

2015-06-08 Thread Stefan Auracher
How to do this ? I found in ~/sage-6.7/src/module_list.py Extension('sage.rings.polynomial.pbori', sources = ['sage/rings/polynomial/pbori.pyx'], libraries=['polybori-' + polybori_major_version, 'polybori_groebner-' + polybori_major_version,

[sage-devel] sage-6.7 build failed on Cygwin64 for python-2.7.8 No module named crypt

2015-06-05 Thread Stefan Auracher
the logfile ~/sage-6.7/logs/pkgs/python-2.7.8.log at the very end after make[3]: Leaving directory '/home/XX/sage-6.7/local/var/tmp/sage/build/python-2.7.8/src' failed with: Installing valgrind suppression file... Testing importing of various modules... ctypes module imported OK math

Re: [sage-devel] Re: GSoC 2015: 5 projects funded

2015-04-28 Thread Stefan
I'm adding my thanks to Harald. To the students: good luck, and have fun! On Tuesday, April 28, 2015 at 10:40:12 AM UTC-5, david@inria.fr wrote: On Tuesday, April 28, 2015 at 6:43:32 AM UTC+2, Vincent Knight wrote: Thanks for the hard work Harald and welcome to all the students! +1

[sage-devel] Re: Sage is grown up; needs a last name

2015-02-18 Thread Stefan
+1 to SageMath. -- 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. To post to this group, send email to

[sage-devel] Re: Massive slowdown in ring inverses

2015-01-29 Thread Stefan
On Wednesday, January 28, 2015 at 4:45:54 PM UTC-6, Simon King wrote: Hi Stefan, On 2015-01-28, Stefan stefan...@gmail.com javascript: wrote: The question, now, is why the coercion system is invoked at all: I'm doing arithmetic within my own ring. The culprit, I guess

[sage-devel] Re: Massive slowdown in ring inverses

2015-01-29 Thread Stefan
This is now trac 17692 -- 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. To post to this group, send email to

Re: [sage-devel] Re: Massive slowdown in ring inverses

2015-01-28 Thread Stefan
No. The coercion system has a cache of its own. It does keep strong references to the coercion maps. They don't have homsets, though. The problem might be that you keep extracting coercion maps from the coercion system: if all(R.has_coerce_map_from(S) for R in self._rings):

Re: [sage-devel] Re: Massive slowdown in ring inverses

2015-01-28 Thread Stefan
last) ... AttributeError: 'EtaGroupElement' object has no attribute 'is_one' Cheers, Stefan. -- 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

[sage-devel] Massive slowdown in ring inverses

2015-01-26 Thread Stefan
caused this? And help me think about a way to fix it? Cheers, Stefan -- 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. To post

Re: [sage-devel] matplotlib compile error

2014-12-02 Thread Stefan
Single-threaded build after make distclean was successful. Currently trying export MAKE=make -j4 make distclean make Will report back tomorrow. --Stefan. On Tuesday, December 2, 2014 5:00:06 PM UTC+13, Stefan wrote: On Tuesday, December 2, 2014 2:22:28 PM UTC+13, François wrote

Re: [sage-devel] matplotlib compile error

2014-12-02 Thread Stefan
Success again. I don't know what was different the first time. Sorry for the noise. --Stefan On Tuesday, December 2, 2014 10:35:15 PM UTC+13, Stefan wrote: Single-threaded build after make distclean was successful. Currently trying export MAKE=make -j4 make distclean make Will report

[sage-devel] matplotlib compile error

2014-12-01 Thread Stefan
I'm trying to build 6.5.beta1 on my Mac with OSX 10.7.5. I manually applied #17397, but my compilation breaks on matplotlib. Here's the log: Found local metadata for matplotlib-1.3.1 Found local sources at /Users/stefan/sage/upstream/matplotlib-1.3.1.tar.gz Checksum

Re: [sage-devel] matplotlib compile error

2014-12-01 Thread Stefan
On Tuesday, December 2, 2014 2:22:28 PM UTC+13, François wrote: It looks like pkg-config has not been installed or the dependencies for matplotlib aren't there yet. freetype and png should be discovered through pkg-config and they aren't in your case. Did you make distclean before

Re: [sage-devel] Maple versus Mathematica

2014-11-18 Thread Stefan
Problems arise when thinking about more complicated mathematical objects. I don't know if I simply lack the appropriate Mathematica knowledge, but years ago, when I implemented matroids in Mathematica, a matroid was simply a list with 6 elements (groundset, representation matrix, and I forget

[sage-devel] Re: OSX Yosemite

2014-10-20 Thread Stefan
Does a compiled Sage still run? --Stefan On Friday, October 17, 2014 2:53:29 PM UTC-5, Volker Braun wrote: I tried gcc 4.8.3 with the OSX 10.10 patch but that dies with Bootstrap comparison failure! More info: http://trac.sagemath.org/ticket/17169 On Friday, October 17, 2014 6:14:07 PM

Re: [sage-devel] Re: equal FractionFieldElement_1poly_field have different hashes

2014-09-23 Thread Stefan
. --Stefan. On Tuesday, September 23, 2014 1:37:13 AM UTC-5, Clemens Heuberger wrote: Hi Simon, Am 2014-09-20 um 18:47 schrieb Simon King: On 2014-09-20, Clemens Heuberger clemens@aau.at javascript: wrote: Shall I enforce that the parent of all labels is the same (and warn

[sage-devel] Compiling R without libpaper

2014-09-19 Thread Stefan
on? --Stefan. -- 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. To post to this group, send email to sage-devel@googlegroups.com. Visit

[sage-devel] Re: Compiling R without libpaper

2014-09-19 Thread Stefan
Maybe I was being premature... today, both Sage and regular R seem to configure. I haven't tried the actual Sage install yet. I did build libpaper (in ~/local/lib), but I don't believe I did anything to tell the configure scripts it's there. -- You received this message because you are

[sage-devel] Re: Compiling R without libpaper

2014-09-19 Thread Stefan
precisely what's going on here. Anyway, ~/local/lib (which has libpaper) is now in my LD_LIBRARY_PATH, and I'm starting a new Sage build. --Stefan. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving

[sage-devel] Re: Compiling R without libpaper

2014-09-19 Thread Stefan
) yes checking whether gfortran accepts -g... (cached) yes checking if libtool supports shared libraries... yes Note no autodetect line at all. What's going on? What's different when the Sage installation runs configure? --Stefan. -- You received this message because you are subscribed

[sage-devel] Re: equal FractionFieldElement_1poly_field have different hashes

2014-09-18 Thread Stefan
Is this behaviour intentional or is this a bug? Neither, in Sage the Python promise is necessarily broken, because math objects and equality is just too complex. But it's unfortunate, and unnecessary, when this happens for elements of the same ring. See this thread where a possible

Re: [sage-devel] Re: Help compiling on supercomputer!

2014-09-17 Thread Stefan
Hi all, I'm hijacking this thread for my own compile-on-a-supercomputer issue. This system (LSU's Mike II) apparently doesn't have separate compile nodes, and I was told to run an interactive session on a compute node to do my compilation. I think I set all standard software to use GCC

Re: [sage-devel] Re: Help compiling on supercomputer!

2014-09-17 Thread Stefan
Thanks! This was in /scratch, but on this system it's just an alias for /work, and still on the cluster filesystem. I believe there's local storage once you get assigned a node, I'll give that a try, and report back. --Stefan. -- You received this message because you are subscribed

Re: [sage-devel] Re: Help compiling on supercomputer!

2014-09-17 Thread Stefan
We're making progress! The build now fails on R, with the line: checking for visible __lib_stack_end... yes checking for lpr... lpr checking for paperconf... false Error configuring R. On Wednesday, September 17, 2014 3:02:04 PM UTC-5, Stefan wrote: Thanks! This was in /scratch

Re: [sage-devel] Re: Help compiling on supercomputer!

2014-09-17 Thread Stefan
Can you post the config.log for R? Certainly! Incidentally, the support guy was concerned about the --prefix option passed to the configure script (see line 18 of the log below). Is that something to worry about? --Stefan. Found local metadata for r-3.1.1.p0 Found local sources

Re: [sage-devel] Re: Help compiling on supercomputer!

2014-09-17 Thread Stefan
Ok. It's a bit long, so I pasted it here: http://pastebin.com/9a4KCGX9 --Stefan On Wednesday, September 17, 2014 6:44:01 PM UTC-5, François wrote: On Wed, 17 Sep 2014 16:31:40 Stefan wrote: Incidentally, the support guy was concerned about the --prefix option passed to the configure

Re: [sage-devel] On scientific computing, Python and Julia

2014-07-21 Thread Stefan Karpinski
On Mon, Jul 21, 2014 at 11:50 AM, Nils Bruin nbr...@sfu.ca wrote: On Friday, July 18, 2014 4:01:10 PM UTC-7, Stefan Karpinski wrote: If Julia has shown anything, it's that you *can* have ubiquitous multiple dispatch in a dynamic language and have it be very fast – it is commonly a zero-cost

Re: [sage-devel] On scientific computing, Python and Julia

2014-07-21 Thread Stefan Karpinski
On Mon, Jul 21, 2014 at 2:12 PM, Nils Bruin nbr...@sfu.ca wrote: It certainly seems unlikely we'd be able to utilize these ideas without significantly altering python/cython. I guess Sulia or Juxiom might be the next generation computer algebra system. Glad the explanation was helpful, even

Re: [sage-devel] On scientific computing, Python and Julia

2014-07-20 Thread Stefan Karpinski
to actually do the dispatch at runtime, in which case you need to resort to double dispatch or something like that in C++. On Sun, Jul 20, 2014 at 5:09 PM, Francesco Biscani bluesca...@gmail.com wrote: Hello Stefan, thanks for the explanations, this all looks really interesting to me. On 19 July

Re: [sage-devel] On scientific computing, Python and Julia

2014-07-19 Thread Stefan Karpinski
,pure_instructions Filename: /Users/stefan/.julia/SIUnits/src/SIUnits.jl Source line: 139 push RBP mov RBP, RSP Source line: 139 vcvtsi2sd XMM1, XMM0, RDI vaddsd XMM0, XMM1, XMM0 Source line: 140 pop RBP ret With no further definitions you also get much more complex behavior, like, for example

Re: [sage-devel] On scientific computing, Python and Julia

2014-07-19 Thread Stefan Karpinski
On Sat, Jul 19, 2014 at 8:22 AM, Nils Bruin nbr...@sfu.ca wrote: Consider A+B where A is a polynomial in ZZ[x,y] and B is a power series in F_q[[x]] (finite field with q elements). Do you expect your CAS to make sense of that addition? Sage does. It returns an answer in F_q[[x]][y] (i.e., a

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

2014-06-10 Thread Stefan
That's the road we took with Sage's matroids (see http://matroidunion.org/?p=517 ). But that's a very different beast from numbers. I wouldn't want to write x.equals(y) every time instead of x == y. And it still doesn't solve the problem of x in S for a set S. --Stefan. On Tuesday, June

[sage-devel] Re: git-trac trouble

2014-06-05 Thread Stefan
Yes, it works now. There seem to be other issues with my SSH setup, but I can do some things, including checking out tickets! Thanks! --Stefan. On Wednesday, June 4, 2014 3:00:53 PM UTC-4, Volker Braun wrote: I've added a workaround for the Python 2.7.1 issue, this should work now. Just do

[sage-devel] git-trac trouble

2014-06-03 Thread Stefan
(anonymous) http://trac.sagemath.org/login/xmlrpc (authenticated) realm sage.math.washington.edu Username: Stefan Password: *** Retrieving SSH keys... Traceback (most recent call last): File /usr/local/bin/git-trac, line 18, in module cmdline.launch() File /Users/stefan/sage/git-trac

[sage-devel] Re: git-trac trouble

2014-06-03 Thread Stefan
Yeah, that doesn't work either: Traceback (most recent call last): File /Users/stefan/sage/local/lib/python/site.py, line 548, in module main() File /Users/stefan/sage/local/lib/python/site.py, line 530, in main known_paths = addusersitepackages(known_paths) File /Users/stefan/sage

[sage-devel] Re: GSoC projects

2014-01-30 Thread Stefan
I'd be happy to mentor a project regarding sage.matroids. Last year's participant on my project canceled at the last minute, so I hope to have better luck this year! I'll update the project description as soon as the document goes up. --Stefan. On Thursday, January 30, 2014 4:18:42 AM UTC-5

[sage-devel] Re: pickle jar is checked into git

2014-01-16 Thread Stefan
How often is the pickle jar updated? My impression was that it would be with each new release. But I just unzipped it, and I don't see any matroids in there, while sage.matroids has been part of Sage since 5.12. --Stefan. -- You received this message because you are subscribed to the Google

Re: [sage-devel] Re: Git reviewing help needed

2014-01-10 Thread Stefan
On a git ticket, click on the name of the branch (which should be green if it applies cleanly) and you'll get a diff of the changes that would occur if the ticket were merged into the current development branch. This view won't be affected by the kind of rebases that you mention. Ok,

[sage-devel] Git reviewing help needed

2014-01-09 Thread Stefan
the right questions? --Stefan. -- 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. To post to this group, send email to sage

[sage-combinat-devel] Re: Review needed for some combinatorial constructions

2014-01-06 Thread Stefan
. the git the hard way section) to reflect the fact that we have the develop branch in addition to the master branch? I'm not quite sure how to synchronize that with the server. --Stefan. On Saturday, January 4, 2014 2:13:43 PM UTC+1, Nathann Cohen wrote: Helloo !! I did, briefly. I

[sage-devel] Re: Review needed for some combinatorial constructions

2014-01-06 Thread Stefan
. the git the hard way section) to reflect the fact that we have the develop branch in addition to the master branch? I'm not quite sure how to synchronize that with the server. --Stefan. On Saturday, January 4, 2014 2:13:43 PM UTC+1, Nathann Cohen wrote: Helloo !! I did, briefly. I

[sage-devel] Re: About groups.tab, designs.tab, and the brand-new codes.tab

2013-11-22 Thread Stefan
individual codes and designs litter the namespace. Groups, rings and fields are a muddier issue, because they're so widely used. --Stefan. On Friday, November 22, 2013 9:53:33 AM UTC-5, P Purkayastha wrote: On 11/22/2013 09:34 PM, John Cremona wrote: On 22 November 2013 13:31, Nathann Cohen nathan

[sage-devel] Re: OS X Mavericks

2013-11-22 Thread Stefan
Just wondering... has Apple's compiler by any chance improved enough so we can stop building our own GCC? -- 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] Re: aut codes patch

2013-10-02 Thread Stefan
On Wednesday, October 2, 2013 2:46:45 AM UTC-4, Thomas Feulner wrote: The last post to this thread is 2 years old, but I have continued my work on canonical forms for linear codes. I have followed up Dima`s proposal and prepared a package, which is entirely written in Python/Cython, since

Re: [sage-devel] Re: Deprecation of %load

2013-09-20 Thread Stefan
The main thing that's bugging me, actually, is the discrepancy between notebook and command line. On the command line: %runfile /path/to/myfile.sage In the notebook: load /path/to/myfile.sage Note the absence of the %. And neither of these options will work in the other environment. --

[sage-devel] Re: Hashing elements from the same ring

2013-08-30 Thread Stefan
On Thursday, August 29, 2013 12:54:02 PM UTC-4, Nils Bruin wrote: On Thursday, August 29, 2013 8:52:02 AM UTC-7, Simon King wrote: Hi Stefan, On 2013-08-29, Stefan stefan...@gmail.com wrote: Actually, this is not quite true. reduce() is, by default, called automatically for elements

[sage-devel] Re: Hashing elements from the same ring

2013-08-29 Thread Stefan
, this does not hold in my example (with the polynomial ring defined above): sage: cmp((c+1)^2, c^2 + 2*c+1) 0 Again, my main issue is that the elements are *from the same ring*. Cheers, Stefan. -- You received this message because you are subscribed to the Google Groups sage-devel group

[sage-devel] Hashing elements from the same ring

2013-08-28 Thread Stefan
, but my imagination is kind of limited. Subclassing FractionField feels like overkill, but a long list of try... Except clauses inside __hash__ is bad too. Thoughts? --Stefan -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from

Re: [sage-devel] Re: Is the glass half-full or half-empty ? Pick a standard.

2013-08-22 Thread Stefan
I think backward compatibility is a strong argument to keep returning True. I also have an answer based on my favorite definition is ..., namely the analogue with matroid connectivity, where any matroid that is too small to have a k-separation, is automatically k-connected. Extending this to

[sage-devel] Re: The 2013 Spies Prize winner is...

2013-06-23 Thread Stefan
Congratulations! Your work as release manager is incredible! -- 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. To post to

[sage-devel] Re: New doctest continuation ....:

2013-06-23 Thread Stefan
of no trailing whitespace, there's none. --Stefan. On Friday, June 21, 2013 3:41:13 AM UTC+2, leif wrote: leif wrote: Keshav Kini wrote: Stefan stefan...@gmail.com javascript: writes: I'd ask for p[6:], that's the expected use and consistent with the previous line which tests

Re: [sage-devel] Re: find_stat in Sage, the combinatorial_map decorator and its consequences

2013-06-20 Thread Stefan
graphs.algorithms.conversions.to_partition(G) Cheers, Stefan. -- 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. To post

[sage-devel] Re: New doctest continuation ....:

2013-06-20 Thread Stefan
I believe that this style of continuation breaks the live documentation. I couldn't easily find any non-underscore methods (which of course don't show up in the reference manual) but while working on #13381 I discovered this. So it would be very, very good to fix this before requiring

[sage-devel] Re: New doctest continuation ....:

2013-06-20 Thread Stefan
The fix should be adding two lines after line 374 of https://github.com/sagemath/sagenb/blob/master/sagenb/notebook/docHTMLProcessor.py I don't have time to get acquainted with Notebook development right now, or I'd fix it myself... -- You received this message because you are subscribed to

[sage-devel] Re: New doctest continuation ....:

2013-06-20 Thread Stefan
Don't strip, line continuations are often indented. -- 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. To post to this group,

[sage-devel] Re: New doctest continuation ....:

2013-06-20 Thread Stefan
I'd ask for p[6:], that's the expected use and consistent with the previous line which tests for '... ' (note the space). --Stefan. -- 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

[sage-devel] Re: New ore_algebra Sage package is available

2013-06-18 Thread Stefan
Did you open a ticket to make it an optional package available from the usual spkg repositories? [It should perhaps at least be available / listed in the experimental category.] Or maybe (haven't looked at it yet) it violates the conventions for spkgs (in that it modifies the Sage

[sage-devel] bla? fails in Notebook with some lazy_import statements

2013-06-18 Thread Stefan
', '', 'single') File , line 1, in File /Users/stefan/sage-5.10.beta5/devel/sagenb/sagenb/misc/support.py, line 271, in docstring s += '**Definition:** %s'%sageinspect.sage_getdef(obj, obj_name) File /Users/stefan/sage-5.10.beta5/local/lib/python2.7/site-packages/sage/misc/sageinspect.py

[sage-devel] Re: bla? fails in Notebook with some lazy_import statements

2013-06-18 Thread Stefan
This is now Trac 14768. I uploaded a patch that seems to fix it. -- 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. To post to

[sage-devel] docbuild and lazy import

2013-05-29 Thread Stefan
('sage.matroids.constructor', 'Matroid') lazy_import('sage.matroids', 'matroids_catalog', 'matroids') When we build the documentation, some files build successfully, others don't. The ones that fail, generate errors like the following: [reference] /Users/stefan/sage-5.10.beta4/devel/sage/doc/en/reference/matroids/sage

Re: [sage-devel] Huge patch on Trac 7477: Matroid theory

2013-05-28 Thread Stefan
). --Stefan. -- 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. To post to this group, send email to sage-devel@googlegroups.com. Visit

[sage-devel] Re: Huge patch on Trac 7477: Matroid theory

2013-05-28 Thread Stefan
works for arbitrary rings (including non-commutative ones). The BinaryMatroid, TernaryMatroid, QuaternaryMatroid classes have optimized versions already. --Stefan. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group

Re: [sage-devel] Huge patch on Trac 7477: Matroid theory

2013-05-25 Thread Stefan
loss. And as Travis said, issues with the documentation etc. can be fixed over time. We intend to use, improve, and expand this code for a long, long time. --Stefan. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group

Re: [sage-devel] Huge patch on Trac 7477: Matroid theory

2013-05-25 Thread Stefan
I'd have to check carefully. There's likely to be some performance loss even when all obvious bottlenecks are accounted for, because for our special classes BinaryMatrix, TernaryMatrix, QuaternaryMatrix we use inline get() and set() methods that bypass the Sage finite field elements. We

Re: [sage-devel] Huge patch on Trac 7477: Matroid theory

2013-05-25 Thread Stefan van Zwam
On Saturday, May 25, 2013 11:22:38 AM UTC-4, Volker Braun wrote: On Saturday, May 25, 2013 3:51:06 PM UTC+1, Stefan wrote: There's likely to be some performance loss even when all obvious bottlenecks are accounted for, because for our special classes BinaryMatrix, TernaryMatrix

Re: [sage-matroid] [sage-devel] Huge patch on Trac 7477: Matroid theory

2013-05-25 Thread Stefan van Zwam
propose to keep the LeanMatrix code for now, opening a ticket titled something like Bring Sage matrices into the matroid code without performance loss for a later date. --Stefan. P.S. It looks like GF(4)-matrices had a speed regression between 5.9 and 5.10?! On 25 mei 2013, at 12:58, Volker

  1   2   >