NetLogo / NetLogo/Python-Extension

Remote host/interpreter support

Open
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
31
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Copied from (with more discussion at): https://github.com/qiemem/PythonExtension/issues/3

Bash on Ubuntu on Windows (AKA Windows Subsystem Linux, AKA WSL) is really cool. However, because it is a sub system, Windows cannot access the Python binaries in WSL. And consequently, the NetLogo python extension won't be able to run them.

JetBrain's PyCharm solves this in their Windows GUI version by allowing people to connect to a remote SSH host that is then run on WSL. All code is sent to WSL via SSH, compiled, run, and values returned. It works beautifully and seamlessly.

Do you have any idea how difficult it would be to implement a similar feature in the extension?

Edit: I wouldn't know where to look for their implementation, but here is how to set it all up. Maybe that will give you a sense of how it works behind the scene: https://www.jetbrains.com/help/pycharm/2016.3/configuring-remote-interpreters-via-wsl.html

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reviewing the NetLogo Python extension and the linked PyCharm WSL remote-interpreter setup, focusing on SSH communication with a WSL host. Done would mean Python code can run through the remote interpreter and values can be returned to NetLogo.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python, ubuntu
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.