SAGE IOS app

92 views
Skip to first unread message

Vijay Sharma

unread,
Oct 22, 2012, 4:38:21 AM10/22/12
to sage-s...@googlegroups.com
Hello,

I observe that it takes really long time on SAGE IOS even for
trivial computations like 2+3. 

I suspected it could be that my internet is down but then at Wolfram Alpha I am able to 
do even complex computation very fast.

Any suggestions on this.

Regards,
Vijay

Dima Pasechnik

unread,
Oct 22, 2012, 8:53:29 AM10/22/12
to sage-s...@googlegroups.com
On 2012-10-22, Vijay Sharma <ivnyo...@gmail.com> wrote:
> --bcaec54b47cadceb4f04cca1c737
> Content-Type: text/plain; charset=ISO-8859-1
I hope you are not a troll. :-)

You can help yourself by installing Sage server on a computer next to you and
re-target SAGE IOS to use it instead.
You certainly can't do this with Wolfram Alpha :-)

I can also list here things the latter would not do for you,
but this is too easy...

Best,
Dmitrii

>
> Regards,
> Vijay
>

Vijay Sharma

unread,
Oct 22, 2012, 9:25:53 AM10/22/12
to sage-s...@googlegroups.com
Dima,

Thank you very much. 
I have SAGE Server locally installed on both my office laptop and home laptop.

Could you help me how should I re-direct it to these local SAGE servers?

I too would like to ace over Wolfram Alpha :):):)

Thanks & Regards,
Vijay


--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To post to this group, send email to sage-s...@googlegroups.com.
To unsubscribe from this group, send email to sage-support...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.



Dima Pasechnik

unread,
Oct 22, 2012, 11:34:19 AM10/22/12
to sage-s...@googlegroups.com
On 2012-10-22, Vijay Sharma <ivnyo...@gmail.com> wrote:
> --e89a8ff2515038016404cca5cc72
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dima,
>
> Thank you very much.
> I have SAGE Server locally installed on both my office laptop and home
> laptop.
>

it turns out it needs a Sage cell server - I didn't know about this.
Specifically, in
https://bitbucket.org/gvol/sage-iphone-app/src/38cc08369414/information.html?at=default
you see:

You can change the server it contacts in the iPhone's settings. Note
that it must be
a <a href="https://github.com/sagemath/sagecell/">Sage Cell
Server</a> rather than the
Sage notebook server (which is part of every Sage install).</li>

I don't have an iPo/ad, so I can't really tell you what to do here.
Probably some oh so intuitive sweep :-)

Regarding running Sage cell server, I guess you need to get it here:
https://github.com/sagemath/sagecell

HTH,
Dmitrii

Jason Grout

unread,
Oct 22, 2012, 11:41:16 AM10/22/12
to sage-s...@googlegroups.com
On 10/22/12 10:34 AM, Dima Pasechnik wrote:
> On 2012-10-22, Vijay Sharma <ivnyo...@gmail.com> wrote:
>> --e89a8ff2515038016404cca5cc72
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Dima,
>>
>> Thank you very much.
>> I have SAGE Server locally installed on both my office laptop and home
>> laptop.
>>
>
> it turns out it needs a Sage cell server - I didn't know about this.
> Specifically, in
> https://bitbucket.org/gvol/sage-iphone-app/src/38cc08369414/information.html?at=default
> you see:
>
> You can change the server it contacts in the iPhone's settings. Note
> that it must be
> a <a href="https://github.com/sagemath/sagecell/">Sage Cell
> Server</a> rather than the
> Sage notebook server (which is part of every Sage install).</li>
>
> I don't have an iPo/ad, so I can't really tell you what to do here.
> Probably some oh so intuitive sweep :-)
>
> Regarding running Sage cell server, I guess you need to get it here:
> https://github.com/sagemath/sagecell
>

But it's a little tricky, since the iOS app uses version 1 of the Sage
cell server, which is now outdated, unmaintained code that won't work on
the most current version of Sage. The best thing would be to update the
iOS app to use the new Sage cell server.

Can you quantify the "long" wait for calculations? How long?

Thanks,

Jason


Vijay Sharma

unread,
Oct 22, 2012, 2:40:21 PM10/22/12
to sage-s...@googlegroups.com
Hello,

