Gitpod: Julia language support

Created on 27 Sep 2019  路  21Comments  路  Source: gitpod-io/gitpod

Please, support Julia Language.
It has a docker image and a VS code extension. So, it can be done with a gitpod config like:

image: julia

vscode:
  extensions:
    - [email protected]:lgRyBd8rjwUpMGG0C5GAig==

but official support is very better.

language-support stale

All 21 comments

"Official support" would mean that we have a small guide and an example for Julia.
I'd like to avoid adding Julia support to the standard dev environment as it will further increase the size of the workspace-full image as well as adding more extensions that many will not use.

Do you want me to make a Dockerfile

I'll get a repo ready in case it's wanted

https://github.com/JesterOrNot/Gitpod-Julia
incase anyone is interested

first error ERROR: could not load library "/usr/bin/../lib/julia/sys.so"
/usr/bin/../lib/julia/sys.so: cannot open shared object file: No such file or directory

@JesterOrNot Super cool! Many thanks for setting this up. I don't even see the error you've mentioned, it just works: 馃槃

$ julia --version
julia version 1.0.1

However, I noticed a few things that could be improved in the Dockerfile. I'll make a PR.

thanks! the problem is when starting the repl try just running julia

thanks! the problem is when starting the repl try just running julia

Aha, indeed. The problem is that sys.so is installed as /usr/lib/sys.so and not /usr/lib/julia/sys.so.

But maybe it's simpler/cleaner to just add the extracted directory to the $PATH, without moving everything into the system? I think it would work, given that the error shows that Julia may be using relative paths.

I'm sorry could you remind me how that would look?

@JesterOrNot Ah, sorry, I even prepared a Pull Request that fixes the problem, but forgot to send it. Sending it now. 馃檪

EDIT: Here it is: https://github.com/JesterOrNot/Gitpod-Julia/pull/1

@jankeromnes would be great to add a brief section on Julia to our languages & frameworks section pointing to that example repo. @JesterOrNot we can fork it if you prefer or directly point to your example.

@svenefftinge Agreed! 馃槃 https://github.com/gitpod-io/website/pull/260#issuecomment-536486937

what do you mean?

@JesterOrNot We have a new "Languages & Frameworks" section in the Gitpod documentation: https://www.gitpod.io/docs/languages_and_frameworks/

Sven is suggesting that we add a brief page about the Julia language, and link to your demo repository as an example of how one can add Julia support to their repository. 馃檪 Many thanks for building it!

Could you mention me directly?

Should we pull request it into https://github.com/gitpod-io/workspace-images

@JesterOrNot Do you mean a dedicated docker file for Julia?

I'd rather see a Julia section in the docs. I believe that is more helpful and easier to maintain over time.

Oh, I see there is https://github.com/gitpod-io/website/pull/261 already. :-)

Fair enough can this issue be closed so that further conversations of this issue can take place in the pull request?

image

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kuniss picture kuniss  路  3Comments

nisarhassan12 picture nisarhassan12  路  3Comments

akosyakov picture akosyakov  路  3Comments

Kreyren picture Kreyren  路  3Comments

iksaif picture iksaif  路  3Comments