[sage-devel] 0^0

2009-10-22 Thread Kwankyu Lee
Hi, The following scares me. sage: 0^0 1 sage: F.a=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

[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

[sage-devel] Re: 0^0

2009-10-22 Thread Kwankyu Lee
On Oct 23, 12:11 am, John H Palmieri jhpalmier...@gmail.com wrote: On Oct 22, 1:25 am, Kwankyu Lee ekwan...@gmail.com wrote: Hi, The following scares me. sage: 0^0 1 sage: F.a=GF(5) sage: F(0)^0 Traceback (most recent call last): ... ArithmeticError: 0^0 is undefined

[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,

[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 is

[sage-devel] Fine-grained verbosity

2009-10-30 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

[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 break or change

[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 wst...@gmail.com wrote: On Thu, Nov 12, 2009 at 11:43 PM, Kwankyu Lee ekwan...@gmail.com wrote: Hi, Is this an expected behavior of the magma interface? -- | Sage Version 4.2

[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

[sage-devel] Re: Sage Survey 2009

2009-11-18 Thread Kwankyu Lee
Hi Harald, On Nov 19, 12:59 am, Harald Schilly harald.schi...@gmail.com 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

[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] Return type for coefficient

2010-02-28 Thread Kwankyu Lee
Hi, I want to raise this issue again. sage: P.x,y = 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()

[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 stdin, line 1, in module File _sage_input_37.py, line 9, in module open(___code___.py,w).write(# -*- coding: utf-8 -*-\n +

[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

[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

[sage-devel] Help me in debugging

2010-05-25 Thread Kwankyu Lee
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+unsubscr...@googlegroups.com For more options

[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

[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

[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.x,y=PolynomialRing(QQ) sage: P.variable_names() ('x', 'y') In this case, gen_names() is perhaps

[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

[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

[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.a=GF(4) sage: m=matrix(2,[F(1),2,3,4]) sage: magma(m) --- TypeError Traceback (most recent call last) ... TypeError: unable to coerce

[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-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 that

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

2010-07-07 Thread Kwankyu Lee
On Jul 8, 12:20 pm, John H Palmieri jhpalmier...@gmail.com 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: 2011 Spies Sage Development Prize

2011-07-19 Thread Kwankyu Lee
Congratulations! He is truly one of omnipresent persons in the Sage world. 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

[sage-devel] Re: degree of a monomial with a matrix ordering

2011-09-21 Thread Kwankyu Lee
Hi, Look at this. sage: tord = TermOrder(matrix([3,2,4,1,1,0,1,0,0])) sage: S.t=PolynomialRing(QQ) sage: R.x,y,z = PolynomialRing(S,'x',3,order=tord) sage: (x^2).degree() 2 So the behavior is not consistent among different backend engines, namely, Singular and PolyDict. I think degree()

[sage-devel] Re: degree of a monomial with a matrix ordering

2011-09-24 Thread Kwankyu Lee
Hi Simon, I think one should not take it for granted a polynomial ring is a graded ring. Of course, you can view a polynomial ring as a graded ring. But one work with a polynomial ring, perhaps more often, not as a graded ring. With a polynomial in a polynomial ring not as a graded ring, you

[sage-devel] Re: degree of a monomial with a matrix ordering

2011-09-24 Thread Kwankyu Lee
Hi Simon, In your point of view that a polynomial ring is always a graded ring, what I want is perhaps this: even though you work with a polynomial ring with non-default grading, the methods degree(), degrees(), total_degree() for the default grading should still be available to the user

[sage-devel] Re: degree of a monomial with a matrix ordering

2011-09-25 Thread Kwankyu Lee
I thought a bit more, and now I think Simon's viewpoint is arguably more consistent than mine, and my worries are groundless because we have method exponents(). Cheers. Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an

[sage-devel] Re: Consistency for undefined expressions

2011-10-26 Thread Kwankyu Lee
Hi, The second versions seem to me all bugs, resulted from implementation details. 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

[sage-devel] Re: Can one replace a Python class with a Cython one without breaking unpickling?

2011-12-24 Thread Kwankyu Lee
I had also troubles with old pickled objects. I am not sure whether the discussion on my own problems are relevant here or not, but here is the link: https://groups.google.com/forum/#!searchin/sage-devel/term$20order/sage-devel/APrvYHL4Bck/ex4R00T6MW0J Kwankyu -- To post to this group,

[sage-devel] Help needed on readline library in Sage

2012-01-29 Thread Kwankyu Lee
Hi, My cython patch readline_extra_commands works well on Mac but fails on Ubuntu at runtime with the following message: ImportError: ../sage/misc/readline_extra_commands.so: undefined symbol: rl_last_func So the linker do not find the symbol in the readline library linked to Python. What is

[sage-devel] Re: Help needed on readline library in Sage

2012-01-29 Thread Kwankyu Lee
It is Extension('sage.misc.readline_extra_commands', sources = ['sage/misc/readline_extra_commands.pyx']), Do I need to add -lreadline somewhere here? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an

[sage-devel] Re: Help needed on readline library in Sage

2012-01-29 Thread Kwankyu Lee
I wonder why that was not necessary for Mac. Anyway, thank you very much! 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

[sage-devel] Problem with the patchbot?

2012-01-30 Thread Kwankyu Lee
On my patch, the patchbot shows a red swirling symbol with the following log: ... -- sage: Building and installing modified Sage library files. Installing c_lib gcc -o src/convert.os -c -fPIC

Re: [sage-devel] Problem with the patchbot?

2012-01-30 Thread Kwankyu Lee
Thanks for explaining me. 16G seems small, considering the (huge, I think) amount of loads on the patchbot. 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] A couple of patchbot questions

2012-02-08 Thread Kwankyu Lee
Hi, A couple of simple developer questions. Sorry... (1) I uploaded a new patch of the same name with the previous patch, but the patchbot doesn't seem to be triggered. I already tried ?kick, with no help. Is there other way to kick the patchbot? Do I need to upload the same patch with other

Re: [sage-devel] A couple of patchbot questions

2012-02-09 Thread Kwankyu Lee
Hi Robert, (1) I uploaded a new patch of the same name with the previous patch, but the patchbot doesn't seem to be triggered. I already tried ?kick, with no help. Is there other way to kick the patchbot? Do I need to upload the same patch with other name? Has it ever been triggered

Re: [sage-devel] A couple of patchbot questions

2012-02-09 Thread Kwankyu Lee
The second patch is small, but the doctest takes quite a bit of time. So I changed the doctest and uploaded the patch again. Let me see this helps... Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

Re: [sage-devel] A couple of patchbot questions

2012-02-09 Thread Kwankyu Lee
Anyway, I just noticed that many of the patches with positive reviews have the red swirling symbol with Apply Failed on Sage 4.8. Then I wonder the patchbot is working correctly now... Kwankyu -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this

[sage-devel] Acknowledging Sage components

2012-03-19 Thread Kwankyu Lee
Hi, In the Publications_using_SAGEhttp://wiki.sagemath.org/Publications_using_SAGE?action=fullsearchcontext=180value=linkto%3A%22Publications_using_SAGE%22wiki page, I find the following passage: ``Also, be sure to find out what components of Sage, e.g., NumPy, PARI, 'GAP, that your

[sage-devel] Re: Acknowledging Sage components

2012-03-19 Thread Kwankyu Lee
Here is the link http://wiki.sagemath.org/Publications_using_SAGE -- 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

[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-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 of

[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:

[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

[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

[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 no

[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

[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

[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,

[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

[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

[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

[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

[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

[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 --

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

[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 word which

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

[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] Deprecating a propety attribute

2011-05-09 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-10 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

[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

[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

[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 changed

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] 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

[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 ekwa...@gmail.com

[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

[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-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:

[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-devel] An apparent error in the start of making Sage

2013-04-26 Thread Kwankyu Lee
Hi all, This is a question. Is the apparent error in the output below a genuine error? What does it mean? I am experiencing the same error when making several previous versions of Sage, which all failed (seemingly) by the issue trac #13947. I am wondering whether this failure at the end is

[sage-devel] Re: An apparent error in the start of making Sage

2013-04-28 Thread Kwankyu Lee
Nope, this originates from if [ -f $SAGE_ROOT/spkg/bin/sage-spkg ]; then if $MAKE -q $@; then echo Nothing to (re)build / all up-to-date. exit 0 fi fi and is (harmless and) completely unrelated to the zn_poly issue (#13947). (We should probably

[sage-devel] Consistent failure of zn_poly in latest Sage

2013-05-06 Thread Kwankyu Lee
Hi, I am experiencing consistent failure in building the latest Sage including just released 5.9 at zn_poly. My system is MacPro Quad-Core Intel Xeon with OS X 10.7.5 and latest Xcode (I think). Are there others experiencing the same? Here is the log: Now running zn_poly's self-tuning

[sage-devel] Re: Consistent failure of zn_poly in latest Sage

2013-05-07 Thread Kwankyu Lee
Hi, Sorry that I was not clear. Reading the comments for the Trac ticket, I thought that for others, this happens intermittently, so they succeed in building Sage eventually after a couple of failures. For my case, it always fails. I was asking if others experience the same consistent

[sage-devel] Re: Consistent failure of zn_poly in latest Sage

2013-05-07 Thread Kwankyu Lee
I think it is intermittent in the sense that on computers with the problem, it fails consistently when building Sage in parallel; the fix is to then quickly do that one package in series, then remain doing things in parallel (see the ticket or other discussions for details). Are you

[sage-devel] Re: Consistent failure of zn_poly in latest Sage

2013-05-07 Thread Kwankyu Lee
For example, can you stop everything on the computer and remote log in to it from another machine, so you're hardly running anything on it? If not, quit all possible applications and try building again. By the way, how much RAM does this machine have (this may not be relevant, but just in

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

2013-06-24 Thread Kwankyu Lee
Congratulations! -- 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] A weiredness in Sage 5.0rc0

2012-05-02 Thread Kwankyu Lee
In Sage 5.0rc0, I observe a weird phenomenon. See the following code - from sage.rings.ring import CommutativeAlgebra class NA(CommutativeAlgebra): def __init__(self, i): CommutativeAlgebra.__init__(self, i.base_ring()) self._ideal = i -

[sage-devel] Re: A weiredness in Sage 5.0rc0

2012-05-02 Thread Kwankyu Lee
Hi Simon, Thank you for the explanation. However, during the category initialisation, self is used as key in some cache. Hence, it is needed that its hash value is available. By default in sage.rings.ring.Ring, hash(self) is the self as hash(repr(self)) (which I don't like, by the way).

[sage-devel] Re: A weiredness in Sage 5.0rc0

2012-05-03 Thread Kwankyu Lee
Hi Simon, The result is that the hash is broken by default, since the string representation can be changed *after* creation of the object, which means that the hash value would change as well. There is a ticket fixing it, though. I think the problem lies in that the hash is calculated

[sage-devel] Understanding the patchbot's ApplyFailed

2012-07-09 Thread Kwankyu Lee
Hi, The patchbot is failing(ApplyFailed) on my patch for ticket #12503. I want to understand the reason. According to the log below, the patchbot seems to try to fetch the file at http://trac.sagemath.org/sage_trac/raw-attachment/ticket/12503/trac#12503.patch I copied this line into the

[sage-devel] Re: Understanding the patchbot's ApplyFailed

2012-07-09 Thread Kwankyu Lee
Ah, so it is a bug. Thanks. I should not have included # in the patch file name. On the other hand, it is strange that the patchbot tries to fetch an old patch file trac#12503.patch rather than the new patch file named trac_12503_v3.patch though I placed the comment apply trac_12503_v3.patch

  1   2   3   4   5   6   7   8   >