Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    dev.hell
    @dev.hell:matrix.org
    [m]
    I used Binder as a sanity check when it didn't work in AKS
    Diego Colombo
    @colombod
    Port forwarding in binder is a good question forthem
    dev.hell
    @dev.hell:matrix.org
    [m]
    and then again with my local docker
    Diego Colombo
    @colombod
    but...
    try the docker one using the sample i pointed yo uat
    also notice in the channel that we are now moved over to discord for community
    dev.hell
    @dev.hell:matrix.org
    [m]
    okay, thank you!
    ah, I don't have discord, but I'll keep it in mind. You were most helpful, thank you very much :D
    Diego Colombo
    @colombod
    you are very very welcome, please open the ticket so we can track and you can see progresses there
    if you don't mind me asking, can you tell me more about you docker based scenario?
    if is for easy sharing are you aware of the quick installer for vscode + .net interactive here : https://dotnet.microsoft.com/learntocode
    single installer and you get all that is needed, then you can have notebooks where you like, on github you can use the github remote repository extension so they can be open with no need to clone, or even have urls that open vscode with notebooks directly
    vscodes://ms-dotnettools.dotnet-interactive-vscode/openNotebook?url=https%3A%2F%2Fraw.githubusercontent.com%2Fdotnet%2Finteractive%2Fmain%2FNotebookTestScript.dib
    that url opens the notebook on teh fly
    as long as you have vscode installed
    @dev.hell:matrix.org this is the discord channel https://discord.com/channels/732297728826277939/832335158925328455
    dev.hell
    @dev.hell:matrix.org
    [m]
    the docker example I used only to reproduce the issue we were having with AKS. We're using JupyterHub for teaching purposes, and we wanted to expand it to include .net interactive kernels. We then also discovered the polyglot abilities and wanted to try them, and everything worked except for the javascript magics, so we tried to independently verify if it was our AKS setup or something else that was causing the timeout. I wasn't aware of the ports, and neither were any of the others on my team, so that's why it stumped us when one colleague had no issue running it locally on his Windows machines, but we couldn't get the same results on docker or AKS.
    thank you for the extra pointers and vscode stuff, it'll probably be useful down the line. Much appreciated, thank you again! :)
    I'm building your docker image right now; I'll report back
    dev.hell
    @dev.hell:matrix.org
    [m]
    @colombod: That is amazing, thank you, this solved it. 😀
    Schalk Dormehl
    @sjalq
    Hey folks
    I don't know if it's something I did accidentally or if it's a recent change to dotnet-interactive, but I'm no longer able to see my plotly charts on my f# dotnet-interactive notebook project.
    Essentially I now only see what looks like a tuple breakdown of the chart instead of a list of charts as I was previously seeing?
    Any pointers would be greatly appreciated.
    Jon Sequeira
    @jonsequitur
    Are you using Xplot.Plotly?
    The recent .NET Interactive release broke that extension. There's an issue open for it.
    Ah it was closed. fslaborg/XPlot#169
    Schalk Dormehl
    @sjalq
    Holy moly that was fast!
    Thank you guys so much!
    tingram-hp
    @tingram-hp
    I am referencing a NuGet package, but it is loading the dll from the GAC. I thought this was using .Net Core, so would not look in the GAC?
    Jon Sequeira
    @jonsequitur
    Which package?
    tingram-hp
    @tingram-hp

    r "nuget: Oracle.ManagedDataAccess.Core, 3.21.80"

    Value when writing out the assembly location: C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\Oracle.ManagedDataAccess\v4.0_4.121.2.0__89b483f429c47342\oracle.manageddataaccess.dll
    Jon Sequeira
    @jonsequitur
    I'm not seeing that.
    image.png
    tingram-hp
    @tingram-hp
    image.png
    That is running in Azure Data Studio. Same result in VSCode.
    I presume you do not have Oracle.ManagedDataAccess in your GAC to be loaded.
    tingram-hp
    @tingram-hp
    image.png
    Kevin B
    @Keboo
    tingram-hp
    @tingram-hp
    That is for Full .Net Framework, correct? I thought .Net Core does not check the GAC?
    Kevin B
    @Keboo
    you are correct, just wasn't sure which runtime was actually being used there
    tingram-hp
    @tingram-hp
    Does .Net Interactive always use .Net Core? Is there a way to check what it is using - or to change what it is using?
    tingram-hp
    @tingram-hp
    image.png
    It looks like I am running .Net 6. My understanding is this shouldn't be loading from the GAC like this.
    tingram-hp
    @tingram-hp
    Is there a case where the Interactive extension might be running under Full Framework before launching the CSharp? If I am interpretting the csproj properly, it looks like it can fall back to 4.5. I ask because the CSharp tooling uses ScriptMetadataResolver.Default from Roslyn, which in turn uses RuntimeMetadataReferenceResolver.CreateCurrentPlatformResolver(...). That resolver adds a GAC resolver to the script context if the current app context has GAC support. In this case, you could end up running a .Net 6 script with a GAC resolver attached. If this is the root cause, there might need to be a custom ScriptMetadataResolver constructed instead of using the Default.
    tingram-hp
    @tingram-hp
    I went ahead and submitted a ticket for this issue: dotnet/interactive#2457
    Jon Sequeira
    @jonsequitur
    Thanks!
    Harald Steinlechner
    @haraldsteinlechner
    i there. I have a question regarding handling of hover texts. I just experimented with the f# kernel and switched hover texts from markdown to text/html in the values returned as FormattedValue. Now the hover stays empty - it seems like something is assuming to get the value as markdown. Is text/html possible for hover texts, and if so, do i need to do something special?
    Harald Steinlechner
    @haraldsteinlechner
    Harald Steinlechner
    @haraldsteinlechner
    seems like https://github.com/dotnet/interactive/blob/79db0c5cc8ec099cd03c1ac8e02832d87db6877a/src/dotnet-interactive-vscode-common/src/languageProvider.ts#L99 , here one could create an HtmlElement. as the content and it might work. if somebody more into this could confirm, it could help me not running into a dead end :)