Differences between revisions 35 and 58 (spanning 23 versions)
Revision 35 as of 2011-06-15 17:10:57
Size: 8552
Editor: BruceCohen
Comment:
Revision 58 as of 2011-06-16 20:04:49
Size: 10752
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 4: Line 4:

== 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]]
Line 57: Line 62:
 * [[http://trac.sagemath.org/sage_trac/ticket/11080|#11080]]
Line 58: Line 64:
    patches that work a bit better in flask can be pulled from [[https://gutow-flask.googlecode.com/hg/]]
Line 60: Line 65:
 * 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.
 * Instructions for getting flask with all updates running.
   1. More painful option: try following things from ticket #11080 (link above).
   2. Should be easier, but won't give all the latest from flask updates.
      a. Pull the flask notebook from
{{{https://gutow-flask.googlecode.com/hg/}}}
      
          b. SPKG that moves Jmol out of the notebook
{{{./sage -f "http://www.uwosh.edu/faculty_staff/gutow/Jmol_for_SageNoteBook-1.1.7.spkg"}}}

          c. Apply patches that affect Sage (but not the notebook). See [[http://trac.sagemath.org/sage_trac/ticket/11496|#11496]] and [[http://trac.sagemath.org/sage_trac/ticket/11503|#11503]].

== 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 62: Line 86:
 * People: Rob Beezer, Bruce Cohen
 * 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 67: Line 88:
    * 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 ===
 * 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.

 * You may test it on this file: [[http://www.thales.math.uqam.ca/~labbes/Sage/rst2sws/calculus.rst|ReST file]]

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.

By the way, if you are using vim, you might be interested by this trick made by Franco Saliola:

 * [[http://www.thales.math.uqam.ca/~labbes/Sage/vim/sage_docstring_highlighting.html|ReST syntax highlighting for Sage docstrings in VIM]]
Line 77: Line 115:
 * People:
 * Find a reproducible one
 * Fix it
 * 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)
Line 84: Line 123:
 * Bruce: We looked at #7489, but I was not satisfied with the output. Rado showed me how he used <iframe> for graph_editor. Take a look at [[http://flask.sagenb.org/home/pub/86|iframe function]] for my current work.  * Bruce: We looked at #7489, but I was not satisfied with the output. Rado showed me how he used <iframe> for graph_editor.
Line 86: Line 125:
 * 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.  * 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 153: Line 192:
 * Easy documentation fix for top-level solve: [[http://trac.sagemath.org/sage_trac/ticket/10444|#10444]]

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

  • People: Jonathan Gutow
  • #11080

  • #9238-new Jmol.spkg 6-14-11

  • #11078

  • 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.

  • Instructions for getting flask with all updates running.
    1. More painful option: try following things from ticket #11080 (link above).
    2. Should be easier, but won't give all the latest from flask updates.
      1. Pull the flask notebook from

https://gutow-flask.googlecode.com/hg/

  • b. SPKG that moves Jmol out of the notebook

./sage -f "http://www.uwosh.edu/faculty_staff/gutow/Jmol_for_SageNoteBook-1.1.7.spkg"

  • c. Apply patches that affect Sage (but not the notebook). See #11496 and #11503.

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

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.

By the way, if you are using vim, you might be interested by this trick made by 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

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