On Fri, 7 Oct 2016, Jori Mäntysalo wrote:
Could someone try SageNB with http://www.sis.uta.fi/~jm58660/Broken.sws
More about this: the computation works, but getting output back to the
browser window does not work. So if I reload the page, it seems to be OK.
But with other worksheets
or characters or something in text
cells before it, as the problem faded away when I remove those. Because of
that I did not clear the example from Finnish texts.
--
Jori Mäntysalo
On Mon, 26 Sep 2016, Dima Pasechnik wrote:
i.e. you should see
trac g...@trac.sagemath.org:sage.git (fetch)
trac g...@trac.sagemath.org:sage.git (push)
Thanks! This works now.
--
Jori Mäntysalo
...@trac.sagemath.org:sage.git (fetch)
trac2 g...@trac.sagemath.org:sage.git (push)
--
Jori Mäntysalo
On Mon, 26 Sep 2016, Harald Schilly wrote:
or maybe this:
git remote add trac2 g...@trac.sagemath.org:sage.git
git fetch trac2
and see if that works.
Works, but then how to checkout tickets after that?
--
Jori Mäntysalo
it fetch trac u/jmantysalo/note-colons"
STDERR: fatal: unable to connect to trac.sagemath.org:
STDERR: trac.sagemath.org[0: 104.197.143.230]: errno=Connection refused
trac.sagemath.org answers to ping.
--
Jori Mäntysalo
me logic in printing sometimes a+bi and bi+a in other times?
And should it be unified?
--
Jori Mäntysalo
. But should there be
groups.KleinFour() or just groups.permutation.KleinFour()?
(And graphs.Petersen() would be enought, but that's another story.)
--
Jori Mäntysalo
t the same result.
Thanks!
* * *
But shouldn't it work in any case? I.e. comparison of log(a+b*c^2...) to
some number should work when a,b,c... are sage Integers.
--
Jori Mäntysalo
I just learnt that this devel-list is moderated, whereas support-list is
not. I think that it should be just the opposite.
--
Jori Mäntysalo
ts
killed in accident, somebody inherits copyrights of Sage etc.)
--
Jori Mäntysalo
On Fri, 26 Aug 2016, leif wrote:
Hmmm, does Posets.BooleanLattice() care whether you pass an int or an
Integer? (I.e., does the return type of its methods change?)
No:
sage: P = Posets.BooleanLattice(3)
sage: Q = Posets.BooleanLattice(3r)
sage: P == Q
True
sage: P is Q
True
--
Jori
) instead of 2 in the Python file.)
Tested with 2r on Sage session, makes no difference.
--
Jori Mäntysalo
hm of integer in Sage? In Python
3.3 there is, but we use Python 2.x.
--
Jori Mäntysalo
On Sun, 21 Aug 2016, leif wrote:
I am finding myself unable to fetch the positively reviewed ticket
TRAC#21135 :
No. Works for me:
$ git fetch -v trac public/21135 && echo OK
$ git fetch -v trac public/21135
fatal: Couldn't find remote ref public/21135
--
Jori Mäntysalo
d not want to receive notifications and not see it as
"my ticket" after that.
2) Is it possible to enable keyphrases instead of keywords? Putting
"foo bar, xyzzy" to keywords equals to "foo, bar, xyzzy".
--
Jori Mäntysalo
and this has been discussed before. But what is the solution to this? This
does not happen every time with "1+2" or something similar, but for all
cells of maybe 5 line or longer this do happen.
--
Jori Mäntysalo
around the world. Should I put something to
robots.txt in http://sage-doc.sis.uta.fi ? Should even the sage package
contain a robots.txt?
--
Jori Mäntysalo
we should use only "certificate" and "proof", I guess.
--
Jori Mäntysalo
see the Wikipedia entry for 'primality certificate '.
yes/no was a stupid error. I hope the point is clear anyway: we can have
yes or no or both certificates.
For primality certificate I just learnt something new. Thanks!
--
Jori Mäntysalo
ot obeying modular law, or
lattice-theoretic "no"-certificate, i.e. a pentangon sublattice.
So, this can be a little complicated.
--
Jori Mäntysalo
On Fri, 29 Jul 2016, Dima Pasechnik wrote:
IIRC, there is at least one place where such a parameter is named "cert"
:-)
Didn't found any.
And one can have names like "proof", "validate", etc :-)
True, but "proof" is used for another meaning.
--
Jori Mäntysalo
that this should be consistent, even if it means
deprecation. Good.
Really its a variable (keyword argument), so verb/noun naming should
match whether it hold a function or an object.
Wrong language again? :=) (Finnish: kävely = a walk, kävellä = to walk,
kävele! = walk!)
--
Jori Mäntysalo
s for the deprecated arguments.
Forgotten that. Done now.
--
Jori Mäntysalo
to
https://trac.sagemath.org/ticket/2
Note that the keywords are cross-used in same file also,
src/sage/graphs/generic_graph.py has 3 times certificate and 2 times
certify.
--
Jori Mäntysalo
than
99% of the speed compared to bare metal.
--
Jori Mäntysalo
th keyword "random_test_failure" as an example
and I hope that others will follow that for some time.
At least on #21054 there was (or "is", not reviewed yet) a real error.
--
Jori Mäntysalo
x86_64 GNU/Linux, but I suppose that every
64-bit Linux will give same errors.)
--
Jori Mäntysalo
?
--
Jori Mäntysalo
see the option
"-j1". I will try that next.
--
Jori Mäntysalo
s this might be
something in my setup.
--
Jori Mäntysalo
from scratch and recompile everything. I'll be back if
that does not help.
--
Jori Mäntysalo
zipinfo
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
1644, in load
OSError: [Errno 2] No such file or directory:
'/home/jm58660/sage/local/lib/python2.7/site-packages/pytz-2016.4-py2.7.egg'
--
Jori Mäntysalo
...@trac.sagemath.org:sage.git'
STDERR: hint: Updates were rejected because a pushed branch tip is behind
its remote
STDERR: hint: counterpart. Check out this branch and integrate the remote
changes
--
Jori Mäntysalo
it was some already reported.
Shortly after that I gave a positive review to #20979, and mail was sent
without problems.
--
Jori Mäntysalo
What is wrong with https://trac.sagemath.org/ticket/20980 ?
The branch field is red, but I think I did nothing unusual. Also I got an
error message about mails not sent when setting it to needs_review.
--
Jori Mäntysalo
?
I would start with just an extra report that gives list of open tickets
sorted by vote count.
It might be that even most popular tickets got only 2 or 3 votes. We don't
know, so who bother to plan something more complicated before we got some
data?
--
Jori Mäntysalo
much
non-planar measure") of a graph. How could we know if anyone wants that?
Who would be interested in implementing it just because many people ask
for it?
--
Jori Mäntysalo
quot;/usr/lib/python2.7/xmlrpclib.py", line 1490, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 797, in close
raise ResponseError()
xmlrpclib.ResponseError: ResponseError()
--
Jori Mäntysalo
ket is set to "positive review" (and perhaps
also other states), the contents of the field gets checked.
That would be enought.
--
Jori Mäntysalo
actly what computers should do instead of humans.
--
Jori Mäntysalo
same error.
(Not that it would matter, as this computer can not build docs anyway...
Back to bigger one on monday.)
--
Jori Mäntysalo
Is it possible to build Sage with html documentation on a machine with 2
GB RAM without getting the machine to stuck for hours? Some switch for
CPU/RAM -tradeoff? Something else?
--
Jori Mäntysalo
ng results useful?
--
Jori Mäntysalo
is (was) similar.
--
Jori Mäntysalo
is so much functions defined for (di)graphs, with different options and
algorithms and so on.
--
Jori Mäntysalo
permission to use, modify, distribute, distribute modified etc. the code.
--
Jori Mäntysalo
with sagenb, but not by much if the pathname to
the other sage kernel is provided)
Already I can use SageNB as an interface for, say, plain Python or R or
GAP. So is it possible to add "Sage (compat)" to that list? Or should it
be a checkbox with a link explaining what are main differences?
-parser makes sense.
--
Jori Mäntysalo
t; completely.
0) For a year(?), distribute version of Sage where every example uses only
print(). Contact writers of Sage textbook etc.
--
Jori Mäntysalo
eveloper perspective.
You have very good perspective.
Can we add a deprecation warning to old-style print?
--
Jori Mäntysalo
future versions of Python."
Hence I guess no new code should use percent sign any more. But what comes
to changing old print statements, I think it is OK to just make them
Python3-compliant.
--
Jori Mäntysalo
On Mon, 23 May 2016, Travis Scrimshaw wrote:
As I understand it, extra whitespace is ignored by the doctester.
OK. Sounds mostly reasonable, but means of course that nice printing of
matrices can not be tested easily.
--
Jori Mäntysalo
e it does than sqeeze consecutive spaces?
--
Jori Mäntysalo
that, no comments
telling how this should be done etc.
There is nothing wrong with the ticket. But will it help to have it open?
This could be also a part of larger metaticket "Additions to group
theory", maybe?
--
Jori Mäntysalo
y hard to close them -- so maybe a wiki
page for "random wishes without implementation in foreseeable future"?
But maybe for example http://trac.sagemath.org/ticket/8170 could be just
closed?
--
Jori Mäntysalo
tion: Add a "random old ticket" -link to trac (IF it is easy to
do). Maybe then some developers will take a habit of clicking it
sometimes.
--
Jori Mäntysalo
What should be the vertices of
1) Graph({'a': ['b']}) + Graph({42: []})
1) Graph({'a': ['b']}) + Graph({42: ['a']})
? Comment here or at http://trac.sagemath.org/ticket/20499 .
--
Jori Mäntysalo
does -- such exceptions might
seem convenient the first 10 seconds, but afterwards it becomes
confusing.
+1 for this. No, at least +2.
New-comers to Sage often meet matrices as one of the first things. The
impression that leaves is important.
And one more +1 for this.
--
Jori Mäntysalo
On Tue, 26 Apr 2016, Kiran Kedlaya wrote:
Yes, but the docstring itself still needs to be corrected: it says 'for
example "Matrix.random(GF(3), 2)" never generates "[[2,0],[0,2]]".' without
the flag.
OK, I added that to http://trac.sagemath.org/ticket/20465 .
--
Jori Mäntysalo
sage/combinat/posets/posets.html
Is it possible to make a similar index of matrix functions? If so, where
it should be located?
--
Jori Mäntysalo
()
[2 0]
[0 2]
Unimodular! This happens with algorithm='unimodular'.
--
Jori Mäntysalo
enough of Sagemath
internals?
I would if I had more time...IDK if Kevin Dilks reads this or not, but he
might be a good one to ping about this.
OK, I'll try to ping him.
--
Jori Mäntysalo
gemath internals?
--
Jori Mäntysalo
. But we have also options like
algorithm='bliss'. So in ideal solution installing a package would even
change behaviour (and documentation) of existing functions!
And yes, it would need rethinking structure from scratch.
--
Jori Mäntysalo
Try for example ZZ.random_element? in the notebook. Reading is hard, as
the output of one example is very long. Is there something to do for this?
--
Jori Mäntysalo
ple.
I am not sure if grep --perl-regexp really works with s- and m-modifiers.
Hence I do not use them.
--
Jori Mäntysalo
by
egrep -R '^ +TESTS:$' src/sage -A 2 | egrep 'sage:' | cut -f 1 -d - | sort -u
--
Jori Mäntysalo
what you need to install.
--
Jori Mäntysalo
rt playing with graphs and matrices, and don't want
groups or posets or whatever visible at global namespace.
--
Jori Mäntysalo
ory import *
?
--
Jori Mäntysalo
ant.
As an example: IMO KleinFourGroup() should be groups.KleinFour() just like
we have graphs.PetersenGraph().
Could he have something like "import number_theory_special"? So one could
kind of expose more functions to global namespace according to what one
needs.
--
Jori Mäntysalo
as a direct function of Sage? And if so,
should it be available both as unitary_divisors(60) and
60.unitary_divisors()? It would be consistent with prime_divisors(60)
and 60.prime_divisors(); OTOH our global namespace is already quite big.
--
Jori Mäntysalo
_
as_main
. . .
And then it ends. make doc-clean does not help. Full log is at
http://www.sis.uta.fi/~jm58660/dochtml.log
--
Jori Mäntysalo
On Wed, 23 Mar 2016, Jeroen Demeyer wrote:
Intentionally?
I don't think so.
OK. http://trac.sagemath.org/ticket/20255
I just reported this, hoping someone else to correct it. Also workaround
for 7.1 would be nice.
--
Jori Mäntysalo
It seems that on Sage 7.1 deprecated functions appears on html
documentation. This was not the case in 7.0.
Intentionally? If so, can I disable it?
--
Jori Mäntysalo
member = sys.argv[2]
IndexError: list index out of range
--
Jori Mäntysalo
of the result that ended with NaN.
Years ago Borland Delphi had an option to throw exception for zero
division. And now GCC seems to have option -mfp-exceptions.
--
Jori Mäntysalo
instance more difficult
I guess that mostly I would vote for only one name. But the documentation
should contain aliases, so that googlers will found the function. For
example documentation of width() of poset contains "The width is also
called Dilworth number."
--
Jori Mäntysalo
y use, but - -".
* * *
About the naming issue: Is it possible to open a company called
"SageComp", "SageCalc" or something similar? I meant that the **name**
'Sage' is not a real private property of Stein. Or would not be according
to laws of Finland, but I don't know about other countries.
--
Jori Mäntysalo
be a jew making a draw program. An open
source user might be a neo-nazi drawing swastikas. Any open source
developer must accept this.
--
Jori Mäntysalo
accounts to Sage server with
some extra functionality.
--
Jori Mäntysalo
terrorist group, or invest to a
tobacco company etc? If not, I can see no harm.
--
Jori Mäntysalo
) check planarity of a given graph.
--
Jori Mäntysalo
: "Service
break will start at... This version contains following changes: . . .".
And the list of changes should be those that might surprise some user.
--
Jori Mäntysalo
eyword set. But not
only them, also those tickets that change some default value.
As an example, some versions ago .plot() for poset gave the picture
upside-down with dot2tex installed. Ticket correcting that would have the
keyword set.
(Warning: Got the idea 15 minutes ago. Can be a very bad idea.
ens in two different computers. However, they both run 64-bit
Ubuntu.
--
Jori Mäntysalo
s. IMO having one-line docstring
"Alias for ..." would be better.
--
Jori Mäntysalo
strange
error messages where the error came from long chain of function calls (but
can't remeber where).
* * *
And every function accepting only size='extralarge' and size='verytiny'
should raise an exception with size='medium'.
--
Jori Mäntysalo
of ticket.
(For example: Say that you know nothing about the issue, but happen to see
that the patch contains something that breaks Sphinx.)
--
Jori Mäntysalo
few days ago for a one day or so. Haven't happened
after that. I did not change any network setting. So we really have some
heisenbug at trac.
--
Jori Mäntysalo
. impossible to
differentiate from random.
--
Jori Mäntysalo
to another host for
maintenance will be impossible if the software inside VM detects real cpu
type and the CPU of a new host for VM is older model. Hence a software
shall not try to detect real cpu but instead rely on cpuid.
About rtdsc I don't know.
--
Jori Mäntysalo
. I am one of them who have
nothing to say about larger structure of Sage.
--
Jori Mäntysalo
and get their comments. I have got no comments at all,
not a single one, when I have written to math students here saying that
now you have a direct connection to development of the software.
--
Jori Mäntysalo
le to accept several styles. For example PEP-8 says
"- - single-quoted strings and double-quoted strings are the same. This
PEP does not make a recommendation - -"
--
Jori Mäntysalo
questions:
Type "%display unicode_art" for a nicer display of some outputs.
Type "implicit_multiplication(True)" for allowing implicit
multiplication.
"Tip of the day"? Special command "hints()"?
--
Jori Mäntysalo
.
But what if -- a slightly artificial example -- I make function A that
uses Poset as a wrapper, function B that does not, then Nathann reviews A
and Travis reviews B...?
--
Jori Mäntysalo
ader to say that "we use style X and those who like
style Y can fork their own version", but we don't have one.
--
Jori Mäntysalo
ve review (with good comments about making the code
PEP-compliance).)
This is kind of complicated. If this is just me, then forget this mail.
But do other have similar feelings about need of common view of some
details?
--
Jori Mäntysalo
201 - 300 of 508 matches
Mail list logo