Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-29 Thread H. Hirzel
On 8/29/18, Jesús Marí wrote: > You can display text or html using > self display openInJupyter:'*hello world in bolt*' > > or anything in a morph (a jpg, png ..a Roassal drawing). > self display openInJupyter: aMorph > > you can expecify the extent > self display openInJupyter: aMorph extent:

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-29 Thread Jesús Marí
You can display text or html using self display openInJupyter:'*hello world in bolt*' or anything in a morph (a jpg, png ..a Roassal drawing). self display openInJupyter: aMorph you can expecify the extent self display openInJupyter: aMorph extent: aPoint. if you have installed Roassal group

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-29 Thread H. Hirzel
Hello Jesús Marí The JavaScript kernel has custom output functions [1] such as $$.html(htmlString) $$.svg(svgString) $$.png(base64String) $$.jpeg(base64String) $$.mime(mimeBundle) What is the equivalent for $$.svg(svgString) for example? Regards Hannes [1]

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-27 Thread H. Hirzel
Actually there is a probably a configuration file, but not in the place where I checked, I assume. I have Ubuntu or Ubuntu based test installations in partitions sda6,7,8,9,10. I can not recall in which partition in actually happened. However I found out about the command [1] jupyter

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-24 Thread Jesús Marí
Last update works also on *nteract* In the other hand, I could not understand how Jupyter knows about Pharo kernel without the configuration file!!! Unbelievable! -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-24 Thread H. Hirzel
Hello On 8/24/18, H. Hirzel wrote: > On 8/23/18, Jesús Marí wrote: >> I'll take a look to *nteract*, seems that it uses the same protocol to >> communicate with kernels. > > Good, actually my goal is to have a simple installation in a new Linux > installation, > something like > > a) download

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-23 Thread H. Hirzel
On 8/23/18, Jesús Marí wrote: > I'll take a look to *nteract*, seems that it uses the same protocol to > communicate with kernels. Good, actually my goal is to have a simple installation in a new Linux installation, something like a) download nteract (https://nteract.io/desktop), a 50MB

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-23 Thread Jesús Marí
I've been playing with nteract and surprissently it uses the same kernels than Jupyter, it means all of your kernels published in /use/local/share/jupyter/kernels are usable by nteract. Whith a very simple change in session initialization Jupytertalk works on nteract. -- Sent from:

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-23 Thread Jesús Marí
I've been playing with nteract and surprissently it uses the same kernels than Jupyter, it means all of your kernels published in /use/local/share/jupyter/kernels are usables by nteract. With a very simple change in session initialization Jupytertalk works on nteract except visualizations of

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-23 Thread Jesús Marí
please try the updated version. I have just uploaded a new version of libZeroMQ class that searches for the correct lib through the LD_LIBRARY_PATH. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-23 Thread Jesús Marí
if you stop/kill the process (closing pharo), jupyter start it again. By now kernel.json file do not open pharo in "headless" mode, because JupiterTalk is not released and I'm suddenly updating the code, anyway...there's nothing like Pharo debugger... Did you find libzeromq.so ? what version do

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-23 Thread Jesús Marí
I'll take a look to *nteract*, seems that it uses the same protocol to communicate with kernels. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-23 Thread Jesús Marí
If I'm following right, you found jupyter/kernel folder and you created the kernel.json file, so you are very close to have everything running. In the screenshot,t Pharo is not able to find zeromq library libzmq.so.3, maybe anaconda installs other version. Please check for your libzmq.so file

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-22 Thread H. Hirzel
P.S. Probably noteworthy is that for some reason a second instance of Pharo was opened. Probably by the command jupyter notebook I could close one but after closing the other instance it was opened automatically again. On 8/22/18, H. Hirzel wrote: > The installation progressed, success

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-22 Thread H. Hirzel
On 8/22/18, H. Hirzel wrote: > Hello again, Jesús Marí > > On 8/18/18, Jesús Marí wrote: >> I have experience in other kernels and if I am not wrong there aren't >> any >> kernel that installs Jupyter at all. > > Actually nteract (https://nteract.io/desktop) contains everything in > one 50MB

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-22 Thread H. Hirzel
Hello again, Jesús Marí On 8/18/18, Jesús Marí wrote: > I have experience in other kernels and if I am not wrong there aren't any > kernel that installs Jupyter at all. Actually nteract (https://nteract.io/desktop) contains everything in one 50MB package. Webclient and nodejs server. No

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-18 Thread Jesús Marí
Maybe...I will study what is the best option, prevent installation or install Roassal...lot of work to do. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-18 Thread Jesús Marí
I have experience in other kernels and if I am not wrong there aren't any kernel that installs Jupyter at all. In the case of IRKernel, R installs the needed packages and then you have to execute a command in order to make the kernel available for Jupyter, please, take a look at

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-16 Thread Stephan Eggermont
In the group with Roassal you should load the (symbolic) version of Roassal you need. Stephan

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-16 Thread H. Hirzel
Hello Jesús Marí Your most recent note about the different groups for the Metacello command clarifies the situation. Thank you also for your two answers yesterday 15th. You asked if I installed Jupyter and and ZeroMQ in your system? The answer is no: I was assuming Jupytertalk (your Pharo

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-16 Thread Jesús Marí
Yes, you are right, indeed there are three groups in the baseline so you can install only JupyterTalk package doing Metacello new baseline: 'JupyterTalk'; repository: 'github://jmari/JupyterTalk:master/repository'; load:'default' This is the right way.

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-16 Thread Stephan Eggermont
Jesús Marí wrote: > First screenshot shows a warning because JupyterTalk script doesn't care > about if Roassal or Polymath are installed or not, only tries to add some > methods to several of its classes...for sure you will be interested in these > frameworks combined with Jupyter, I suggest you

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-15 Thread Jesús Marí
Tutorial files placed on Github are notebooks written on jupyter using JupyterTalk Kernel. They are not an installation procedure. I have just ran it in a new linux machine an now it works also on linux. I have done using pharo-launcher on a 64 bits image. - kernel description file must be

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-15 Thread Jesús Marí
First screenshot shows a warning because JupyterTalk script doesn't care about if Roassal or Polymath are installed or not, only tries to add some methods to several of its classes...for sure you will be interested in these frameworks combined with Jupyter, I suggest you to install them before

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-15 Thread H. Hirzel
To clarify my question: I read the tutorial http://htmlpreview.github.io/?https://github.com/jmari/JupyterTalk/blob/master/Tutorial1_BasicStatistics.html My question is: How do I start JupyterTalk and how to I connect then to the Pharo Smalltalk kernelt from an nteract

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-15 Thread H. Hirzel
Attachement shows the result of a successful installation into Pharo 6.1 On 8/15/18, H. Hirzel wrote: > After loading Roassal2 through the Pharo 6.1 catalog and re-executing > the Metacello load script > > Metacello new > baseline: 'JupyterTalk'; > repository:

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-15 Thread H. Hirzel
After loading Roassal2 through the Pharo 6.1 catalog and re-executing the Metacello load script Metacello new baseline: 'JupyterTalk'; repository: 'github://jmari/JupyterTalk:master/repository'; load:'all' All loaded fine. I found 2 tests. (Result attached). One of

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-15 Thread H. Hirzel
On 8/15/18, Stephan Eggermont wrote: > H. Hirzel wrote: >> P.S. I see that the Metacello script installs a lot in one go. >> >> I might be easier to identify the problem if the installation can be >> done in steps, i.e. several load scripts in sequence. > > You already have all the information

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-15 Thread Stephan Eggermont
H. Hirzel wrote: > P.S. I see that the Metacello script installs a lot in one go. > > I might be easier to identify the problem if the installation can be > done in steps, i.e. several load scripts in sequence. You already have all the information you need. RT classes missing. Is this supposed

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-15 Thread H. Hirzel
Also useful would be a catalog entry. On 8/15/18, H. Hirzel wrote: > P.S. I see that the Metacello script installs a lot in one go. > > I might be easier to identify the problem if the installation can be > done in steps, i.e. several load scripts in sequence. > > On 8/15/18, H. Hirzel wrote:

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-15 Thread H. Hirzel
P.S. I see that the Metacello script installs a lot in one go. I might be easier to identify the problem if the installation can be done in steps, i.e. several load scripts in sequence. On 8/15/18, H. Hirzel wrote: > Hello Jesús Marí and others > > Thank you for the updated Metacello script.

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-13 Thread Jesús Marí
That worked for me Metacello new baseline: 'JupyterTalk'; repository: 'github://jmari/JupyterTalk:master/repository'; load:'all' I will correct the github readme page. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-13 Thread Jesús Marí
I found it...you just have to add the subdirectory to the repository path Metacello new baseline: 'JupyterTalk'; repository: 'github://jmari/JupyterTalk/repository/'; load:#all -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-13 Thread Jesús Marí
Hi Hannes, I did not find a nice way to solve the problem but you will be able to load jupytertalk following these simple steps: - Try to load it executing Metacello new baseline: 'JupyterTalk'; repository: 'github://jmari/JupyterTalk'; load:'all' - It will fail...open

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-10 Thread Offray Vladimir Luna Cárdenas
Hi, Yes, Grafoscopio exist to overcome limitations of Jupyter as Andrew says, its lack of a object model but also its overcomplicated architecture[0]. I have said that in some way, Grafoscopio and JupyterLab[1] are following opposite paths. The last started as an interactive notebook and is

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-08 Thread H. Hirzel
Jupyter notebooks are not limited to Python, there are more than 40 https://github.com/jupyter/jupyter/wiki/Jupyter-kernels Pharo Smalltalk is one of them https://github.com/jmari/JupyterTalk I'd like to get it up and running On 8/7/18, Andrew Glynn wrote: > Grafoscopio exists due to

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-07 Thread Andrew Glynn
Grafoscopio exists due to various limitations of Jupyter, particularly the lack of real support for objects in its core language - Python. JSON is not equivalent to STON even in terms of storing JavaScript, it's mainly a data format. On 8/7/18, 2:14 PM, "Pharo-users on behalf of Sean P.

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-07 Thread Sean P. DeNigris
Hannes Hirzel wrote > P.S. Some notes and links how Jupyter notebooks relate to the Dynabook > idea here > http://wiki.squeak.org/squeak/1318 >From the swiki: "A Jupyter Notebook is… similar to Active Essays kept in a Smalltalk based Dynabook." I've understood a key point of the Dynabook dream

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-07 Thread Serge Stinckwich
On Tue, Aug 7, 2018 at 9:24 AM Tim Mackinnon wrote: > Somewhat related - but the Pharo equivalent (said naively - as I’ve only > seen demos of Jupyter and not used it in anger myself) is gtDocumentor > which looks to be the concept reimagined in Smalltalk. Apologies if you > already know about

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-07 Thread Tim Mackinnon
Somewhat related - but the Pharo equivalent (said naively - as I’ve only seen demos of Jupyter and not used it in anger myself) is gtDocumentor which looks to be the concept reimagined in Smalltalk. Apologies if you already know about it - but its so cool its worth checking out if you haven’t -

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-07 Thread H. Hirzel
P.S. Some notes and links how Jupyter notebooks relate to the Dynabook idea here http://wiki.squeak.org/squeak/1318 My aim is to use nteract as client (https://nteract.io/ ) together with a Pharo based Smalltalk "kernel" (i.e. server acting as the "scripting engine") On 8/7/18, H. Hirzel

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-07 Thread H. Hirzel
Thank you, Evan, for an alternative load script. Unfortunately it gives the same error message. I use a recent, pristine Pharo 6.1 installation on a 64bit Ubuntu based Linux. On 8/4/18, Evan Donahue wrote: > Try: > > Metacello new > githubUser: 'jmari' project: 'JupyterTalk'

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-04 Thread Evan Donahue
Try: Metacello new githubUser: 'jmari' project: 'JupyterTalk' commitish: 'master' path: 'repository'; baseline: 'JupyterTalk'; load -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-08-04 Thread H. Hirzel
Thank you Serge, good to see that there is progress with Tensorflow and PolyMath. I have problems installing Jupytertalk into a pristine 6.1 (I follow the instructions) Metacello new baseline: 'JupyterTalk'; repository: 'github://jmari/JupyterTalk';

Re: [Pharo-users] Jupyter notebooks / Dynabook / JupyterTalk

2018-07-28 Thread Serge Stinckwich
On Sat, Jul 28, 2018 at 11:21 AM H. Hirzel wrote: > Hello > > What is the status of this project? > > > https://github.com/jmari/JupyterTalk > > ​You can ask the author of the software, Jesus Mari Aguirre. He is quite active. W ​e talk together about be able to use Jupytalk with Tensorflow