Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide two-way autotranslation #5039

Closed
scottdraves opened this issue Mar 30, 2017 · 2 comments
Closed

provide two-way autotranslation #5039

scottdraves opened this issue Mar 30, 2017 · 2 comments
Assignees
Milestone

Comments

@scottdraves
Copy link
Contributor

scottdraves commented Mar 30, 2017

Beaker Notebook supported two-way autotranslation between any supported language.
BeakerX has so far a prototype that goes from Python and JVM languages to JavaScript and D3.
Further support is planned to be based on https://github.com/apache/arrow

other ideas for implementation:
use http://www.tornadoweb.org/en/stable/queues.html
to fix https://github.com/twosigma/beaker-notebook-archive/blob/master/beaker/runtime.py#L436

another way: make autotranslation be an invisible (?) widget, and let its machinery do the synchronization. this has the downside of duplicating the data, but a lot of upsides of making it more accessible and using an existing implementation.

@scottdraves
Copy link
Contributor Author

scottdraves commented May 1, 2018

We are going to go with the widget for 1.0.

@scottdraves
Copy link
Contributor Author

scottdraves commented Jun 13, 2018

complication: widgets do not support multiple kernels.
so while that would do two-way translation eg groovy↔javascript, it would not provide groovy↔python.
proposed solution: each kernel creates its own widget, and our extension keeps the client-sides in sync.
some extra sauce is required on the client anyway to make the values accessible via "beakerx.foo".

jaroslawmalekcodete added a commit that referenced this issue Jun 18, 2018
jaroslawmalekcodete added a commit that referenced this issue Jun 20, 2018
scottdraves pushed a commit that referenced this issue Jun 25, 2018
* #5039: add autotranslation service interface and NamespaceClient refactoring

* #5039: (groovy) add sync from js to server

* #5039: (scala) add support for autotranslation

* #5039: add flask

* #5039: change flask to tornado

* #5039: changes after review

* #5039: rename to BeakerClient

* #5039: rename to BeakerXClient

* #5039: rename to BeakerXClient

* #5039: rename to BeakerClientManager

* #5039: rename to BeakerXClientManager

* #5039: rename to getBeaker

* #5039: rename to getBeakerX

* #5039: rename to beakerX

* #5039: BeakerXClinetManager refactoring

* Merge branch 'master' into jarek/5039_autotranslation_v2

# Conflicts:
#	kernel/base/src/main/java/com/twosigma/beakerx/evaluator/EvaluatorManager.java
#	kernel/base/src/main/java/com/twosigma/beakerx/kernel/Kernel.java
#	kernel/base/src/test/java/com/twosigma/beakerx/KernelTest.java
#	kernel/groovy/src/test/java/com/twosigma/beakerx/groovy/evaluator/GroovyEvaluatorTest.java
#	kernel/sql/src/main/java/com/twosigma/beakerx/sql/BeakerParser.java
#	kernel/sql/src/main/java/com/twosigma/beakerx/sql/evaluator/SQLEvaluator.java
#	kernel/sql/src/main/java/com/twosigma/beakerx/sql/kernel/SQL.java
#	kernel/sql/src/test/java/com/twosigma/beakerx/sql/SQLAutocompleteTest.java
#	kernel/sql/src/test/java/com/twosigma/beakerx/sql/SQLBaseEvaluatorTest.java
#	kernel/sql/src/test/java/com/twosigma/beakerx/sql/SQLEvaluatorTest.java
#	kernel/sql/src/test/java/com/twosigma/beakerx/sql/SQLKernelTest.java

* #7511: support structured data in scala kernel
scottdraves added a commit that referenced this issue Jun 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants