Re: [Jprogramming] Jupyter Versions of J Labs

2019-02-04 Thread Ian Clark
I wrote… > WIBNI we had IFJUPYTER, like IFQT etc. It's there already. The J script in Martin's package: ~/anaconda3/lib/python3.7/site-packages/jkernel/qjide.ijs assigns IFQJIDE_z_ =: 1 As you might expect, jqt doesn't set IFQJIDE_z_ =: 0 by default, so you need to test the flag e.g. like this

Re: [Jprogramming] Jupyter Versions of J Labs

2019-02-03 Thread David Mitchell
I discovered that the "not trusted" message only appears if I use the Jupyter Notebook icon from the Anaconda install to run the labs. If I run the labs from the Anaconda Prompt, the "not trusted" message does not appear. David On 2/3/2019 11:02, John Baker wrote: Thanks for plowing through

Re: [Jprogramming] Jupyter Versions of J Labs

2019-02-03 Thread John Baker
Thanks for plowing through the configuration hurdles. The “not trusted” message is probably some os/browser thing. You are right about the steps being executed in order. This is how j labs work so I unconsciously “ass”unmed it was unnecessary to mention it. I will edit the notebooks to make thi

Re: [Jprogramming] Jupyter Versions of J Labs

2019-02-03 Thread David Mitchell
I ran JOD Best Practices Lab.ipynb. On the whole, it ran well. I found two places in the lab where I had to go to JQT to run setup options. I had to use JQT to setup the JOD User Defined folders. I also had to use JQT to set the PDFReader in base.cfg. In both cases, I had to restart the la

Re: [Jprogramming] Jupyter Versions of J Labs

2019-02-03 Thread David Mitchell
After installing Anaconda, configuring the J kernel and downloading the ipynb files, I am getting this error loading JOD Best Practices Lab.ipynb JOD Best Practices Lab.ipynb : [W 08:41:11.077 NotebookApp] Notebook Downloads/jod-master/jod-master/jodnotebooks/JOD Best Practices Lab.ipynb is no

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-31 Thread Ian Clark
Devon - if I had any GB£ I'd convert them to diamonds to sew into my turn-ups. But my day-to-day income is nicely hedged, with a small but significant part coming in as US$. So if Sterling crashes along with Old Blighty, I'll still be able to afford an M16. If not a new Mac. On the Jupyter front,

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-31 Thread Devon McCormick
Ian - I hope you've converted all your £s to something solid like gold or bitcoin before the falling off the cliff thing happens. I'm still clutching onto my Windows 7 - along with my guns and religion - until I'm forced to move to one of the dark sides like Linux or Mac - for as long as I continue

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-30 Thread J. Patrick Harrington
Just a note on my experience with Jupyter. My main computer is a Dell XPS-13 running Ubuntu 18.04.1 (upgraded from the 16.04 that was factory installed). Python is version 3.6.3. I had installed Jupyter over a year ago for an "astropy" workshop, so all I needed to do was put "jkernel" in /home/ta

Re: [Jprogramming] Jupyter Versions of J Labs [for jod]

2019-01-30 Thread John Baker
The output cells do represent the last run. If you browse around Github for Jupyter notebooks you will find many that intentionally suppress output. Some people think this avoids confusion. I decided to show the outputs because J outputs are rare on the web. Once you have a notebook open one of

Re: [Jprogramming] Jupyter Versions of J Labs [for jod]

