Re: [sage-support] Re: Canonical divisor help

2023-10-30 Thread Kwankyu
basis = (-K).basis_function_space() Basis = [C._pull_from_function_field(f) for f in basis] phi = C.hom(Basis, P2) D = phi.image() # conic assert D.degree() == 2 D On Monday, October 30, 2023 at 8:11:05 AM UTC+9 Kwankyu wrote: > This is simpler > > sage: psi = C.hom(liftedbasis, P

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread Kwankyu
Isn't this what you want? sage: R. = QQ[] sage: phi = R.hom([x,x]) sage: phi Ring endomorphism of Multivariate Polynomial Ring in x, y over Rational Field Defn: x |--> x y |--> x sage: phi.kernel() Ideal (x - y) of Multivariate Polynomial Ring in x, y over Rational Field On Monday,

Re: [sage-support] Re: Canonical divisor help

2023-10-29 Thread Kwankyu
This is simpler sage: psi = C.hom(liftedbasis, P2) sage: psi.image() Closed subscheme of Projective Space of dimension 2 over Rational Field defined by: x^2 + x*y + 2*y*z On Monday, October 30, 2023 at 5:45:27 AM UTC+9 Nils Bruin wrote: On Monday, 30 October 2023 at 00:19:47 UTC+13 Kwankyu

Re: [sage-support] Re: Canonical divisor help

2023-10-29 Thread Kwankyu
The most pressing problem in sage at the moment seems to be that presently there only seem to be morphisms between schemes. You need rational maps for this (especially from a singular model, the map to a canonical model might only be a rational map). "SchemeMorphism" in Sage is a map

Re: [sage-support] Re: Canonical divisor help

2023-10-28 Thread Kwankyu
That's actually trivially simple: if [f1,f2,f3] is the basis of your Riemann-Roch space, you just consider the map defined by [f1:f2:f3]. So you lift f1,f2,f3 to rational functions on the affine space that contains your curve: you just take the rational function representation and forget the

Re: [sage-support] Re: Canonical divisor help

2023-10-28 Thread Kwankyu
, f2, f3 = (-K).basis_function_space() sage: phi = C.hom(P2, [f1,f2,f3]). <--- does not work sage: phi.image() # will work On Saturday, October 28, 2023 at 9:59:58 PM UTC+9 Kwankyu wrote: > Let me mention also the related PR > > https://github.com/sagemath/sage/pull/354

Re: [sage-support] Re: Canonical divisor help

2023-10-28 Thread Kwankyu
, 2023 at 9:39:26 PM UTC+9 Kwankyu wrote: > Hi, > > I replied to Dima's comment in > https://github.com/sagemath/sage/commit/977ace651af9b99689f7b6507f91f8b4e2588ae9#r131138149 > . > > Note that the "divisor" method of a curve had existed long before I added > fun

Re: [sage-support] Re: Canonical divisor help

2023-10-28 Thread Kwankyu
;valid object"): > there is no INPUT block. > > I've left a comment here: > > https://github.com/sagemath/sage/commit/977ace651af9b99689f7b6507f91f8b4e2588ae9#r131117132 > > fortunately, the author, @kwankyu is active > > I can't locate the ticket, but it was merged in 9.0

[sage-support] Re: How to define module multiplication?

2023-09-20 Thread Kwankyu
sage.rings.function_field.differential defines the space of differentials of a function field, which is a left module over the function field. You may consult the code there. On Wednesday, September 20, 2023 at 6:08:15 PM UTC+9 Kwankyu wrote: > Is you element in the cohomology ring an insta

[sage-support] Re: How to define module multiplication?

2023-09-20 Thread Kwankyu
Is you element in the cohomology ring an instance of ModuleElement? On Wednesday, September 20, 2023 at 8:34:05 AM UTC+9 John H Palmieri wrote: > The mod 2 cohomology of a simplicial complex has the structure of a module > over the mod 2 Steenrod algebra. I would like to be able to do this in

