Hacker News new | past | comments | ask | show | jobs | submit login

I have been using evcxr for the last 2-3 weeks and I'm loving it. There are two things that bother me: (a) fancy UI components seem to only work with Python and C++ kernel (not theoretically, but with available packages), (b) while you can redefine values and functions when you're iterating, you cannot do so with structs (yes, big structs go to a local package that I depend on, but sometimes I have ad-hoc utility structs).



Here's the xeus-cling (Jupyter C++ Kernel) source: https://github.com/jupyter-xeus/xeus-cling/tree/master/src

Do any of the other non-Python Jupyter kernels have examples of working fancy UI components? https://github.com/jupyter/jupyter/wiki/Jupyter-kernels

Jupyter kernels implement the Jupyter kernel message spec. Introspection, Completion: https://jupyter-client.readthedocs.io/en/latest/messaging.ht...

Debugging (w/ DAP: Debug Adapter Protocol) https://jupyter-client.readthedocs.io/en/latest/messaging.ht...

A `display_data` Jupyter kernel message includes a `data` key with a dict value: "The data dict contains key/value pairs, where the keys are MIME types and the values are the raw data of the representation in that format." https://jupyter-client.readthedocs.io/en/latest/messaging.ht...

This looks like it does something with MIME bundles: https://github.com/jupyter-xeus/xeus-cling/blob/00b1fa69d17b...

ipython.display: https://github.com/ipython/ipython/blob/master/IPython/displ...

ipython.core.display: https://github.com/ipython/ipython/blob/master/IPython/core/...

ipython.lib.display: https://github.com/ipython/ipython/blob/master/IPython/lib/d...

You can also run Jupyter kernels in a shell with jupyter/jupyter_console:

    pip install jupyter-console jupyter-client
    jupyter kernelspec list
    jupyter console --kernel python3




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: