SymPy Live and SymPy Gamma | GSoC'16

195 views
Skip to first unread message

Ashutosh Saboo

unread,
Mar 10, 2016, 10:16:24 AM3/10/16
to sympy
Hello everyone. 

I am Ashutosh Saboo, a undergrad student from BITS Pilani, Goa Campus, currently pursuing M.Sc(Hons.) Maths + B.Tech Computer Science. 

I have been contributing to SymPy since some time now, and several of my PR's have also got merged, and some of them are also under review now. My GitHub profile can be viewed at this link - GitHub . 

I have completed several Web Development projects, and I have also used different web frameworks like, Django, Flask and others as well in my projects. I also generally prefer coding in python, but I am absolutely open to learning anything new, that helps me work on any project. So, I find this as a very challenging and interesting topic, for some reasons-:

SymPy is getting developed at a very good rate, and many open source contributors contribute to the code base of SymPy to make it better every day. Other CAS engines like Wolfram Alpha are not Open Source and also, with the constant development of SymPy as a full fledged CAS, We must also make sure, that the normal people can use it, in an easy-to-use web interface, like that of Wolfram Alpha. That will give an immense popularity and also increase in number of users that use SymPy. 

Since, I have contributed to SymPy and solved some of it's bugs, hence I thought of this as an interesting and challenging topic to improve SymPy. I would like to work towards this with full force. 

I wish to improve SymPy Gamma a lot, as it seems to be of great potential. I have researched a lot on this project and would like to discuss with the mentors associated with this project. So, who are the mentors for this project?

Also, I had a look at these links as well - https://github.com/sympy/sympy_gamma , https://github.com/sympy/sympy-web-static , https://github.com/sympy/sympy-live .

A doubt I had - Is this project associated primarily with the improvements in both SymPy Live and SymPy Gamma , or only one of them?

I want to eagerly work towards this project. If anyone could guide me forward, with this, then it would be great? Also, I have already solved some bugs for SymPy, do I need to solve any bugs for SymPy Live and SymPy Gamma as well, or do I get kick-started with my project proposal?

It would be great, if someone could advice their opinions to my above queries. Eagerly waiting to discuss the ideas, that I have researched about.

Expecting a response,

Thanks a lot. Cheers! :)

-Ashutosh Saboo



Ashutosh Saboo

unread,
Mar 10, 2016, 2:22:56 PM3/10/16
to sympy
It would be great if someone could clear me on my queries. Maybe, Mr. Meurer, Mr. Moore could you help me out on this?

Sudhanshu Mishra

unread,
Mar 10, 2016, 2:52:31 PM3/10/16
to sy...@googlegroups.com
Hi,

I would suggest you to spend some time with both applications and figure out what's wrong with them and how they can be improved apart from the things mentioned on the ideas page.

Regarding which application to choose, if at all, depends on how much you want to work on a particular app. It's always a good idea to have a validated timeline in the proposal which is achievable. If you feel that both of the apps can be improved then we should go for it, right?



Sudhanshu Mishra

--
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/1ca84250-f083-4220-a5b4-53ac86900837%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jason Moore

unread,
Mar 10, 2016, 4:37:48 PM3/10/16
to sy...@googlegroups.com
See below.
On Thu, Mar 10, 2016 at 7:16 AM, Ashutosh Saboo <ashutosh...@gmail.com> wrote:
Hello everyone. 

I am Ashutosh Saboo, a undergrad student from BITS Pilani, Goa Campus, currently pursuing M.Sc(Hons.) Maths + B.Tech Computer Science. 

I have been contributing to SymPy since some time now, and several of my PR's have also got merged, and some of them are also under review now. My GitHub profile can be viewed at this link - GitHub . 

I have completed several Web Development projects, and I have also used different web frameworks like, Django, Flask and others as well in my projects. I also generally prefer coding in python, but I am absolutely open to learning anything new, that helps me work on any project. So, I find this as a very challenging and interesting topic, for some reasons-:

SymPy is getting developed at a very good rate, and many open source contributors contribute to the code base of SymPy to make it better every day. Other CAS engines like Wolfram Alpha are not Open Source and also, with the constant development of SymPy as a full fledged CAS, We must also make sure, that the normal people can use it, in an easy-to-use web interface, like that of Wolfram Alpha. That will give an immense popularity and also increase in number of users that use SymPy. 

Since, I have contributed to SymPy and solved some of it's bugs, hence I thought of this as an interesting and challenging topic to improve SymPy. I would like to work towards this with full force. 

I wish to improve SymPy Gamma a lot, as it seems to be of great potential. I have researched a lot on this project and would like to discuss with the mentors associated with this project. So, who are the mentors for this project?

We don't have the mentors assigned yet for all the projects. We will select the best proposals and then we will assign mentors.
 

Also, I had a look at these links as well - https://github.com/sympy/sympy_gamma , https://github.com/sympy/sympy-web-static , https://github.com/sympy/sympy-live .

A doubt I had - Is this project associated primarily with the improvements in both SymPy Live and SymPy Gamma , or only one of them?

It can be either or both. Whatever you prefer. They are different apps so it may be best to focus on one. But they could certainly (and may) share infrastructure.
 

I want to eagerly work towards this project. If anyone could guide me forward, with this, then it would be great?

Search the mailing list and issues to get an idea of what the history and current problems are.
 
Also, I have already solved some bugs for SymPy, do I need to solve any bugs for SymPy Live and SymPy Gamma as well, or do I get kick-started with my project proposal?

It certainly won't hurt your application to solve some bugs in those projects.
 

