[sage-devel] 0^0

2009-10-22 Thread Kwankyu Lee
Hi, The following scares me. sage: 0^0 1 sage: F.=GF(5) sage: F(0)^0 Traceback (most recent call last): ... ArithmeticError: 0^0 is undefined. For any x, x^0 is 1 by definition. Isn't it in Sage? I am using Sage 4.1.2 Kwankyu --~--~-~--~~~---~--~~ To post to th

[sage-devel] A bug in solve_left()

2009-10-22 Thread Kwankyu Lee
Hi, sage: A=matrix(2,[1,2,3,3]) sage: A.solve_right(vector([3,6])) (1, 1) sage: category(_) Category of elements of Vector space of dimension 2 over Rational Field sage: A.solve_left(vector([3,6])) [3 0] sage: category(_) Category of elements of Full MatrixSpace of 1 by 2 dense matrices over Rati

[sage-devel] Re: 0^0

2009-10-22 Thread Kwankyu Lee
On Oct 23, 12:11 am, John H Palmieri wrote: > On Oct 22, 1:25 am, Kwankyu Lee wrote: > > > Hi, > > > The following scares me. > > > sage: 0^0 > > 1 > > sage: F.=GF(5) > > sage: F(0)^0 > > Traceback (most recent call last): > > ... &g

[sage-devel] Re: A bug in solve_left()

2009-10-22 Thread Kwankyu Lee
I hope some expert confirm that this is a bug or merely my misunderstanding. Kwankyu --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com

[sage-devel] R.variable_names() or R.generator_names() ??

2009-10-29 Thread Kwankyu Lee
Hi, To get the names of generators of a polynomial ring R, I may use R.variable_names(). But it seems that the method at least does not fail for other rings. For example, sage: GF(2).variable_names() ('x',) What is the intention? If variable_names() intends to return the names of generators, th

[sage-devel] Re: R.variable_names() or R.generator_names() ??

2009-10-29 Thread Kwankyu Lee
I think "generator_names()" is a universal name for all structures, and "variable_names" should be an alias of that only for polynomial rings. I understand William's concerns, but I think there should an official mechanism to change an inappropriate nomination with what makes sense as soon as it

[sage-devel] Fine-grained verbosity

2009-10-29 Thread Kwankyu Lee
Hi, verbose() may be quite useful for user programs, but it seems right now only oriented for developers. If I place some verbose("...", level=1) statements in my Sage program, and the verbose level is set to 1 by set_verbose(1), then the verbose statements of internal Sage functions are printed,

[sage-devel] Re: Fine-grained verbosity

2009-10-30 Thread Kwankyu Lee
Oh... I missed the parameter "files" of set_verbose(). The parameter already fulfills my wish as in set_verbose(1,files="myprogram.py") Sorry for noise... Kwankyu --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubsc

[sage-devel] Re: Fine-grained verbosity

