2020-09-26 10:07:44 -0500 | commented answer | Splitting a list into sub-list @Cyrille, my username in any of my answers is clickable and points to my Ask Sage profile. My profile in turn links to various pages including my professional webpage. That should have all information needed to refer to me or contact me. |

2020-09-26 05:40:57 -0500 | answered a question | log(e) won't convert to 1 Building on @Emmanuel Charpentier's answer. Below:
- result when With With To reset or or To figure out what import statement to use above, run this in a fresh Sage session: |

2020-09-26 05:31:04 -0500 | answered a question | Splitting a list into sub-list Define a function Examples with a list of length 12 split into 3 or 4: If Other options would be to raise an exception or to have a shorter last part. |

2020-09-25 06:38:56 -0500 | commented answer | Get the error "NameError: name '_interact_' is not defined" when run sagenb. Do you get errors at the time of starting the sagenb notebook? Or does it start without error, and do you get an error when executing some code? |

2020-09-25 06:37:56 -0500 | commented answer | Get the error "NameError: name '_interact_' is not defined" when run sagenb. This computer no longer had a Python2-based Sage. I installed it again when writing my answer, and tested it. |

2020-09-25 06:34:11 -0500 | commented question | How do I uninstall SageMath 9.1 from MacBook OS 10.14.5 Happy to help you uninstall, but also happy to help you solve any installation problems. Don't hesitate if you want to try again. |

2020-09-25 06:32:40 -0500 | commented question | How do I uninstall SageMath 9.1 from MacBook OS 10.14.5 As far as I understand, if you take care of removing Anaconda from your PATH the first time you start Sage after installing it, everything is fine and you can then restore the PATH and not get interference. |

2020-09-25 06:32:33 -0500 | commented question | How do I uninstall SageMath 9.1 from MacBook OS 10.14.5 Welcome to Ask Sage! Thank you for your question! |

2020-09-24 16:14:39 -0500 | edited question | How do I uninstall SageMath 9.1 from MacBook OS 10.14.5 How do I uninstall SageMath 9.1 from MacBook running macOS 10.14.5 Mojave? It never installed properly and I want to get rid of it. I can do my computations on Cocalc. I do have Anaconda installed and I heard that it can interfer with the installation of SageMath. |

2020-09-24 16:10:51 -0500 | edited question | An algorithm on root systems' vectors "ValueError: too many values to unpack " While finishing a math project, I need to run the following code, and get an error message which seems related to Sage calculation capacity, could anyone help me through this? (I am quite new to Sage.) If there is no way to handle that in Sage, could anyone recommend me another software with similar language where this code could be run properly? |

