[sage-support] Re: OS X Clickable application

2009-03-21 Thread meitnik

Hey, I would like that script too, thanks. btw, can you have it do a
notebook too?
andrew

On Mar 21, 11:17 am, adam  wrote:
> You can use AppleScript to create a launcher for Sage:
> Here is the AppleScript code:
>
> tell application "Terminal"
>         do script "/Applications/sage/sage"
> end tell
>
> Note: It assumes that Sage is located in the Applications
> folder.
>
> If you would like I can email you my  Sage launcher for
> which I created an "Sage" icon.
>
> Adam
>
> On Mar 18, 9:43 pm, Byungchul Cha  wrote:
>
> > I remember reading something about making a clickable sage application
> > for mac os X. Can I now do such a thing with sage 3.4? If so, where I
> > can find the instruction?
>
> > Thanks.
--~--~-~--~~~---~--~~
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  wrote:
> On Sat, Mar 21, 2009 at 3:47 PM, meitnik  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-21 Thread meitnik

Sorry for my confusion and misunderstanding. Thought the whole Gui was
all in Javascript.
Thanks for explaining.
Please, is there a document that explains well how the Gui front end
works.
I really would like to try to get help and add to the gui for my
needs.
Is there an RTF version of the Ref guide for starters?
Will it be hard for any experienced Javascript/python programmer to
help me bolt on a way to point/click input?

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  wrote:
> On Sat, Mar 21, 2009 at 7:56 AM, meitnik  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 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 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  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  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 
> > 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

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 
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  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-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 
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 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  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: *? 
>
> 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

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] Disabled person using SAGE

2009-03-20 Thread meitnik

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!
However after spending several days with SAGE, I found the GUI front
end to be less then friendly for my needs. I can type but not for long
periods and my brain/fingers will screw up spelling a lot. The semi-
auto complete is ok, but not rich/smart enough for me. I loved the
point-click palettes of Mathematica but I understand thats not an
option for SAGE. sigh.

What I really need is a keyword/function/command browser thats a part
of each worksheet so I can just point and click symbols and numbers
etc. I understand the front end is mostly Javascript; so perhaps, some
kind soul would work with me to create a GUI I and other disabled
folks might  find more useful. I have not funds to pay but am good at
testing and graphics design (am slow but talented). Sometimes
Innovation can come from necessity of accessibility. ;-) Everyone
benefits! OR, If the javascript front end is fully documented
somewhere, tell where so I can try to create my own. Often, I have to
make my own lever to move a world ;-) The last option, since am on an
intel MacMini, how can I talk interactively to terminal to send SAGE
code and get back SAGE responses, so is that documented well too??
Then I can create a GuI made from anything else.

Thanks for hearing me out. Keep up the work on SAGE!
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
-~--~~~~--~~--~--~---