Quoting Kate Stange :
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains:
Have you tried
cpan -i ExtUtils::MakeMaker
? At least on normal system I would start with this.
--
Jori Mäntysalo
--
You received this message because you are subscribed to the Google Groups
"
x27;
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
uld 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
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
ed logarithm of integer in Sage? In Python
3.3 there is, but we use Python 2.x.
--
Jori Mäntysalo
) instead of 2 in the Python file.)
Tested with 2r on Sage session, makes no difference.
--
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
that he gets
killed in accident, somebody inherits copyrights of Sage etc.)
--
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
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
. 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
some logic in printing sometimes a+bi and bi+a in other times?
And should it be unified?
--
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
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
...@trac.sagemath.org:sage.git (fetch)
trac2 g...@trac.sagemath.org:sage.git (push)
--
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
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 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
On Sun, 9 Oct 2016, Emmanuel Charpentier wrote:
sage.symbolic.expression.Expression, you jus have to patch the source and
recompile. That means a turnaround time of 10-40 minutes each time.
How? ./sabe -b takes less than a minute even on quite old machine.
--
Jori Mäntysalo
out of memory or something like that?
--
Jori Mäntysalo
is bad (but not nearly as bad as a bare
"except:")
OK, I'll correct those when I see one.
There are 56 on combinat, 50 on rings and 30 on graphs.
--
Jori Mäntysalo
ot; or just a
DiGraph with some special properties?
--
Jori Mäntysalo
ds to be used here.
So we have now a common view that 'type' in TypeError should (mostly?)
refer to types in wrong class, wrong category etc; and so for functions
having no input it should (almost?) never happen.
--
Jori Mäntysalo
we have a *method*
(i.e., a function with one argument "self"), and "self" of course has
the correct type but has a wrong value.
Yep, mostly those functions should raise ValueError. (Or, maybe, some
error derived from it; but that might be really, really bikeshedding.)
--
Jori Mäntysalo
defined) and ValueError for programming errors (an
input which a priori does not make sense).
Documentation for ValueError says "- - and the situation is not described
by a more precise exception - -". Maybe there should be something like
MathematicalError as a base class instead of ArithmeticError, but we can't
change that.
--
Jori Mäntysalo
I opened https://trac.sagemath.org/ticket/2169 to make some example.
I guess you mean that for example
ValueError("%s and %s must be positive integers." % (m, n))
should be as it is, but
ValueError("the poset is not ranked")
changed to ArithmeticError.
--
Jori Mäntysalo
left author-field empty if I am not sure that I'll make patch
myself.
* * *
But we don't have any plans like "Version 8 will be out about q1/2018 and
will have mostly more support for numerical linear algebra.", and so
milestones are not really used.
--
Jori Mäntysalo
ogin -page.
--
Jori Mäntysalo
On Mon, 17 Oct 2016, Erik Bray wrote:
Does Sage have *any* kind of roadmap planning?
No.
What kind of roadmap it could be? If some developers are interested in
graph theory, how to make them to add more linear algebra code to Sage?
--
Jori Mäntysalo
16-11-15).
In principle doable. It would mean that Volker won't change beta to rc
until some predefined date, and will make the change unless there is a
very good reason to release still one beta.
--
Jori Mäntysalo
is
Sorry, I was unclear. They "see" it in techical sense, but mostly don't
read or notice.
("Hear but not listen", I don't know if there is same kind of verb pair
for visual reception.)
--
Jori Mäntysalo
that having two branches is just too much. In perfect world we
could have LTS with bugfixes only and so on, but we have not enought
manpower for that. But we could have some kind of decision like "7.6rc0
will be out at the end of April 2017."
--
Jori Mäntysalo
advance when the new version will be available.
--
Jori Mäntysalo
("Failure allocating memory.")
but due to overcommit there is no exception raised. Setting (as root) the
value of /proc/sys/vm/overcommit_memory will not help, but may change
error message given.
--
Jori Mäntysalo
he line
I sent, and you can see that it will fail in memset(). (But, as said, with
different error message.)
I used 64-bit Ubuntu 16.04 LTS with most recent kernel from Ubuntu
packages. This kernel should not have any tweaks.
--
Jori Mäntysalo
Anybody?
One -- and only one -- of my users if having really big problems with
cells not responding. Somehow computation seems to work, but the result is
not got back to worksheet. Pressing refresh helps sometimes, not always.
How to debug this?
--
Jori Mäntysalo
-- Forwarded
found that for example is_triangle_free() and is_cayley() fails.
known_kaboom is needed as for example is_prime() don't just throw an
exception, it stops the whole workseet.)
--
Jori Mäntysalo
te "1+2", press Shift+Enter. Got "3".
Press arrow up, correct text to "1+3", again Shift+Enter and arrow up. And
now how to correct the line to "1+4" without mouse?
This is 64-bit Ubuntu, Firefox from repository, all up-to-date.
(OK, can do that, but is not quick and easy.)
--
Jori Mäntysalo
ion environment) and so.
(Besides that, University of Tampere, Technical University of Tampere and
University of Applied Sciences of Tampere will be united from 1.1.2018.
So check out what other two wants and be ready for that too. Maple to
same server maybe?)
--
Jori Mäntysalo
try this (yet).
How others teach Sage? Here I make a Sage account of the form
"Coursecode-Year", and the teacher asks students to share worksheet with
that account.
--
Jori Mäntysalo
Can you give me some kind of Hello world! -example of Jupyter? ./sage
--notebook=jupyter will open a server to port --- how to change the
port or, more general, is there some help file? First I would like to see
a way to have two local user using Sage and not seeing each other files.
--
F-8"
dpkg-reconfigure locales
pip3 install jupyterhub
Noticed that it used IPv6, got a headache when googling, found the
instruction to put GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet" on
/etc/default/grub, said update-grub and got the login prompt.
--
Jori Mäntysalo
last look for worksheet sharing.
Thanks for help!
--
Jori Mäntysalo
r GAP or...) from
Jupyter? Can I change worksheet type, for example test what "10/4" will
output as a plain Python2?
Both are possible with SageNB.
--
Jori Mäntysalo
test this hypothesis?". Maybe some
day...)
--
Jori Mäntysalo
F = factor(P*Q)
and this got stuck. Might be that it just needs more memory than I have; I
don't know how much it normally uses.
--
Jori Mäntysalo
number. I don't
know if it plays well with Sage random state.
But in any case, this is just a test code to see how well Singular works.
--
Jori Mäntysalo
algorithm Singular uses, and
the memory requirements. So this may be just a feature.
(Actually there is at least a minor bug: at mimum I should have gotten an
error message about running out of memory.)
--
Jori Mäntysalo
much harder to debug. It is not that hard
to add some if M.ncols()==... before .is_similar().
--
Jori Mäntysalo
I also used Sage to
generate random polynomials.
--
Jori Mäntysalo
For other purposes Jupyterhub seems to be a great piece of software.
--
Jori Mäntysalo
(n) with given n, it is not that random.
--
Jori Mäntysalo
), which requires much more
ressources (I have checked with
giac and aborted after half an hour and more than 8G of RAM required).
OK and thanks! This explains clearly why this happens.
--
Jori Mäntysalo
every
distributive lattice is modular.)
etc.
--
Jori Mäntysalo
On Fri, 28 Oct 2016, Dima Pasechnik wrote:
Well, I suppose you can install more "usual" jupyter kernels, e.g. R one,
GAP one, etc.
Of course, but then profit for using Sage fades away.
On the plus side I could have "kernels" for, say, last two stable
versions and
ve snippet:
a = list(Subsets(range(13), 5))
And suddenly the first code snippet will never print anything.
Tell me that's not a bug!
To me it seems to be worst than a bug: intentionally broken design.
Something like this is almost impossible to teach in classroom.
--
Jori Mäntysalo
You
won't get a wrong result from stack trace.
--
Jori Mäntysalo
examples? Is it on a worksheet,
or already integrated as a part of Sage code?
Have you tested that it is faster than what Sage currently have?
--
Jori Mäntysalo
middle solution is to
make it _is_simple_deterministic(), so it won't show up in
-completion or html documentation.
is_cayley_directed() has no explanation of what is a Cayley graph.
I haven't read the paper, so I can not comment about the idea.
--
Jori Mäntysalo
posets.py:
- "Dushnik-Miller" is mentioned in dimension()
- Eponymous "slender" is said in is_slender()
- "Semiorder" etc. are named in is_incomparable_chain_free()
--
Jori Mäntysalo
use
some kind of heuristic to guess what will be the fastest way.
--
Jori Mäntysalo
int(H._pos)
and got
{0: [0.50239985054502, 0], 1: [0.5037689172710763, 1]}
{0: [0.5001236499103481, 0], 1: [0.5075885512735917, 1]}
So should the save_pos do something when layout is not the default? It
seems that at least it is not strictly deterministic.
--
Jori Mäntysalo
swer. So please give
your opinion.
* * *
I think we all agree that this should be consistent, and something like
is_induced_subposet() should also behave in the same way.
--
Jori Mäntysalo
s_parallel() on
src/sage/combinat/posets/posets.py.
(IMO tab completion could even show linkage() when g.l is pressed and
show something like "linkage (alias to degeneracy)", but that's not a
decision that Sage should do, it should be a property of IPython.)
--
Jori Mäntysalo
gainst Py3 when making patches. That will save
time later.
--
Jori Mäntysalo
le to run
git diff --name-only develop your-new-branch | xargs python3...
--
Jori Mäntysalo
thing like ZZ which is very common and have quite
long "real" name.)
Btw, is there an easy way for a user to add own aliases? So that it would
go to the right place in hierarchy.
--
Jori Mäntysalo
listed in the high-level view.
If #1 adds foo() to graphs and #2 adds bar(), then the list should have
something like "Graph enchancements: foo() and bar()." Which ticket should
contain that information?
Hard question is this.
--
Jori Mäntysalo
Could someone close all 49 wontfix-positive_review -tickets?
IMO it would be nice to have this done after every stable release.
--
Jori Mäntysalo
might be a real bug. The hardware should be OK, I
just wiped HD and installed 32-bit Ubuntu 16.04.1 LTS.
* * *
Btw, what is the oldest and slowest computer where SageMath currently can
be compiled (without docs, as docbuilding should preferably be done in a
supercomputer near you...)?
--
Jori
sure).
Yes, that was it.
Ubuntu installer had made 1 GB swap, so I had total of 2 GB. I made a 5 GB
swapfile, and now it seems to compile. Very very slowly, but compiling
anyways.
--
Jori Mäntysalo
am
unsure aftera a comment from Kevin.
--
Jori Mäntysalo
vers or are
covered by the Boolean property in a poset of property implications.
--
Jori Mäntysalo
On Mon, 13 Feb 2017, Daniel Krenn wrote:
+1 for crosslinks of any kind
An example: https://trac.sagemath.org/ticket/22377
--
Jori Mäntysalo
/ticket/18545 , but now I am unsure
after a comment from Kevin.
--
Jori Mäntysalo
"hidden", and maybe some larger code snippets
available behind a click and so on.
--
Jori Mäntysalo
Is it possible to modify doctesting framework to have different time for
tests marked with # long time? Something like sage --warn-long 1,10 could
give warning for only doctests taking more than 10 seconds if they are
explicitly marked as slow.
--
Jori Mäntysalo
On Tue, 21 Mar 2017, David Roe wrote:
currently not stored anywhere. The place you'll need to change is line 566
of sage/doctest/parsing.py, where you'll need to do something like
Thanks for pointing right files. I opened #22661 for this and also put in
some example code.
tured docstring would of course be a good thing. Then we
could, as an example, hide the AUTHORS-section if wanted etc.
--
Jori Mäntysalo
Not directly related, but I got notifications with one exception: closing
tickets. Would be nice to have those too.
--
Jori Mäntysalo
Trac gives the Internal server error, and even that after waiting a
minute.
--
Jori Mäntysalo
On Mon, 8 May 2017, Dima Pasechnik wrote:
Works for me. A particular link you have problem there?
Seems to work again. At least these had problems:
https://trac.sagemath.org/ticket/22773
https://trac.sagemath.org/ticket/22674
--
Jori Mäntysalo
that someday there could be more structured processing
of help, maybe foldable HTML help or something like that.
--
Jori Mäntysalo
ke
EXAMPLES::
sage: pass # Actually tested in foobar()
? Then we could automatically check the code and see that every function
has the examples-block.
--
Jori Mäntysalo
ve to represent the exact Sage/Python types." with an example, and I
have added "Start with assumptions of the object, if there are any." etc.
And about that: what should be the place of SEEALSO-block? Or in general,
order of blocks?
--
Jori Mäntysalo
looking for example
is_isoform() at finite lattices. Could we have an exact format for those?
--
Jori Mäntysalo
quite massive output
of failing tests...
What kind of testing we are talking now? As an example we can create a
random graph g and check that g.is_planar() == (g.genus() == 0) etc.
Should we have that kind of randomized test? (I do those, but have not
included them to Sage code.)
--
Jori
lock?
12) Having lists of weaker and stronger properties is my idea. It can be
discussed too.
13) When should we use the format LatticePoset({1: [...]...}) in the
examples, and when LatticePoset(DiGraph('GTE3_#H'))?
14) What are good examples anyway?
At least these questions can be discussed, and this was only for a very
small and clearly defined function.
--
Jori Mäntysalo
ys returns a pair (i.e. a tuple of two
elements) where first value is True or False, and the second value is the
certificate or None.
But that won't make the question about docstring easier. What to do if
INPUT and OUTPUT are strongly related? See for example
automorphism_group() of a g
ve no guideline at all, we will end
having
add_vertex() -> Add a vertex to this graph.
add_edge() -> Add an edge to ``self``.
or something similar. We could at least reduce that.
--
Jori Mäntysalo
mation, as
is_sectionally_complemented() -> Return True if the lattice is sectionally
complemented
sounds informationless explanation. What others think about this?
(Of course this only works when there a short explanation is possible;
more often it is not.)
--
Jori Mäntysalo
should first see if we want to have
"test if..." -structure in function docstrings.
--
Jori Mäntysalo
On Thu, 18 May 2017, Vincent Delecroix wrote:
Yep, seems to be nicer. But maybe we should first see if we want to have
"test if..." -structure in function docstrings.
How is this different from the poll G3 where everybody seems to agree - -
I think that the poll is still open
INPUT? In some more complicated situations, mostly constructors, we
also could have examples inside input blocks.
--
Jori Mäntysalo
-support.
And if that fails too, we will give an official dollar coin to William. He
will then toss a coin to make an arbitrary decision.
(By guideline I do not mean a rule.)
--
Jori Mäntysalo
the developer manual.
Here is my opinion. But a metaquestion: Why can't someone (like Kwankyu)
just got direct emails and make a summary?
It is of course different when I have untold arguments to tell, not just
+1 or -1.
--
Jori Mäntysalo
.
- If ``certificate=False`` return either (True, None) or (False, XX),
where XX is...
--
Jori Mäntysalo
comment this. We can have
longer INPUT and shorter OUTPUT, or vice versa.
--
Jori Mäntysalo
On Mon, 22 May 2017, Jeroen Demeyer wrote:
On 2017-05-19 14:16, Jori Mäntysalo wrote:
The only thing I want to see in the OUTPUT block is the *type* of the
objects and how many of them.
Why that? What's wrong with being verbose in the OUTPUT block?
This is a misquote. I support some
is
essential)
+1 from me too. Something printed (a, b, c) might actually be something
more complicated that a plain tuple.
--
Jori Mäntysalo
1 - 100 of 516 matches
Mail list logo