Re: [sage-support] evaluation of polynomials mod 8

2022-09-27 Thread Kwankyu
This bug is tracked now in https://trac.sagemath.org/ticket/34591 On Tuesday, September 27, 2022 at 6:31:39 PM UTC+9 wdjo...@gmail.com wrote: > On Tue, Sep 27, 2022 at 4:46 AM John Cremona wrote: > > > > Am I doing something stupid here, or is this a bug? > > > > sage: R = Integers(8) > >

[sage-support] Re: evaluation of polynomials mod 8

2022-09-27 Thread Kwankyu
There is a serious problem here. sage: type(RXY) The base ring of a Singular polynomial should a field. As 8 is not a prime number, RXY should not be a libsingular polynomial ring! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To

[sage-support] Re: Pause and Play button in interactive sage demos

2022-08-23 Thread Kwankyu
Animated plots may help you: https://doc.sagemath.org/html/en/reference/plotting/sage/plot/animate.html For play button, you may use interactive(). For example, x = SR.var("x") sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1, ymax=1) for c in range(0,1,.2)] a = animate(sines)

[sage-support] Re: ascii_art fail in jupyter notebook

2022-06-14 Thread Kwankyu
Thanks for the report. This is now fixed in https://trac.sagemath.org/ticket/33996 On Wednesday, June 15, 2022 at 4:58:46 AM UTC+9 usapan...@gmail.com wrote: > The above error can be fixed by setting > > sage: sage.typeset.ascii_art.AsciiArt._terminal_width = lambda x: 80 > > (80 or any other

[sage-support] Re: Where do I report that 1-1=2 :)

2022-06-06 Thread Kwankyu
It seems the bug is in jupyter. Try putting the following $\verb|-_-|$ in a markdown cell. On Monday, June 6, 2022 at 12:51:00 AM UTC+9 egourg...@gmail.com wrote: > Indeed, in Jupyter or Jupyterlab, the underscore is rendered as a minus > sign in %display latex mode. > For instance, > >

[sage-support] Re: Have seen that ?

2022-03-06 Thread Kwankyu
Absolutely great! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit

Re: [sage-support] Re: Basic Stats deprecated?

2022-02-28 Thread Kwankyu
Here is the ticket for this: https://trac.sagemath.org/ticket/33432 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com.

[sage-support] Re: Basic Stats deprecated?

2022-02-25 Thread Kwankyu
> > But shouldn't these basic functions have some default functionality? > +1 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-support] Re: Snowman

2022-01-20 Thread Kwankyu
On Thursday, January 20, 2022 at 4:57:34 PM UTC+9 slelievre wrote: > Fine with me. You should add your snow person too! > Then they can keep each other company: It is fun to look at them being together. But their destiny is not eternity. Thanks anyway. -- You received this message

Re: [sage-support] Re: Snowman

2022-01-19 Thread Kwankyu
As I wish that the artwork by Samuel Lelièvre is not lost, I posted it here: https://wiki.sagemath.org/art#Snowman if the author permits. If not, let me know. -- You received this message because you are subscribed to the Google Groups "sage-support"

Re: [sage-support] Re: Snowman

