Re: [sympy] Re: SymPy Live not working properly

2020-01-17 Thread James .
working now above things, but at this link
https://github.com/sympy/sympy-live   this command "
../google_appengine/dev_appserver.py"
giving error

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAHvhkMSNeS-fDDB%3DYLd_Jpvkyw18dLjeWy5N_HHuzTMG%2BmRSBA%40mail.gmail.com.


Re: [sympy] Re: SymPy Live not working properly

2020-01-17 Thread James .
where is this "

dev_appserver.py
"

i cant find it anywhere



On Fri, Jan 17, 2020 at 11:08 PM James .  wrote:

> just now added ssh key,still same error coming..
>
>
> On Fri, Jan 17, 2020 at 10:38 PM Aaron Meurer  wrote:
>
>> I think you will need to add your ssh key to GitHub. We should be
>> using the https URL here
>> https://github.com/sympy/sympy-live/blob/master/.gitmodules.
>>
>> Aaron Meurer
>>
>> On Fri, Jan 17, 2020 at 6:41 AM James . 
>> wrote:
>> >
>> > https://github.com/sympy/sympy-live/blob/master/README.rst
>> > from this i have followed every step,but im not able to see the gui of
>> sympy live shell in my local server,i think its because of this command "$
>> git submodule update"-->its not working,its showing some error.
>> > 
>> > git submodule update
>> > Cloning into 'C:/Users/James/AppData/Local/Google/Cloud
>> SDK/sympy-live/static'...
>> > Host key verification failed.
>> > fatal: Could not read from remote repository.
>> >
>> > Please make sure you have the correct access rights
>> > and the repository exists.
>> > fatal: clone of 'g...@github.com:sympy/sympy-web-static.git' into
>> submodule path 'C:/Users/James/AppData/Local/Google/Cloud
>> SDK/sympy-live/static' failed
>> > Failed to clone 'static'. Retry scheduled
>> > Cloning into 'C:/Users/James/AppData/Local/Google/Cloud
>> SDK/sympy-live/static'...
>> > Host key verification failed.
>> > fatal: Could not read from remote repository.
>> >
>> > Please make sure you have the correct access rights
>> > and the repository exists.
>> > fatal: clone of 'g...@github.com:sympy/sympy-web-static.git' into
>> submodule path 'C:/Users/James/AppData/Local/Google/Cloud
>> SDK/sympy-live/static' failed
>> > Failed to clone 'static' a second time, aborting
>> >
>> > """
>> >
>> > if anyone testing sympy live shell on their local server please tell me
>> how you did it..
>> >
>> > Regards,
>> > James
>> >
>> >
>> > On Fri, Jan 17, 2020 at 1:14 AM Aaron Meurer 
>> wrote:
>> >>
>> >> I'm not really sure how to create a graph of the number of concurrent
>> >> users on the App Engine Dashboard. If anyone knows how to do it, let
>> >> me know.
>> >>
>> >> Aaron Meurer
>> >>
>> >> On Thu, Jan 16, 2020 at 12:23 PM Mridul Seth 
>> wrote:
>> >> >
>> >> > As Aaron suggested, wouldn't it be much better to use something like
>> mybinder in the background or https://ines.github.io/juniper/ ?
>> >> > Why reinvent the wheel?
>> >> >
>> >> > The autoscaling thing of App engine translates easily to mybinder
>> too as every user will have their own instance(docker container) of
>> mybinder running in the background,
>> >> > unless sympy expects more than 100 concurrent users it should be
>> okay.
>> >> >
>> >> > On Wednesday, 15 January 2020 22:54:38 UTC+5:30, James . wrote:
>> >> >>
>> >> >> Django is the best option for sympy live, i have already planned on
>> telling this because Django is more faster than the current framework and
>> most of the big companies are also  using Django only.
>> >> >>
>> >> >> On Wed, Jan 15, 2020, 22:34 Gagandeep Singh (B17CS021) <
>> sin...@iitj.ac.in> wrote:
>> >> >>>
>> >> >>> IMHO, it would be great to have the sessions of a particular user
>> saved. I observed that there is a `Log In` link that let's someone create a
>> session but it isn't worked upon further. Probably, using django for
>> redesigning sympy-live would be great as it will be easy to maintain. We
>> can start from unoptimized version of the website. Though I am not aware
>> whether Google App Engine supports django.
>> >> >>> Let me know what you think.
>> >> >>>
>> >> >>> On Wed, Jan 15, 2020 at 12:12 AM Aaron Meurer 
>> wrote:
>> >> 
>> >>  Well none of us are backend developers, or else we probably would
>> have
>> >>  done something like this already. So you would need to have some
>> >>  decent backend experience, and would need to come up with a plan
>> on
>> >>  what to actually do.
>> >> 
>> >>  I would prefer to build as little as possible for ourselves, so
>> that
>> >>  we don't have to maintain much. So I would look into other
>> projects
>> >>  such as Binder, and look at what other projects are building in
>> this
>> >>  area. If we can build something that is usable by others, or
>> better,
>> >>  reuse something that is already built, that would be ideal.
>> >> 
>> >>  The biggest technical issue with the App Engine is that it isn't
>> >>  really designed to do what are do with it. Each App Engine
>> execution
>> >>  can run for at most 60 seconds. We "fake" a continual session with
>> >>  this by doing some tricks like pickling the session. This leads
>> to all
>> >>  kinds of bugs, such as the one listed here. I don't actually know
>> what
>> >>  causes the bug listed here, but I can make a pretty strong guess
>> that
>> >>  it has to do with this. Actually most of these issues have to do
>> with
>> >>  pickling itself being broken in a lot of 

Re: [sympy] Re: SymPy Live not working properly

2020-01-17 Thread James .
just now added ssh key,still same error coming..


On Fri, Jan 17, 2020 at 10:38 PM Aaron Meurer  wrote:

> I think you will need to add your ssh key to GitHub. We should be
> using the https URL here
> https://github.com/sympy/sympy-live/blob/master/.gitmodules.
>
> Aaron Meurer
>
> On Fri, Jan 17, 2020 at 6:41 AM James .  wrote:
> >
> > https://github.com/sympy/sympy-live/blob/master/README.rst
> > from this i have followed every step,but im not able to see the gui of
> sympy live shell in my local server,i think its because of this command "$
> git submodule update"-->its not working,its showing some error.
> > 
> > git submodule update
> > Cloning into 'C:/Users/James/AppData/Local/Google/Cloud
> SDK/sympy-live/static'...
> > Host key verification failed.
> > fatal: Could not read from remote repository.
> >
> > Please make sure you have the correct access rights
> > and the repository exists.
> > fatal: clone of 'g...@github.com:sympy/sympy-web-static.git' into
> submodule path 'C:/Users/James/AppData/Local/Google/Cloud
> SDK/sympy-live/static' failed
> > Failed to clone 'static'. Retry scheduled
> > Cloning into 'C:/Users/James/AppData/Local/Google/Cloud
> SDK/sympy-live/static'...
> > Host key verification failed.
> > fatal: Could not read from remote repository.
> >
> > Please make sure you have the correct access rights
> > and the repository exists.
> > fatal: clone of 'g...@github.com:sympy/sympy-web-static.git' into
> submodule path 'C:/Users/James/AppData/Local/Google/Cloud
> SDK/sympy-live/static' failed
> > Failed to clone 'static' a second time, aborting
> >
> > """
> >
> > if anyone testing sympy live shell on their local server please tell me
> how you did it..
> >
> > Regards,
> > James
> >
> >
> > On Fri, Jan 17, 2020 at 1:14 AM Aaron Meurer  wrote:
> >>
> >> I'm not really sure how to create a graph of the number of concurrent
> >> users on the App Engine Dashboard. If anyone knows how to do it, let
> >> me know.
> >>
> >> Aaron Meurer
> >>
> >> On Thu, Jan 16, 2020 at 12:23 PM Mridul Seth 
> wrote:
> >> >
> >> > As Aaron suggested, wouldn't it be much better to use something like
> mybinder in the background or https://ines.github.io/juniper/ ?
> >> > Why reinvent the wheel?
> >> >
> >> > The autoscaling thing of App engine translates easily to mybinder too
> as every user will have their own instance(docker container) of mybinder
> running in the background,
> >> > unless sympy expects more than 100 concurrent users it should be okay.
> >> >
> >> > On Wednesday, 15 January 2020 22:54:38 UTC+5:30, James . wrote:
> >> >>
> >> >> Django is the best option for sympy live, i have already planned on
> telling this because Django is more faster than the current framework and
> most of the big companies are also  using Django only.
> >> >>
> >> >> On Wed, Jan 15, 2020, 22:34 Gagandeep Singh (B17CS021) <
> sin...@iitj.ac.in> wrote:
> >> >>>
> >> >>> IMHO, it would be great to have the sessions of a particular user
> saved. I observed that there is a `Log In` link that let's someone create a
> session but it isn't worked upon further. Probably, using django for
> redesigning sympy-live would be great as it will be easy to maintain. We
> can start from unoptimized version of the website. Though I am not aware
> whether Google App Engine supports django.
> >> >>> Let me know what you think.
> >> >>>
> >> >>> On Wed, Jan 15, 2020 at 12:12 AM Aaron Meurer 
> wrote:
> >> 
> >>  Well none of us are backend developers, or else we probably would
> have
> >>  done something like this already. So you would need to have some
> >>  decent backend experience, and would need to come up with a plan on
> >>  what to actually do.
> >> 
> >>  I would prefer to build as little as possible for ourselves, so
> that
> >>  we don't have to maintain much. So I would look into other projects
> >>  such as Binder, and look at what other projects are building in
> this
> >>  area. If we can build something that is usable by others, or
> better,
> >>  reuse something that is already built, that would be ideal.
> >> 
> >>  The biggest technical issue with the App Engine is that it isn't
> >>  really designed to do what are do with it. Each App Engine
> execution
> >>  can run for at most 60 seconds. We "fake" a continual session with
> >>  this by doing some tricks like pickling the session. This leads to
> all
> >>  kinds of bugs, such as the one listed here. I don't actually know
> what
> >>  causes the bug listed here, but I can make a pretty strong guess
> that
> >>  it has to do with this. Actually most of these issues have to do
> with
> >>  pickling itself being broken in a lot of SymPy, but even so, it
> would
> >>  be better if we had a real persistent session, similar to how
> >>  something like Binder works
> >> 
> >>  At a higher level, I don't like that we have a lot of cloud
> specific
> >>  code that we 