2020-09-24 15:59:31 -0500 | edited question | Root systems algorithm: "TypeError: 'str' object is not callable" I am rather new to Sage and formal language. I am running the following code which works fine with a slighty simpler version
(where the variables Here is the original function that works fine: Below, I am getting the following Could anyone help me fix this? Thanks a lot! |

2020-09-24 15:28:32 -0500 | commented question | Hi Friends, How can I uninstall SageMath on MacBook? Duplicate of Ask Sage question 53579. |

2020-09-24 15:27:47 -0500 | answered a question | How do I uninstall SageMath 9.1 from MacBook OS 10.14.5 If you have Anaconda installed you could install Sage via Conda using the conda-forge channel. That way there won't be a danger of Anaconda interfering in bad ways with Sage. That might works better for you than installing Sage another way. If you installed the app and want to uninstall it, put it in the trash and empty the trash. If you installed the non-app version, put the SageMath folder in the trash and empty the trash. To get rid of the last bits of Sage, remove the That's all. |

2020-09-24 05:35:28 -0500 | commented question | Sage very slow until restarting the session If possible, say more on the calculations you were running. That might help uncover a memory leak in Sage. |

2020-09-24 04:27:34 -0500 | received badge | ● Nice Answer (source) |

2020-09-24 01:38:51 -0500 | received badge | ● Nice Answer (source) |

2020-09-23 19:45:39 -0500 | edited question | metric to christoffel symbols yielding overflow In a Sage 9.1 Jupyter notebook I tried the following SageManifolds commands The last line makes the notebook overflow... i really don't understand why. the computation, even if it is rather tedious, seems straightforward to me... Any idea? Any help would be greatly appreciated. |

2020-09-23 18:38:14 -0500 | answered a question | defining a translation surface Install Then launch Sage and follow the Start by importing flatsurf: Say we wish to define a flat surface from a two by one rectangle with opposite sides glued together. Start by constructing the rectangle with one of these commands: Observe the result: Construct a surface dictionary: Construct a translation surface: Check that we got a genus one surface: If we constructed a similarity surface by using a different side pairing for the gluings, we might get a genus zero surface. For reference here are the versions that were used in this answer: |

2020-09-23 12:23:17 -0500 | edited question | Asymptotics of Multivariate Generating Series I am new to Sage and I need to find the asymptotic form of the series coefficients of the following generating function: In other words, in the Taylor expansion of the function in terms of the variable $t$, I am interested in the asymptotic form of the coefficient of the term $t^L\ x^N\ z^B$ in the limit of large $L$, $N$, and $B$. |

2020-09-23 12:21:44 -0500 | commented question | translation surface Duplicate of Ask Sage question 53536. |

2020-09-22 11:10:30 -0500 | received badge | ● Nice Answer (source) |

2020-09-21 15:50:43 -0500 | answered a question | Sagemath 9.1 For The answers to these previous Ask Sage questions might help: |

2020-09-21 04:27:51 -0500 | commented question | Sagemath 9.1 For Also posted on sage-support: |

2020-09-21 03:56:12 -0500 | commented question | Sagemath 9.1 For What operating system? How did you install Sage? What instructions did you follow so far? |

2020-09-21 03:56:05 -0500 | commented question | Sagemath 9.1 For Welcome to Ask Sage! Thanks for your question! |

2020-09-21 03:12:45 -0500 | commented question | can't append to graphics object If possible, please provide a minimal example to reproduce the problem. |

2020-09-20 04:36:41 -0500 | received badge | ● Nice Answer (source) |

2020-09-20 04:12:31 -0500 | commented question | Get the error "NameError: name '_interact_' is not defined" when run sagenb. One way to get SageNB to build is to use In the situation where Sage is already built, - either run the configure step again with
`--enable-sagenb` and run`make` again - or, without re-running the configure, step, build SageNb with
`make sagenb`
Then run |

2020-09-20 03:35:25 -0500 | answered a question | Get the error "NameError: name '_interact_' is not defined" when run sagenb. ## Building Sage 9.1 and SageNB from sourceHere are the steps to build Sage and SageNB from source, and to launch the SageNB notebook. ## Build Sage and SageNBHere are the steps I would suggest. Note that the If you know you already have all the possible recommended
software and you want the ## LinuxConfigure Make ## macOS## Preliminary brew installationIf brew is not installed yet, install it following the instructions at Then run ## Configure ## Make ## Symbolic linkAdd a symbolic link to your Sage installation somewhere in your For example by running this from the sage root folder: of if that complains about a permission problem, which might require entering the password for your user account on the computer on which you are installing. Check that this worked by running ## Launch the SageNB notebookLaunch the Sage notebook by running this in the terminal: |

2020-09-19 12:23:55 -0500 | answered a question | Sage very slow until restarting the session Bugs in Sage and in the programs it uses may include memory leaks. - Sage tickets about memory leaks
- open Sage tickets about memory leaks
- Ask Sage questions about memory leaks
The slowdown you reported might have been caused by such a bug, known or new. Hard to say without more detail on what calculations were running. |

2020-09-19 12:21:22 -0500 | answered a question | Functions in polynomials rings One can produce strings and have the polynomial ring eat them. String formatting is easy thanks to Python. Define a polynomial ring as in the question: Define a "generator power" function as follows: Example: |

2020-09-19 11:22:37 -0500 | commented answer | Sagecells linked cells @Cyrille if you have a good answer to your own question, please post it as an answer here. It could help someone who runs into the same question in the future. |

2020-09-18 12:11:59 -0500 | commented answer | how to move from notebook() to jupyter Congratulations. Don't hesitate to accept your own answer as it can help other users who have the same question. |

2020-09-18 08:09:14 -0500 | answered a question | Sagecells linked cells ## SageCell linked cells## DocumentationThe "About" section of the SageCell website home page has these paragraphs:
with the following links: That "comprehensive description of capabilities" page has a section dedicated to your question: which says
So try using ## ExamplesMany pages online use SageCell with linked cells. PreTeXt is an authoring system allowing, in addition to (or instead of) a pdf version of documents, to produce an html version with executable code cells, using SageCell. The PreTeXt home page links to a few examples, including: which has a page about using Sage via SageCell: See in particular which conveniently has several cells. Try typing Check the source code of that page and search the word "linked" there (e.g. using cmd-F or ctrl-F). For many more example, see the PreTeXt gallery or the PreTeXt catalog. |

2020-09-18 01:44:30 -0500 | received badge | ● Good Answer (source) |

2020-09-18 01:25:49 -0500 | received badge | ● Nice Answer (source) |

2020-09-17 22:39:57 -0500 | received badge | ● Nice Answer (source) |

2020-09-17 19:08:57 -0500 | answered a question | Imaginary result for cube root of -1 The power operator has higher priority than the unary negation. So in the first case you are really doing "minus (1 to the 1/3)", and not "(minus 1) to the 1/3". For the real n-th root, use Regarding cubing the cube root: Using the numerical approximation of the cube root: So, very close to -1, with tiny imaginary part from rounding errors. |

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.