Code Monkey home page Code Monkey logo

Comments (2)

jonsequitur avatar jonsequitur commented on June 8, 2024 1

This issue is broader than that. Polyglot Notebooks depends on having a kernel running, and the github.dev experience uses only in-browser resources.

from interactive.

johnW-ret avatar johnW-ret commented on June 8, 2024

My original post was poorly worded, and I needed to perform more tests. The issue is not as broad as I thought it was:

  • Opening any Polyglot Notebook file in github.dev without a Codespace shows that the Polyglot Notebooks extension isn't available for web, which has been the case for a while and is not unexpected behavior.
  • Opening dotnet/interactive in a Codespace results in container build errors, which is probably a separate issue of its own.

    Error: Command failed: docker inspect --type image mcr.microsoft.com/vscode/devcontainers/dotnet:0-8.0
    Error code: 1302 (UnifiedContainersErrorFatalCreatingContainer)

  • Creating a new Codespace from the .NET template and running HousingML.ipynb works 100% as intended, with graphs rendered in the output properly.
  • Downloading the same notebook to my computer and running it in VS Code with the Polyglot Notebooks extension works 100% as intended.
  • When opening a VS Code tunnel on that computer via code tunnel, then accessing HousingML.ipynb via vscode.dev (Polyglot Notebooks automatically installed because it's on my computer), most outputs render but images and web views fail to render, though the space where they would be rendered is allocated and pushes the cell below down, as pictured above.

So the issue is not with github.dev at all actually, but code tunnel and vscode.dev. However, the same issue does not occur with Python Jupyter Notebooks via vscode.dev, so I'm not sure in which repo this issue belongs.


In the meantime, I'm glad I can create a new .NET Codespace, install the Polyglot Notebooks extension, and immediately get coding, or I can probably create a .devcontainer for a repo with a polyglot notebook, but I'd like to be able to leave my computer on and use my own compute for free via code tunnel.

from interactive.

Related Issues (20)

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.