2022-01-16 Thread Kwankyu
After blizzard is gone, from sage.plot.plot3d.shapes import * P = Graphics() P += Sphere(.5, color='white') P += Sphere(1, color='white').translate(0,0,-1.2) P += Sphere(1.5, color='white').translate(0,0,-2.5) P += Sphere(.1, color='white').translate(.45,-.1,.15) + Sphere(.05,

[sage-support] Re: Function-call syntax deprecation

2021-09-09 Thread Kwankyu
gamma(t) = vector([t,t^2,t^3]) is a bit simpler. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this

[sage-support] Re: Arithmetic in Jacobians of Hyperelliptic Curves

2021-06-20 Thread Kwankyu
Hi, On Sunday, June 20, 2021 at 10:18:50 AM UTC+9 zsc...@gmail.com wrote: > I have reason to believe that the point P is not torsion and so Magma is > correct and Sage is incorrect. I don't know enough about the algorithms > used to work with points on hyperelliptic Jacobians and so I'm not

[sage-support] Re: Question about a deprecation warning

2020-07-12 Thread Kwankyu
On Saturday, July 11, 2020 at 3:31:15 AM UTC+9 John H Palmieri wrote: > Does IPython have a preparser? > I suspected Sage's preparser. I was wrong. You are right: (even out of Sage) Hera:~$ PYTHONWARNINGS=always ipython Python 3.8.3 (default, May 27 2020, 20:54:22) Type 'copyright',

[sage-support] Re: Question about a deprecation warning

2020-07-10 Thread Kwankyu
Because of the preparser? On Thursday, July 2, 2020 at 9:19:58 AM UTC+9 John H Palmieri wrote: > > > On Wednesday, July 1, 2020 at 4:39:12 PM UTC-7, John H Palmieri wrote: >> >> >> >> On Wednesday, July 1, 2020 at 2:22:49 PM UTC-7, Antonio Rojas wrote: >>> >>> >>> >>> El miércoles, 1 de julio de

Re: [sage-support] Unexpected error for asking diagonalizability

2019-11-11 Thread Kwankyu
Thanks for the input. This is now https://trac.sagemath.org/ticket/28720 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[sage-support] Unexpected error for asking diagonalizability

2019-11-07 Thread Kwankyu
Hi, This m = matrix(QQ, 3, [1, 1, 1, 0, 3, 3, -2, 1, 2]) m.is_diagonalizable() raises an error rather than giving False. The error message gives an explanation why the matrix is not diagonalizable. But I think the expected result for asking diagonalizability should be either True or False,

[sage-support] Re: Solve equation efficiently

2019-07-29 Thread Kwankyu
On Thursday, July 25, 2019 at 12:08:20 AM UTC+9, chandra chowdhury wrote: > > I have matrices B and C of size (m,n) over integer with m>n. > I know there is matrix A of size (m,m) such that > AB=C. How to find A efficiently in Sage? > I guess there is no special way in Sage to solve your kind

[sage-support] Re: Counting Points of Multivariate Polynomials Over Finite Fields

2019-07-08 Thread Kwankyu
On Tuesday, July 9, 2019 at 1:47:50 AM UTC+2, Caleb Robelle wrote: > > I am using sage version 7.3 on Linux mint 18. I was wondering if there are > algorithms to count points of multivariate polynomials over finite fields > implemented in sage that were faster than a simple brute force search.

[sage-support] Re: Updating Sage documentation presentation

2019-06-21 Thread Kwankyu
On Friday, June 21, 2019 at 11:29:06 AM UTC+9, saad khalid wrote: > > I definitely see your point, it doesn't look fancy to me. But, I would > argue that Mathematica *does* have very "fancy" and accessible looking > documentation, and I think accessibility and polish are what new users may >

[sage-support] Re: Updating Sage documentation presentation

2019-06-20 Thread Kwankyu
On Wednesday, June 19, 2019 at 9:31:05 PM UTC+9, saad khalid wrote: > > Hi all: > > The sage documentation hosted online (eg. > http://doc.sagemath.org/html/en/reference/index.html ) looks very old. To > me at least, it makes the software seem ancient, and I believe it puts off > younger new

Re: [sage-support] Re: How to find one element of residue field as a vector over base field

2019-05-15 Thread Kwankyu
On Wednesday, May 15, 2019 at 10:08:05 PM UTC+9, Santanu wrote: > > > What is the value of $\frac{xy}{(x^2 + x + 1) } + >>> >>> \frac{1}{x^2 + x + 1}+$ Place $(x^2 + x + 1, x y + 1)$? >>> >>> >> You cannot add an element of the function field with a place. >> > Actually by this we meant the

Re: [sage-support] Re: How to find one element of residue field as a vector over base field

2019-05-15 Thread Kwankyu
On Wednesday, May 15, 2019 at 10:08:05 PM UTC+9, Santanu wrote: > > > > On Wed, 15 May 2019 at 17:03, Kwankyu > > wrote: > >> Hi Chandra, >> >> What is Place (x^2 + x + 1, x*y + 1)? Is it ideal generated by >>> >>> (x^2 + x +

[sage-support] Re: How to find one element of residue field as a vector over base field

2019-05-15 Thread Kwankyu
Hi Chandra, What is Place (x^2 + x + 1, x*y + 1)? Is it ideal generated by > > (x^2 + x + 1, x*y + 1). > > No. Place (x^2 + x + 1, x*y + 1) is the unique place of the function field at which both functions x^2 + x +1, x*y + 1 vanish. > What is the value of $\frac{xy}{(x^2 + x + 1) } + > >

[sage-support] Re: Function Field

2019-05-14 Thread Kwankyu
, from_Ls, to_Ls = L.separable_model() sage: Ls.places() [Place (1/x_, 1/x_*y_ + 1), Place (x_, y_), Place (x_, y_ + 1)] Kwankyu -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving e

[sage-support] Re: @interact

2019-04-27 Thread Kwankyu
This gets a grid input in Jupyter. Is this close to what you want? @interact def _(A=input_grid(2,2, default=[[1,2],[3,4]])): A = matrix(A) print(A) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and

Re: [sage-support] Re: Weird behavior in sagecell

2018-12-01 Thread Kwankyu
> > See a similar report on the sage-cell mailing list: > https://groups.google.com/d/topic/sage-cell/BL9h7xLiwG4/discussion > > In the discussion there, Andrey Novoseltsev points out > that SageMathCell uses only one jsmol instance, and > if there are several plots using it, they might

Re: [sage-support] Re: Where is (the) kash?

2018-07-10 Thread Kwankyu
On Wednesday, July 11, 2018 at 10:35:28 AM UTC+9, Nils Bruin wrote: > Note that most parts of the function field infrastructure doesn't make use > of the fact that residue fields as finite (if you do it right, basically > only the part that computes divisor class groups), so with a bit of

Re: [sage-support] Re: Where is (the) kash?

2018-07-10 Thread Kwankyu
> > https://trac.sagemath.org/ticket/22982 (a meta-ticket where kash is a > part of) > Not at all! This is a native implementation of global function fields in Sage. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this

[sage-support] Re: Problem in new Sage version

2018-07-06 Thread Kwankyu
What is your point? Remove GF(2) as this is over GF(2) by default. On Saturday, July 7, 2018 at 2:00:34 PM UTC+9, chandra chowdhury wrote: > > Initial version of Sage this worked perfectly > > *V=BooleanPolynomialRing(GF(2),49,['x%d'%(i) for i in range(1,49)]+['Z'])* > > But now I am getting

[sage-support] Re: Computing basis of Riemann Roch space

2018-05-14 Thread Kwankyu
Hi, You may want to look into https://trac.sagemath.org/ticket/22982 Cheers. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-support] Re: Setting up a sage notebook server for multiple accounts

2018-02-11 Thread Kwankyu
On Monday, February 12, 2018 at 10:13:36 AM UTC+9, William wrote: > > > You hypothesis is right, but your conclusion is not. What one > typically blocks is creation of new outgoing tcp connection. The > jupyter notebook server doesn't need to create new outgoing > connections; it just

Re: [sage-support] Re: Setting up a sage notebook server for multiple accounts

2018-02-11 Thread Kwankyu
On Monday, February 12, 2018 at 3:55:35 AM UTC+9, William wrote: > > > In CoCalc.com we use Calico to program the Linux routing table, which > makes it easy to restrict connections between parts of the system, not > allow outgoing connections by default, etc. > Not to allow outgoing

[sage-support] Re: Setting up a sage notebook server for multiple accounts

2018-02-10 Thread Kwankyu
On Sunday, February 11, 2018 at 8:00:46 AM UTC+9, kcrisman wrote: > > That is a great question. Sagenb (what you have found) does not serve up > Jupyter. It would be really interesting to hear from someone who knows > about Jupyterhub and whether that is a stable solution at this point. > I

[sage-support] Re: How to prevent a browser from opening after starting a Sage notebook server

2017-12-14 Thread Kwankyu
That's it! Thank you. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to

[sage-support] Re: How to prevent a browser from opening after starting a Sage notebook server

2017-12-14 Thread Kwankyu
On Thursday, December 14, 2017 at 4:15:33 PM UTC+9, Simon King wrote: > > Hi, > > On 2017-12-14, Kwankyu <ekwa...@gmail.com > wrote: > > "sage -n" automatically opens a new browser window after starting the > > notebook server. I checked this on Mac a

[sage-support] How to prevent a browser from opening after starting a Sage notebook server

2017-12-13 Thread Kwankyu
Hi, "sage -n" automatically opens a new browser window after starting the notebook server. I checked this on Mac and Ubuntu. I think this is an "over" service, and annoyance if I do not want a new browser window, unless there is a command line option to prevent this. Is there such an option?

[sage-support] Re: No is_irreducible() method for multi-variate polynomials...

2017-09-29 Thread Kwankyu
Hi Maarten, I would not call this an embarrassing defect. Sage is an open source > project written by volunteers that do not have an unlimited amount of time. > If something is not implemented this just means no one had the time yet to > do this. I did not intend to insult the Sage developer

[sage-support] Re: No is_irreducible() method for multi-variate polynomials...

2017-09-29 Thread Kwankyu
Ok. Here is the ticket: https://trac.sagemath.org/ticket/23938 Please contribute code to fix the embarrassing defect! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an

[sage-support] Re: numerical semigroup in sagemath

2017-07-26 Thread Kwankyu
There is a nice GAP package for numerical semigroups. You can use that via sage interface once you install it into the GAP under Sage (which could be tricky). Check https://www.gap-system.org/Packages/numericalsgps.html -- You received this message because you are subscribed to the Google

[sage-support] Re: [sage-devel] An issue with the .coefficient() function

2017-06-25 Thread Kwankyu
> > On 25/06/2017 16:51, baliza Eyo wrote: > > Dear Sage developers, > > > > Here is a quick question about the output of the .coefficient() for an > SR > > object. > > having set up the variables as follows > > > > sage: var('x,y') > > (x, y) > > > > Shouldn't the output of the

[sage-support] Re: Matrix of operations after gaussian elimination

2017-06-09 Thread Kwankyu
Is this what you want? sage: m = matrix(2,[1,2,3,4]) sage: H,U = m.echelon_form(transformation=True) sage: H [1 0] [0 2] sage: U [-2 1] [ 3 -1] sage: U * m == H True > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

Re: [sage-support] Giving Back to the Community

2016-11-28 Thread Kwankyu
On Monday, November 28, 2016 at 2:44:32 AM UTC+1, William wrote: > > Hi, > > It would be great if somebody could create some sort of index of such > packages, which we could link to (or include) on sagemath.org. > > This might eventually involve using some sort of tagging (or > searching) of

Re: [sage-support] Giving Back to the Community

2016-11-27 Thread Kwankyu
> > > and the list at > > https://wiki.sagemath.org/SageMathExternalPackages > It is extremely slow to load this page, for me. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it,

[sage-support] Redundant blank line appears in the output

2016-10-31 Thread Kwankyu
Hi, >From some Sage versions onward, I see a blank line before the output. sage: m=matrix(2,[1,2,3,4]) sage: m [1 2] [3 4] sage: This blank line seems redundant. Why do we have that? Or is it just me? -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] Linear algebra over a valuation ring in Sage

2016-10-03 Thread Kwankyu
On Monday, October 3, 2016 at 1:15:09 PM UTC+2, John Cremona wrote: > > > I don't quite understand the problem, since Frac(R)=k(x) anyway. Do > you only have a problem when x is not in R, since otherwise k[x] is a > subring of R anyway and the numerator / denominator are then correct >

[sage-support] Linear algebra over a valuation ring in Sage

2016-10-03 Thread Kwankyu
Hi, I want to do linear algebra over a valuation ring (infinite) R of rational function field. As R is a PID, I expected the Sage machinery over general PID works fine for it. But it does not. The problem is, as I understand it, that internally Sage assumes an ambient vector space over

[sage-support] Re: backwards compatibility

2016-04-26 Thread Kwankyu
This is also strange: sage: (zeta1092^13) == zeta84 True sage: zeta84^7 == zeta12 True sage: (zeta1092^13)^7 == zeta12 False -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it,

[sage-support] Re: backwards compatibility

2016-04-26 Thread Kwankyu
sage: zeta84 in Q1092 True sage: zeta12 in Q84 True sage: zeta12 in Q1092 False sage: Q12.embeddings(Q1092) [ Ring morphism: From: Cyclotomic Field of order 12 and degree 4 To: Cyclotomic Field of order 1092 and degree 288 Defn: zeta12 |--> zeta1092^91, Ring morphism:

[sage-support] Re: backwards compatibility

2016-04-26 Thread Kwankyu
sage: zeta84 in Q1092 True sage: zeta12 in Q84 True sage: zeta12 in Q1092 False sage: Q12.embeddings(Q1092) [ Ring morphism: From: Cyclotomic Field of order 12 and degree 4 To: Cyclotomic Field of order 1092 and degree 288 Defn: zeta12 |--> zeta1092^91, Ring morphism:

[sage-support] 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-support" group. To unsubscribe from this group and stop receiving emails

[sage-support] libSingular multiple return values are lost.

2015-08-06 Thread Kwankyu
Hi, I am learning to use the libSingular interface to use Singular functions in Sage. I have two questions. (1) My Singular procedures return multiple values, but my Sage function wrapping the procedure (via singular_function) seems to lose the values except the first one. Is this a bug or a

[sage-support] Re: Is profile_sage still the right place to put user configurations for IPython?

2015-06-26 Thread Kwankyu
I did some experiments and looked into Sage source codes. It seems Sage loads only profile_default even though I can create profile_sage. Moreover there is no mechanism to set which IPython profile to load when Sage starts. Now I wonder what is official IPython profile for Sage. Is it

[sage-support] Is profile_sage still the right place to put user configurations for IPython?

2015-06-25 Thread Kwankyu
To enable extra readline commands for Sage 6.7, I put some codes into .sage/ipython-3.1.0/profile_sage/ipython_config.py But it does not work. If I move the file ipython_config.py into .../profile_default/, then it works fine. It seems Sage does not recognize profile_sage. Is it the

[sage-support] Re: Sagecell not loading in webpage

2015-06-03 Thread Kwankyu
On Thursday, June 4, 2015 at 3:20:37 AM UTC+9, Andrey Novoseltsev wrote: On Wednesday, 3 June 2015 02:08:54 UTC-6, Kwankyu wrote: Hi Andrey, I have been using the sagecell in a class in this semester. But from some weeks ago, the server seems not available. The address I use is https

[sage-support] Re: Sagecell not loading in webpage

2015-06-03 Thread Kwankyu
happening from here... On the other hand, meanwhile I tried to build my own sagecell server following the simple instructions in the sagecell github homepage. But it fails with the following message in the final step: make: *** No rule to make target `/home/kwankyu/sagecell/sage/ipython/IPython/html

Re: [sage-support] Is Sage help system available in sage-cell?

2014-07-24 Thread Kwankyu
Thanks. sage-cell is great, but lack of ready access to help feels sore... -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to

[sage-support] Is Sage help system available in sage-cell?

2014-07-23 Thread Kwankyu
Hi, It seems that no sage help is available in sage-cell. For example ?floor does not work. Is this intended or a missing feature? Kwankyu -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving

[sage-support] Re: A socket problem

2013-11-25 Thread Kwankyu
Fixed. It was really a firewall problem. The university security software recognised the connection as an attack. The IT staff fixed it. Thanks for all attention! -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group

[sage-support] A socket problem

2013-11-17 Thread Kwankyu
Hi all, I am experiencing the following problem -- kwankyu@hades:~$ sage -upgrade Downloading packages from 'http://www.sagemath.org//spkg'. Reading package lists... Traceback (most recent call last): File /home/kwankyu/sage/sage-5.12/local/bin

[sage-support] Unwrapping Magma in Sage notebook

2013-02-12 Thread Kwankyu
I am using magma in the Sage notebook using the magma mode. All outputs are wrapped around certain column, I think, unnecessarily. How can I set the outputs unwrapped in the output box? Thanks for your attention. -- You received this message because you are subscribed to the Google Groups

[sage-support] Re: Unwrapping Magma in Sage notebook

2013-02-12 Thread Kwankyu
By the way, SetAutoColumns(true) does not work unfortunately. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post

[sage-support] Re: Invalid expiration date of Sage's self-signed certificate

2012-11-30 Thread Kwankyu
It is Ubuntu server. Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-33-generic-pae i686) Kwankyu -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send

[sage-support] Invalid expiration date of Sage's self-signed certificate

2012-11-29 Thread Kwankyu
Hi all, I noticed there is a problem with the Sage's self-signed certificate for my own server. See the validity date. Why is it 2004? Thanks for an answer in advance. My system is Sage 5.4.1 on Ubuntu Server. X.509 Certificate Information: Version: 3 Serial Number (hex): 1f36ede1 Validity:

[sage-support] Re: Invalid expiration date of Sage's self-signed certificate

2012-11-29 Thread Kwankyu
In the meantime, I investigated this issue a bit more. The root of the problem is the too large value of expiration_days =1 in .sage/notebook/cert.cfg, which is automatically generated in the notebook.setup() command. I tried to change the value like 8999. Then the generated certificate

[sage-support] Re: Invalid expiration date of Sage's self-signed certificate

2012-11-29 Thread Kwankyu
Chrom to accept the self-signed certificate. Kwankyu -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr

Re: [sage-support] Comparison of approximate real numbers

2012-06-12 Thread Kwankyu
Thank you all for the solutions! Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http

[sage-support] Comparison of approximate real numbers

2012-06-11 Thread Kwankyu
Hi all, I am puzzled. sage: 10.44-10.30==0.14 False How should I compare them to get True? Suddenly Sage feels very alien to me. :-) Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr

[sage-support] Re: Lexicographic ordering in Sage

2011-07-01 Thread Kwankyu
Hi, Is this what you want? sage: P.x1,x2,x3,x4=PolynomialRing(QQ,order='lex') sage: S=[x3*x4,x2*x3,x1*x4,x4,x3,x1*x2,x1,x2,1] sage: S.sort() sage: S [1, x4, x3, x3*x4, x2, x2*x3, x1, x1*x4, x1*x2] -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

[sage-support] Re: Do we have multiset?

2011-06-26 Thread Kwankyu
Hi, Dicts do not have methods for multisets. I will wait for Python 2.7 in Sage. Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http

[sage-support] Do we have multiset?

2011-06-25 Thread Kwankyu
Hi, Do we have multiset in Sage or Python? I learned that Python 2.7 has Counter collection which implements multiset. If not, is there a simple construct to mimic multiset? Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Re: Need arbitrary Singular term orders

2011-05-20 Thread Kwankyu
Hi Jeff, There was a bug in the matrix order of Sage. It did not allow negative integers in the string representation of a matrix order. That bug is fixed in the patch for trac #11316, which I just uploaded. Sorry for late reply. Kwankyu -- To post to this group, send email to sage-support

[sage-support] PyDev with Sage

2010-12-15 Thread Kwankyu
this happy news. ^^ Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org

[sage-support] Re: Confused about rmul and lmul

2010-12-13 Thread Kwankyu
I wrote a patch according to your suggestion in http://trac.sagemath.org/sage_trac/ticket/10473 Thank you. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this

[sage-support] Confused about rmul and lmul

2010-12-10 Thread Kwankyu
Hi, Below is a passage in the Reference manual on the coercion model: If R is the base of S (as in the first example), simply implement _rmul_ and/or _lmul_ on the Elements of S. In this case r * s gets handled as s._rmul_(r) and s * r as s._lmul_(r). The argument to _rmul_ and _lmul_ are

[sage-support] Re: On .inputrc

2010-11-18 Thread Kwankyu
Thank you!!! Perhaps Sage should advertise this somewhere... Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com

[sage-support] On .inputrc

2010-11-17 Thread Kwankyu
Hi, If I put the following line \C-k: kill-whole-line into ~/.inputrc, Sage does not recognize it, that is, ctrl-k always does kill-line On the other hand, in IPython invoked by sage - ipython, ctril-k does kill-whole-line as expected. Why is it so? Does Sage set keys in its own way? Kwankyu

[sage-support] Getting a mirror image of a matrix

2010-07-07 Thread Kwankyu
Hi, Does Sage have a command to get the mirror image matrix [3,2,1] [6,5,4] from the matrix [1,2,3] [4,5,6] ? It seems not... Then is there a simple trick to do that? Of course, I can do it in a long way...but... Thank you in advance. Kwankyu -- To post to this group, send email to sage

[sage-support] Re: why does constructing this ring take forever?

2010-07-07 Thread Kwankyu
It's worse. Ctrl-C does not work if you try when you got sick of waiting. Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http

[sage-support] Re: Getting a mirror image of a matrix

2010-07-07 Thread Kwankyu
Hi Nathann and Johan, Thank you for the tips. Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage

[sage-support] n(...) bug

2010-04-05 Thread Kwankyu
)) sage: n(h) 0.674933236039321 Apparently, there is no difference between g and h. Perhaps internal representations are different... Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr

[sage-support] Re: Xelatex and Sage notebook

2010-03-09 Thread Kwankyu
Hi Dan, I worked on this. Would you review Trac 8486? http://trac.sagemath.org/sage_trac/ticket/8486 Thank you in advance. Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com

[sage-support] Re: Xelatex and Sage notebook

2010-03-07 Thread Kwankyu
. This is just another step toward Sage's internationalization. Kwankyu Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http

[sage-support] Re: Xelatex and Sage notebook

2010-03-07 Thread Kwankyu
. Then it would be sweet to embed TeX in notebook, making it look nice especially in published worksheets. Andrzej. This is a good idea. Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr

[sage-support] Re: Docstring on adding a user

2010-03-06 Thread Kwankyu
Hi Dan, Thank you for the update, and the ticket! Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage

[sage-support] Docstring on adding a user

2010-03-05 Thread Kwankyu
', and restart the server. Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org

[sage-support] Inverse in lazy power series

2010-02-21 Thread Kwankyu
Hi, Is it possible to compute in Sage a lazy power series y in x satisfying y = x/(1-y) ? I know a recursive definition is possible in Sage lazy power series module. What about the inverse 1/(1-y)? Thank you in advance. Kwankyu -- To post to this group, send email to sage-support

[sage-support] About lazy power series

2010-02-16 Thread Kwankyu
bugs rather than be useful. Why is s O(1)? Isn't it O(2)=O(t^2)? 3. How should I understand the following? What are the definitions of aorder and order? sage: s=L([1,2,0]) sage: s.get_aorder() 0 sage: s.get_order() Unknown series order Thank you for reply in advance. Kwankyu -- To post

[sage-support] Re: About lazy power series

2010-02-16 Thread Kwankyu
Thank you for the clarification. Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http

[sage-support] Re: About lazy power series

2010-02-16 Thread Kwankyu
think aorder for approximate_order is an excessive abbreviation. Kwankyu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com

  1   2   >