Re: [sympy] Re: SymPy Live not working properly

2020-01-17 Thread Aaron Meurer
I think you will need to add your ssh key to GitHub. We should be
using the https URL here
https://github.com/sympy/sympy-live/blob/master/.gitmodules.

Aaron Meurer

On Fri, Jan 17, 2020 at 6:41 AM James .  wrote:
>
> https://github.com/sympy/sympy-live/blob/master/README.rst
> from this i have followed every step,but im not able to see the gui of sympy 
> live shell in my local server,i think its because of this command "$ git 
> submodule update"-->its not working,its showing some error.
> 
> git submodule update
> Cloning into 'C:/Users/James/AppData/Local/Google/Cloud 
> SDK/sympy-live/static'...
> Host key verification failed.
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
> fatal: clone of 'g...@github.com:sympy/sympy-web-static.git' into submodule 
> path 'C:/Users/James/AppData/Local/Google/Cloud SDK/sympy-live/static' failed
> Failed to clone 'static'. Retry scheduled
> Cloning into 'C:/Users/James/AppData/Local/Google/Cloud 
> SDK/sympy-live/static'...
> Host key verification failed.
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
> fatal: clone of 'g...@github.com:sympy/sympy-web-static.git' into submodule 
> path 'C:/Users/James/AppData/Local/Google/Cloud SDK/sympy-live/static' failed
> Failed to clone 'static' a second time, aborting
>
> """
>
> if anyone testing sympy live shell on their local server please tell me how 
> you did it..
>
> Regards,
> James
>
>
> On Fri, Jan 17, 2020 at 1:14 AM Aaron Meurer  wrote:
>>
>> I'm not really sure how to create a graph of the number of concurrent
>> users on the App Engine Dashboard. If anyone knows how to do it, let
>> me know.
>>
>> Aaron Meurer
>>
>> On Thu, Jan 16, 2020 at 12:23 PM Mridul Seth  wrote:
>> >
>> > As Aaron suggested, wouldn't it be much better to use something like 
>> > mybinder in the background or https://ines.github.io/juniper/ ?
>> > Why reinvent the wheel?
>> >
>> > The autoscaling thing of App engine translates easily to mybinder too as 
>> > every user will have their own instance(docker container) of mybinder 
>> > running in the background,
>> > unless sympy expects more than 100 concurrent users it should be okay.
>> >
>> > On Wednesday, 15 January 2020 22:54:38 UTC+5:30, James . wrote:
>> >>
>> >> Django is the best option for sympy live, i have already planned on 
>> >> telling this because Django is more faster than the current framework and 
>> >> most of the big companies are also  using Django only.
>> >>
>> >> On Wed, Jan 15, 2020, 22:34 Gagandeep Singh (B17CS021) 
>> >>  wrote:
>> >>>
>> >>> IMHO, it would be great to have the sessions of a particular user saved. 
>> >>> I observed that there is a `Log In` link that let's someone create a 
>> >>> session but it isn't worked upon further. Probably, using django for 
>> >>> redesigning sympy-live would be great as it will be easy to maintain. We 
>> >>> can start from unoptimized version of the website. Though I am not aware 
>> >>> whether Google App Engine supports django.
>> >>> Let me know what you think.
>> >>>
>> >>> On Wed, Jan 15, 2020 at 12:12 AM Aaron Meurer  wrote:
>> 
>>  Well none of us are backend developers, or else we probably would have
>>  done something like this already. So you would need to have some
>>  decent backend experience, and would need to come up with a plan on
>>  what to actually do.
>> 
>>  I would prefer to build as little as possible for ourselves, so that
>>  we don't have to maintain much. So I would look into other projects
>>  such as Binder, and look at what other projects are building in this
>>  area. If we can build something that is usable by others, or better,
>>  reuse something that is already built, that would be ideal.
>> 
>>  The biggest technical issue with the App Engine is that it isn't
>>  really designed to do what are do with it. Each App Engine execution
>>  can run for at most 60 seconds. We "fake" a continual session with
>>  this by doing some tricks like pickling the session. This leads to all
>>  kinds of bugs, such as the one listed here. I don't actually know what
>>  causes the bug listed here, but I can make a pretty strong guess that
>>  it has to do with this. Actually most of these issues have to do with
>>  pickling itself being broken in a lot of SymPy, but even so, it would
>>  be better if we had a real persistent session, similar to how
>>  something like Binder works
>> 
>>  At a higher level, I don't like that we have a lot of cloud specific
>>  code that we have to maintain ourselves, because really nobody does
>>  maintain it, as you can see from the commit history of the SymPy Live
>>  repo.
>> 
>>  The advantage of the App Engine is that it does autoscaling and
>>  automatic sandboxing.
>> 

Re: [sympy] Re: SymPy Live not working properly

2020-01-17 Thread James .
https://github.com/sympy/sympy-live/blob/master/README.rst
from this i have followed every step,but im not able to see the gui of
sympy live shell in my local server,i think its because of this command "$
git submodule update"-->its not working,its showing some error.

git submodule update
Cloning into 'C:/Users/James/AppData/Local/Google/Cloud
SDK/sympy-live/static'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'g...@github.com:sympy/sympy-web-static.git' into submodule
path 'C:/Users/James/AppData/Local/Google/Cloud SDK/sympy-live/static'
failed
Failed to clone 'static'. Retry scheduled
Cloning into 'C:/Users/James/AppData/Local/Google/Cloud
SDK/sympy-live/static'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'g...@github.com:sympy/sympy-web-static.git' into submodule
path 'C:/Users/James/AppData/Local/Google/Cloud SDK/sympy-live/static'
failed
Failed to clone 'static' a second time, aborting

"""

