Coder Social home page Coder Social logo

spencerpark / ijava-binder Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 40.0 46 KB

An IJava binder base for trying the Java Jupyter kernel on https://mybinder.org/

Home Page: https://github.com/SpencerPark/IJava

License: The Unlicense

Jupyter Notebook 96.38% Dockerfile 3.62%
binder binder-ready ijava java jupyter

ijava-binder's People

Contributors

spencerpark 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

Watchers

 avatar  avatar  avatar  avatar

ijava-binder's Issues

Please add a license to this repo

Could you please add an explicit LICENSE file to the repo so that it's clear under what terms the content is provided, and under what terms user contributions are licensed?

I see you've already specified the MIT license for https://github.com/SpencerPark/IJava so maybe the same license would work here?

Thanks for your work on this!


FWIW, per GitHub docs on licensing:

[...] without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work. If you're creating an open source project, we strongly encourage you to include an open source license.

Further notebook examples

Thanks a lot for IJava! I'm one of the developers on the Apache Calcite project, which basically gives you the top half of a database without the storage (query parsing, optimization, etc.) We get a lot of questions about how to make use of Calcite and I started throwing together some basic examples and I was pleasantly surprised with how well IJava works. If you're interested in including a link, here's the repository.

One of the things we're considering doing is finding a good way to integrate notebook output into documentation so we can have examples that are actually verified to still be working :) It's just an idea at this point, but if you have any thoughts on how to go about it, I'd be happy to hear them.

Python 2?

Wow this is so awesome and exactly what I was looking for! Thank you.

So I launched my Binder notebook with the ijava-binder Dockerfile and all the requirements, and now Java works, which is great. But for some reason my default Python in the Binder notebook has been downgraded to 2.7 and also pip no longer works? Do you know what might be happening here?

Build fails with ffi.h

Same thing happens for me on Binder and in Codepsaces when I run docker build .:

...
#9 24.74     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-5Cvh2K/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.5m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.5/c/_cffi_backend.o
#9 24.74     c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
#9 24.74      #include <ffi.h>
#9 24.74                      ^
#9 24.74     compilation terminated.
#9 24.74     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
#9 24.74     
#9 24.74     ----------------------------------------
#9 24.96 Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zhc6pw0h/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-pqk0y4sv-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-zhc6pw0h/cffi/
------
executor failed running [/bin/sh -c ([ -f requirements.txt ]     && pip3 install --no-cache-dir -r requirements.txt)         || pip3 install --no-cache-dir jupyter jupyterlab]: exit code: 1

Other notebook examples

Hi SpencerPark,

When I the code on ML and statistics that I collected in my project, I was expecting to happen two things: jshell and a true jupyter java notebook. Now both of them happened and I am very grateful for your effort and your work. Really really nice job and beautiful result.
I started to migrate the documentation of my project and examples for it on notebooks. It is a continuous work in progress, but the links will remain.

My project: https://github.com/padreati/rapaio
My binder notebooks project: https://github.com/padreati/rapaio-notebooks
I wonder if you can add the links to the ones you already have.

Again, all my gratitude for what you do!

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.