nextjournal

mkvlr 2021-06-30T09:25:47.001800Z

really happy to finally ship our http://nextjournal.com/blog/command-bar today!

πŸŽ‰ 4
Thomas Schranz 2021-06-30T13:58:57.003Z

hi, kudos @ command palette, love it

Thomas Schranz 2021-06-30T13:59:44.003900Z

I recently was wondering if I can get k to work on nextjournal (e.g. shakti k or ngn/k or klong)

Thomas Schranz 2021-06-30T14:00:00.004300Z

but I don't really know where to start

Thomas Schranz 2021-06-30T14:00:17.004700Z

I saw there is APL support (via the jupyter kernel?)

helios 2021-06-30T14:10:15.005200Z

@thomas.schranz Yep Dyalog APL https://nextjournal.com/mk/dyalog-apl

Thomas Schranz 2021-06-30T14:11:24.006200Z

this works well, it would be somewhat useful to have a tryapl-like symbol picker but i guess that's a bit out of scope :D

Thomas Schranz 2021-06-30T14:12:33.006800Z

on replit i was able to get kona running https://replit.com/@ichigoberry/kona i forked the fortran example and basically switched to the nix package for kona

Thomas Schranz 2021-06-30T14:13:42.008100Z

but I'm not sure what the workflow/prerequisites are for nextjournal, i skimmed through the docs for environments but did not "get it"

mkvlr 2021-06-30T14:17:24.008900Z

hey @thomas.schranz, you can add new languages given they have a jupyter kernel like described in https://nextjournal.com/help/jupyter-kernels

Thomas Schranz 2021-06-30T14:17:38.009400Z

i think getting a new language to work on nextjournal is a bit over my head but i'm also not sure if it is supported in principle

Thomas Schranz 2021-06-30T14:18:29.010400Z

ah i see @ jupyter kernels

Thomas Schranz 2021-06-30T14:20:19.011300Z

I think q from kx systems has a jupyter kernel, I'll look into that!

Thomas Schranz 2021-06-30T14:20:50.011900Z

unfortunately the community is so small that often there only are some instructions on github on how to generate a binary

mkvlr 2021-06-30T14:21:13.012200Z

let us know if you’re stuck and I hope we can help

Thomas Schranz 2021-06-30T14:22:13.013200Z

I think if you can get ngn/k to run on nextjournal you'd win a large junk of the super tiny k community πŸ˜„

Leah Neukirchen 2021-06-30T14:22:37.013700Z

I have notebooks which run J

Thomas Schranz 2021-06-30T14:22:43.014Z

but I'm pretty sure there is no jupyter kernel for it

Thomas Schranz 2021-06-30T14:23:05.014400Z

ooh! @leah are any of those public?

Leah Neukirchen 2021-06-30T14:24:10.015Z

https://nextjournal.com/leahneukirchen/j-examples

πŸͺ„ 1
Thomas Schranz 2021-06-30T14:24:12.015200Z

apl and j might actually be a sweet spot because they have jupyter kernels

Leah Neukirchen 2021-06-30T14:24:33.015500Z

this is the jkernel: https://github.com/martin-saurer/jkernel/tree/master/jkernel

Thomas Schranz 2021-06-30T14:24:39.015800Z

wow this is great

Leah Neukirchen 2021-06-30T14:24:44.016Z

i think one could write a similar thing for ngn/k easily

Thomas Schranz 2021-06-30T14:24:47.016300Z

thanks a lot for the pointer

Leah Neukirchen 2021-06-30T14:25:18.017Z

also for kx but i'm not sure if they like redistributing their software this way

Thomas Schranz 2021-06-30T14:26:09.017600Z

yeah kx might be too complicated

Thomas Schranz 2021-06-30T14:26:49.018Z

it is exciting that with ngn/k there is an open source implementation

Thomas Schranz 2021-06-30T14:27:20.018400Z

there are also others of course

Thomas Schranz 2021-06-30T14:28:52.019Z

@leah your J notebook works great, I just remixed it, thx a lot

Leah Neukirchen 2021-06-30T14:28:55.019100Z

ngn/k is a bit tricky because it doesnt use a prompt i think

Leah Neukirchen 2021-06-30T14:29:15.019400Z

so how do you know the previous command finished πŸ˜›

πŸ‘€ 1
Leah Neukirchen 2021-06-30T14:29:50.019700Z

ah, repl.k has one