if anyone testing sympy live shell on their local server please tell me how
you did it..

Regards,
James


On Fri, Jan 17, 2020 at 1:14 AM Aaron Meurer  wrote:

> I'm not really sure how to create a graph of the number of concurrent
> users on the App Engine Dashboard. If anyone knows how to do it, let
> me know.
>
> Aaron Meurer
>
> On Thu, Jan 16, 2020 at 12:23 PM Mridul Seth 
> wrote:
> >
> > As Aaron suggested, wouldn't it be much better to use something like
> mybinder in the background or https://ines.github.io/juniper/ ?
> > Why reinvent the wheel?
> >
> > The autoscaling thing of App engine translates easily to mybinder too as
> every user will have their own instance(docker container) of mybinder
> running in the background,
> > unless sympy expects more than 100 concurrent users it should be okay.
> >
> > On Wednesday, 15 January 2020 22:54:38 UTC+5:30, James . wrote:
> >>
> >> Django is the best option for sympy live, i have already planned on
> telling this because Django is more faster than the current framework and
> most of the big companies are also  using Django only.
> >>
> >> On Wed, Jan 15, 2020, 22:34 Gagandeep Singh (B17CS021) <
> sin...@iitj.ac.in> wrote:
> >>>
> >>> IMHO, it would be great to have the sessions of a particular user
> saved. I observed that there is a `Log In` link that let's someone create a
> session but it isn't worked upon further. Probably, using django for
> redesigning sympy-live would be great as it will be easy to maintain. We
> can start from unoptimized version of the website. Though I am not aware
> whether Google App Engine supports django.
> >>> Let me know what you think.
> >>>
> >>> On Wed, Jan 15, 2020 at 12:12 AM Aaron Meurer 
> wrote:
> 
>  Well none of us are backend developers, or else we probably would have
>  done something like this already. So you would need to have some
>  decent backend experience, and would need to come up with a plan on
>  what to actually do.
> 
>  I would prefer to build as little as possible for ourselves, so that
>  we don't have to maintain much. So I would look into other projects
>  such as Binder, and look at what other projects are building in this
>  area. If we can build something that is usable by others, or better,
>  reuse something that is already built, that would be ideal.
> 
>  The biggest technical issue with the App Engine is that it isn't
>  really designed to do what are do with it. Each App Engine execution
>  can run for at most 60 seconds. We "fake" a continual session with
>  this by doing some tricks like pickling the session. This leads to all
>  kinds of bugs, such as the one listed here. I don't actually know what
>  causes the bug listed here, but I can make a pretty strong guess that
>  it has to do with this. Actually most of these issues have to do with
>  pickling itself being broken in a lot of SymPy, but even so, it would
>  be better if we had a real persistent session, similar to how
>  something like Binder works
> 
>  At a higher level, I don't like that we have a lot of cloud specific
>  code that we have to maintain ourselves, because really nobody does
>  maintain it, as you can see from the commit history of the SymPy Live
>  repo.
> 
>  The advantage of the App Engine is that it does autoscaling and
>  automatic sandboxing.
> 
>  Aaron Meurer
> 
>  On Tue, Jan 14, 2020 at 11:32 AM James . 
> wrote:
>  >
>  > Hi,My name is James, i am a 3rd year undergraduate student from
> India. I am using python from 3 years, from a couple of months ago I
> started using sympy and I am very much interested in refactoring sympy
> live.can someone help me what are the prerequisites I need to do 

