On Mon, May 12, 2008 at 1:10 PM, Yi Qiang <[EMAIL PROTECTED]> wrote: > > I think Robert Bradshaw's simple web api implementation would be > useful here. I mean, it would be very easy to send it one liner sage > commands and get an HTTP response containing the output. I have no > idea how to hook that up with SMS though.
Check out this post on the Twisted mailing list: http://twistedmatrix.com/pipermail/twisted-python/2007-December/016475.html specifically this part: """ CIMD2 (Nokia)- can be implemented by twisted.protocols.basic.LineReceiver CSP (Terabyte)- is just an exchange of http posts so it can be implemented by twisted.web SMPP (mBlox)- is packet based twisted.internet.protocol.Protocol + struct will do the trick. """ so it's definitley possible with twisted. The immediate issue would be authentication, but with an enhanced version of how the sage notebook uses twisted's "portal", (allow different protocols go through the same point of authetication to access data (evaluate code, get result)) it would be possible. -Alex > > > > On Mon, May 12, 2008 at 11:08 AM, John Voight <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I had a crazy idea walking home today. How difficult would it be to > > piggyback off of Google's free text search to include one-line sage > > commands? I'm thinking of sending a text message like > > sage primitive_root(37) > > and then waiting for it to return the answer 2, presumably fed to the > > sage.math notebook. (This is a real life example from lunch with a > > colleague a month ago!) > > > > Yours, > > > > John Voight > > Assistant Professor of Mathematics > > University of Vermont > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > http://www.cems.uvm.edu/~voight/ > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---