2019-01-30 Thread David Mitchell
I tried this on j807 on windows. I had no errors, but the od output was the same as you reported. I looked at the source for the Jod Introduction Lab and found this: { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stdout", "output

Re: [Jprogramming] Jupyter Versions of J Labs [for jod]

2019-01-29 Thread Murray Eisenberg
I’m using J807 under macOS. I followed instructions at https://github.com/bakerjd99/jod/blob/master/jodnotebooks/JOD%20Introduction%20Lab.ipynb but encountered two problems. Problem 1 (worked a

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-29 Thread David Mitchell
I downloaded the git zip of jkernel from here: https://github.com/martin-saurer/jkernel And followed the instructions to modify the configuration file to point to my j807 dir and copied the dirs and files listed under INSTALLATION from the jkernel-master dirs to the Anaconda dirs. At this po

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-29 Thread David Mitchell
I downloaded the git zip of jkernel from here: https://github.com/martin-saurer/jkernel/blob/master/README.md And followed the instructions to modify the configuration file to point to my j807 dir and copied the dirs and files listed under INSTALLATION from the jkernel-master dirs to the Anaco

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-29 Thread 'Mike Day' via Programming
Not sure who Martin was (as mentioned below),  I eventually found https://code.jsoftware.com/wiki/Guides/Jupyter, contributed by "Martin Saurer" This is fine,  but the download/jupyter link on that page refers to zipped j805 packages, with the Windows version apparently only available in 3

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-29 Thread David Mitchell
I looked at the page source of the .ipynb pages and also downloaded the linked .ipynb documents from your message and got HTML documents.  I got the same result from 'Save As' from the git display of jod/jodnotebooks/*. I just tried a git zip download of jod-master then displayed jod/jodnoteboo

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-29 Thread John Baker
The Jupyter Notebook file type IPYNB is a JSON file. Simply open the file in a text editor and you will see how it’s stored. Sent from my iPhone > On Jan 29, 2019, at 7:41 AM, David Mitchell wrote: > > John, > > I looked at your github notebooks. They look interesting. > > Is the JSON sour

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-29 Thread David Mitchell
John, I looked at your github notebooks. They look interesting. Is the JSON source for those notebooks available? I was curious to see how the conversion process went. All the best, David Mitchell On 1/27/2019 15:12, John Baker wrote: When I first encountered Jupyter Notebooks I thought t

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-28 Thread Ian Clark
Raul wrote: > That... sounds like a potential alternative to jhs and jqt, I suppose... Yes, I'd love to get my hands on Jupyter-plus-J. AFAIK Jupyter raids Mathematica for its "workbook" concept, which theoretically obsoletes the platforms we have for delivering courseware, viz Jwiki and jqt. So I

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-28 Thread Raul Miller
That... sounds like a potential alternative to jhs and jqt, I suppose... Thanks, -- Raul On Mon, Jan 28, 2019 at 12:51 PM John Baker wrote: > > The best way to get an interactive J Jupyter notebook is to install Anaconda > and follow Martin’s instructions for setting up a J kernel. > > Martin

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-28 Thread John Baker
The best way to get an interactive J Jupyter notebook is to install Anaconda and follow Martin’s instructions for setting up a J kernel. Martin’s instructions define kernels for Windows, Linux and Macs and Anaconda runs on all these systems. Once this is done any J Jupyter Notebook is 100% inte

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-28 Thread Raul Miller
I meant the interactive labs. Is there a good jupyter environment that J could use for labs which works across platforms? If it's not interactive J and/or if it doesn't work cross platform, it pretty much misses the entire point. Thanks, -- Raul On Mon, Jan 28, 2019 at 11:35 AM John Baker wr

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-28 Thread John Baker
Yes, The notebooks can be rendered as. HTML or PDF. Look up nbviewer for all the details. Sent from my iPhone > On Jan 28, 2019, at 8:59 AM, Raul Miller wrote: > > Can jupyter content be viewed portably on non-jupyter hardware? > > If so, how? > > Thanks, > > -- > Raul > >> On Sun, Jan

Re: [Jprogramming] Jupyter Versions of J Labs

2019-01-28 Thread Raul Miller
Can jupyter content be viewed portably on non-jupyter hardware? If so, how? Thanks, -- Raul On Sun, Jan 27, 2019 at 3:12 PM John Baker wrote: > > When I first encountered Jupyter Notebooks I thought they would make an > excellent delievery mechanism for J labs. > > This weekend I converted so

[Jprogramming] Jupyter Versions of J Labs

2019-01-27 Thread John Baker
When I first encountered Jupyter Notebooks I thought they would make an excellent delievery mechanism for J labs. This weekend I converted some J/JOD labs to Jupyter. Jupyter labs support a richer documentation and execution environment than we are used to seeing with J labs. You get all the typo