Differences between revisions 15 and 68 (spanning 53 versions)
Revision 15 as of 2011-06-12 20:50:19
Size: 3898
Editor: rbeezer
Comment:
Revision 68 as of 2011-08-03 21:37:37
Size: 10610
Editor: slabbe
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Sage Days 31 Project Ideas = = Sage Days 31 Projects =
Line 5: Line 5:
== LDAP-based authentication for Sage NB users ==
 * Create an LDAPUserManager for the new flask-based Sage Notebook
 * See [[Notebook LDAP]] for more detailed notes
 * See this [[http://productblog.37signals.com/products/2011/01/well-be-retiring-our-support-of-openid-on-may-1.html|warning about the problems with OpenID]]

== Integrating a coding view to replace the current textfield and tiny MCE views ==

 * This was a student project in Math 480 last quarter.
 * The project here is to try it out, and see if it is a good idea or if something based on it should be included in Sage. Not clear, due to the "weight" of codemirror.
 * Here it is: http://wstein.org/edu/2011/480a/projects/juarez-sean_johnson-priya_chagaleti.zip
 * In case you're curious: [[http://wstein.org/edu/2011/480a/projects/|the other projects]]


== Fix little issues with notebook so it works well standalone ==

 * [[http://groups.google.com/group/sage-notebook/browse_thread/thread/163e2474db99d383|see this thread for ideas]]
Line 6: Line 23:
 * People:
Line 10: Line 28:
 * People: Davide Cervone, Jason Grout
Line 15: Line 34:
 * People:
Line 19: Line 39:

 * People:
Line 27: Line 49:
 * People:
Line 34: Line 57:
 * People: Mike, Burcin
Line 37: Line 61:
 * People: Jonathan Gutow
 * See [[http://code.google.com/p/sagenb/issues/detail?id=1|how to put in flask notebook]] for setup instructions.
Related tickets:
 * [[http://trac.sagemath.org/sage_trac/ticket/11080|#11080]]
Line 39: Line 67:
One place to try:
 * This can be tested on IanSR's LDAP-based Sage Notebook which is available [[http://sage.nebiogrid.org/|here]], but to use this you need to create an account on our system [[https://portal.nebiogrid.org/d/account/register|here]]. This is a single form, with email confirmation. You should use institutional email addresses, not gmail, hotmail, etc. as those accounts will be purged from time to time.

== Quantumino Puzzle Solver ==

Solve the the puzzle with Sage so that less people lose time to solve it by hand and make them work on the Notebook.

 * People: Sébastien Labbé
 * The problem : [[http://familygamesamerica.com/mainsite/consumers/productview.php?pro_id=274&search=quantumino|Quantumino Puzzle]]
 * The solution : [[http://trac.sagemath.org/sage_trac/ticket/11379|#11379]]
Line 41: Line 79:
 * sws2tex - see [[https://bitbucket.org/whuss/sws2tex/|its bitbucket site]]
 * sws2rst - see [[http://trac.sagemath.org/sage_trac/ticket/10637|#10637]]
 * rst to notebook - see [[http://trac.sagemath.org/sage_trac/ticket/11459|#11459]]
 * People: Rob Beezer, Bruce Cohen, Sébastien Labbé
Line 45: Line 81:
    * Note from Sébastien Labbé: I would like to polish up and merge into Sage a script I wrote this winter to translate .rst files into notebook (txt) files. It is based on the file docHTMLProcessor.py which is part of the sage notebook. Although, since there are always rumors that the Sage Notebook is changing, I did not push it any further and was waiting for the new version of the Notebook before. The script (rst2notebook) is available in the misc directory of the [[http://combinat.sagemath.org/hgwebdir.cgi/misc/file/ef17ccb37589/notebook2rst/|sage-combinat hg server]]. === sws2tex ===
 * see [[https://bitbucket.org/whuss/sws2tex/|its bitbucket site]]

=== sws2rst ===
 * see [[http://trac.sagemath.org/sage_trac/ticket/10637|#10637]]

=== rst2txt and rst2sws ===

 * People: Sébastien Labbé
 * see [[http://trac.sagemath.org/sage_trac/ticket/11459|#11459]]

You can now upload a ReST file in the Sage Notebook to get a worksheet.

Also, from the same ReST file, you can create an HTML file by using the docutils command {{{rst2html}}}. During the week, I was able to make MathJax work on this HTML output.

 * See [[http://www.thales.math.uqam.ca/~labbes/Sage/rst2sws/|this page]] on my website for more info and test this on the file calculus.rst available.

By the way, if you are using vim like me, you might be interested by this trick thanks to Franco Saliola:

 * [[http://www.thales.math.uqam.ca/~labbes/Sage/vim/sage_docstring_highlighting.html|ReST syntax highlighting for Sage docstrings in VIM]]

== Notebook Administration Issues ==
 * People: William Stein
 * Write an improved script for monitoring the health of a notebook server.
 * Move all the notebook servers to one single account on one computer. In particular, the sagenb0 virtual machine on boxen crashes completely every few days, which is a major pain in my (=William's) arse. Also, all servers should be running sage-4.7 and a flask-based server.
 * Experiment with having a virtual machine just for running user code (and nothing else).
Line 48: Line 110:
 * Find a reproducible one
 * Fix it
 * People: Ryan Grout, Jason Grout, John Travis
 * Find a reproducible one (Found)
   * See [[http://code.google.com/p/sagenb/issues/detail?id=23|Google code]] for the bug report.
 * Fix it (Possibly?)
   (The issue we found was with the TinyMCE autosave plugin. We fixed it by just preventing the plugin from loading)
Line 52: Line 117:
 * People: Bruce Cohen, Rob Beezer, Rado, Mike Gage, Keshav Kini
Line 53: Line 119:
 * Make some progress figuring out how to actually get it into Sage in new notebook  * Bruce: We looked at #7489, but I was not satisfied with the output. Rado showed me how he used <iframe> for graph_editor.
 * The webwork people (Mike and Jason) have taken the iframe() function and will use it in their work. I should open a new ticket to put iframe() into Sage. It is more general than #7489.
 * Opened [[http://trac.sagemath.org/sage_trac/ticket/11489|#11489]] to include method html.iframe(). My thanks to Rob and Keshav for helping this newbie with the process. Take a look at [[http://flask.sagenb.org/home/pub/87|html.iframe()]] for my current work.
Line 56: Line 125:
  * Provide organization to list of worksheets
  * Give worksheets identifiers that allow cross-worksheet links
  * [[http://groups.google.com/group/sage-notebook/browse_thread/thread/a973097dae8a8055|#7665]]
  * [[http://trac.sagemath.org/sage_trac/ticket/1496|#1496]]
  * R Beezer: I think there is at least one mre ticket out there, using a Javascript tree library to do this, but I cannot find it.
 * People: Rob Beezer
 * P
rovide organization to list of worksheets
 * Give worksheets identifiers that allow cross-worksheet links
 * [[http://groups.google.com/group/sage-notebook/browse_thread/thread/a973097dae8a8055|#7665]]
 * [[http://trac.sagemath.org/sage_trac/ticket/1496|#1496]]
 * R Beezer: I think there is at least one more ticket out there, using a Javascript tree library to do this, but I cannot find it.
Line 63: Line 133:
  * Sort lists of worksheets based on creation time, modified time, tag, alphabetical  * People: Rob Beezer
* Sort lists of worksheets based on creation time, modified time, tag, alphabetical
Line 65: Line 136:
== Various proposals for enhancements ==
  * [[http://groups.google.com/group/sage-notebook/browse_thread/thread/a973097dae8a8055|sage-notebook Post]]
== Various proposals for notebook enhancements ==
 * People:
* [[http://groups.google.com/group/sage-notebook/browse_thread/thread/a973097dae8a8055|sage-notebook Post]]
Line 69: Line 141:
  * [[http://groups.google.com/group/sage-notebook/browse_thread/thread/3caa14df476d5a0e|sage-notebook Post]]  * People: Rob Beezer
* [[http://groups.google.com/group/sage-notebook/browse_thread/thread/3caa14df476d5a0e|sage-notebook Post]]
Line 72: Line 145:
  * Create a general way to easily incorporate (Javascript) widgets, such as existing Tiny MCE editor and graph editor or rumored matrix editor, equation editor, function palette, etc
  * [[http://trac.sagemath.org/sage_trac/ticket/9585|#9585]] (Davide Cervone)
 * People:
 * Create a general way to easily incorporate (Javascript) widgets, such as existing Tiny MCE editor and graph editor or rumored matrix editor, equation editor, function palette, etc
 * [[http://trac.sagemath.org/sage_trac/ticket/9585|#9585]] (Davide Cervone)

== Notebook Code Site Issues ==
 * People: William Stein (maintainer/owner)
 * [[http://code.google.com/p/sagenb/issues/list]]

== Create better documentation for files of notebook ==
 * Create wiki page for draft of where to find templates, cell commands, login protocols, etc.
   * Idea is to have a one-stop shop telling to find any given thing in notebook
 * Move to developer guide in basic ReST style


== Comparison of number field elements ==
 * People: Robert Bradshaw, Mike Hanson, Burcin Erocal
 * Fix issues related to the (broken) ordering of number field elements: [[http://trac.sagemath.org/sage_trac/ticket/6132|#6132]], [[http://trac.sagemath.org/sage_trac/ticket/7160|#7160]], #10062, [[http://trac.sagemath.org/sage_trac/ticket/10064|#10064]], [[http://trac.sagemath.org/sage_trac/ticket/10849|#10849]],

== Symbolics ==
 A bunch of issues related to symbolics, mostly based on user requests.

=== Documentation ===
 * People:
 Document the relation between pynac <-> Sage and how symbolic functions work. Can be divided into 3 parts:
 * Generic design explanation in `sage.symbolic`
 * pynac and using Python objects in `numeric` objects
 * Symbolic functions

=== add more symbolic functions ===
 * People:
 Use the symbolics framework to implement special functions. This involves writing methods for symbolic evaluation (for example `sin(pi) -> 0`, differentiation, wrapper for numeric evaluation, etc.). See [[http://trac.sagemath.org/sage_trac/wiki/symbolics/functions|the trac wiki page]].
 See [[http://trac.sagemath.org/sage_trac/ticket/11143|#11143]].

=== Long standing symbolics issues ===
 * People: Burcin
 * segfaults caused by ordering issues in pynac [[http://trac.sagemath.org/sage_trac/ticket/9880|#9880]]
 * Dynamic attributes for symbolic functions [[http://trac.sagemath.org/sage_trac/ticket/9556|#9556]]


= Sage Days 31 Tickets Needing Review =
 * Temporarily disable '@' symbol in username because it breaks TinyMCE [[http://trac.sagemath.org/sage_trac/ticket/11343|#11343]]
 * Merges in Flask - Use SAGE_TEMPLATE_PATH for custom templates [[http://trac.sagemath.org/sage_trac/ticket/11106|#11106]]
 * Upgrade Mercurial: [[http://trac.sagemath.org/sage_trac/ticket/10594|#10594]]; the new spkg file comes with fixes for [[http://trac.sagemath.org/sage_trac/ticket/11121|#11121]] and [[http://trac.sagemath.org/sage_trac/ticket/11120|#11120]] which also need review.
 * Easy documentation fix for top-level solve: [[http://trac.sagemath.org/sage_trac/ticket/10444|#10444]]
 * Improve !LaTeXing: [[http://trac.sagemath.org/sage_trac/ticket/11498|#11498]] [[http://trac.sagemath.org/sage_trac/ticket/9478|#9478]]
 * Prohibit conversion of 2x3 matrices to 3x2 etc., which is very dangerous due to right-action-convention: [[http://trac.sagemath.org/sage_trac/ticket/10793|#10793]]

Sage Days 31 Projects

LDAP-based authentication for Sage NB users

Integrating a coding view to replace the current textfield and tiny MCE views

Fix little issues with notebook so it works well standalone

HTML 5 backend

MathJax

  • People: Davide Cervone, Jason Grout
  • #9774

  • From Nicolas Thiery: would Mathjax be able to support pgf/tikz pictures?

Notebook Logging

  • People:
  • Make it so the log files get rotated and compressed. Support or use some standard tool.
  • Make it so log files contain something useful, and are configurable.

Database: SQLite

  • People:

The following should *at a minimum* work with SQLite, since that is included with Sage and whatever we do needs to at least work standard with Sage with "zero configuration".

  • Store all worksheets in a database
  • Store user configuration data in a table
  • Etc.

Create a Robust Notebook "System"

  • People:
  • A script that starts a separate notebook process
  • It then starts monitoring the notebook to make sure it keeps running, and does a standard test (e.g., view published worksheet listing, login, create a worksheet, compute 2+2, delete worksheet, log out).
  • If it doesn't respond after a preset amount of time with any test, does a configurable action, e.g.,:
    • kills and restarts the server
    • sends emails to the admins

i18n

  • People: Mike, Burcin
  • port the internationalization patches (#9428) to the new notebook

Jmol Update

Related tickets:

One place to try:

  • This can be tested on IanSR's LDAP-based Sage Notebook which is available here, but to use this you need to create an account on our system here. This is a single form, with email confirmation. You should use institutional email addresses, not gmail, hotmail, etc. as those accounts will be purged from time to time.

Quantumino Puzzle Solver

Solve the the puzzle with Sage so that less people lose time to solve it by hand and make them work on the Notebook.

notebook to and from other formats

  • People: Rob Beezer, Bruce Cohen, Sébastien Labbé

sws2tex

sws2rst

rst2txt and rst2sws

  • People: Sébastien Labbé
  • see #11459

You can now upload a ReST file in the Sage Notebook to get a worksheet.

Also, from the same ReST file, you can create an HTML file by using the docutils command rst2html. During the week, I was able to make MathJax work on this HTML output.

  • See this page on my website for more info and test this on the file calculus.rst available.

By the way, if you are using vim like me, you might be interested by this trick thanks to Franco Saliola:

Notebook Administration Issues

  • People: William Stein
  • Write an improved script for monitoring the health of a notebook server.
  • Move all the notebook servers to one single account on one computer. In particular, the sagenb0 virtual machine on boxen crashes completely every few days, which is a major pain in my (=William's) arse. Also, all servers should be running sage-4.7 and a flask-based server.
  • Experiment with having a virtual machine just for running user code (and nothing else).

The mysterious moving/disappearing text bug

  • People: Ryan Grout, Jason Grout, John Travis
  • Find a reproducible one (Found)
  • Fix it (Possibly?)
    • (The issue we found was with the TinyMCE autosave plugin. We fixed it by just preventing the plugin from loading)

Geogebra integration

  • People: Bruce Cohen, Rob Beezer, Rado, Mike Gage, Keshav Kini
  • Confirm proof of concept at #7489

  • Bruce: We looked at #7489, but I was not satisfied with the output. Rado showed me how he used <iframe> for graph_editor.

  • The webwork people (Mike and Jason) have taken the iframe() function and will use it in their work. I should open a new ticket to put iframe() into Sage. It is more general than #7489.
  • Opened #11489 to include method html.iframe(). My thanks to Rob and Keshav for helping this newbie with the process. Take a look at html.iframe() for my current work.

Folders, Tags, Hierarchies

  • People: Rob Beezer
  • Provide organization to list of worksheets
  • Give worksheets identifiers that allow cross-worksheet links
  • #7665

  • #1496

  • R Beezer: I think there is at least one more ticket out there, using a Javascript tree library to do this, but I cannot find it.

Sorting lists of worksheets

  • People: Rob Beezer
  • Sort lists of worksheets based on creation time, modified time, tag, alphabetical

Various proposals for notebook enhancements

Configure cell "skip-ahead" behavior

Widget Infrastructure

  • People:
  • Create a general way to easily incorporate (Javascript) widgets, such as existing Tiny MCE editor and graph editor or rumored matrix editor, equation editor, function palette, etc
  • #9585 (Davide Cervone)

Notebook Code Site Issues

Create better documentation for files of notebook

  • Create wiki page for draft of where to find templates, cell commands, login protocols, etc.
    • Idea is to have a one-stop shop telling to find any given thing in notebook
  • Move to developer guide in basic ReST style

Comparison of number field elements

  • People: Robert Bradshaw, Mike Hanson, Burcin Erocal
  • Fix issues related to the (broken) ordering of number field elements: #6132, #7160, #10062, #10064, #10849,

Symbolics

  • A bunch of issues related to symbolics, mostly based on user requests.

Documentation

  • People:

    Document the relation between pynac <-> Sage and how symbolic functions work. Can be divided into 3 parts:

  • Generic design explanation in sage.symbolic

  • pynac and using Python objects in numeric objects

  • Symbolic functions

add more symbolic functions

  • People:

    Use the symbolics framework to implement special functions. This involves writing methods for symbolic evaluation (for example sin(pi) -> 0, differentiation, wrapper for numeric evaluation, etc.). See the trac wiki page. See #11143.

Long standing symbolics issues

  • People: Burcin
  • segfaults caused by ordering issues in pynac #9880

  • Dynamic attributes for symbolic functions #9556

Sage Days 31 Tickets Needing Review

  • Temporarily disable '@' symbol in username because it breaks TinyMCE #11343

  • Merges in Flask - Use SAGE_TEMPLATE_PATH for custom templates #11106

  • Upgrade Mercurial: #10594; the new spkg file comes with fixes for #11121 and #11120 which also need review.

  • Easy documentation fix for top-level solve: #10444

  • Improve LaTeXing: #11498 #9478

  • Prohibit conversion of 2x3 matrices to 3x2 etc., which is very dangerous due to right-action-convention: #10793

days31/projects (last edited 2011-08-03 21:37:37 by slabbe)