Giter VIP home page Giter VIP logo

ais.net.notebooks's People

Contributors

colombod avatar howardvanrooijen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ais.net.notebooks's Issues

ais-dotnet-bing-maps-realtime.dib - FindKernel "Kernel" does not contain a definition for "FindKernel"

Hi - I tried running "ais-dotnet-bing-maps-realtime.dib", and it threw the following error:

var jsKernel = Kernel.Root.FindKernel("javascript");
jsKernel.RegisterCommandType<VesselPositionCommand>();

Error: (1,28): error CS1061: 'Kernel' does not contain a definition for 'FindKernel' and no accessible extension method 'FindKernel' accepting a first argument of type 'Kernel' could be found (are you missing a using directive or an assembly reference?)

I updated the "FindKernel" method to "FindKernelByName" and that seems to have worked.

When running notebook: Error: interactive.registerCommandHandler is not a function

I tried running both the geofenced and realtime notebook in VS Code, as well as Visual Studio.

In VS Code, I tried running the code with Javascript(.NET Interactive)

When running the following code:

interactive.registerCommandHandler({commandType: 'VesselPositionCommand', handle: c => {
    UpdateVesselPosition(c.command);
}});

I get this error:
Error: interactive.registerCommandHandler is not a function

image

In Visual Studio, the notebook cell's code is recognized as C#, so it has a different error:

image

(1,36): error CS1026: ) expected
(1,36): error CS1002: ; expected
(1,50): error CS1012: Too many characters in character literal
(1,73): error CS1002: ; expected
(1,73): error CS1513: } expected
(4,2): error CS1002: ; expected
(4,3): error CS7017: Member definition, statement, or end-of-file expected

I don't think my Visual Studio install has access to Javascript right now, so I'm willing to ignore errors there.

Is there anything I'm doing wrong? What is the best way to communicate version information of what I'm running to you?

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.