It took quite long. I submitted it in afternoon and it is not yet finished.
2+5 also is still running. 

I downloaded from the App Store so I believe it must be the latest one.

Regards,
Vijay

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To post to this group, send email to sage-s...@googlegroups.com.
To unsubscribe from this group, send email to sage-support+unsubscribe@googlegroups.com.

Vijay Sharma

unread,
Oct 22, 2012, 2:49:00 PM10/22/12
to sage-s...@googlegroups.com
Dima,

Thanking you again. Definitely I can try and see if it goes fine.
It will be really great to have something like SAGE on my IPAD.

Regards,
Vijay

Jason Grout

unread,
Oct 22, 2012, 3:01:01 PM10/22/12
to sage-s...@googlegroups.com
On 10/22/12 1:40 PM, Vijay Sharma wrote:
> Hello,
>
> It took quite long. I submitted it in afternoon and it is not yet finished.
> 2+5 also is still running.
>
> I downloaded from the App Store so I believe it must be the latest one.
>

Indeed, it seems that the service it uses (aleph1.sagemath.org) is down.
I've restarted it now. Does it work for you now?

Thanks,

Jason


Vijay Sharma

unread,
Oct 22, 2012, 3:11:12 PM10/22/12
to sage-s...@googlegroups.com
Jason,

May I share that I access my internet through my office wireless and currently I am working from home.
I will try it tomorrow and let you know. 

Really appreciate your quick feedback here.

Thanking you

Regards,
Vijay



Thanks,

Jason


Vijay Sharma

unread,
Oct 23, 2012, 8:38:01 AM10/23/12
to sage-s...@googlegroups.com
Jason,

Now at least the computations like sum and simple commands are getting executed.
But it took long like an hour.

But commands like plot3D etc. are taking huge time. Still running.

Regards,
Vijay

Ivan Andrus

unread,
Oct 23, 2012, 9:42:44 AM10/23/12
to sage-s...@googlegroups.com
Could you give a specific example?  I am not seeing the problem now that the server has been restarted.  Regardless, I think commands time out long before an hour.  I could be wrong though.

Anyway, I'm working on updating to the new protocol so that hopefully things will work better.  It's quite a big change though and the app submission process makes it take even longer, so don't expect anything for a week or two probably.  Hopefully not too much more than that.

-Ivan

Vijay Sharma

unread,
Oct 23, 2012, 10:48:22 AM10/23/12
to sage-s...@googlegroups.com
Sure Jason,

I can try after one week.
Also let me know if you need a helping hand for some coding.
I am not that advanced but can give an attempt to contribute something.

Regards,
Vijay

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To post to this group, send email to sage-s...@googlegroups.com.
To unsubscribe from this group, send email to sage-support...@googlegroups.com.

Ivan Andrus

unread,
Oct 23, 2012, 2:45:22 PM10/23/12
to sage-s...@googlegroups.com
That could be useful.  What skills do you have?  HTML, Javascript, Objective-C?  Sadly my javascript skills are pretty 1998. :-)  Even just testing would be helpful, but it would require you having an Apple account and stuff to try it on your device.  Otherwise you can try it on the simulator.  I can help get that set up if you want since it can be fairly complicated.

-Ivan
-Ivan

Vijay Sharma

unread,
Oct 23, 2012, 2:48:01 PM10/23/12
to sage-s...@googlegroups.com
Ivan,

I can try things on simulator. 
I can spend time mostly on weekends. Hope that is fine. 
May be let me start from testing as of now and then I take up things further. 

Regards,
Vijay

Ivan Andrus

unread,
Oct 23, 2012, 3:11:20 PM10/23/12
to sage-s...@googlegroups.com
I tried to install the new Sage cell server based on the instructions on github [1] with Sage-5.4.beta2. It didn't work (the spkg mentioned didn't exist, then the one I tried had patch rejections, then ignoring those, zmq didn't install). Anyway, I tried searching and found the ask sage question [2], which I thought might help, but sadly I'm the only one to answer so far. I know that writing documentation is the least fun part, which is why I haven't done it for the iOS app. :-) Are there better instructions that I should be looking at? If possible I'd prefer to avoid the "advanced instructions". I am interested mostly in the new Sage cell server so that I can port the iOS app over to it.

