Git Product home page Git Product logo

ipolyglot's People

Contributors

dependabot[bot] avatar fniephaus avatar jakobedding avatar jonashering avatar n-riesco avatar neomatrix369 avatar niconomaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ipolyglot's Issues

Abstract from polyglot API for importing and exporting variables.

For best UX, users should not have to deal with exporting and importing variables explicitly using the polyglot API provided in GraalVM.
Instead, in some way (that has to be determined yet) we want to deliver a way to import and export variables for each notebook cell.

Ideas include:

  1. Including a UI cell to select all available variables for importing and exporting next to each cell; see:

Screenshot 2019-04-29 at 15 43 13

  1. Introducing a global bindings object that can be accessed from all cells.

  2. Introducing several bindings objects (one for each language) that can be accessed from each cell. (This would be more explicit in mentioning the origin of each variable.)

Use language specific comments in juypter notebook.

It seems to make sense to have #4 done as a prerequisite so that the programming language is known. Then, depending on the programming language, set the character sequence appended to the beginning of a line (e.g. // or #) according to the programming language. This sequence should be added automatically when hitting cmd + / in the Jupyter Notebook. We might be able to set this in the kernelspec?

error from docker: npm ERR! Failed at the [email protected] postinstall script.

While attempting to utilize ipolyglot via the docker instance, I got this error from Step #2: docker build --tag=ipolyglot .

Error:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `patch-package && ./bin/ipolyglotinstall.js --spec-path=full`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.

The full output can be found in this gist

I was able to reproduce this three times in a row.

OSX 10.13.6
Docker Desktop: 2.3.0.3
Docker Engine: 19.03.8

Error parsing Jupyter version

in setJupyterInfoAsync you parse version just executing "jupyter --version" and call
context.frontend.version = stdout.toString().trim(); context.frontend.majorVersion = parseInt( context.frontend.version.split(".")[0] );
But output like that cause error
$ jupyter --version
jupyter core : 4.6.1
jupyter-notebook : 6.0.2
qtconsole : 4.6.0
ipython : 7.9.0
ipykernel : 5.1.3
jupyter client : 5.3.4
jupyter lab : 1.2.3
nbconvert : 5.6.1
ipywidgets : 7.5.1
nbformat : 4.4.0
traitlets : 4.3.3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.