Re: [sympy] Re: SymPy Live not working properly

2020-01-16 Thread Aaron Meurer
I'm not really sure how to create a graph of the number of concurrent
users on the App Engine Dashboard. If anyone knows how to do it, let
me know.

Aaron Meurer

On Thu, Jan 16, 2020 at 12:23 PM Mridul Seth  wrote:
>
> As Aaron suggested, wouldn't it be much better to use something like mybinder 
> in the background or https://ines.github.io/juniper/ ?
> Why reinvent the wheel?
>
> The autoscaling thing of App engine translates easily to mybinder too as 
> every user will have their own instance(docker container) of mybinder running 
> in the background,
> unless sympy expects more than 100 concurrent users it should be okay.
>
> On Wednesday, 15 January 2020 22:54:38 UTC+5:30, James . wrote:
>>
>> Django is the best option for sympy live, i have already planned on telling 
>> this because Django is more faster than the current framework and most of 
>> the big companies are also  using Django only.
>>
>> On Wed, Jan 15, 2020, 22:34 Gagandeep Singh (B17CS021)  
>> wrote:
>>>
>>> IMHO, it would be great to have the sessions of a particular user saved. I 
>>> observed that there is a `Log In` link that let's someone create a session 
>>> but it isn't worked upon further. Probably, using django for redesigning 
>>> sympy-live would be great as it will be easy to maintain. We can start from 
>>> unoptimized version of the website. Though I am not aware whether Google 
>>> App Engine supports django.
>>> Let me know what you think.
>>>
>>> On Wed, Jan 15, 2020 at 12:12 AM Aaron Meurer  wrote:

 Well none of us are backend developers, or else we probably would have
 done something like this already. So you would need to have some
 decent backend experience, and would need to come up with a plan on
 what to actually do.

 I would prefer to build as little as possible for ourselves, so that
 we don't have to maintain much. So I would look into other projects
 such as Binder, and look at what other projects are building in this
 area. If we can build something that is usable by others, or better,
 reuse something that is already built, that would be ideal.

 The biggest technical issue with the App Engine is that it isn't
 really designed to do what are do with it. Each App Engine execution
 can run for at most 60 seconds. We "fake" a continual session with
 this by doing some tricks like pickling the session. This leads to all
 kinds of bugs, such as the one listed here. I don't actually know what
 causes the bug listed here, but I can make a pretty strong guess that
 it has to do with this. Actually most of these issues have to do with
 pickling itself being broken in a lot of SymPy, but even so, it would
 be better if we had a real persistent session, similar to how
 something like Binder works

 At a higher level, I don't like that we have a lot of cloud specific
 code that we have to maintain ourselves, because really nobody does
 maintain it, as you can see from the commit history of the SymPy Live
 repo.

 The advantage of the App Engine is that it does autoscaling and
 automatic sandboxing.

 Aaron Meurer

 On Tue, Jan 14, 2020 at 11:32 AM James .  wrote:
 >
 > Hi,My name is James, i am a 3rd year undergraduate student from India. I 
 > am using python from 3 years, from a couple of months ago I started 
 > using sympy and I am very much interested in refactoring sympy live.can 
 > someone help me what are the prerequisites I need to do this?
 >
 > On Tue, Jan 14, 2020, 22:46 Aaron Meurer  wrote:
 >>
 >> Open an issue in the Live repo about this.
 >>
 >> SymPy Live will need some serious refactoring in the near future
 >> anyway in order to keep it up-to-date, since the current setup doesn't
 >> support Python 3. I'm still hopefully that we can replace the backend
 >> completely (this would be a good GSoC project for anyone interested).
 >>
 >> Aaron Meurer
 >>
 >> On Tue, Jan 14, 2020 at 8:45 AM Chris Smith  wrote:
 >> >
 >> > I have found that if you use "_" to refer to the last output it 
 >> > causes this problem. Fix: reload and remember not to do that.
 >> >
 >> > On Monday, January 13, 2020 at 7:26:27 AM UTC-6, Gagandeep Singh 
 >> > (B17CS021) wrote:
 >> >>
 >> >> Hi,
 >> >>
 >> >> I am facing some problems on SymPy Live. I tried executing the 
 >> >> example session on live.sympy.org and the following error was thrown,
 >> >>
 >> >> ```
 >> >> >>> expr = (x + y)**5
 >> >> Traceback (most recent call last): File "", line 1, in 
 >> >>  File 
 >> >> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
 >> >>  line 91, in __sympifyit_wrapper return func(a, b) File 
 >> >> 

Re: [sympy] Re: SymPy Live not working properly

2020-01-16 Thread Mridul Seth
As Aaron suggested, wouldn't it be much better to use something like 
mybinder in the background or https://ines.github.io/juniper/ ?
Why reinvent the wheel?

The autoscaling thing of App engine translates easily to mybinder too as 
every user will have their own instance(docker container) of mybinder 
running in the background,
unless sympy expects more than 100 concurrent users it should be okay.

On Wednesday, 15 January 2020 22:54:38 UTC+5:30, James . wrote:
>
> Django is the best option for sympy live, i have already planned on 
> telling this because Django is more faster than the current framework and 
> most of the big companies are also  using Django only.
>
> On Wed, Jan 15, 2020, 22:34 Gagandeep Singh (B17CS021)  > wrote:
>
>> IMHO, it would be great to have the sessions of a particular user saved. 
>> I observed that there is a `Log In` link that let's someone create a 
>> session but it isn't worked upon further. Probably, using django for 
>> redesigning sympy-live would be great as it will be easy to maintain. We 
>> can start from unoptimized version of the website. Though I am not aware 
>> whether Google App Engine supports django. 
>> Let me know what you think. 
>>
>> On Wed, Jan 15, 2020 at 12:12 AM Aaron Meurer > > wrote:
>>
>>> Well none of us are backend developers, or else we probably would have
>>> done something like this already. So you would need to have some
>>> decent backend experience, and would need to come up with a plan on
>>> what to actually do.
>>>
>>> I would prefer to build as little as possible for ourselves, so that
>>> we don't have to maintain much. So I would look into other projects
>>> such as Binder, and look at what other projects are building in this
>>> area. If we can build something that is usable by others, or better,
>>> reuse something that is already built, that would be ideal.
>>>
>>> The biggest technical issue with the App Engine is that it isn't
>>> really designed to do what are do with it. Each App Engine execution
>>> can run for at most 60 seconds. We "fake" a continual session with
>>> this by doing some tricks like pickling the session. This leads to all
>>> kinds of bugs, such as the one listed here. I don't actually know what
>>> causes the bug listed here, but I can make a pretty strong guess that
>>> it has to do with this. Actually most of these issues have to do with
>>> pickling itself being broken in a lot of SymPy, but even so, it would
>>> be better if we had a real persistent session, similar to how
>>> something like Binder works
>>>
>>> At a higher level, I don't like that we have a lot of cloud specific
>>> code that we have to maintain ourselves, because really nobody does
>>> maintain it, as you can see from the commit history of the SymPy Live
>>> repo.
>>>
>>> The advantage of the App Engine is that it does autoscaling and
>>> automatic sandboxing.
>>>
>>> Aaron Meurer
>>>
>>> On Tue, Jan 14, 2020 at 11:32 AM James . >> > wrote:
>>> >
>>> > Hi,My name is James, i am a 3rd year undergraduate student from India. 
>>> I am using python from 3 years, from a couple of months ago I started using 
>>> sympy and I am very much interested in refactoring sympy live.can someone 
>>> help me what are the prerequisites I need to do this?
>>> >
>>> > On Tue, Jan 14, 2020, 22:46 Aaron Meurer >> > wrote:
>>> >>
>>> >> Open an issue in the Live repo about this.
>>> >>
>>> >> SymPy Live will need some serious refactoring in the near future
>>> >> anyway in order to keep it up-to-date, since the current setup doesn't
>>> >> support Python 3. I'm still hopefully that we can replace the backend
>>> >> completely (this would be a good GSoC project for anyone interested).
>>> >>
>>> >> Aaron Meurer
>>> >>
>>> >> On Tue, Jan 14, 2020 at 8:45 AM Chris Smith >> > wrote:
>>> >> >
>>> >> > I have found that if you use "_" to refer to the last output it 
>>> causes this problem. Fix: reload and remember not to do that.
>>> >> >
>>> >> > On Monday, January 13, 2020 at 7:26:27 AM UTC-6, Gagandeep Singh 
>>> (B17CS021) wrote:
>>> >> >>
>>> >> >> Hi,
>>> >> >>
>>> >> >> I am facing some problems on SymPy Live. I tried executing the 
>>> example session on live.sympy.org and the following error was thrown,
>>> >> >>
>>> >> >> ```
>>> >> >> >>> expr = (x + y)**5
>>> >> >> Traceback (most recent call last): File "", line 1, in 
>>>  File 
>>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>>>  
>>> line 91, in __sympifyit_wrapper return func(a, b) File 
>>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>>>  
>>> line 129, in binary_op_wrapper return func(self, other) File 
>>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/expr.py",
>>>  
>>> line 176, in __add__ return Add(self, other) File 
>>> 

Re: [sympy] Re: SymPy Live not working properly

2020-01-15 Thread James .
Django is the best option for sympy live, i have already planned on telling
this because Django is more faster than the current framework and most of
the big companies are also  using Django only.

On Wed, Jan 15, 2020, 22:34 Gagandeep Singh (B17CS021) 
wrote:

> IMHO, it would be great to have the sessions of a particular user saved. I
> observed that there is a `Log In` link that let's someone create a session
> but it isn't worked upon further. Probably, using django for
> redesigning sympy-live would be great as it will be easy to maintain. We
> can start from unoptimized version of the website. Though I am not aware
> whether Google App Engine supports django.
> Let me know what you think.
>
> On Wed, Jan 15, 2020 at 12:12 AM Aaron Meurer  wrote:
>
>> Well none of us are backend developers, or else we probably would have
>> done something like this already. So you would need to have some
>> decent backend experience, and would need to come up with a plan on
>> what to actually do.
>>
>> I would prefer to build as little as possible for ourselves, so that
>> we don't have to maintain much. So I would look into other projects
>> such as Binder, and look at what other projects are building in this
>> area. If we can build something that is usable by others, or better,
>> reuse something that is already built, that would be ideal.
>>
>> The biggest technical issue with the App Engine is that it isn't
>> really designed to do what are do with it. Each App Engine execution
>> can run for at most 60 seconds. We "fake" a continual session with
>> this by doing some tricks like pickling the session. This leads to all
>> kinds of bugs, such as the one listed here. I don't actually know what
>> causes the bug listed here, but I can make a pretty strong guess that
>> it has to do with this. Actually most of these issues have to do with
>> pickling itself being broken in a lot of SymPy, but even so, it would
>> be better if we had a real persistent session, similar to how
>> something like Binder works
>>
>> At a higher level, I don't like that we have a lot of cloud specific
>> code that we have to maintain ourselves, because really nobody does
>> maintain it, as you can see from the commit history of the SymPy Live
>> repo.
>>
>> The advantage of the App Engine is that it does autoscaling and
>> automatic sandboxing.
>>
>> Aaron Meurer
>>
>> On Tue, Jan 14, 2020 at 11:32 AM James . 
>> wrote:
>> >
>> > Hi,My name is James, i am a 3rd year undergraduate student from India.
>> I am using python from 3 years, from a couple of months ago I started using
>> sympy and I am very much interested in refactoring sympy live.can someone
>> help me what are the prerequisites I need to do this?
>> >
>> > On Tue, Jan 14, 2020, 22:46 Aaron Meurer  wrote:
>> >>
>> >> Open an issue in the Live repo about this.
>> >>
>> >> SymPy Live will need some serious refactoring in the near future
>> >> anyway in order to keep it up-to-date, since the current setup doesn't
>> >> support Python 3. I'm still hopefully that we can replace the backend
>> >> completely (this would be a good GSoC project for anyone interested).
>> >>
>> >> Aaron Meurer
>> >>
>> >> On Tue, Jan 14, 2020 at 8:45 AM Chris Smith  wrote:
>> >> >
>> >> > I have found that if you use "_" to refer to the last output it
>> causes this problem. Fix: reload and remember not to do that.
>> >> >
>> >> > On Monday, January 13, 2020 at 7:26:27 AM UTC-6, Gagandeep Singh
>> (B17CS021) wrote:
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> I am facing some problems on SymPy Live. I tried executing the
>> example session on live.sympy.org and the following error was thrown,
>> >> >>
>> >> >> ```
>> >> >> >>> expr = (x + y)**5
>> >> >> Traceback (most recent call last): File "", line 1, in
>>  File
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>> line 91, in __sympifyit_wrapper return func(a, b) File
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>> line 129, in binary_op_wrapper return func(self, other) File
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/expr.py",
>> line 176, in __add__ return Add(self, other) File
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/cache.py",
>> line 94, in wrapper retval = cfunc(*args, **kwargs) File
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/compatibility.py",
>> line 916, in wrapper del cache[oldkey] KeyError: [> 'sympy.core.add.Add'>, x, y, > 'sympy.core.assumptions.ManagedProperties'>, > 'sympy.core.symbol.Symbol'>, ]
>> >> >> ```
>> >> >> Can someone help me with this?
>> >> >> Thank you.
>> >> >
>> >> > --
>> >> > 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 

Re: [sympy] Re: SymPy Live not working properly

2020-01-15 Thread Kaustubh Dixit
If SymPy Live is to be remade with Django like what Gagandeep stated, I would 
love to contribute to the project as I have some production level experience in 
that.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/d9c3c105-f4f5-431b-be2b-e499363e6a25%40googlegroups.com.


Re: [sympy] Re: SymPy Live not working properly

2020-01-15 Thread Gagandeep Singh (B17CS021)
IMHO, it would be great to have the sessions of a particular user saved. I
observed that there is a `Log In` link that let's someone create a session
but it isn't worked upon further. Probably, using django for
redesigning sympy-live would be great as it will be easy to maintain. We
can start from unoptimized version of the website. Though I am not aware
whether Google App Engine supports django.
Let me know what you think.

On Wed, Jan 15, 2020 at 12:12 AM Aaron Meurer  wrote:

> Well none of us are backend developers, or else we probably would have
> done something like this already. So you would need to have some
> decent backend experience, and would need to come up with a plan on
> what to actually do.
>
> I would prefer to build as little as possible for ourselves, so that
> we don't have to maintain much. So I would look into other projects
> such as Binder, and look at what other projects are building in this
> area. If we can build something that is usable by others, or better,
> reuse something that is already built, that would be ideal.
>
> The biggest technical issue with the App Engine is that it isn't
> really designed to do what are do with it. Each App Engine execution
> can run for at most 60 seconds. We "fake" a continual session with
> this by doing some tricks like pickling the session. This leads to all
> kinds of bugs, such as the one listed here. I don't actually know what
> causes the bug listed here, but I can make a pretty strong guess that
> it has to do with this. Actually most of these issues have to do with
> pickling itself being broken in a lot of SymPy, but even so, it would
> be better if we had a real persistent session, similar to how
> something like Binder works
>
> At a higher level, I don't like that we have a lot of cloud specific
> code that we have to maintain ourselves, because really nobody does
> maintain it, as you can see from the commit history of the SymPy Live
> repo.
>
> The advantage of the App Engine is that it does autoscaling and
> automatic sandboxing.
>
> Aaron Meurer
>
> On Tue, Jan 14, 2020 at 11:32 AM James . 
> wrote:
> >
> > Hi,My name is James, i am a 3rd year undergraduate student from India. I
> am using python from 3 years, from a couple of months ago I started using
> sympy and I am very much interested in refactoring sympy live.can someone
> help me what are the prerequisites I need to do this?
> >
> > On Tue, Jan 14, 2020, 22:46 Aaron Meurer  wrote:
> >>
> >> Open an issue in the Live repo about this.
> >>
> >> SymPy Live will need some serious refactoring in the near future
> >> anyway in order to keep it up-to-date, since the current setup doesn't
> >> support Python 3. I'm still hopefully that we can replace the backend
> >> completely (this would be a good GSoC project for anyone interested).
> >>
> >> Aaron Meurer
> >>
> >> On Tue, Jan 14, 2020 at 8:45 AM Chris Smith  wrote:
> >> >
> >> > I have found that if you use "_" to refer to the last output it
> causes this problem. Fix: reload and remember not to do that.
> >> >
> >> > On Monday, January 13, 2020 at 7:26:27 AM UTC-6, Gagandeep Singh
> (B17CS021) wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> I am facing some problems on SymPy Live. I tried executing the
> example session on live.sympy.org and the following error was thrown,
> >> >>
> >> >> ```
> >> >> >>> expr = (x + y)**5
> >> >> Traceback (most recent call last): File "", line 1, in
>  File
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
> line 91, in __sympifyit_wrapper return func(a, b) File
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
> line 129, in binary_op_wrapper return func(self, other) File
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/expr.py",
> line 176, in __add__ return Add(self, other) File
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/cache.py",
> line 94, in wrapper retval = cfunc(*args, **kwargs) File
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/compatibility.py",
> line 916, in wrapper del cache[oldkey] KeyError: [ 'sympy.core.add.Add'>, x, y,  'sympy.core.assumptions.ManagedProperties'>,  'sympy.core.symbol.Symbol'>, ]
> >> >> ```
> >> >> Can someone help me with this?
> >> >> Thank you.
> >> >
> >> > --
> >> > 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+unsubscr...@googlegroups.com.
> >> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/6c3e4698-8945-4054-8c12-f452b489ee23%40googlegroups.com
> .
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups "sympy" group.
> >> To unsubscribe from this group and stop receiving emails 

Re: [sympy] Re: SymPy Live not working properly

2020-01-14 Thread Aaron Meurer
Well none of us are backend developers, or else we probably would have
done something like this already. So you would need to have some
decent backend experience, and would need to come up with a plan on
what to actually do.

I would prefer to build as little as possible for ourselves, so that
we don't have to maintain much. So I would look into other projects
such as Binder, and look at what other projects are building in this
area. If we can build something that is usable by others, or better,
reuse something that is already built, that would be ideal.

The biggest technical issue with the App Engine is that it isn't
really designed to do what are do with it. Each App Engine execution
can run for at most 60 seconds. We "fake" a continual session with
this by doing some tricks like pickling the session. This leads to all
kinds of bugs, such as the one listed here. I don't actually know what
causes the bug listed here, but I can make a pretty strong guess that
it has to do with this. Actually most of these issues have to do with
pickling itself being broken in a lot of SymPy, but even so, it would
be better if we had a real persistent session, similar to how
something like Binder works

At a higher level, I don't like that we have a lot of cloud specific
code that we have to maintain ourselves, because really nobody does
maintain it, as you can see from the commit history of the SymPy Live
repo.

The advantage of the App Engine is that it does autoscaling and
automatic sandboxing.

Aaron Meurer

On Tue, Jan 14, 2020 at 11:32 AM James .  wrote:
>
> Hi,My name is James, i am a 3rd year undergraduate student from India. I am 
> using python from 3 years, from a couple of months ago I started using sympy 
> and I am very much interested in refactoring sympy live.can someone help me 
> what are the prerequisites I need to do this?
>
> On Tue, Jan 14, 2020, 22:46 Aaron Meurer  wrote:
>>
>> Open an issue in the Live repo about this.
>>
>> SymPy Live will need some serious refactoring in the near future
>> anyway in order to keep it up-to-date, since the current setup doesn't
>> support Python 3. I'm still hopefully that we can replace the backend
>> completely (this would be a good GSoC project for anyone interested).
>>
>> Aaron Meurer
>>
>> On Tue, Jan 14, 2020 at 8:45 AM Chris Smith  wrote:
>> >
>> > I have found that if you use "_" to refer to the last output it causes 
>> > this problem. Fix: reload and remember not to do that.
>> >
>> > On Monday, January 13, 2020 at 7:26:27 AM UTC-6, Gagandeep Singh 
>> > (B17CS021) wrote:
>> >>
>> >> Hi,
>> >>
>> >> I am facing some problems on SymPy Live. I tried executing the example 
>> >> session on live.sympy.org and the following error was thrown,
>> >>
>> >> ```
>> >> >>> expr = (x + y)**5
>> >> Traceback (most recent call last): File "", line 1, in  
>> >> File 
>> >> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>> >>  line 91, in __sympifyit_wrapper return func(a, b) File 
>> >> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>> >>  line 129, in binary_op_wrapper return func(self, other) File 
>> >> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/expr.py",
>> >>  line 176, in __add__ return Add(self, other) File 
>> >> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/cache.py",
>> >>  line 94, in wrapper retval = cfunc(*args, **kwargs) File 
>> >> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/compatibility.py",
>> >>  line 916, in wrapper del cache[oldkey] KeyError: [> >> 'sympy.core.add.Add'>, x, y, > >> 'sympy.core.assumptions.ManagedProperties'>, > >> 'sympy.core.symbol.Symbol'>, ]
>> >> ```
>> >> Can someone help me with this?
>> >> Thank you.
>> >
>> > --
>> > 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+unsubscr...@googlegroups.com.
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/sympy/6c3e4698-8945-4054-8c12-f452b489ee23%40googlegroups.com.
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BirBEH3Ki-ka9MoG91y%3DcmGRbYqrgYYaxweAkLUsmWJg%40mail.gmail.com.
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> 

Re: [sympy] Re: SymPy Live not working properly

2020-01-14 Thread Gagandeep Singh (B17CS021)
Some details are given on the ideas page,
https://github.com/sympy/sympy/wiki/GSoC-2020-Ideas#sympy-live-and-sympy-gamma-on-google-app-engine

With Regards,
Gagandeep Singh
Github - https://www.github.com/czgdp1807
LinkedIn - https://www.linkedin.com/in/czgdp1807

On Wed, 15 Jan, 2020, 12:02 AM James .,  wrote:

> Hi,My name is James, i am a 3rd year undergraduate student from India. I
> am using python from 3 years, from a couple of months ago I started using
> sympy and I am very much interested in refactoring sympy live.can someone
> help me what are the prerequisites I need to do this?
>
> On Tue, Jan 14, 2020, 22:46 Aaron Meurer  wrote:
>
>> Open an issue in the Live repo about this.
>>
>> SymPy Live will need some serious refactoring in the near future
>> anyway in order to keep it up-to-date, since the current setup doesn't
>> support Python 3. I'm still hopefully that we can replace the backend
>> completely (this would be a good GSoC project for anyone interested).
>>
>> Aaron Meurer
>>
>> On Tue, Jan 14, 2020 at 8:45 AM Chris Smith  wrote:
>> >
>> > I have found that if you use "_" to refer to the last output it causes
>> this problem. Fix: reload and remember not to do that.
>> >
>> > On Monday, January 13, 2020 at 7:26:27 AM UTC-6, Gagandeep Singh
>> (B17CS021) wrote:
>> >>
>> >> Hi,
>> >>
>> >> I am facing some problems on SymPy Live. I tried executing the example
>> session on live.sympy.org and the following error was thrown,
>> >>
>> >> ```
>> >> >>> expr = (x + y)**5
>> >> Traceback (most recent call last): File "", line 1, in
>>  File
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>> line 91, in __sympifyit_wrapper return func(a, b) File
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>> line 129, in binary_op_wrapper return func(self, other) File
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/expr.py",
>> line 176, in __add__ return Add(self, other) File
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/cache.py",
>> line 94, in wrapper retval = cfunc(*args, **kwargs) File
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/compatibility.py",
>> line 916, in wrapper del cache[oldkey] KeyError: [> 'sympy.core.add.Add'>, x, y, > 'sympy.core.assumptions.ManagedProperties'>, > 'sympy.core.symbol.Symbol'>, ]
>> >> ```
>> >> Can someone help me with this?
>> >> Thank you.
>> >
>> > --
>> > 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+unsubscr...@googlegroups.com.
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/6c3e4698-8945-4054-8c12-f452b489ee23%40googlegroups.com
>> .
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BirBEH3Ki-ka9MoG91y%3DcmGRbYqrgYYaxweAkLUsmWJg%40mail.gmail.com
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAHvhkMQdDDX%3Doi-%3D_dfp4%3DT1pKdxjy1%2BHdN3ikfhBxGY4U-Akw%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAAvS0gU%2B9CFWe1SOd5%3Dw-eK3DmuWTfTAOVoRAKEF6i6%3DCeV8kQ%40mail.gmail.com.


Re: [sympy] Re: SymPy Live not working properly

2020-01-14 Thread James .
Hi,My name is James, i am a 3rd year undergraduate student from India. I am
using python from 3 years, from a couple of months ago I started using
sympy and I am very much interested in refactoring sympy live.can someone
help me what are the prerequisites I need to do this?

On Tue, Jan 14, 2020, 22:46 Aaron Meurer  wrote:

> Open an issue in the Live repo about this.
>
> SymPy Live will need some serious refactoring in the near future
> anyway in order to keep it up-to-date, since the current setup doesn't
> support Python 3. I'm still hopefully that we can replace the backend
> completely (this would be a good GSoC project for anyone interested).
>
> Aaron Meurer
>
> On Tue, Jan 14, 2020 at 8:45 AM Chris Smith  wrote:
> >
> > I have found that if you use "_" to refer to the last output it causes
> this problem. Fix: reload and remember not to do that.
> >
> > On Monday, January 13, 2020 at 7:26:27 AM UTC-6, Gagandeep Singh
> (B17CS021) wrote:
> >>
> >> Hi,
> >>
> >> I am facing some problems on SymPy Live. I tried executing the example
> session on live.sympy.org and the following error was thrown,
> >>
> >> ```
> >> >>> expr = (x + y)**5
> >> Traceback (most recent call last): File "", line 1, in 
> File
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
> line 91, in __sympifyit_wrapper return func(a, b) File
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
> line 129, in binary_op_wrapper return func(self, other) File
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/expr.py",
> line 176, in __add__ return Add(self, other) File
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/cache.py",
> line 94, in wrapper retval = cfunc(*args, **kwargs) File
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/compatibility.py",
> line 916, in wrapper del cache[oldkey] KeyError: [ 'sympy.core.add.Add'>, x, y,  'sympy.core.assumptions.ManagedProperties'>,  'sympy.core.symbol.Symbol'>, ]
> >> ```
> >> Can someone help me with this?
> >> Thank you.
> >
> > --
> > 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+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/6c3e4698-8945-4054-8c12-f452b489ee23%40googlegroups.com
> .
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BirBEH3Ki-ka9MoG91y%3DcmGRbYqrgYYaxweAkLUsmWJg%40mail.gmail.com
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAHvhkMQdDDX%3Doi-%3D_dfp4%3DT1pKdxjy1%2BHdN3ikfhBxGY4U-Akw%40mail.gmail.com.


Re: [sympy] Re: SymPy Live not working properly

2020-01-14 Thread Kaustubh Dixit
Interested in working on this project for GSoC. What are you planning to 
implement on the backend side?

On Tuesday, January 14, 2020 at 10:46:21 PM UTC+5:30, Aaron Meurer wrote:
>
> Open an issue in the Live repo about this. 
>
> SymPy Live will need some serious refactoring in the near future 
> anyway in order to keep it up-to-date, since the current setup doesn't 
> support Python 3. I'm still hopefully that we can replace the backend 
> completely (this would be a good GSoC project for anyone interested). 
>
> Aaron Meurer 
>
> On Tue, Jan 14, 2020 at 8:45 AM Chris Smith  > wrote: 
> > 
> > I have found that if you use "_" to refer to the last output it causes 
> this problem. Fix: reload and remember not to do that. 
> > 
> > On Monday, January 13, 2020 at 7:26:27 AM UTC-6, Gagandeep Singh 
> (B17CS021) wrote: 
> >> 
> >> Hi, 
> >> 
> >> I am facing some problems on SymPy Live. I tried executing the example 
> session on live.sympy.org and the following error was thrown, 
> >> 
> >> ``` 
> >> >>> expr = (x + y)**5 
> >> Traceback (most recent call last): File "", line 1, in  
> File 
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>  
> line 91, in __sympifyit_wrapper return func(a, b) File 
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>  
> line 129, in binary_op_wrapper return func(self, other) File 
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/expr.py",
>  
> line 176, in __add__ return Add(self, other) File 
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/cache.py",
>  
> line 94, in wrapper retval = cfunc(*args, **kwargs) File 
> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/compatibility.py",
>  
> line 916, in wrapper del cache[oldkey] KeyError: [ 'sympy.core.add.Add'>, x, y,  'sympy.core.assumptions.ManagedProperties'>,  'sympy.core.symbol.Symbol'>, ] 
> >> ``` 
> >> Can someone help me with this? 
> >> Thank you. 
> > 
> > -- 
> > 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 sy...@googlegroups.com . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/6c3e4698-8945-4054-8c12-f452b489ee23%40googlegroups.com.
>  
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/54c4307f-ede9-4a95-a411-077ddad61aef%40googlegroups.com.


Re: [sympy] Re: SymPy Live not working properly

2020-01-14 Thread Aaron Meurer
Open an issue in the Live repo about this.

SymPy Live will need some serious refactoring in the near future
anyway in order to keep it up-to-date, since the current setup doesn't
support Python 3. I'm still hopefully that we can replace the backend
completely (this would be a good GSoC project for anyone interested).

Aaron Meurer

On Tue, Jan 14, 2020 at 8:45 AM Chris Smith  wrote:
>
> I have found that if you use "_" to refer to the last output it causes this 
> problem. Fix: reload and remember not to do that.
>
> On Monday, January 13, 2020 at 7:26:27 AM UTC-6, Gagandeep Singh (B17CS021) 
> wrote:
>>
>> Hi,
>>
>> I am facing some problems on SymPy Live. I tried executing the example 
>> session on live.sympy.org and the following error was thrown,
>>
>> ```
>> >>> expr = (x + y)**5
>> Traceback (most recent call last): File "", line 1, in  File 
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>>  line 91, in __sympifyit_wrapper return func(a, b) File 
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/decorators.py",
>>  line 129, in binary_op_wrapper return func(self, other) File 
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/expr.py",
>>  line 176, in __add__ return Add(self, other) File 
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/cache.py",
>>  line 94, in wrapper retval = cfunc(*args, **kwargs) File 
>> "/base/data/home/apps/s~sympy-live-hrd/20200105t193609.423659059328302322/sympy/sympy/core/compatibility.py",
>>  line 916, in wrapper del cache[oldkey] KeyError: [> 'sympy.core.add.Add'>, x, y, > 'sympy.core.assumptions.ManagedProperties'>, > 'sympy.core.symbol.Symbol'>, ]
>> ```
>> Can someone help me with this?
>> Thank you.
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/6c3e4698-8945-4054-8c12-f452b489ee23%40googlegroups.com.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BirBEH3Ki-ka9MoG91y%3DcmGRbYqrgYYaxweAkLUsmWJg%40mail.gmail.com.