-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: best authoring workflow at the moment? #466
Comments
I'll share my two cents. I find Azure Notebooks has a good user story. There are many sample notebooks. You can easily fork one to your own profile and decide to share it or keep it private. It's much easier to start to run an idea than on binder. Very little boilerplate to worry about. If dotnet interactive can be integrated there and Microsoft has conviction to spend money to improve it and market it, it can attract lots of users in data science and AI community. It might have better proposition than Google's colab as Azure notebooks already support R, Python and F# out of box. Colab's focus is still on Python. Maybe Microsoft has other products in their mind that I am not aware of. But my observation is that nobody's taking care of this wonderful preview product by seeing piles of unanswered issue lists. |
To provide some context on the This explains a few of the reasons we didn't support We're also adding support for flexible outputs during execution, so the output of the automated running of the script could be, for example, markdown or HTML, with or without code inline. Looking ahead when these capabilities are in place, we hope achieve these workflows:
|
Pile on my previous comment about Azure Notebooks. The following is the main objective from Google CoLab on its landing page.
Can Microsoft at least aim at beating authoring experience better than that? |
I'll also add that we don't default associate with the |
@zyzhu This isn't the right point to discuss the whole Azure Notebook hosted colab service thing I think - that has a whole set of issues of its own. I'm asking for workflows for authoring using the existing tools or short-term variations on them.
So the problem is that none of those workflows really work for me. And it's really conceptually jarring to have to convert anything to anything - I just want to edit my Why can't I just edit a .ipynb locally in VS Code? I don't mind if I have to set up the file association manually somehow I could use jupyter but TBH local installations of Jupyter just feel so clunky to me when VS Code is sitting around as a potential editor. The VSCode previews look really great, but if the basic workflow isn't simple it's not easy to use them in practice... p.s. Re |
Basically I find any workflow that isn't as simple as
really jarring. The inner loop of edit+execute+save has to be really tight, or else I'd favour using an F# script and F# interactive. |
Agreed that this is a simpler experience, and I think should be available with either file format. This is the current experience for It's not the default for a couple of reasons:
|
Great, we should enable this then. What's involved to make it happen? Would we need the .dib at all or could it be ephemeral? I'd prefer not to see it at all in this context. I'd be happy to help make the edit-over-ipynb experience happen, just point me to the right places.
Would the auto-convert-and-save-and-load-ipynb experience require Jupyter or Python? I'd love a Python-free experience here. We should be able to read/write ipynb directly, right?
I understand the concern here. However I didn't really want to discuss the pros and cons of a new file format, since my question is definitely about editing ipynb.... Specifically my content is long-lived eductional content going into a collaborative data-science/AI/ML programming repo (DiffSharp) where other contributors expect and trust So no matter what the pros and cons in this context I'm constrained to established file formats as the "golden truth" for the content. I simply have no choice in that. p.s. The other workflow I have in mind is simply to edit FSX files with markup and use a manually written converter to convert to ipynb. We have a converter for this here https://github.com/fsprojects/fsharp-ai-tools/blob/master/tools/fsx2nb.fsx. (For F# data science/ML/AI projects then |
Absolutely. We intend to work seamlessly with Jupyter without requiring it. Saving to and from It's not a goal to deter people from using @brettfo's point above is important:
We're working with the VS Code and VS Code Python teams to make these experiences complementary and this thread is great feedback on the experience we'd like to get to. |
Closing this out for now |
I want to author a set of sample notebooks. What's the best authoring workflow at the moment?
What I really want is "open notebook, edit, save" in a usual document way
Assume the notebooks end up in a github repo. I don't mind if I edit them online or on my local machine. If editing online the results would have to be committed directly to github on save. If editing on my local machine I'd manually push to github.
I'm not collaborating with anyone, just authoring on my own
I'd really prefer not to "edit, download, copy, save" like I have to do in mybinder today.
The best paths today appear to be a choice between
"edit in my binder, download, copy to my local repo, push back to github"
"edit locally using a local install of .NET Interactive Jupyter"
There's also a recent Visual Studio Code extension which looks really interesting. However that doesn't allow me to edit and save .ipynb, just this new .dib document format. My documents are .ipynd so I'd have to add manual document conversions to my workflow. If the VSCode extension allowed me to edit, run and save .ipynb using .NET Interactive tooling that would be great.
The text was updated successfully, but these errors were encountered: