Re: [sage-devel] Re: Urgent and important: Please vote on disputed PR #36964 (next step of the modularization project)

2024-04-25 Thread TB
of SageMathCell. Having a completely offline version of parts of Sage that can run in the browser with WASM will be wonderful indeed. Regards, TB -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To u

Re: [sage-devel] Sphinx directives in upper case?

2024-01-31 Thread TB
ll other directives, following Sphinx community's trend. In particular, ".. MATH::" is only distracting. No strong opinion from me, except maybe for having consistency within a given file. The INPUT and OUTPUT blocks are related, but they are not directive

Re: [sage-devel] How to make call to latex() not evaluate its content again?

2023-07-27 Thread TB
integrate(sin(x), x) sage: latex(_) \int \sin\left(x\right)\,{d x} sage: integrate(sin(x), x, algorithm="maxima", hold=True) # Bug? -cos(x) Regards, TB On 27/07/2023 0:59, 'Nasser M. Abbasi' via sage-devel wrote: " I think it would be reasonable for Sage to do what the original po

Re: [sage-devel] sagemath website in references

2023-07-22 Thread TB
ybe changing that "\tt" there to an actual hyperlink might be better. Regards, TB On 22/07/2023 11:09, 'Doris Behrendt' via sage-devel wrote: Hi list, if I wanted to cite the sagemath website and want to do it right, I would have to add some kind of title and also an au

Re: [sage-devel] What was/is/will be the purpose of maintaining the Sage distribution?

2023-04-29 Thread TB
or already installed most dependencies of a package from the distro, then the installing from the distro might be better. Have this been discussed before? Regards, TB -- You received this message because you are subscribed to the Google Groups "sage-

Re: [sage-devel] Github Discussions

2023-02-08 Thread TB
problem. Regards, TB -- 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 view this discussion on the web vi

Re: URGENT: Re: [sage-devel] Jan 30 to Feb 4: Trac downtime, migration to GitHub

2023-01-30 Thread TB
See https://trac.sagemath.org/ticket/31446#comment:17 Getting to the "Edit" button was tricky. On 30/01/2023 18:02, Dima Pasechnik wrote: Could someone with a "legacy" trac account quickly check whether they can modify tickets. (me and mkoeppe are still able, but that's the current setup)

Re: [sage-devel] Numerical separators behave inconsistently

2022-12-02 Thread TB
This reproduces in Sage 9.7. Thanks for the bug report. Can you please open a ticket for this? The original ticket for PEP 515 in Sage: https://trac.sagemath.org/ticket/28490 Regards, TB On 01/12/2022 10:39, Lucas Fiegl wrote: Using numerical separators (such as 1_000_000) seems to behave

Re: [sage-devel] Different results for numerical and symbolic integration

2022-10-23 Thread TB
One more data point that uses maxima: sage: sage.calculus.calculus.nintegral(x^2*(log(x))^4/((x+1)*(1+x^2)), x, 0, 1) (0.07608822235542824, 4.544650350490897e-10, 231, 0) This can also be computed via f = x^2*(log(x))^4/((x+1)*(1+x^2)) f.nintegral(x,0,1) Regards, TB On 24/10/2022 0:13, Pablo

Re: [sage-devel] Re: VOTE: move Sage development to Github

2022-10-01 Thread TB
-1 (but with the same wish as below) On 23/09/2022 9:37, Emmanuel Charpentier wrote: +1 for Github Also wishing for contingency plan for re-migrating to self-hosted Gitlab.  Le

Re: [sage-devel] DISCUSS: move Sage development to Github

2022-09-24 Thread TB
gemath/sage/issues/$TICKET_NUMBER" will make the lion's share of the links still relevant. This does not preserve fragments like "#comment:7", which is useful in long ticket discussions. Regards, TB -- You received this message because

Re: [sage-devel] Re: incremental migration to github? [prompted by FUNDING issues!!!] + general flakiness of trac

2022-09-13 Thread TB
FWIW, I like trac, and even like its web interface over those of GH and GL, but I am not one of the maintainers of the SageMath infrastructure... Regards, TB On 11/09/2022 2:19, Nathan Dunfield wrote: I think moving

Re: [sage-devel] Re: Polling for pygments style for our future doc

2022-08-04 Thread TB
gemath-tobias.netlify.app/thematic_tutorials/cython_interface.html#arguments-and-return-value 2. Even better colors (more contrast, better background and easier to read) are in the dark theme. I think it is the monokai theme. Regards, TB On

Re: [sage-devel] conjugacy_classes_representatives() order seems to be random?

2022-07-12 Thread TB
t, in case conjugacy_classes_representatives is used. Without a stable ordering (not necessarily canonical) in the same session, calling G.character() is somewhat random. The problem with the ordering of the columns is noted in https://doc.sagemath.org/html/en/reference/groups/sage/groups/class_function.html. R

Re: [sage-devel] Re: manual memory management for GAP?

2022-06-21 Thread TB
md = "gap -r -o 3G -s 5G" sage: sage.interfaces.gap.gap = Gap() # New instance sage: gap.eval('GAPInfo.CommandLineOptions.s') '"4g"' sage: sage.interfaces.gap.gap.eval('GAPInfo.CommandLineOptions.s') '"5G"' sage: gap = sage.interfaces.gap.gap # For the global namespace sage:

Re: [sage-devel] Developing in Sage for high school math education

2022-06-17 Thread TB
education. Regards, TB On 12/06/2022 20:40, Tanmay Kulkarni wrote: Hello TB, Thank you so much for the detailed response - these links are really helpful! I had a few follow-up questions:

Re: [sage-devel] Developing in Sage for high school math education

2022-06-12 Thread TB
r texts on your own site is another possibility, and when you stumble upon a bug or a missing functionality in Sage, opening a trac ticket will be appreciated. Thank you so much! Sincerely, Tanmay Kulkarni Regards, TB [1] https

Re: [sage-devel] Re: Adèles and idèles

2021-08-19 Thread TB
Dear Mathé, From a quick skim of https://github.com/mathehertogh/adeles it looks very impressive. I do not know if it is better to incorporate the code into Sage or leave it as a stand-alone package, but in case the code does live in its own

Re: [sage-devel] Re: Registering NumberField as numbers.Number

2021-07-15 Thread TB
alize as in SR). One more reason is that the numerator/denominator methods are used for more complicated mathematical objects in Sage, where calling them with arguments is sensible. In the python-ideas discussion Vincent Delecroix mentions that also real and imag methods/properties have the

Re: [sage-devel] Re: Library code returning int value

2021-07-12 Thread TB
arguments, or using nullable types when there is a certificate argument, and so on. Regards, TB On 12/07/2021 16:50, David Roe wrote: I think it's fine to include a discussion of this in the developer's manual: functions

Re: [sage-devel] block vector

2021-07-10 Thread TB
some reason. It is #21325. I will try to comment there. Regards, TB [1] - https://docs.python.org/3/library/itertools.html#itertools.chain -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receivin

Re: [sage-devel] Finite Fields documentation - Add Figures

2021-07-06 Thread TB
, TB On 06/07/2021 12:01, Scimmie Urlanti wrote: Hi, The documentation states clearly when Givaro, NTL or PARI but it's vague about their performance. Maybe a couple of figures like the attached ones would

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread TB
On 25/06/2021 18:17, TB wrote: I have briefly read the thread, and the related threads, but first I would like to say thanks to all those who do remote debugging by config logs and general support for others. Few questions below. On 25/06/2021 16:27, Dima Pasechnik wrote: On Thu, Jun 24

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread TB
...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/763f5e25-ec75-434c-b2dc-978e94457c86n%40googlegroups.com. Regards, TB [1] https://packages.debian.org/sid/build-essential -- You received this message because you are subscribed to the

Re: [sage-devel] Re: missing '^' logical operator : bug (oversight) or design ?

2021-05-18 Thread TB
/reference/sets/sage/sets/set.html detailing for the different methods (union, intersection, etc.) how to use the shorter syntax with overloaded operators? Regards, TB On 16/05/2021 15:44, Emmanuel Charpentier wrote: Thank you very much ! I didn't know that. I note that this information is a bit

Re: [sage-devel] Sage GSoC 2021 Projects

2021-02-22 Thread TB
I have added a project in group theory that I wanted for a long time, but I will not be available to help with it this summer. Regards, TB On 15/02/2021 5:54, 'Travis Scrimshaw' via sage-devel wrote: Hi

Re: [sage-devel] Re: documentation of external packages, versionned online Sage doc

2021-02-17 Thread TB
On 17/02/2021 23:22, Matthias Koeppe wrote: On Wednesday, February 17, 2021 at 12:58:40 PM UTC-8 Thierry (sage-googlesucks@xxx) wrote: Regarding Sage's own documentation, a useful feature, while not related to the release process, would be to keep online documentation of each

Re: [sage-devel] Re: Unittests vs doctests

2020-09-07 Thread TB
lly arbitrary, like foo(x,y) == bar(y,x) with the output True or False. Regards, TB -- 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+unsub

Re: [sage-devel] Re: Transition from jupyter notebook to jupyterlab

2020-08-20 Thread TB
On 20/08/2020 16:28, Samuel Lelievre wrote: 2020-08-20 12:54:55 UTC, kcrisman: > > On Wednesday, August 19, 2020 at 5:55:22 PM UTC-4 Matthias Koeppe wrote: > > > The Jupyter notebook developers encourage

Re: [sage-devel] Re: unable to open some sobj-files computed on earlier versions of sage with sage9.1

2020-07-29 Thread TB
porting code from Sage that handles the data. Regards, TB [1] https://docs.python.org/3/library/pickle.html [2] https://doc.sagemath.org/html/en/reference/misc/index.html#saving-and-loading-sage-objects [3] https://docs.python.org/3/library

Re: [sage-devel] Making executables available to Sage

2020-07-09 Thread TB
, because Cython is always included. Regards, TB On 09/07/2020 10:38, Nico Van Cleemput wrote: Thanks. I had been googling again yesterday, but still hadn't found any concrete examples, so I had started reading

Re: [sage-devel] Are complex numbers ordered?

2020-05-20 Thread TB
most users (in most cases _cmp_ and other _methods_ would make the docs harder to read). You can open a ticket with how you suggest to fix this, even if just for the docs. Python of course raises TypeError for any of: sage: 1jr > 0r sage: complex(I) > 0 Regards, TB On 21/05/2020 0:12

Re: [sage-devel] Trac account request

2020-05-05 Thread TB
, but one possibility is switching to trac. We already have some wiki pages in trac [0]. This also makes it easier to link to tickets, and the syntax is the same as in the ticket themselves. Regards, TB [0] https://trac.sagemath.org/#SpecialWikipagesforcertaintopics -- You received this message

Re: [sage-devel] Re: Consistent naming for factory methods

2020-02-16 Thread TB
.Symmetric and groups.presentation.Symmetric without too much confusion, then cyclic groups can follow the same naming convention. Regards, TB [1] https://doc.sagemath.org/html/en/reference/search.html?q=catalog_keywords=yes=default -- You received this message because you are subscribed to the Google Groups "sa

Re: [sage-devel] Re: Significant slowdown of basic arithmetic

2019-11-24 Thread TB
, if this explained a 10% slowdown in so many things. With xsrange(1) I see that py3 is a bit faster, because then the indices are indeed Sage's Integer. The reverse is true with xsrange(1r). Regards, TB -- You received this message because you are subscribed to the Google Groups

Re: [sage-devel] Recommended way to implement division for RingElement

2019-09-22 Thread TB
floordiv__ if "a//b" is not needed (see https://docs.python.org/2/reference/datamodel.html#object.__div__). Best regards, Simon Regards, TB -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop

Re: [sage-devel] Re: doctest a single function or class

2019-08-17 Thread TB
off-topic, while searching for more info I stumbled across the Manuel package [3]. It says "Manuel lets you build tested documentation", which might not suit Sage, but can suit other projects. Regards, TB [1] https://docs.python.org/3/library/doctest.html [2] https://docs.python.org/3/

Re: [sage-devel] Making Integer and Rational compatible with Python Fraction

2019-08-06 Thread TB
y proposed fix is somewhat backwards incompatible and can potentially break stuff. So we should only apply a fix if it will actually solve a real problem that people are encountering. Regards, TB -- You received this message because you are subscribed to the Google Groups "sa

[sage-devel] doctest a single function or class

2019-07-09 Thread TB
this usecase: $ python -m unittest test_module.TestClass.test_method to test a specific method. Regards, TB [1] https://docs.python.org/3/library/unittest.html#command-line-interface -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubs

[sage-devel] Workaround for "unknown locale: en_IL" error

2019-06-16 Thread TB
ognized locale should break the build, just give a warning. Regards, TB -- 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

Re: [sage-devel] Re: Automatic Differentiation - Taylor Arithmetics

2019-04-28 Thread TB
Do you know how this (forward automatic differentiation implementation) will compare to autograd [1] or ForwardDiff.jl [2]? Can for example autograd be used as some sort of a backend? There is also the "tutorial implementation" autodidact [3] which seems relevant. Regards, TB

Re: [sage-devel] Re: how does the res/mod in "geng" work?

2019-03-25 Thread TB
There is the parallel decorator [1]. For even less dependencies there is the multiprocessing module [2] in Python's standard library. Regards, TB [1] https://doc.sagemath.org/html/en/reference/parallel/index.html [2] https://docs.python.org/2/library/multiprocessing.html On 25/03/2019 11:58

Re: [sage-devel] Re: Counting integer compositions with restrictions

2019-02-22 Thread TB
On 21/02/2019 9:59, Jori Mäntysalo (TAU) wrote: On Tue, 19 Feb 2019, TB wrote: There is the cardinality method of IntegerVectors. Note that the default for min_part is 0. So this could be used for...? I do not know the area. I was just playing with numbers (original question was "I

Re: [sage-devel] Re: Counting integer compositions with restrictions

2019-02-19 Thread TB
the if clause there and always continue with brute force, because if the length (=self.k) is not None and there is a max_part constraint, then there are at least two constraints... Indeed, it would be great for Compositions and IntegerVectors to do the right thing. Regards, TB On 19/02/2019 23:03

Re: [sage-devel] #27071: Recommendations on naming convention and _repr_

2019-01-29 Thread TB
n the docs to point this out. Regards, TB -- 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

Re: [sage-devel] Re: FriCAS and Sage Math v8.1 Ubuntu package

2018-11-14 Thread TB
s("1+1") 2 Regards, TB -- 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

Re: [sage-devel] issue with cos(pi/2) and sin(pi)

2018-08-14 Thread TB
Because float(pi/2) is not exactly pi/2: sage: n(pi/2 - float(pi/2), 53) 0.000 sage: n(pi/2 - float(pi/2), 54) # also for perc > 54 of course 1.11022302462516e-16 This does mean that: sage: float(cos(pi/2)) 0.0 sage: float(sin(pi)) 0.0 Regards, TB On 14/08/18 21:02, david.c

Re: [sage-devel] Re: talk

2018-07-30 Thread TB
, at least for Jupyter. Regards, TB [1] https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions/skip-traceback -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubsc

Re: [sage-devel] Making the transition from user to developer

2018-07-12 Thread TB
tegrate+log(x^2)#intsteps http://www.sympygamma.com/input/?i=integrate%28x*sin%283*x%29%2C+x%29 and the sourcecode for that can be found at https://github.com/sympy/sympy_gamma/blob/master/app/logic/intsteps.py SymPy is included in Sage, and it might be nice to integrate (pardon the pun) it better. Regards,

Re: [sage-devel] Suggestion for the SageMath website

2018-06-01 Thread TB
the docs is somewhat complicated. Regards, TB [1] http://www.sphinx-doc.org/en/master/ext/viewcode.html [2] http://www.sphinx-doc.org/en/master/ext/linkcode.html -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from

Re: [sage-devel] Re: How much do we support the casual user

2018-03-28 Thread TB
/1 or stay 3, but the LaTeX version is probably a harder decision. For example, sage: latex([bernoulli(i) for i in range(10)]) \left[1, -\frac{1}{2}, \frac{1}{6}, 0, -\frac{1}{30}, 0, \frac{1}{42}, 0, -\frac{1}{30}, 0\right] seems IMO nicer than having many "0/1"'s. Regards,

Re: [sage-devel] Re: How much do we support the casual user

2018-03-28 Thread TB
t, they might use range(n/2) where n is an integer which raises: TypeError: range() integer end argument expected, got float. In such scenarios, the programmer will soon learn about floor division. The difference with is_prime is that a non-integer is expected... Regards, TB [1] https:

Re: [sage-devel] Re: Move the automatic_names() feature into the Sage interpreter proper

2018-03-19 Thread TB
arg = int(parameter_s) 111 else: 112 arg = 'toggle' ValueError: invalid literal for int() with base 10: 'Integer(2)' Obviously, it does work without the preparser, or with sage: autocall 2r Regards, TB -- You received this message because you are subscribed to th

Re: [sage-devel] Re: libgap_wrapper.is_subgroup change behaviour

2018-02-09 Thread TB
tomorphism group and the holomorph. One motivation is just examples in a group theory course, but obviously there many other. Regards, TB -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving

Re: [sage-devel] Bug in power series expansion

2017-06-21 Thread TB
internals, so I am not sure what should be the fix. Regards, TB On 30/03/17 23:36, Tobias Rossmann wrote: Hi, the following behaviour of Sage 7.5.1 and 7.6 (Ubuntu 16.04.1, 64-bit) is unexpected: sage: var('x y0 y1') (x, y0, y1) sage: y0.series(x) 1*x + Order(x^20) sage

Re: [sage-devel] Re: Names of special methods like _pari_

2017-03-15 Thread TB
onsistent convention for special Sage functions [1] is a good thing. In some cases (e.g. _repr_, _add_) the names were chosen according to the dunder name in Python, so those methods probably should not change. Regards, TB [1] http://doc.sagemath.org/html/en/developer/coding_in_python.html#sp

Re: [sage-devel] Release note auto-generation RFC

2017-01-12 Thread TB
ools which know how to parse the changelog file. Regards, TB -- 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. T

Re: [sage-devel] Re: Aliases

2016-12-16 Thread TB
.also_foo() # Surprise! A.foo BTW, tab completion is not enough to discover aliases, because not all aliases are prefixes. See for example the short docstring of gaussian_binomial which is an alias for q_binomial. Regards, TB -- You received this message because you are subscribed to the Goog

[sage-devel] A 404 in the Download Source page

2016-11-21 Thread TB
Dear sagemath.org website admins, In http://www.sagemath.org/download-source.html the README.txt link leads to a 404 page. The correct link might be https://git.sagemath.org/sage.git/tree/README.md Same for the changelog link (but versions prior to 7.4 works). Best regards, TB -- You

Re: [sage-devel] Re: Posets: interval/closed_interval

2014-11-13 Thread TB
is, assuming we have something like class C(object): def foo(): The full docstring of foo alias(foo, bar) is that automagically bar.__doc__ is now bar is an alias of :meth:`C.foo`. The full docstring of foo Or do we have to mess with C.__{get,set}attr__? Regards, TB On 11

Re: [sage-devel] Workshop announcement

2014-08-29 Thread TB
Dear Prof. King, My name is Tomer Bauer and I am a Ph.D. student at Bar-Ilan University. As I am quiet enthusiastic about Sage (my trac username is mathzeta2), the CoGrAl2015 workshop sounds great. At the moment, I am not sure if I have another

Re: [sage-devel] Workshop announcement

2014-08-29 Thread TB
Sorry sage-devel. Please ignore the previous message... On 08/30/2014 12:16 AM, TB wrote: On 08/28/2014 12:21 PM, Simon King wrote: Dear Sage developers, [snip] For more

Re: [sage-devel] Re: sagemath.org/doc/

2014-06-03 Thread TB
, but for q-Bernoulli Numbers it is. Do we have some kind of decision if page titles should/shouldn't contain LaTeX-ised expressions? Regards, TB -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails

Re: [sage-devel] vote: include pip with sage

2014-05-10 Thread TB
: Starting with Python 3.4, there is a bundled installer for pip [1,2] within Python. It became the Python package manager, or at least the recommended one. Regards, TB [1] https://www.python.org/download/releases/3.4.0 [2] https://www.python.org/dev/peps/pep-0453 -- You received this message

Re: [sage-devel] Re: [sage-combinat-devel] Re: About _element_constructor_ of CartesianProduct

2014-04-30 Thread TB
is even better :) Regards, TB [1] http://sagemath.org/doc/reference/structure/sage/structure/element.html?highlight=_add_ [2] http://sagemath.org/doc/reference/coercion/index.html?highlight=_add_ -- You received this message because you are subscribed to the Google Groups sage-combinat-devel

Re: [sage-devel] Re: Creating the (Z/5Z)^2 group in Sage : Hell among groups, parent/elements, Cartesian Products ...

2013-11-13 Thread TB
(). We can have UnitGroup.gens() and UnitGroup.order(), or any other better name someone may suggest. Regards, TB -- 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

[sage-combinat-devel] A fix for Sage 5.11 combinat crash

2013-08-15 Thread TB
first visit to sage-combinat. What is the process of patching the patch? Regards, TB -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel

Re: [sage-devel] Re: should bool(x 0) be False or an exception?

2013-08-03 Thread TB
want to make sure that some_exp is always true you can use if some_exp.truth_value(): # some_exp is always true. TB -- 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

Re: [sage-devel] Integer(09) broken

2013-08-02 Thread TB
://www.python.org/dev/peps/pep-3127/#removal-of-old-octal-syntax A quote from that PEP: Usage has shown that the historical method of specifying an octal number is confusing... TB -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from

Re: [sage-devel] Re: Error installing package matplotlib-1.2.1

2013-07-11 Thread TB
ONFIG_PATH' That is the difference between echo "$PATH" and echo '$PATH'. Best regards, TB On 07/11/2013 04:07 PM, Paul Mercat wrote: From the Sage shell, the command echo $PKG_CONFIG_PATH gives

[sage-devel] Two small typos in the reference manual

2013-04-20 Thread TB
/categories/sage/categories/weyl_groups.html links to a Wikipedia article that does not exist, it should be http://en.wikipedia.org/wiki/Weyl_group Sage is a great system, and I hope to have some more contributions to it in the future. Best regards, TB -- You received this message because you