2009-10-31 Thread Kwankyu Lee
Hi, I am experiencing the problem exactly that David raised Then it seems the original idea is good that we add "tag" (or "flag"?, I don't like "component" as Robert proposed) parameter to verbose commands. It will default to "internal" (or "system" or "library" or "builtin"?) This will not brea

[sage-devel] Strange behavior of the magma interface

2009-11-12 Thread Kwankyu Lee
Hi, Is this an expected behavior of the magma interface? -- | Sage Version 4.2, Release Date: 2009-10-24 | | Type notebook() for the GUI, and license() for information.| --

[sage-devel] Re: Strange behavior of the magma interface

2009-11-14 Thread Kwankyu Lee
Hi, What is the standard way to get a reference to a magma object in Sage? Is it "m._ref()" or "m.name()"? What is their difference? Kwankyu --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group,

[sage-devel] Re: Strange behavior of the magma interface

2009-11-15 Thread Kwankyu Lee
On Nov 15, 3:56 am, William Stein wrote: > On Thu, Nov 12, 2009 at 11:43 PM, Kwankyu Lee wrote: > > > Hi, > > > Is this an expected behavior of the magma interface? > > > -- > > | Sage V

[sage-devel] Re: Sage Survey 2009

2009-11-18 Thread Kwankyu Lee
As East Asian countries, please include Korea along side with China and Japan. Thank you! -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://

[sage-devel] Re: Sage Survey 2009

2009-11-18 Thread Kwankyu Lee
Hi Harald, On Nov 19, 12:59 am, Harald Schilly wrote: > They are meant to be included by the dots. It's just for a rough > estimate where you are, nothing specific. I know. :-) This survey is nice. Thank you for your work. Kwankyu -- To post to this group, send an email to sage-devel@google

[sage-devel] Re: Mathematical Software and Me: A Very Personal Recollection

2009-12-07 Thread Kwankyu Lee
Thank you. The article reveals human sides of the origin of the inhumanly marvelous Sage project and its originator. Quite moving. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups

[sage-devel] Return type for coefficient

2010-02-28 Thread Kwankyu Lee
Hi, I want to raise this issue again. sage: P. = PolynomialRing(QQ,2) sage: f = 2*x*y+x+y sage: f.coefficient({x:1,y:1}) 2 sage: c = f.coefficient({x:1,y:1}) sage: c.parent() Multivariate Polynomial Ring in x, y over Rational Field sage: c = f.monomial_coefficient(x*y) sage: c.parent() Rational

[sage-devel] Raw string in notebook

2010-03-09 Thread Kwankyu Lee
Hi, There is no problem on the command line: sage: r"\use" '\\use' But in the notebook of Sage 4.3.3, the same input produces Traceback (most recent call last): File "", line 1, in File "_sage_input_37.py", line 9, in open("___code___.py","w").write("# -*- coding: utf-8 -*-\n" + _supp

[sage-devel] Latest Magma fails to load

2010-03-19 Thread Kwankyu Lee
Hi, In Mac OS, latest Magma v2.16-6 fails to load under Sage 4.3.3, with the following error message: sage: magma_console() dyld: Library not loaded: @executable_path/libgmp.3.dylib Referenced from: /Applications/Magma/bin/magma.exe Reason: Incompatible library version: magma.exe requires ver

[sage-devel] Re: Latest Magma fails to load

2010-03-19 Thread Kwankyu Lee
Hi William, That works. Thank you. If you don't, I will open a ticket for this. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://g

[sage-devel] Re: Latest Magma fails to load

2010-03-19 Thread Kwankyu Lee
This is now Ticket #8560 http://trac.sagemath.org/sage_trac/ticket/8560 Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.g

[sage-devel] Re: pointsize -> size : anyone opposed?

2010-03-25 Thread Kwankyu Lee
Hi, No objection. But you need to provide deprecation warnings before removing any long used things in Sage. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options

[sage-devel] Help me in debugging

2010-05-25 Thread Kwankyu Lee
imension 7 over Rational Field sage: How possibly could this happen? Why I get a different result in doctesting? I seek of your expertise. Thank you in advance. Kwankyu Lee -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: Help me in debugging

2010-05-25 Thread Kwankyu Lee
Hi Leif, This doctest failure did not occur without applying my own patch, so I thought my patch was the cause. A weird bug indeed... Thank you for the pointers. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sa

[sage-devel] Re: Help me in debugging

2010-05-25 Thread Kwankyu Lee
Added information to the ticket http://trac.sagemath.org/sage_trac/ticket/9003 Kwankyu Lee -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http

[sage-devel] gsl directory is perhaps misplaced

2010-05-28 Thread Kwankyu Lee
Hi While I am working on a small patch to a file in sage/gsl/ for the ticket http://trac.sagemath.org/sage_trac/ticket/9080 I am wondering why the gsl directory occupy the top-level place in the Sage library. I suppose that the top-level directories represent big themes, but gsl is just a partic

[sage-devel] Re: symbolic expressions and the arguments method

2010-06-02 Thread Kwankyu Lee
A related comment: I like the method name "variables" for symbolic expressions. On the other hand, I think the name "variable" should be avoided in the exact polynomial rings cases, as in sage: P.=PolynomialRing(QQ) sage: P.variable_names() ('x', 'y') In this case, "gen_names()" is perhaps appro

[sage-devel] Re: Opinions needed - method names for cones and fans

2010-06-23 Thread Kwankyu Lee
Hi, I might be a beginner of the toric geometry package in Sage. I prefer long and explicit names for method names. However, I also prefer to see those methods have docstrings that are written using the traditional N and M notations. I also want to mention that N reminds me of the Mathematica N(

[sage-devel] Re: coverage question

2010-06-23 Thread Kwankyu Lee
How about sage: tutorial() # optional with no return value? It would be better if the tag optional can be removed as the doctest mechanism prevent a web browser from opening. Your cheating is a bad idea. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubs

[sage-devel] A bug in matrix conversion into Magma

2010-06-28 Thread Kwankyu Lee
Hi, On Sage 4.4.4, I have the following bug. sage: F.=GF(4) sage: m=matrix(2,[F(1),2,3,4]) sage: magma(m) --- TypeError Traceback (most recent call last) ... TypeError: unable to coerce element

[sage-devel] Re: A bug in matrix conversion into Magma

2010-06-29 Thread Kwankyu Lee
> This is now trac #9377. Thank you. > sage-support is a better place to report bugs. > sage-devel is for discussions about development. > > Mariah I see. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-deve

[sage-devel] power representation of finite field elements

2010-07-07 Thread Kwankyu Lee
Hi, Currently there is an option "repr" for the finite field constructor. For small finite fields, it can take "log", which makes finite field elements printed as a discrete log with base the primitive generator. So a^14 is printed as 14 It would be very convenient if "repr" can take "power" such

[sage-devel] Re: power representation of finite field elements

2010-07-07 Thread Kwankyu Lee
On Jul 8, 12:20 pm, John H Palmieri wrote: > > I'm not sure which finite field constructor you're looking at.  In > rings/finite_rings/finite_field_givaro.py, the "repr" option is > described this way: > >             repr  -- controls the way elements are printed to the > user: >              

[sage-devel] Re: server start, server shutdown

2010-10-13 Thread Kwankyu Lee
Hi, There is a simple script for that purpose in trac ticket #7893. http://trac.sagemath.org/sage_trac/ticket/7893 Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more

[sage-devel] Re: server start, server shutdown

2010-10-14 Thread Kwankyu Lee
Hi Don, I just uploaded a revised version of the script modified according to your comments. Check it out! Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options,

[sage-devel] Re: Who wrote the paper saying commercial software is like hiding proofs?

2010-11-04 Thread Kwankyu Lee
Hi Minh, Thank you for the link to the article of J. Neubuser. I think the article should be displayed in a holy place at the Sage website, as it seems to me the original source of the philosophy on which all this Sage project is founded. Kwankyu -- To post to this group, send an email to sage-

[sage-devel] A command line feature - operate and get next history line

2010-11-16 Thread Kwankyu Lee
Hi, A developer of R attempted to pull the part of the Bash source code responsible for the "operate-and-get-next" feature into R interface. See the following link: http://r.789695.n4.nabble.com/readline-operate-and-get-next-td2317208.html I want to do the same thing for Sage. As I am ignorant o

[sage-devel] Re: A command line feature - operate and get next history line

2010-11-18 Thread Kwankyu Lee
Hi Dan, Thank you for the comments. IPython just relies on the readline library linked to Python. Perhaps Sage can provide necessary functions that complements the readline library. I did some experiments, and I now think this is a doable task. So I made a ticket: http://trac.sagemath.org/sage_

[sage-devel] Re: A command line feature - operate and get next history line

2010-11-23 Thread Kwankyu Lee
Hi, I uploaded a patch to this ticket. Please do experiments with it, and leave comments. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group

[sage-devel] Re: A command line feature - operate and get next history line

2010-11-23 Thread Kwankyu Lee
Here is the ticket http://trac.sagemath.org/sage_trac/ticket/10289 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group

[sage-devel] Unfaithful .spyx

2010-12-15 Thread Kwankyu Lee
Hi, Perhaps it is well known to others except me (until a moment ago) that the following code print vector([1,0,1]) is loaded and executed if it is contained in a file named like "test.sage", but results in error if the file name is changed to "test.spyx". The Sage Tutorial says as if there is n

[sage-devel] Re: Unfaithful .spyx

2010-12-15 Thread Kwankyu Lee
There is a related ticket: http://trac.sagemath.org/sage_trac/ticket/482 Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.

[sage-devel] Re: Unfaithful .spyx

2010-12-15 Thread Kwankyu Lee
Hi Robert, I just learned at a corner of the Tutorial that preparsing is not applied to .spyx files. So my assumption that .sage and .spyx are equivalent except compiling is not true. Then what is difference between .spyx and .pyx...I am saying to myself. ^^ > > It's because Pyrex/Cython didn't

[sage-devel] Re: one page per method or function

2010-12-27 Thread Kwankyu Lee
Hi, I love the reference manual in the new format. For building time problem, users may be given several choices, one of which might be just to download the built documentation from the web. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this

[sage-devel] Re: one page per method or function

2010-12-27 Thread Kwankyu Lee
Hi, I like the new approach. In the same vein, the Contents page may be restructured such that it lists only chapter titles, and each chaper has its own contents page. The current Contents page is too long to scroll down to reach what I want. Kwankyu -- To post to this group, send an email to

[sage-devel] Re: .py versus .spyx

2011-01-04 Thread Kwankyu Lee
Hi, .sage and .spyx files are intended for end users while the library files should be .py or .pyx files. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, v

[sage-devel] Target for a patch

2011-01-08 Thread Kwankyu Lee
Hi, As an occasional developer for Sage, I have a question regarding to what should be the target release of Sage for a patch. This question arose to me at least twice. I wrote and uploaded a patch for the latest release, 4.6, of Sage. Then a reviewer said the patch is not applied cleanly to the

[sage-devel] Re: Target for a patch

2011-01-08 Thread Kwankyu Lee
I found sage-release. Never mind the second question. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sag

[sage-devel] Re: one level for TOC of reference manual, instead of two

2011-01-12 Thread Kwankyu Lee
Hi Minh, +1. Thank you for the good move. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL

[sage-devel] Re: To keep away slugs, use beer

2011-01-13 Thread Kwankyu Lee
Hi, How about "Sage Math User Group" - SMUG? Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel U

[sage-devel] Re: Updating the Developer's Walk-Through

2011-02-21 Thread Kwankyu Lee
Hi, I would like to see a section on "rebasing patches" with mercurial queues, in the Developer's Manual. It is a frequent task to rebase a patch for a new version of Sage. I myself do this one way, but I am not sure if I am doing it the right way. My way is simply: 1. hg qpop -a 2. upgrade Sage.

[sage-devel] Extra Readline Commands

2011-03-31 Thread Kwankyu Lee
Hi all, This is to advertise a patch (http://trac.sagemath.org/sage_trac/ ticket/10289) which, unfortunately, is sleeping in Trac without a reviewer for more than four months. This patch would be very useful for those who converted from Magma. Please review!

[sage-devel] dots in docstring

2011-04-27 Thread Kwankyu Lee
Hi, How about converting triple dots (...) in math(I mean inside ` `) in a docstring automatically to \dots so that it appears nice both in commandline and in notebook? Does this have a trac ticket? Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscrib

[sage-devel] Re: dots in docstring

2011-04-27 Thread Kwankyu Lee
Other solution would be to convert \ldots in latex markup to ... in commandline. Currently, \dots inside ` ` is just converted to "dots". This looks ugly in commandline. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sag

[sage-devel] Can I use patchbot?

2011-04-27 Thread Kwankyu Lee
Hi, I hear about patchbot here and there. I understand it as an automatic patch testing system. Is that available to an occasional developer like me? Or is that for the release manager and his/her lieutenants? Please give me a short guide on it or a reference to it. Thank you. Kwankyu -- To

Re: [sage-devel] Re: Indented code in terminal

2011-04-27 Thread Kwankyu Lee
Hi Johin, You may be interested in the ticket: http://trac.sagemath.org/sage_trac/ticket/10289 Would you kindly review it? It's long been in "needs review" state. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: dots in docstring

2011-04-27 Thread Kwankyu Lee
So \ldots is converted to "...", but \dots is not. Ok. Thanks, John! Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.goog

[sage-devel] Re: dots in docstring

2011-04-27 Thread Kwankyu Lee
I just looked into the detex function. To me, it seems a little buggy. 1. "\ldots", "\cdots" are both converted to "...". Hence there is no reason not to convert "\dots" to "..." 2. The programming logic introduces a bug. For example "souldots" is converted to "sou...". That is, if there is a w

Re: [sage-devel] Can I use patchbot?

2011-04-27 Thread Kwankyu Lee
Thanks, Dan! Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org

[sage-devel] Re: dots in docstring

2011-04-27 Thread Kwankyu Lee
Here is the ticket: http://trac.sagemath.org/sage_trac/ticket/11265 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/grou

[sage-devel] Re: Documentation tips...

2011-04-28 Thread Kwankyu Lee
This is also basic, but inconsistent throughout the documentation. The first one line of every method docstring should be written as a command. Hence """ Return true if blah blah rather than """ Returns true if blah blah Kwankyu -- To post to this group, send an email to sage-devel@googleg

[sage-devel] Re: Suggestions for Puiseux Expansion Implementation Location

2011-05-01 Thread Kwankyu Lee
Hi, I would like to see Puiseux series in Sage, implemented as an exact ring (in particular over the algebraic closure QQbar). I recommend you to examine the Puiseux series implementation in Magma as a benchmark. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.co

[sage-devel] Deprecating a propety attribute

2011-05-08 Thread Kwankyu Lee
Hi, I am going to deprecate a property attribute defined in a certain class with the reason being that in Sage, using a method to obtain a property of objects is preferred than using property attributes. I think an example is that we use parent.ngens() rather than parent.ngens. My question is

[sage-devel] Re: Deprecating a propety attribute

2011-05-09 Thread Kwankyu Lee
Hi Jason, I totally agree with you. Thanks for the definitive comments. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.g

[sage-devel] Re: pickling vs. default attributes

2011-05-21 Thread Kwankyu Lee
Hi Martin, Thank you for asking this to sage-dev. I want to be more informed about this pickled Sage objects stored in the pickle jar. First let me explain what I understand. The pickle jar is there to ensure that upgrading Sage does not break unpickling of Sage objects pickled in a previous v

[sage-devel] Re: pickling vs. default attributes

2011-05-22 Thread Kwankyu Lee
Hi Simon, It seems to me that Your remarks: If the internal data structure has changed, then it is imperative that data stored in the old format will be correctly translated into the new format when unpickling. ... "upgrading the old objects pickled by users" must be part of the usual unpickl

[sage-devel] Homset or Homspace

2011-05-26 Thread Kwankyu Lee
Hi, I am confused with the usage of "Homset" and "Homspace". It seems to me that each author choose his/her favorite among "Homset" and "Homspace". But is there a reason to prefer one over the other for new modules? Or do they have distinct usage? I am asking this because at some point William

Re: [sage-devel] Homset or Homspace

2011-05-26 Thread Kwankyu Lee
Hi Robert, I guess some use homspace for the homset for an abelian category. I agree that for consistency, it is good to use homset everywhere in Sage. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel

[sage-devel] Versioning objects

2011-05-27 Thread Kwankyu Lee
Hi, How does Sage solve the following situation? A user stores objects pickled in Sage version X.1. Then a developer changes internal logic and data structure of the class of the objects for Sage version X.2. If we assume the developer's patch is merged to Sage X.2, then typically the user's ob

[sage-devel] Re: Versioning objects

2011-05-28 Thread Kwankyu Lee
Hi Simon, I thought of the proposal while fixing unpickling problem of the patch for TermOrder objects for http://trac.sagemath.org/sage_trac/ticket/11316 The situation I described originally is of course what I faced while fixing the problem. On 27 Mai, 18:10, Kwankyu Lee wrote: > &g

[sage-devel] Re: Question about coercion

2011-06-09 Thread Kwankyu Lee
Hi Simon, I am one of those who eagerly hope the thematic tutorial to be written and maintained by the core developers of Sage. The article should explain on parents, elements, categories, coercion, morphisms, homsets, and the canonical way to program an algebraic structure on the basic concept

[sage-devel] A bug of ? on commandline

2011-06-15 Thread Kwankyu Lee
Hi, In Sage Notebook, entering shift-enter after typing E=EllipticCurve? shows correctly the doc, but on commandline, we get sage: E=EllipticCurve? Object `E=EllipticCurve` not found. This different behavior seems a bug. I am using Sage 4.7. -- To post to this group, send an email to sage-d

[sage-devel] Re: A bug of ? on commandline

2011-06-15 Thread Kwankyu Lee
I now see that this is IPython' fault. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.

[sage-devel] Re: A bug of ? on commandline

2011-06-16 Thread Kwankyu Lee
Hi, Simon All right. Now I think the ? behaves reasonably in each of both environments, though it's not perfectly consistent. In the notebook, it is good to get some information on an object in the midst of typing a statement. Cheers Kwankyu -- To post to this group, send an email to sage

[sage-devel] Re: how we develop sage

2016-04-07 Thread Kwankyu Lee
It would be nice if (1) Sage library consists of core + optional parts (2) An optional part is dependent on core + other optional parts (3) Optional parts to install can be selected at build time. (4) An optional part has its own documentation, but accessible through a single interface in Sage.

Re: [sage-devel] Docstring-wide "# optional" markup (#20427)

2016-04-13 Thread Kwankyu Lee
Then "OPTIONAL - foo" gets the same status with "EXAMPLES" (or "INPUT", "OUTPUT", etc). This conveys a misconception since "OPTIONAL" does not mean anything with the method or function that this docstring is attached to. I prefer Dima's suggestion or some variant of that. -- You received this

Re: [sage-devel] Re: how we develop sage

2016-04-14 Thread Kwankyu Lee
On Friday, April 15, 2016 at 6:54:44 AM UTC+9, kcrisman wrote: > > > > These packages are nearly impossible to found from the sagemath website! >> >> Chris -- who wrote abelfunctions -- is a Univ of Wash grad student I >> know. I recently ran into him and he told me that he had spent years >>

[sage-devel] Re: how we develop sage

2016-04-14 Thread Kwankyu Lee
On Friday, April 15, 2016 at 8:46:44 AM UTC+9, Chris Swierczewski wrote: > > I felt like writing this up: > > https://gist.github.com/cswiercz/c632d920565a2da519b73bd2b79d7920 > > Please suggest improvements and corrections. > Sorry. I didn't see your post before I wrote mine :-) That is a nice s

[sage-devel] Request for review: Trac #19084

2016-04-15 Thread Kwankyu Lee
I would appreciate if anyone is interested enough to review: http://trac.sagemath.org/ticket/19084 -- 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+unsu

[sage-devel] Re: Request for review: Trac #19084

2016-04-15 Thread Kwankyu Lee
Not anyone, but experts on Sage's Singular interface. -- 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 gro

[sage-devel] Using custom Singular lib

2016-04-15 Thread Kwankyu Lee
I want to write a Sage module, say "function_field.py", that uses Singular functions defined in a library, say "singular_core.lib". My questions are (1) Where should I put the library file? I guess it should be along with the Sage module file. (2) If so, then how should I load the library? I kn

[sage-devel] Re: Proposal: move SageNB back to Sage

2016-04-15 Thread Kwankyu Lee
+1 -- 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: Using custom Singular lib

2016-04-15 Thread Kwankyu Lee
I guess I could never figure out this by myself. Thank you! -- 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 thi

[sage-devel] Re: Coming SageMathCell upgrade - please test!

2016-04-17 Thread Kwankyu Lee
The webpage from the Madrid server opens but contains no Sage cell. My web browser is Chrome on Mac. Accessing from Asia might be a cause. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails fr

[sage-devel] Code vs codes

2016-04-18 Thread Kwankyu Lee
Which one is correct? (1) "This is based on code by A and B" (2) "This is based on codes by A and B" (3) "This is based on the codes by A and B" I am just curious. I am not a native English speaker. -- You received this message because you are subscribed to the Google Groups "sage-devel" grou

Re: [sage-devel] Code vs codes

2016-04-18 Thread Kwankyu Lee
I didn't know this. Thank you! -- 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-d

Re: [sage-devel] Let's talk specifics (was Re: how we develop sage)

2016-04-27 Thread Kwankyu Lee
This discussion is hardening the terms: Sage core and external packages. But from the point of view of the people developing the would-be external packages, the official term would better be Sage extension, Sage library extension, Sage library extension package, or SLEP. Or simply extension pa

[sage-devel] Re: Optional doctest failure

2016-05-02 Thread Kwankyu Lee
As the author of #20182, I don't think that the behavior of `sage -t` changed. #20182 triggers a new behavior only if you put "optional=...,external,..." in the argument list. On the other hand, new definitions of make (p)testoptional(long) make (p)testall(long) indeed include "optional=sage,o

[sage-devel] Re: On development workflows for sharing (experimental) code

2016-05-03 Thread Kwankyu Lee
Thank you for starting and sharing this. -- 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

[sage-devel] Let's "make ptestalllong"

2016-05-16 Thread Kwankyu Lee
Dear Sage developers, As Sage 7.2 just released, we can now use its new feature to test optional doctests that depend on external software and resources *available on your system* by issuing make ptestalllong instead of "make ptestlong", which has long been used to test a Sage release, discre

[sage-devel] Re: Let's "make ptestalllong"

2016-05-16 Thread Kwankyu Lee
Equivalent line that works for file xxx is sage -tp --optional=sage,optional,external --long xxx -- 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+unsu

Re: [sage-devel] Re: print to python3

2016-05-28 Thread Kwankyu Lee
I am wondering why no one mentions the "six" package to maintain a temporary py2/py3-compatible codebase. I have an experience of moving my own small project from python 2 to python 3 with the "six" package quite successfully. The strategy was to add "import six" at every file and make the file

Re: [sage-devel] Users can permanently modify GF(5).list()

2016-06-02 Thread Kwankyu Lee
> > Suppose that our object X has a basis consisting of four 2x2 matrices, > in some abstract sense. Then your > >X.list() > > might very well return a tuple of four *mutable* 2x2 matrices. Then > this X.tuple() is still very much mutable, and the original problem > has not been solved

Re: [sage-devel] Users can permanently modify GF(5).list()

2016-06-04 Thread Kwankyu Lee
As the discussion of this thread seems to converge to the conclusion that we need to transfer the function of X.list() to X.elements() or like to avoid confusion, I still like to add to the following separate issue >> (For matrix X), X.list() returns a list of all the > >> entries of the matri

[sage-devel] Re: Evaluation of beta() in Sage 7.2

2016-06-14 Thread Kwankyu Lee
> sage: x=-.9 > > sage: y=.1 > > sage: gamma(x)*gamma(y)/gamma(x+y) > > 17.5241239902668 > > sage: beta(x,y) > > NaN > I get the same on Sage 7.3 beta3 on Mac. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and s

[sage-devel] Re: Current best practice for LaTeX of function names

2016-06-14 Thread Kwankyu Lee
It is _latex_(self) according to the developer manual http://doc.sagemath.org/html/en/developer/coding_in_python.html#latex-representation On Wednesday, June 15, 2016 at 8:18:51 AM UTC+9, Paul Masson wrote: > > I'd like to add LaTeX support to special functions that do not yet have > it. Before

[sage-devel] A strange bug in the category framework

2016-06-28 Thread Kwankyu Lee
I found a strange bug that has existed at least from Sage 7.1 In a fresh start of Sage, sage: GF(2)^2 Vector space of dimension 2 over Finite Field of size 2 sage: CyclicPermutationGroup(10).algebra(FiniteField(5)) --- T

[sage-devel] Re: A strange bug in the category framework

2016-06-28 Thread Kwankyu Lee
It is also strange why the pasted text copied from terminal looks double spaced... -- 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...@googlegr

[sage-devel] Re: ssh fail

2016-06-28 Thread Kwankyu Lee
Perhaps you had the same issue with mine. Then the correct fix was just to remove the line for trac.sagemath.org in the file .ssh/known_hosts, not resetting your own ssh keys. Now that you seem to have changed your ssh private/public key pair, you need to register your new ssh public key to tra

[sage-devel] Re: ssh fail

2016-06-28 Thread Kwankyu Lee
I ran ssh -v k...@trac.sagemath.org. It also fails :-) But I have no problem in pushing changes to trac... On Wednesday, June 29, 2016 at 11:49:31 AM UTC+9, tara fife wrote: > > Thanks, > > I went into the known_host file, and deleted everything, since I should > only have things for Sage. Then

[sage-devel] Re: inverse of units

2016-07-06 Thread Kwankyu Lee
How about "m.multiplicative_inverse()" or just "m.inverse()" which already works for matrices? Or those with a hyphen prepended, for "internal" use. On the other hand, "inverse" or "invert" implies that m is(should be) a unit. Then "unit" in the name seems redundant... -- You received this me

  1   2   3   4   5   6   7   8   9   >