[Pharo-project] A remote workspace
Hello, Following the discussion on VM remote administration ( http://lists.gforge.inria.fr/pipermail/pharo-users/2010-May/000268.html ), I started working on something like a remote workspace. So far, I'm able to connect to a VM running Pharo with netcat, and execute some code. It is not much, but it was fun to write, and I learned a lot of things :) Now, before I add new features, I feel I should ask if someone would be interested by this, and what use case you would imagine: -Connecting from another VM or sticking with netcat? -Remote debugging (might not be easy, but should be fun to do) -Sending commands to a lot of VMs at once (and querying status) -Multiple connections possibles? -Being able to save a session (like http://www.gnu.org/software/screen/ ) -Authentication/encryption? Is there a way to use openssl, or should I steal the 3DES code from RFB (it should be quick enough for text only communication)? Best regards, Geoffroy
Hi Geoffroy! This sounds extremely cool. My little advice is try to concentrate in performance. I mean, you can have all the features you want, but if you have to wait 5 seconds for each character you type, then it will not make sense. So, from my point of view, is to get an acceptable performance writing in the workspace. After that, you can add features. Just my opinion. Hope you continue with this work. Mariano On Thu, May 13, 2010 at 12:31 AM, Geoffroy Couprie <geo.couprie@gmail.com>wrote:
Hello,
Following the discussion on VM remote administration ( http://lists.gforge.inria.fr/pipermail/pharo-users/2010-May/000268.html ), I started working on something like a remote workspace. So far, I'm able to connect to a VM running Pharo with netcat, and execute some code. It is not much, but it was fun to write, and I learned a lot of things :)
Now, before I add new features, I feel I should ask if someone would be interested by this, and what use case you would imagine: -Connecting from another VM or sticking with netcat? -Remote debugging (might not be easy, but should be fun to do) -Sending commands to a lot of VMs at once (and querying status) -Multiple connections possibles? -Being able to save a session (like http://www.gnu.org/software/screen/ ) -Authentication/encryption? Is there a way to use openssl, or should I steal the 3DES code from RFB (it should be quick enough for text only communication)?
Best regards,
Geoffroy
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hello, 2010/5/13 Mariano Martinez Peck <marianopeck@gmail.com>:
Hi Geoffroy! This sounds extremely cool. My little advice is try to concentrate in performance. I mean, you can have all the features you want, but if you have to wait 5 seconds for each character you type, then it will not make sense. So, from my point of view, is to get an acceptable performance writing in the workspace. After that, you can add features.
Well, for now, there is no problem with performance, because the command is sent only when I hit enter, and the result is returned immediatly after execution. But completion could be added.
On Thu, May 13, 2010 at 10:31 AM, Geoffroy Couprie <geo.couprie@gmail.com> wrote:
Hello,
Following the discussion on VM remote administration ( http://lists.gforge.inria.fr/pipermail/pharo-users/2010-May/000268.html ), I started working on something like a remote workspace. So far, I'm able to connect to a VM running Pharo with netcat, and execute some code. It is not much, but it was fun to write, and I learned a lot of things :)
Now, before I add new features, I feel I should ask if someone would be interested by this, and what use case you would imagine: -Connecting from another VM or sticking with netcat? -Remote debugging (might not be easy, but should be fun to do) -Sending commands to a lot of VMs at once (and querying status) -Multiple connections possibles? -Being able to save a session (like http://www.gnu.org/software/screen/ ) -Authentication/encryption? Is there a way to use openssl, or should I steal the 3DES code from RFB (it should be quick enough for text only communication)?
There's a package called REPLServer for Squeak which does the above. It has command line editing and history. It doesn't have a debugger yet. I use it to "reboot" Morphic to get back to a debugger after a bad crash. Nor does it have session management, but that could be added easily. I never thought of doing that. REPLServer just uses telnet and only listens to localhost. I figured that if anybody wants to do secure stuff, then they could SSH into the remote host and then use telnet from the command line to get to Squeak. Gulik. -- http://gulik.pbwiki.com/
Hello, On Thu, May 13, 2010 at 12:38 AM, Michael van der Gulik <mikevdg@gmail.com> wrote:
On Thu, May 13, 2010 at 10:31 AM, Geoffroy Couprie <geo.couprie@gmail.com> wrote:
Hello,
Following the discussion on VM remote administration ( http://lists.gforge.inria.fr/pipermail/pharo-users/2010-May/000268.html ), I started working on something like a remote workspace. So far, I'm able to connect to a VM running Pharo with netcat, and execute some code. It is not much, but it was fun to write, and I learned a lot of things :)
Now, before I add new features, I feel I should ask if someone would be interested by this, and what use case you would imagine: -Connecting from another VM or sticking with netcat? -Remote debugging (might not be easy, but should be fun to do) -Sending commands to a lot of VMs at once (and querying status) -Multiple connections possibles? -Being able to save a session (like http://www.gnu.org/software/screen/ ) -Authentication/encryption? Is there a way to use openssl, or should I steal the 3DES code from RFB (it should be quick enough for text only communication)?
There's a package called REPLServer for Squeak which does the above. It has command line editing and history.
Aww, you just killed my first real Smalltalk program :( Well, I'll try it!
It doesn't have a debugger yet. I use it to "reboot" Morphic to get back to a debugger after a bad crash. Nor does it have session management, but that could be added easily. I never thought of doing that.
REPLServer just uses telnet and only listens to localhost. I figured that if anybody wants to do secure stuff, then they could SSH into the remote host and then use telnet from the command line to get to Squeak.
Yes, SSH tunnels work really well. Right now, my server listens on locahost too. Best regards, Geoffroy
On Thu, May 13, 2010 at 5:46 AM, Geoffroy Couprie <geo.couprie@gmail.com> wrote:
Hello,
On Thu, May 13, 2010 at 12:38 AM, Michael van der Gulik <mikevdg@gmail.com> wrote:
On Thu, May 13, 2010 at 10:31 AM, Geoffroy Couprie <geo.couprie@gmail.com> wrote:
Hello,
Following the discussion on VM remote administration ( http://lists.gforge.inria.fr/pipermail/pharo-users/2010-May/000268.html ), I started working on something like a remote workspace. So far, I'm able to connect to a VM running Pharo with netcat, and execute some code. It is not much, but it was fun to write, and I learned a lot of things :)
Now, before I add new features, I feel I should ask if someone would be interested by this, and what use case you would imagine: -Connecting from another VM or sticking with netcat? -Remote debugging (might not be easy, but should be fun to do) -Sending commands to a lot of VMs at once (and querying status) -Multiple connections possibles? -Being able to save a session (like http://www.gnu.org/software/screen/ ) -Authentication/encryption? Is there a way to use openssl, or should I steal the 3DES code from RFB (it should be quick enough for text only communication)?
There's a package called REPLServer for Squeak which does the above. It has command line editing and history.
Aww, you just killed my first real Smalltalk program :(
Well, I'll try it!
Don't be sad, maybe you could port (and adapt) the REPLServer to Pharo and put it on SqueakSource in order to load it in the image very easily. It's already a lot of work and it might interested a lot of people in the Pharo community. Best regards, -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Every DSL ends up being Smalltalk http://doesnotunderstand.org/
On May 13, 2010, at 12:46 AM, Geoffroy Couprie wrote:
Hello,
On Thu, May 13, 2010 at 12:38 AM, Michael van der Gulik <mikevdg@gmail.com> wrote:
On Thu, May 13, 2010 at 10:31 AM, Geoffroy Couprie <geo.couprie@gmail.com> wrote:
Hello,
Following the discussion on VM remote administration ( http://lists.gforge.inria.fr/pipermail/pharo-users/2010-May/000268.html ), I started working on something like a remote workspace. So far, I'm able to connect to a VM running Pharo with netcat, and execute some code. It is not much, but it was fun to write, and I learned a lot of things :)
Now, before I add new features, I feel I should ask if someone would be interested by this, and what use case you would imagine: -Connecting from another VM or sticking with netcat? -Remote debugging (might not be easy, but should be fun to do) -Sending commands to a lot of VMs at once (and querying status) -Multiple connections possibles? -Being able to save a session (like http://www.gnu.org/software/screen/ ) -Authentication/encryption? Is there a way to use openssl, or should I steal the 3DES code from RFB (it should be quick enough for text only communication)?
There's a package called REPLServer for Squeak which does the above. It has command line editing and history.
Aww, you just killed my first real Smalltalk program :(
Have a look there is certainly space to improve. If it works in pharo it would be great to produce a ConfigurationOfREPL for pharo1.0 and pharo1.1
Well, I'll try it!
It doesn't have a debugger yet. I use it to "reboot" Morphic to get back to a debugger after a bad crash. Nor does it have session management, but that could be added easily. I never thought of doing that.
REPLServer just uses telnet and only listens to localhost. I figured that if anybody wants to do secure stuff, then they could SSH into the remote host and then use telnet from the command line to get to Squeak.
Yes, SSH tunnels work really well. Right now, my server listens on locahost too.
Best regards,
Geoffroy
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hello, On Thu, May 13, 2010 at 9:27 AM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
On May 13, 2010, at 12:46 AM, Geoffroy Couprie wrote:
Hello,
On Thu, May 13, 2010 at 12:38 AM, Michael van der Gulik <mikevdg@gmail.com> wrote:
There's a package called REPLServer for Squeak which does the above. It has command line editing and history.
Aww, you just killed my first real Smalltalk program :(
Have a look there is certainly space to improve. If it works in pharo it would be great to produce a ConfigurationOfREPL for pharo1.0 and pharo1.1
I tried REPLServer, and it works really well! It has a dependency on TcpService, so I had to install KomServices and DynamicBindings. Is there a tutorial somewhere about writing Metacello configurations? Best regards, Geoffroy
yes http://gemstonesoup.wordpress.com/2009/10/19/metacello-tutorial-updated/
I tried REPLServer, and it works really well!
It has a dependency on TcpService, so I had to install KomServices and DynamicBindings. Is there a tutorial somewhere about writing Metacello configurations?
Hello, Here is a Metacello configuration for REPL: http://eleves.ec-lille.fr/~couprieg/divers/ConfigurationOfREPL-GeoffroyCoupr... Is it OK? On Thu, May 13, 2010 at 1:51 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
yes
http://gemstonesoup.wordpress.com/2009/10/19/metacello-tutorial-updated/
I tried REPLServer, and it works really well!
It has a dependency on TcpService, so I had to install KomServices and DynamicBindings. Is there a tutorial somewhere about writing Metacello configurations?
On Sat, May 15, 2010 at 5:08 PM, Geoffroy Couprie <geo.couprie@gmail.com>wrote:
Hello,
Here is a Metacello configuration for REPL:
Is it OK?
Put it in http://www.squeaksource.com/MetacelloRepository Cheers Mariano
On Thu, May 13, 2010 at 1:51 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
yes
http://gemstonesoup.wordpress.com/2009/10/19/metacello-tutorial-updated/
I tried REPLServer, and it works really well!
It has a dependency on TcpService, so I had to install KomServices and DynamicBindings. Is there a tutorial somewhere about writing Metacello configurations?
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
cool cool cool Geoffroy two things if you have access rights to the squeaksource project it would be nice to publish it there then in addition it would be nice to publish it in the MetacelloRepository repository. stef On May 15, 2010, at 5:08 PM, Geoffroy Couprie wrote:
Hello,
Here is a Metacello configuration for REPL: http://eleves.ec-lille.fr/~couprieg/divers/ConfigurationOfREPL-GeoffroyCoupr...
Is it OK?
On Thu, May 13, 2010 at 1:51 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
yes
http://gemstonesoup.wordpress.com/2009/10/19/metacello-tutorial-updated/
I tried REPLServer, and it works really well!
It has a dependency on TcpService, so I had to install KomServices and DynamicBindings. Is there a tutorial somewhere about writing Metacello configurations?
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
It's in the Metacello repository now! On Sat, May 15, 2010 at 5:19 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
cool cool cool Geoffroy two things     if you have access rights to the squeaksource project it would be nice to publish it there     then in addition it would be nice to publish it in the MetacelloRepository repository.
stef
On May 15, 2010, at 5:08 PM, Geoffroy Couprie wrote:
Hello,
Here is a Metacello configuration for REPL: http://eleves.ec-lille.fr/~couprieg/divers/ConfigurationOfREPL-GeoffroyCoupr...
Is it OK?
On Thu, May 13, 2010 at 1:51 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
yes
http://gemstonesoup.wordpress.com/2009/10/19/metacello-tutorial-updated/
I tried REPLServer, and it works really well!
It has a dependency on TcpService, so I had to install KomServices and DynamicBindings. Is there a tutorial somewhere about writing Metacello configurations?
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Cool. Can someone write about the various way to access Pharo remotely with pro/cons in the Pharo collaborator book ? Laurent Laffont http://pharocasts.blogspot.com/ http://magaloma.blogspot.com/ On Sat, May 15, 2010 at 6:21 PM, Geoffroy Couprie <geo.couprie@gmail.com>wrote:
It's in the Metacello repository now!
On Sat, May 15, 2010 at 5:19 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
cool cool cool Geoffroy two things if you have access rights to the squeaksource project it would be nice to publish it there then in addition it would be nice to publish it in the MetacelloRepository repository.
stef
On May 15, 2010, at 5:08 PM, Geoffroy Couprie wrote:
Hello,
Here is a Metacello configuration for REPL:
http://eleves.ec-lille.fr/~couprieg/divers/ConfigurationOfREPL-GeoffroyCoupr...
Is it OK?
On Thu, May 13, 2010 at 1:51 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
yes
http://gemstonesoup.wordpress.com/2009/10/19/metacello-tutorial-updated/
I tried REPLServer, and it works really well!
It has a dependency on TcpService, so I had to install KomServices and DynamicBindings. Is there a tutorial somewhere about writing Metacello configurations?
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
+1 Stef On May 15, 2010, at 6:38 PM, laurent laffont wrote:
Cool. Can someone write about the various way to access Pharo remotely with pro/cons in the Pharo collaborator book ?
Laurent Laffont
http://pharocasts.blogspot.com/ http://magaloma.blogspot.com/
You are a godsend! I was just asking about this feature on the list... 1) Should be reasonably fast 2) Should use secure connection (ideally ssh). I'd rather teach Pharo communicate via standard input/output first so you can use it as a command line tool, then expand this ability to talk via any variant of TCP/IP. I am very new to Pharo so I don't know the extent it's married to its GUI environment, not sure how easy it is to implement... On Wed, May 12, 2010 at 6:31 PM, Geoffroy Couprie <geo.couprie@gmail.com>wrote:
Hello,
Following the discussion on VM remote administration ( http://lists.gforge.inria.fr/pipermail/pharo-users/2010-May/000268.html ), I started working on something like a remote workspace. So far, I'm able to connect to a VM running Pharo with netcat, and execute some code. It is not much, but it was fun to write, and I learned a lot of things :)
Now, before I add new features, I feel I should ask if someone would be interested by this, and what use case you would imagine: -Connecting from another VM or sticking with netcat? -Remote debugging (might not be easy, but should be fun to do) -Sending commands to a lot of VMs at once (and querying status) -Multiple connections possibles? -Being able to save a session (like http://www.gnu.org/software/screen/ ) -Authentication/encryption? Is there a way to use openssl, or should I steal the 3DES code from RFB (it should be quick enough for text only communication)?
Best regards,
Geoffroy
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hello, 2010/5/13 Andrei Stebakov <lispercat@gmail.com>:
You are a godsend! I was just asking about this feature on the list... 1) Should be reasonably fast 2) Should use secure connection (ideally ssh).
I'd rather teach Pharo communicate via standard input/output first so you can use it as a command line tool, then expand this ability to talk via any variant of TCP/IP. I am very new to Pharo so I don't know the extent it's married to its GUI environment, not sure how easy it is to implement...
I saw your messages and I thought, "hey, maybe what I'm working on would interest him" :)
On May 13, 2010, at 12:31 AM, Geoffroy Couprie wrote:
Hello,
Following the discussion on VM remote administration ( http://lists.gforge.inria.fr/pipermail/pharo-users/2010-May/000268.html ), I started working on something like a remote workspace. So far, I'm able to connect to a VM running Pharo with netcat, and execute some code. It is not much, but it was fun to write, and I learned a lot of things :)
this is cool.
Now, before I add new features, I feel I should ask if someone would be interested by this, and what use case you would imagine: -Connecting from another VM or sticking with netcat? -Remote debugging (might not be easy, but should be fun to do) +++ -Sending commands to a lot of VMs at once (and querying status) +++ -Multiple connections possibles? -Being able to save a session (like http://www.gnu.org/software/screen/ ) -Authentication/encryption? Is there a way to use openssl, or should I steal the 3DES code from RFB (it should be quick enough for text only communication)?
having good support there would be reallllllllllly really cool. Stef
Best regards,
Geoffroy
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (7)
-
Andrei Stebakov -
Geoffroy Couprie -
laurent laffont -
Mariano Martinez Peck -
Michael van der Gulik -
Serge Stinckwich -
Stéphane Ducasse