I also have some other questions, like the best way to prepopulate a page with results from last time, but that's for another thread.

-Ivan

[1] https://github.com/sagemath/sagecell
[2] http://ask.sagemath.org/question/1804/how-to-setup-a-custom-server-for-ipad-app

Jason Grout

unread,
Oct 23, 2012, 3:29:29 PM10/23/12
to sage-s...@googlegroups.com
On 10/23/12 2:11 PM, Ivan Andrus wrote:
> I tried to install the new Sage cell server based on the instructions
> on github [1] with Sage-5.4.beta2. It didn't work (the spkg
> mentioned didn't exist, then the one I tried had patch rejections,
> then ignoring those, zmq didn't install). Anyway, I tried searching
> and found the ask sage question [2], which I thought might help, but
> sadly I'm the only one to answer so far. I know that writing
> documentation is the least fun part, which is why I haven't done it
> for the iOS app. :-) Are there better instructions that I should be
> looking at? If possible I'd prefer to avoid the "advanced
> instructions". I am interested mostly in the new Sage cell server so
> that I can port the iOS app over to it.

Thanks!

The instructions I currently use are at:
https://github.com/sagemath/sagecell/issues/344

Thanks,

Jason

Ivan Andrus

unread,
Oct 23, 2012, 5:29:03 PM10/23/12
to sage-s...@googlegroups.com
On Oct 23, 2012, at 9:29 PM, Jason Grout wrote:
> On 10/23/12 2:11 PM, Ivan Andrus wrote:
>> I tried to install the new Sage cell server based on the instructions
>> on github [1] with Sage-5.4.beta2. It didn't work (the spkg
>> mentioned didn't exist, then the one I tried had patch rejections,
>> then ignoring those, zmq didn't install). Anyway, I tried searching
>> and found the ask sage question [2], which I thought might help, but
>> sadly I'm the only one to answer so far. I know that writing
>> documentation is the least fun part, which is why I haven't done it
>> for the iOS app. :-) Are there better instructions that I should be
>> looking at? If possible I'd prefer to avoid the "advanced
>> instructions". I am interested mostly in the new Sage cell server so
>> that I can port the iOS app over to it.
>
> Thanks!

JOOC, Does the Android app still use the old server?

-Ivan

Jason Grout

unread,
Oct 23, 2012, 8:42:26 PM10/23/12
to sage-s...@googlegroups.com
On 10/23/12 4:29 PM, Ivan Andrus wrote:
> JOOC,

Huh?


> Does the Android app still use the old server?

I think so. As soon as the iOS app and the Android app migrate off of
it, we're shutting down aleph1.sagemath.org. As it is now, it won't be
upgraded at all.

Thanks,

Jason


kcrisman

unread,
Oct 23, 2012, 10:32:25 PM10/23/12
to sage-s...@googlegroups.com


On Tuesday, October 23, 2012 8:42:42 PM UTC-4, Jason Grout wrote:
On 10/23/12 4:29 PM, Ivan Andrus wrote:
> JOOC,

Huh?

Just out of curiosity, says teh Interweb.
 

P Purkayastha

unread,
Oct 23, 2012, 11:29:51 PM10/23/12
to sage-s...@googlegroups.com
QFT :D 

Vijay Sharma

unread,
Sep 6, 2013, 7:38:23 AM9/6/13
to sage-s...@googlegroups.com
Jason/Dima,

Is the server for Sage IOS app support shut down?
Best,
Vijay


--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To post to this group, send email to sage-s...@googlegroups.com.
To unsubscribe from this group, send email to sage-support...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.
 
 



--
Sincerely,
Vijay Sharma

Jason Grout

unread,
Sep 6, 2013, 10:06:32 AM9/6/13
to sage-s...@googlegroups.com
On 9/6/13 6:38 AM, Vijay Sharma wrote:
> Jason/Dima,
>
> Is the server for Sage IOS app support shut down?

No, it seems to work fine: http://sagecell.sagemath.org/

I just tried the iOS app as well and things seemed to work fine. What
seems to be the problem for you?

Thanks,

Jason


Reply all
Reply to author
Forward
0 new messages