Hi,
NeoConsole is a small, standalone package that offers a command line (a.k.a. a REPL) interface to a headless Pharo image. It contains a number of extendable commands and metrics that allow you to execute arbitrary Pharo code for result (introspection and debugging) or side effect (to manipulate the live, running image). There is a history mechanism, you can refer to previous evaluation results and there is a primitive describe mechanism (like a one level inspect). The metrics system allows you to consult a number of predefined values. There is decent error handling. Here is a screencast showing how this feels in practice: https://www.youtube.com/watch?v=tAtYff6_X_4 The movie shows how to start from scratch, downloading Pharo, installing NeoConsole, running a headless image with the REPL installed in the background. Next, an HTTP server is added to the image and later a specific response is added as well. (You can speed up the movie, if you want). Obviously this has been done before, and this is not the definitive solution in this area. For example, readline support (allowing you to edit your input) would be fantastic. A true command line inspector and debugger would be super as well. These are standard features in Lisp and would be totally possible in Pharo too. I just needed this for myself, liked the result and thought it would be worth sharing. Sven PS: Security warning: this service opens up your image for access to those with access to your local network (i.e. those logged in to your machine), without any further authenication, allowing them to do absolutely anything. Think and make sure that you know what you are doing. |
Nice job! Doru On Fri, Jun 19, 2015 at 11:15 AM, Sven Van Caekenberghe <[hidden email]> wrote: Hi, |
In reply to this post by Sven Van Caekenberghe-2
Hi sven
This is cool. What I would love to see in the videos are some titles that explain what you are doing. Stef Le 19/6/15 11:15, Sven Van Caekenberghe a écrit : > Hi, > > NeoConsole is a small, standalone package that offers a command line (a.k.a. a REPL) interface to a headless Pharo image. > > It contains a number of extendable commands and metrics that allow you to execute arbitrary Pharo code for result (introspection and debugging) or side effect (to manipulate the live, running image). There is a history mechanism, you can refer to previous evaluation results and there is a primitive describe mechanism (like a one level inspect). The metrics system allows you to consult a number of predefined values. There is decent error handling. > > Here is a screencast showing how this feels in practice: > > https://www.youtube.com/watch?v=tAtYff6_X_4 > > The movie shows how to start from scratch, downloading Pharo, installing NeoConsole, running a headless image with the REPL installed in the background. Next, an HTTP server is added to the image and later a specific response is added as well. (You can speed up the movie, if you want). > > Obviously this has been done before, and this is not the definitive solution in this area. For example, readline support (allowing you to edit your input) would be fantastic. A true command line inspector and debugger would be super as well. These are standard features in Lisp and would be totally possible in Pharo too. > > I just needed this for myself, liked the result and thought it would be worth sharing. > > Sven > > PS: > > Security warning: this service opens up your image for access to those with access to your local network (i.e. those logged in to your machine), without any further authenication, allowing them to do absolutely anything. Think and make sure that you know what you are doing. > > > > |
> On 19 Jun 2015, at 15:14, stepharo <[hidden email]> wrote: > > Hi sven > > This is cool. +42 it can edit in multiple lines? Esteban > What I would love to see in the videos are some titles that explain what you are doing. > > Stef > > Le 19/6/15 11:15, Sven Van Caekenberghe a écrit : >> Hi, >> >> NeoConsole is a small, standalone package that offers a command line (a.k.a. a REPL) interface to a headless Pharo image. >> >> It contains a number of extendable commands and metrics that allow you to execute arbitrary Pharo code for result (introspection and debugging) or side effect (to manipulate the live, running image). There is a history mechanism, you can refer to previous evaluation results and there is a primitive describe mechanism (like a one level inspect). The metrics system allows you to consult a number of predefined values. There is decent error handling. >> >> Here is a screencast showing how this feels in practice: >> >> https://www.youtube.com/watch?v=tAtYff6_X_4 >> >> The movie shows how to start from scratch, downloading Pharo, installing NeoConsole, running a headless image with the REPL installed in the background. Next, an HTTP server is added to the image and later a specific response is added as well. (You can speed up the movie, if you want). >> >> Obviously this has been done before, and this is not the definitive solution in this area. For example, readline support (allowing you to edit your input) would be fantastic. A true command line inspector and debugger would be super as well. These are standard features in Lisp and would be totally possible in Pharo too. >> >> I just needed this for myself, liked the result and thought it would be worth sharing. >> >> Sven >> >> PS: >> >> Security warning: this service opens up your image for access to those with access to your local network (i.e. those logged in to your machine), without any further authenication, allowing them to do absolutely anything. Think and make sure that you know what you are doing. >> >> >> >> > > |
In reply to this post by stepharo
> On 19 Jun 2015, at 15:14, stepharo <[hidden email]> wrote: > > Hi sven > > This is cool. > What I would love to see in the videos are some titles that explain what you are doing. Yes, I know. But (1) it is more work and it already took time and (2) this is a pretty technical, low level subject; beginners are not the target [ it was posted to pharo-dev not pharo-users ]. > Stef > > Le 19/6/15 11:15, Sven Van Caekenberghe a écrit : >> Hi, >> >> NeoConsole is a small, standalone package that offers a command line (a.k.a. a REPL) interface to a headless Pharo image. >> >> It contains a number of extendable commands and metrics that allow you to execute arbitrary Pharo code for result (introspection and debugging) or side effect (to manipulate the live, running image). There is a history mechanism, you can refer to previous evaluation results and there is a primitive describe mechanism (like a one level inspect). The metrics system allows you to consult a number of predefined values. There is decent error handling. >> >> Here is a screencast showing how this feels in practice: >> >> https://www.youtube.com/watch?v=tAtYff6_X_4 >> >> The movie shows how to start from scratch, downloading Pharo, installing NeoConsole, running a headless image with the REPL installed in the background. Next, an HTTP server is added to the image and later a specific response is added as well. (You can speed up the movie, if you want). >> >> Obviously this has been done before, and this is not the definitive solution in this area. For example, readline support (allowing you to edit your input) would be fantastic. A true command line inspector and debugger would be super as well. These are standard features in Lisp and would be totally possible in Pharo too. >> >> I just needed this for myself, liked the result and thought it would be worth sharing. >> >> Sven >> >> PS: >> >> Security warning: this service opens up your image for access to those with access to your local network (i.e. those logged in to your machine), without any further authenication, allowing them to do absolutely anything. Think and make sure that you know what you are doing. >> >> >> >> > > |
In reply to this post by EstebanLM
> On 19 Jun 2015, at 15:20, Esteban Lorenzano <[hidden email]> wrote: > > >> On 19 Jun 2015, at 15:14, stepharo <[hidden email]> wrote: >> >> Hi sven >> >> This is cool. > > +42 > > it can edit in multiple lines? You wish ! That is what I meant by '(GNU) readline support' would be very nice to have ;-) > Esteban > >> What I would love to see in the videos are some titles that explain what you are doing. >> >> Stef >> >> Le 19/6/15 11:15, Sven Van Caekenberghe a écrit : >>> Hi, >>> >>> NeoConsole is a small, standalone package that offers a command line (a.k.a. a REPL) interface to a headless Pharo image. >>> >>> It contains a number of extendable commands and metrics that allow you to execute arbitrary Pharo code for result (introspection and debugging) or side effect (to manipulate the live, running image). There is a history mechanism, you can refer to previous evaluation results and there is a primitive describe mechanism (like a one level inspect). The metrics system allows you to consult a number of predefined values. There is decent error handling. >>> >>> Here is a screencast showing how this feels in practice: >>> >>> https://www.youtube.com/watch?v=tAtYff6_X_4 >>> >>> The movie shows how to start from scratch, downloading Pharo, installing NeoConsole, running a headless image with the REPL installed in the background. Next, an HTTP server is added to the image and later a specific response is added as well. (You can speed up the movie, if you want). >>> >>> Obviously this has been done before, and this is not the definitive solution in this area. For example, readline support (allowing you to edit your input) would be fantastic. A true command line inspector and debugger would be super as well. These are standard features in Lisp and would be totally possible in Pharo too. >>> >>> I just needed this for myself, liked the result and thought it would be worth sharing. >>> >>> Sven >>> >>> PS: >>> >>> Security warning: this service opens up your image for access to those with access to your local network (i.e. those logged in to your machine), without any further authenication, allowing them to do absolutely anything. Think and make sure that you know what you are doing. >>> >>> >>> >>> >> >> > > |
Administrator
|
In reply to this post by EstebanLM
Nice!
Cheers,
Sean |
In reply to this post by Sven Van Caekenberghe-2
Le 19/6/15 15:20, Sven Van Caekenberghe a écrit : >> On 19 Jun 2015, at 15:14, stepharo <[hidden email]> wrote: >> >> Hi sven >> >> This is cool. >> What I would love to see in the videos are some titles that explain what you are doing. > Yes, I know. But (1) it is more work and it already took time and (2) this is a pretty technical, low level subject; beginners are not the target [ it was posted to pharo-dev not pharo-users ]. I do not consider myself as a newbie and it was not clear to me. Stef |
> On 19 Jun 2015, at 20:38, stepharo <[hidden email]> wrote: > > > > Le 19/6/15 15:20, Sven Van Caekenberghe a écrit : >>> On 19 Jun 2015, at 15:14, stepharo <[hidden email]> wrote: >>> >>> Hi sven >>> >>> This is cool. >>> What I would love to see in the videos are some titles that explain what you are doing. >> Yes, I know. But (1) it is more work and it already took time and (2) this is a pretty technical, low level subject; beginners are not the target [ it was posted to pharo-dev not pharo-users ]. > > I do not consider myself as a newbie and it was not clear to me. I am not saying that you are wrong, of course explaining more is better. It is just that at this point, the target audience are people doing server deploys with Pharo. > Stef > > |
In reply to this post by Sven Van Caekenberghe-2
Sven
my point is that we are all newbies. I do pharo also to learn. Stef |
> On 20 Jun 2015, at 09:08, stepharo <[hidden email]> wrote: > > Sven > > my point is that we are all newbies. I do pharo also to learn. > > Stef I understand, but my point is: I am not always in the mode of explaining things for beginners, most of the time I do, this time not. That is all. |
In reply to this post by Sven Van Caekenberghe-2
Excellent
Amazing job Alexandre > Le 19 juin 2015 à 06:15, Sven Van Caekenberghe <[hidden email]> a écrit : > > Hi, > > NeoConsole is a small, standalone package that offers a command line (a.k.a. a REPL) interface to a headless Pharo image. > > It contains a number of extendable commands and metrics that allow you to execute arbitrary Pharo code for result (introspection and debugging) or side effect (to manipulate the live, running image). There is a history mechanism, you can refer to previous evaluation results and there is a primitive describe mechanism (like a one level inspect). The metrics system allows you to consult a number of predefined values. There is decent error handling. > > Here is a screencast showing how this feels in practice: > > https://www.youtube.com/watch?v=tAtYff6_X_4 > > The movie shows how to start from scratch, downloading Pharo, installing NeoConsole, running a headless image with the REPL installed in the background. Next, an HTTP server is added to the image and later a specific response is added as well. (You can speed up the movie, if you want). > > Obviously this has been done before, and this is not the definitive solution in this area. For example, readline support (allowing you to edit your input) would be fantastic. A true command line inspector and debugger would be super as well. These are standard features in Lisp and would be totally possible in Pharo too. > > I just needed this for myself, liked the result and thought it would be worth sharing. > > Sven > > PS: > > Security warning: this service opens up your image for access to those with access to your local network (i.e. those logged in to your machine), without any further authenication, allowing them to do absolutely anything. Think and make sure that you know what you are doing. > > |
Free forum by Nabble | Edit this page |