[sage-support] Re: Disabled person using SAGE

2009-03-21 Thread Thierry Dumont
meitnik a écrit :
 Hi all,

 I am legally blind, legally deaf, some limited finger mobility, and
 some learning disabilities too (all from Rubella). I enjoy mathematics
 and programming but due to my limited income Mathematica is just out
 of my reach even for the Home edition. A friend told me about SAGE.
 Cool!

 Andrew

 --~--~-~--~--
Andrew (and the others),

There is a group of people in my University who would like to integrate 
in Sage the possibility to produce output in braille maths.
It seems that it would be possible to use the braille transcriptor NAT
(see: http://natbraille.free.fr or http://liris.cnrs.fr/nat) The main 
author is Bruno Mascret (he will receive this e-mail, too).
I try to translate what B. Mascret wrote to me:

This would give to braille user students at last the possibility to use 
a tool allowing them to be autonomous in their work.

If there are people interested, please contact B. Mascret 
(bmasc...@free.fr) or me.

Yours
Thierry.



--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---

begin:vcard
fn:Thierry  Dumont
n:Dumont;Thierry 
org;quoted-printable;quoted-printable:Universit=C3=A9 Lyon 1  CNRS.;Institut Camille Jordan -- Math=C3=A9matiques / Mathematics.
adr:;;43 Bd du 11 Novembre.;Villeurbanne;;69621;France
email;internet:tdum...@math.univ-lyon1.fr
title;quoted-printable:Ing=C3=A9nieur de Recherche / Research Engineer.
tel;work:04 72 44 85 23.
tel;fax:04 72 44 80 53
x-mozilla-html:FALSE
url:http://math.univ-lyon1.fr/~tdumont
version:2.1
end:vcard



[sage-support] Re: Disabled person using SAGE

2009-03-21 Thread meitnik

nope that code snippet failed to work too in a worksheet. see my
comment in above posting of mine.
I am surprised its this hard to suck out all the keywords/functions
with their docstring stuff. How was the PDF produced? Cant that code
be shared so I can hack it to get just what I need.

On Mar 21, 12:31 am, Robert Bradshaw rober...@math.washington.edu
wrote:
 On Mar 20, 2009, at 9:21 PM, Marshall Hampton wrote:



  There might be a better way of doing this, but one way to get the
  docstrings that show up with ? is:

  q = globals().keys()
  q.sort()
  docstrings = [eval(x).__doc__ for x in q]

  It really depends on what exactly you want to do though - it may be
  more helpful to use a dictionary where the keys are the keys in  
  globals
  () and the values are the docstrings.

 This would be

 sage: all_docs = [(name, f.__doc__) for name, f in globals().items()]

  On Mar 20, 8:17 pm, meitnik meit...@gmail.com wrote:
  Cool, very helpful. Thank you!
  Ok I get 1555. I can list them if you want. Whats missing then??

 --
 | Sage Version 3.4, Release Date: 2009-03-11                         |
 | Type notebook() for the GUI, and license() for information.        |
 --
 sage: len(globals().keys())
 1611

 I guess I had been using that session for a while.

  Next, how do I get the '?' info for each function in a loop in a
  worksheet?
  I guess I need a py script to scrap out the docstrings from each
  modules (so I can sort/arrange the functions correctly)?

 This really is just the tip of the iceberg in terms of what is  
 available--most functionality is methods on objects (otherwise the  
 namespace would be cluttered with tens of thousands of functions.

 - Robert
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Disabled person using SAGE

2009-03-21 Thread meitnik

Nope, worksheet barfed trying this. I suspect the huge text info was
just too much. Cant this be rerouted to a text file while its loops
through. If so, how?

On Mar 21, 12:21 am, Marshall Hampton hampto...@gmail.com wrote:
 There might be a better way of doing this, but one way to get the
 docstrings that show up with ? is:

 q = globals().keys()
 q.sort()
 docstrings = [eval(x).__doc__ for x in q]

 It really depends on what exactly you want to do though - it may be
 more helpful to use a dictionary where the keys are the keys in globals
 () and the values are the docstrings.

 Hope that helps,
 M. Hampton

 On Mar 20, 8:17 pm, meitnik meit...@gmail.com wrote:

  Cool, very helpful. Thank you!
  Ok I get 1555. I can list them if you want. Whats missing then??
  Next, how do I get the '?' info for each function in a loop in a
  worksheet?
  I guess I need a py script to scrap out the docstrings from each
  modules (so I can sort/arrange the functions correctly)?
  Again, thank you.

  On Mar 20, 8:18 pm, Robert Bradshaw rober...@math.washington.edu
  wrote:

   On Mar 20, 2009, at 1:43 PM, meitnik wrote:

Another quick option: is there a way to get a listing of all the
commands/functions/keywords used in SAGE (the top level not at the
source code level)? Can that listing be done within context of topical
arrangement?? Inside SAGE in a cell or exported as a text file?
Thanks.

   Try

   sage: globals().keys()

   This will give a long list of everything defined at the top level.

   sage: [name for name, func in globals().items() if callable(func)]

   Will give all the functions. Note

   sage: len(globals().keys()) # 3.4
   1712

   - Robert
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Disabled person using SAGE

2009-03-21 Thread meitnik

I  hate to ask the obvious. Why was the gui front end not created in
Python in the first place or replaced by a Py make over?? Surely,
Someone with advanced Javascript skills can come up with something
better? I dont mean to step on toes but Gui is often everything to me
to use software well.


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Disabled person using SAGE

2009-03-21 Thread William Stein

On Sat, Mar 21, 2009 at 7:56 AM, meitnik meit...@gmail.com wrote:

 I  hate to ask the obvious. Why was the gui front end not created in
 Python in the first place or replaced by a Py make over??

Despite being obvious, I don't understand the question.  The GUI front
end is written in Python and Javascript, which is the canonical choice
for writing an AJAX interface to a Python program.

 Surely,
 Someone with advanced Javascript skills can come up with something
 better?
 I dont mean to step on toes but Gui is often everything to me
 to use software well.

I'm sorry that you find the Sage GUI to not be optimal.  Many thanks
for your feedback.

 -- William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Disabled person using SAGE

2009-03-21 Thread William Stein

On Sat, Mar 21, 2009 at 3:47 PM, meitnik meit...@gmail.com wrote:

 Sorry for my confusion and misunderstanding. Thought the whole Gui was
 all in Javascript.

The client part, which runs in the web browser, is written in
javascript.  The server part is a Python program (a web server).

 Thanks for explaining.
 Please, is there a document that explains well how the Gui front end
 works.

No.

 I really would like to try to get help and add to the gui for my
 needs.

Cool.

 Is there an RTF version of the Ref guide for starters?

I don't think so.  Mike is there a way to generate rtf from ReST/Sphinx?

 Will it be hard for any experienced Javascript/python programmer to
 help me bolt on a way to point/click input?

What precisely do you mean by that?  Are you not able to use a
keyboard at all or?

What do you want to compute?

 Sometimes we disabled folk need to point out the missing curb cuts.

 And thanks for hearing me out and putting up with a determined guy.




 On Mar 21, 1:18 pm, William Stein wst...@gmail.com wrote:
 On Sat, Mar 21, 2009 at 7:56 AM, meitnik meit...@gmail.com wrote:

  I  hate to ask the obvious. Why was the gui front end not created in
  Python in the first place or replaced by a Py make over??

 Despite being obvious, I don't understand the question.  The GUI front
 end is written in Python and Javascript, which is the canonical choice
 for writing an AJAX interface to a Python program.

  Surely,
  Someone with advanced Javascript skills can come up with something
  better?
  I dont mean to step on toes but Gui is often everything to me
  to use software well.

 I'm sorry that you find the Sage GUI to not be optimal.  Many thanks
 for your feedback.

  -- William
 




-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Disabled person using SAGE

2009-03-21 Thread meitnik

On Mar 21, 7:54 pm, William Stein wst...@gmail.com wrote:
 On Sat, Mar 21, 2009 at 3:47 PM, meitnik meit...@gmail.com wrote:

  Sorry for my confusion and misunderstanding. Thought the whole Gui was
  all in Javascript.

 The client part, which runs in the web browser, is written in
 javascript.  The server part is a Python program (a web server).
-- from some of the docs I have skimed over, there is info on the web
server but cant find much on the client.
My previous question was if had Javascript dev friend look at your
code will he make sense of it enough to help me.


  Is there an RTF version of the Ref guide for starters?
 I don't think so.  Mike is there a way to generate rtf from ReST/Sphinx?
-- thank you. I have been trying to convert via TextEdit the PDF but
its not going well. I hate to have to OCR some 4k pages.


 What precisely do you mean by that?  Are you not able to use a
 keyboard at all or?
-- I can type well for short bursts but not for long periods and not
repeating over and over the same thing; my brain/fingers have great
problems with spelling speicalized vocabulary like math.
I rather focus on the concepts than fighting with my body just
inputing code/math symbols etc.

Let give a bit more about my background.
Since boyhood, I have always noticed and valued visual patterns and
grasped and delighted in abstract relationships well but not expressed
well via writing or manually due to my disabilities. But orally I can
well at a slow pace. The very sentences I write now took about 30
years of hard work and determination to achieve. However doing written
math was often not easy due to rubella. I understood math but did
poorly on timed limited exams.
During high school, my mathematics teacher worked with great
imagination and respect to help me really enjoy math to the point he
noticed I used math more as a conceptual tool in my creative life,
rather than just making it through the next exam. Eventually, he felt
I would make a good math teacher doing some research on the side. But
what I didn't know was most of the college profs where unwilling to
work my disabilities even though often I tutored my fellow math majors
towards better grades. Eventually I dropped the math major. But
promised myself someday I would return to math. I heard about personal
computers coming on for doing mathematics. Perhaps someone would
figure out how to do symbolic math on a PC.
During the early 90s I was introduced to Mathematica at work (I was a
lead software tester/gui designer) and at last I could enjoy math
again due to its gui. But due to personal cost and office politics I
was not to have access to Mathematica. One day I will.
But the price of Mathematica just became higher and higher well beyond
my reach. Focused instead on my graphics design as best I could. But
never made enough to buy Mathematica. I gave up.
Will I create a new proof or solve a long standing problem? Perhaps
not, but I do enjoy the beauty of math and exploring equations.
Then 6 days ago a friend told me about SAGE. Hope.
Enough of me, You have a great back end of a large collection -- and
growing -- of math tools/libraries etc. Perhaps taking some time to
make inputting math functions/keyword/symbols into a cell might be a
win-win for all. I always believed a computer should do the heavy work
and allow me to work smart than hard. If you want I can prototype a
new gui that would help me and email it to you. Again, thanks for
hearing me out.
Andrew
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread meitnik

Another quick option: is there a way to get a listing of all the
commands/functions/keywords used in SAGE (the top level not at the
source code level)? Can that listing be done within context of topical
arrangement?? Inside SAGE in a cell or exported as a text file?
Thanks.

Andrew
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread meitnik

nope: No object '' currently defined.
Or does this need to be done only via terminal not in a cell?

On Mar 20, 4:51 pm, Paul Zimmermann paul.zimmerm...@loria.fr wrote:
    Another quick option: is there a way to get a listing of all the
    commands/functions/keywords used in SAGE (the top level not at the
    source code level)?

 try:

 sage: *? enter

 Hope this helps,

 Paul Zimmermann
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread meitnik

Cool, very helpful. Thank you!
Ok I get 1555. I can list them if you want. Whats missing then??
Next, how do I get the '?' info for each function in a loop in a
worksheet?
I guess I need a py script to scrap out the docstrings from each
modules (so I can sort/arrange the functions correctly)?
Again, thank you.

On Mar 20, 8:18 pm, Robert Bradshaw rober...@math.washington.edu
wrote:
 On Mar 20, 2009, at 1:43 PM, meitnik wrote:

  Another quick option: is there a way to get a listing of all the
  commands/functions/keywords used in SAGE (the top level not at the
  source code level)? Can that listing be done within context of topical
  arrangement?? Inside SAGE in a cell or exported as a text file?
  Thanks.

 Try

 sage: globals().keys()

 This will give a long list of everything defined at the top level.

 sage: [name for name, func in globals().items() if callable(func)]

 Will give all the functions. Note

 sage: len(globals().keys()) # 3.4
 1712

 - Robert
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread Marshall Hampton

There might be a better way of doing this, but one way to get the
docstrings that show up with ? is:

q = globals().keys()
q.sort()
docstrings = [eval(x).__doc__ for x in q]

It really depends on what exactly you want to do though - it may be
more helpful to use a dictionary where the keys are the keys in globals
() and the values are the docstrings.

Hope that helps,
M. Hampton

On Mar 20, 8:17 pm, meitnik meit...@gmail.com wrote:
 Cool, very helpful. Thank you!
 Ok I get 1555. I can list them if you want. Whats missing then??
 Next, how do I get the '?' info for each function in a loop in a
 worksheet?
 I guess I need a py script to scrap out the docstrings from each
 modules (so I can sort/arrange the functions correctly)?
 Again, thank you.

 On Mar 20, 8:18 pm, Robert Bradshaw rober...@math.washington.edu
 wrote:

  On Mar 20, 2009, at 1:43 PM, meitnik wrote:

   Another quick option: is there a way to get a listing of all the
   commands/functions/keywords used in SAGE (the top level not at the
   source code level)? Can that listing be done within context of topical
   arrangement?? Inside SAGE in a cell or exported as a text file?
   Thanks.

  Try

  sage: globals().keys()

  This will give a long list of everything defined at the top level.

  sage: [name for name, func in globals().items() if callable(func)]

  Will give all the functions. Note

  sage: len(globals().keys()) # 3.4
  1712

  - Robert
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread Robert Bradshaw

On Mar 20, 2009, at 9:21 PM, Marshall Hampton wrote:


 There might be a better way of doing this, but one way to get the
 docstrings that show up with ? is:

 q = globals().keys()
 q.sort()
 docstrings = [eval(x).__doc__ for x in q]

 It really depends on what exactly you want to do though - it may be
 more helpful to use a dictionary where the keys are the keys in  
 globals
 () and the values are the docstrings.

This would be

sage: all_docs = [(name, f.__doc__) for name, f in globals().items()]

 On Mar 20, 8:17 pm, meitnik meit...@gmail.com wrote:
 Cool, very helpful. Thank you!
 Ok I get 1555. I can list them if you want. Whats missing then??

--
| Sage Version 3.4, Release Date: 2009-03-11 |
| Type notebook() for the GUI, and license() for information.|
--
sage: len(globals().keys())
1611

I guess I had been using that session for a while.


 Next, how do I get the '?' info for each function in a loop in a
 worksheet?
 I guess I need a py script to scrap out the docstrings from each
 modules (so I can sort/arrange the functions correctly)?

This really is just the tip of the iceberg in terms of what is  
available--most functionality is methods on objects (otherwise the  
namespace would be cluttered with tens of thousands of functions.

- Robert



--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---