On Wed, May 1, 2019 at 11:47 AM David Bailey <da...@dbailey.co.uk> wrote:
.
The kernel architecture of Jupyter has many advantages, such as
allowing multiple languages.
I am curious. I have heard many different complaints about the
notebook interface, and I have some of my own. But it sounds like your
issues are different than what I usually hear.
I would suggest looking a jupyterlab, the new frontend to the
notebook. It's much cleaner and more responsive than the plain
notebook interface.
If I drag a ipynb file over the icon on the desktop jupyterlab is
started in google-chrome and the ipynb file is displayed ready to
run.
Why don’t you say it PyMath and let other thinks like scipy and numfocus also use that?
Sent from Mail for Windows 10
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/d2d2d56e-d14c-4a4e-a823-b913c025ef5e%40googlegroups.com.
Sorry, if my tone was a little rough. I just wanted to suggest.
Sent from Mail for Windows 10
From: David Bailey
Sent: 02 May 2019 19:15
To: sympy
Subject: [sympy] Re: SymPy - a suggestion
Vishesh,
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/87716e06-5483-4d30-9778-ab1ff12b4852%40googlegroups.com.
Actually I feel that sympy ‘ s algos should be available for SciPy too cause I require to solve a bunch of differential equations but I can’t use SciPy goodies in sympy. Therefore I have to think and resort to other methods. I wish both libraries could like use one another’s features and your notebook could be some kind of a string to bind them.
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/fd6dfbba-391a-4a0b-a9c4-c22dbd6c9bfb%40googlegroups.com.
Just for comparison: this is part of David's example in Cadabra:
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/0e1fbaa2-587f-4cbc-b9e0-25bb981a13d1%40googlegroups.com.
I should say at this point, that I use my own format for the workbook files - because that gives me far more freedom to add features - but if I can get a spec of Jupyter's output format
t
Cadabra's notebook interface at--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/5e39ed65-f187-4bb2-81b1-747dadc0239f%40googlegroups.com.
I think my primary reason for proposing a new frontend, is that I'd like to see SymPy algebra/calculus reach more people - people whose need for computer algebra is real, but not overwhelming, or children who are learning calculus for fun, years before it was taught in school (as I did). As a consultant, I was contacted by more than one PhD student, who was fluent in his subject, and needed computer algebra, but with only a limited grasp of computers.
I didn't come to SymPy looking for a reason to write a frontend,
I came because I was interested to discover how effective SymPy is
compared with Mathematica.
There is lots of simple but useful free software available now -
for example the post-it note program, Stickies or the clipboard
storage system, Ditto. These seem to have been built by one
person, and yet even they have a custom GUI, and often work on
more than one platform. By contrast, SymPy is obviously a massive
effort with many contributors, and yet rather than having a
dedicated GUI interface, it runs via a web browser with a CMD
program connected in some way. The would-be computer algebra
enthusiast has to find the weirdly named Jupyter program, start it
up, and then know to click Python 3, and then click 'New' in order
to get to a window into which he has to import SymPy and its
symbols before he can begin to type in algebra. When he comes to
save his work, he again has problems, because most of his computer
is inaccessible for understandable security reasons.
People who really NEED computer algebra will learn to do all
that, but I am pretty sure you will lose a lot of others on the
way. I think that is a shame, and that free algebra software
should also be easy and friendly to use.
Indeed Kasper Peeters has already decided to create some type of stand alone frontend - part of Cadabra - that I am eager to try, but it seems to have some teething troubles right now.
I'd imagine that many - maybe most potential users of SymPy would
like to simply execute algebraic commands - they don't really want
to use Python explicitly unless and until they become more serious
about using SymPy. I propose that my frontend will accept all the
input that Jupyter will accept, but it will start connected to
Python 3, with SymPy imported together with all its symbols. I
also suggest that a pre-scan can pick up a variety of elementary
(but common) faults, and give clean errors - unpaired quotes and
missing brackets would be obvious examples. By default, this scan
would also spot single character identifiers and set them up on
the fly as SymPy symbols. This would mean that all the variables
most used in algebra - single letters and Greek letters - would be
immediately usable. More advanced users who wanted to incorporate
Python code, would probably be advised to turn this feature off. I
think it would also be possible to distinguish between variable
names and function names and set them up appropriately.
I think producing quality error messages for other kinds of fault is also important. Everyone makes errors, and beginners make more than most - is they don't make sense, they soon give up.
I'd also like to apply some syntactic sugar in places. For
example, the ability to expand expressions such as f(x**2) in
powers of x is fine, but the complex notation for f`(0) and higher
derivatives, makes this very hard to use.
Also, now is the age of UTF8, and clearly the frontend should at some point provide easy access to all the symbols relevant to maths. These need to be easy to input on a normal keyboard, and Mathematica provides several ways to do this, including typing things like <esc>inf<esc> to obtain an infinity symbol. The replacement is made immediately. Something along these lines could make SymPy even more attractive.
S.Y.Lee suggests creating a formula editor. By this, I think he means an editor that could operate directly on a 2-D mathematical expression - say to change the limits on an integral. In practice with Mathematica, I found this rather fiddly, and I usually suggested converting an expression to ImputForm, changing it, and then changing the result back again.
I guess this is my provisional roadmap (it wouldn't all happen at once), depending on what everyone thinks and how Cadabra works - I don't want to re-invent the wheel.
David