2016-05-30 14:15:59 +0200 | received badge | ● Great Answer (source) |
2016-05-30 14:15:59 +0200 | received badge | ● Nice Answer (source) |
2016-05-30 14:15:59 +0200 | received badge | ● Good Answer (source) |
2015-08-04 14:25:25 +0200 | received badge | ● Nice Answer (source) |
2010-10-16 07:08:39 +0200 | answered a question | Help! I have a problem with lists! Use the built-in Python command itertools.combinations: |
2010-10-14 23:11:24 +0200 | received badge | ● Self-Learner (source) |
2010-10-14 23:11:24 +0200 | received badge | ● Self-Learner (source) |
2010-10-14 23:11:24 +0200 | received badge | ● Self-Learner (source) |
2010-10-14 23:11:24 +0200 | received badge | ● Self-Learner (source) |
2010-10-14 23:11:23 +0200 | received badge | ● Self-Learner (source) |
2010-10-14 23:11:12 +0200 | received badge | ● Teacher (source) |
2010-10-14 23:11:11 +0200 | received badge | ● Editor (source) |
2010-10-13 20:48:12 +0200 | commented answer | What is your favorite way to debug sage code? I sometimes use the trace() function in Sage for a quick debugging job. |
2010-09-29 05:57:02 +0200 | answered a question | latex(-(x-1)/(x+1)) still broken
The relevant bug report is in this sage-support thread, which also lists the relevant bug tracking tickets. The long delay from when a bug is first reported to the time the bug is fixed depends on many factors. But the delay is often a result of finding someone willing to volunteer to fix the bug and another person to volunteer their time to review the bug fix. Fortunately, the relevant tickets (#9394 and #9834) have received positive reviews. This means that you can most likely expect the fix to be in Sage 4.6. |
2010-09-17 10:10:06 +0200 | answered a question | how to remove duplicate elements in a list Maybe this might help: |
2010-09-15 05:25:42 +0200 | answered a question | Comparing lists You can use a brute-force search by defining your own custom function. This option doesn't assume that elements in your list are unique. Your lists can contain duplicate elements if you want. Alternatively, you can use the built-in functions itertools.imap and all. The function Or, as Mitesh Patel said, you could use set. This third approach assumes that the elements in each list are unique, i.e. each list doesn't contain duplicate elements. |
2010-09-12 00:06:57 +0200 | answered a question | Development of help-files
That's a very excellent idea. Yes, work is being done to make the Sage standard documentation more helpful to both beginning and advanced users. In the case of suggestion for related commands, see for example ticket #8825. The Sage documentation is mostly written by users like you who know what sort of commands are related and which are useful for basic, intermediate and advanced usage. If you would like to contribute suggestions for related commands or suggestions to improve the documentation, we love to hear them. |
2010-09-10 23:42:22 +0200 | answered a question | Three questions about the Sage build farm
Yes, it's possible. People who report build and test results need to be reminded of this. I have added a reminder in the build/test wiki page for Sage 4.5.3.
That's a good idea. I have implemented that in my custom build script. The relevant code block is:
We, even William Stein, don't have control over the SkyNet build farm, nor do we have control over the GCC Compile Farm. Both are not owned by the Sage project. |
2010-09-09 11:42:53 +0200 | answered a question | os.path.isdir() You could try this: |
2010-08-29 01:20:23 +0200 | commented answer | It would be ok to incorporate veusz into sage? Try making Veusz a contributed spkg first for your personal use. It is conceivable that over time, a large group of Sage users find Veusz useful for their own work. Then with a little more work, it's possible to migrate Veusz to the status of an optional spkg. |
2010-08-29 01:17:07 +0200 | answered a question | Can I browse Cython Docs within the notebook()? You can find Cython under the site-packages/ directory of the version of Python that is shipped with Sage. For example: |
2010-08-29 01:04:23 +0200 | answered a question | It would be ok to incorporate veusz into sage? You have three choices in how you can include Veusz in Sage: as a standard package, as an optional spkg, or as a contributed (formerly known as experimental) spkg. A contributed spkg doesn't need to be run through the rigorous testing and quality assurance that optional and standard spkg's go through. You assume all responsibility with respect to a contributed spkg: for testing that spkg, how well it integrates with Sage, etc. The Sage project takes no active role in maintaining a contributed spkg. It is up to you to maintain it. An optional spkg needs to pass a number of hurdles before it can be accepted. But the greatest hurdles of all rest with standard spkg's. The Sage project hosts these three types of packages. |
2010-08-29 00:55:08 +0200 | commented answer | Can I browse Cython Docs within the notebook()? In your version of Sage, try to determine whether or not it is a source or binary distribution. What do you get if you do these? $ file cython-0.12.1.spkg $ du -sh cython-0.12.1.spkg In a source distribution, the size of the cython spkg should be few kilobytes. |
2010-08-29 00:41:40 +0200 | answered a question | Can I browse Cython Docs within the notebook()? In a source distribution of Sage, you also get the source of all standard packages in Sage. Standard packages reside under SAGE_ROOT/spkg/standard. You should be able to uncompress each spkg using tar and bunzip2, then hunt around an uncompressed spkg for the documentation of that upstream package. For example, here is a way to read the documentation of Cython: Once uncompressed, you could also read the source of the upstream package. |
2010-08-28 14:38:05 +0200 | answered a question | Guided work for sage development. The contributor howto is required reading for any new contributor. You should at least be familiar with that howto. |
2010-08-19 15:33:07 +0200 | answered a question | Finding the problem in a doctest timeout You could try running the doctest with the verbose option: Then look through the log file to find where the doctest timed out. |
2010-08-19 12:50:11 +0200 | answered a question | What are my best options for taking advantage of multiple cores? You could install parallel Python using your Sage installation and then use functionalities of parallel Python to run some computation that exploits a multi-core system. |
2010-08-19 12:41:26 +0200 | answered a question | What are the 10 most often used functions in Sage?
|
2010-08-19 05:09:48 +0200 | answered a question | How do I find if/where a specific algorithm has been implemented
There is no such index of algorithms implemented in Sage.
You could use the search functions search_def, search_doc, or search_src to search through the Sage source tree. When someone implements an algorithm or interfaces to an algorithm from a Sage package, the name of the algorithm should be mentioned in the docstring of the relevant module, class, method, or function. For the Berlekamp-Zassenhaus algorithm, I got this That should tell you where to start looking, specifically in the file sage/rings/polynomial/polynomial_element.pyx around line 2656. |