It would be great, if someone could advice their opinions to my above queries. Eagerly waiting to discuss the ideas, that I have researched about.

Expecting a response,

Thanks a lot. Cheers! :)

-Ashutosh Saboo



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

Ashutosh Saboo

unread,
Mar 12, 2016, 4:07:53 AM3/12/16
to sympy
Hello,

Thanks Sudhanshu and Mr. Moore for your response. 

Now, this is a big issue with respect to SymPy Gamma - Improving the Parser of the site. 

For instance when I wrote : plot sinx, it popped me up with an error, however plot sin(x) produces the correct result. I would like to parse plot sinx to plot sin(x) automatically , and then show output corresponding to the parsed output, just with an addition like Google does - I'll just add the line 'Did you mean plot sin(x)' and then show the output corresponding to the parsed output. 

These are some alternatives - http://www.nltk.org/ or https://spacy.io/ or https://stanfordnlp.github.io/CoreNLP/. Now, as listed on the Spacy website, it's much better than the others. However, NLTK seems to have a good documentation and support inline, but, although spacy proves it to be a lot more efficient than others, but still it's in early days, and hence may not have a good support online. 

This is one of the biggest tasks of this project, and I have been thinking on how to implement this.

Could someone help me on that, as in how could we go about implementing this, or build up on the above?

Could you help Mr. Moore, Sudhanshu, Mr. Aaron on this? 

Thanks!

Ashutosh Saboo

unread,
Mar 14, 2016, 2:12:10 AM3/14/16
to sympy
Hello,

So, I was thinking as to how to improve the parser of SymPy Gamma. 

We can define rules, which currently don't exist, using regex expressions in the SymPy Parser, like searching for common function names in the input provided by the user. So, will that be fine? Or will we need to add anything more to accomplish this?

Thanks.

Ashutosh Saboo

Ashutosh Saboo

unread,
Mar 14, 2016, 11:16:30 AM3/14/16
to sympy
Hello,

So, in the Project Idea corresponding to SymPy Live and SymPy Gamma, like, Wolfram Alpha recently launched a recent update of saving search queries for it's paid users. How about if we also go about creating a user registration/login interface which provides several features like saving the search results (which is pretty easy, as only the search queries need to be added to a Database), and Support/Feedback feature - like users can post their feedbacks about SymPy Gamma, report issues if they feel any, or ask for some new feature to be added to SymPy Gamma. This will be very useful to users, once SymPy Gamma attains a good popularity, and we implement the necessary features as a part of this GSoC project, as they will as well look to provide constructive feedback to SymPy, as it's free and open-source, contrary to Wolfram Alpha.

Will this be encouraged as a part of this project? Should we consider working on these (above mentioned) things as a part of this GSoC project, or should we consider and give priority to some other things, as a part of this GSoC project?

Aaron Sir, Jasor Sir, Ondřej Sir Could you help me on this?

Thanks and Cheers! :)

Ashutosh Saboo

Ashutosh Saboo

unread,
Mar 15, 2016, 6:04:41 AM3/15/16
to sympy
Hello,

So, https://groups.google.com/d/msg/sympy/me0oxyjj1uw/9ZA7RsWkBQAJ - states that finally latex2sympy has MIT License, so is it fine if we use this directly for converting LaTeX to SymPy in SymPy Gamma as a part of the GSoC Project? Or will it be discouraged to use 'latex2sympy' ?

Thanks.

-Ashutosh Saboo

Aaron Meurer

unread,
Mar 15, 2016, 11:22:43 AM3/15/16
to sy...@googlegroups.com
Using latex2sympy will be fine. In general, you can and should use
whatever external things you need to make SymPy Gamma work, although
restricting to things that are BSD open source would be the best.

Aaron Meurer

On Tue, Mar 15, 2016 at 6:04 AM, Ashutosh Saboo
> https://groups.google.com/d/msgid/sympy/e5c0a77f-b799-4263-aaa0-70ba22b619b5%40googlegroups.com.

Ashutosh Saboo

unread,
Mar 15, 2016, 1:45:27 PM3/15/16
to sympy
Hello,

Thanks a lot Aaron Sir for your response. I will try to look for other alternatives to 'latex2sympy' as well, in case if I don't find any other solution, then only I'll thing about considering 'latex2sympy` for my implementation. 

https://groups.google.com/d/msg/sympy/kiCMquuqC2s/Lw2LP2oGBgAJ - Should `Saving the search queries` be considered as a part of this project?

Aaron Sir, Certik Sir, Your opinions on this, will be much valuable!

Thank you!

Ashutosh Saboo

Ashutosh Saboo

unread,
Mar 16, 2016, 5:12:14 AM3/16/16
to sympy
Hello,

How about if we just modify the structural comparison `==` to mathematical comparison (like a.equals(b), or simplify(1-b)==0 ) just for SymPy Gamma? - https://github.com/sympy/sympy_gamma/issues/66 . This is because SymPy Gamma will be used by the non-sympy developers and more, and hence they may feel that `==` as in general, stands for mathematical comparison, unlike structural comparison? 

Any opinions on this?

Thanks and Cheers!

Ashutosh Saboo

Ashutosh Saboo

unread,
Mar 16, 2016, 10:19:18 AM3/16/16
to sympy
Hello,

I have added a new issue here, related to installation problems - https://github.com/sympy/sympy_gamma/issues/70 . Since the issue is pretty important, as it's related to installation, hence could someone try and look into this issue?

Thanks!

Ashutosh Saboo
Reply all
Reply to author
Forward
0 new messages