Ask Your Question

KnS's profile - activity

2020-11-09 16:40:14 +0200 received badge  Popular Question (source)
2014-09-22 13:34:16 +0200 commented answer Please join Sage in Stack Exchange to make it a formal community!

It is possible to have the questions backed up occasionally from SX's data dump. It was being done for the TeX site regularly by Paulo Cereda: .

2014-09-01 15:50:43 +0200 commented question integrate(sin(x),x) doesn't work

@rws: Please do not downvote questions, especially those from newbies. While I agree that the question lacks the most important detail, we should be a welcoming community. Asking for this information as @tmonteil has rightly done is the way. If we get no response after a couple of months, we could close the question as being too localised.

2014-08-29 11:16:38 +0200 received badge  Enlightened (source)
2014-08-29 11:16:38 +0200 received badge  Good Answer (source)
2014-08-25 16:36:52 +0200 received badge  Nice Answer (source)
2014-08-23 22:43:55 +0200 received badge  Teacher (source)
2014-08-23 21:43:17 +0200 commented answer How to find Smith normal form of a matrix over regular rings?

In fact, the error is misleading: it should say that the Smith form makes sense only over Principal ideal rings which are domains (I wrote it like that for emphasis: of course, I mean the Principal Ideal Domains). There is a similar structure theorem for modules over Dedekind domains, but now the torsion-free = projective which is free + fractional ideal. This probably is not implemented. At any rate, this is not Smith normal form (probably, this must be called the Steinitz normal form...).

2014-08-23 21:33:58 +0200 commented question Is it possible to access my old account?

Did you write an email to William Stein with as much information as you could? I am not sure about how much information you have about your account: depending on this, this strategy might work or fail. :-)

2014-08-23 21:30:58 +0200 commented answer Checklist for submitting a patch to trac

I would also suggesting building the pdf manual too. I have been bitten by this quite a few times.

2014-08-23 21:27:21 +0200 answered a question Create/Modify SageMathCloud Project to be Private

A SageMathCloud project is by default private: that is, the files you create inside the project is available only to you and the cloud server hosting those files.

On the other hand, if you would like to share all the files in a project with someone who has an account on SageMathCloud, you may do so by adding them to the Collaborators list available from the Settings (wrench icon). You may search for your collaborator by using their email address or the SMC username.

2014-05-31 15:58:29 +0200 commented answer Defining Dirichlet series

Hey @kcrisman, Did you try this out? Is there a ticket somewhere on Sage Trac pointing to this? Or is it already in Sage? :-)

2013-09-24 16:56:56 +0200 received badge  Nice Question (source)
2012-11-28 03:45:52 +0200 marked best answer Rolling back patches

I did this for years. You are right that it's not well documented.

sage: hg_sage.rollback()

will roll back the previous commit, and

sage: hg_sage.revert(options='--all')

will revert the changes of that one commit. Otherwise you'll have to find out what commit to revert to with hg_sage.log() and do

sage: hg_sage.revert?

to see how to use that command. It says it's not what you're looking for, but it is, in a brutish sense.

You're right that queues are easier in the long run, but there is a definite learning curve. The (eventual, not soon) switch to git probably won't make things any easier, just different.

2012-11-28 03:45:52 +0200 received badge  Scholar (source)
2012-11-27 20:58:28 +0200 received badge  Student (source)
2012-11-27 16:35:39 +0200 answered a question Updating to 5.4 from Ubuntu PPA

This problem has been now fixed (well, fixed back then!). There are various reasons behind this problem. Moving .sage into .sage.backup seems to help. Other solutions are discussed in this Sage-Support Mailing List Thread.

2012-11-27 16:26:13 +0200 received badge  Supporter (source)
2012-11-27 16:24:26 +0200 asked a question Rolling back patches

I was wondering how I would rollback any change I make to the Sage branch by applying patches using


The documentation does not seem to answer this question. I'd appreciate your help.

Come to think of it, I could have taken the Hg Queues route, much simpler to maintain, IMHO. sigh

Thank you.

2012-11-14 03:24:39 +0200 asked a question Updating to 5.4 from Ubuntu PPA

Hello, This morning, I had updated Sage to the recent version 5.4 from the Ubuntu PPA. The installation crashed but later I fixed with little help from the transcript of the Sage-Support mailing list to the following stage:

  • Sage runs with sudo permissions but not otherwise.
  • Without sudo privilege, the crash report is here.

The error I get is a name error: sage_prompt is not defined and a couple of inaccessible directories (I think the OS module is trying to access some directories which require sudo permissions.) There is also a warning: a config file is not getting created...

Hope someone can help me fix this.