
That is a space when I`ll make some ☣ – Experiences or create little articles, talking about things I love like λ – Functional programming.
As development languages I’ll use basically C# and F#. C# or CSharp is a current Microsoft main language, easy to learn basic concepts c# is an elegant object oriented language, most used in corporative softwares but is so versatile can use in another many cases like game development with Unit Engine. Now F# or FSharp is a beauty Functional first language, in another words F# not only Functional like Haskell it can used as Object Oriented too that mean is possible have interoperability between C# and F#. Different than C#, F# not is use on big scale softwares yet, F# is versatile can be used in a big variance of softwares like Jet.com used in own Marketplace or in Data science with SciSharp.
Obviously I’ll use .NET framework but with a new feature Microsoft Interact. The Microsoft Interact is basically a bunch of tools to give for .NET Framework a interactive power with REPL or interactive notebooks, including F# and C# Jupyter kernels. So that way is possible combine .NET Framework with Jupyter Notebooks and share it without code compilation or local environment necessity.
Other important environment is the Jupyter project. This is open source project to allows create and share interactive document, mixing live coding, charts and markdowns. Use Jupyter kernels to interpreting different languages and Jupyter lab as a incredible and customized, by extensions, web based UI.
Now to support all those environments the Docker. Basically Docker is a open source platform to admin and create isolate environment using Linux Containers and a container is a isolated packing software with yours dependencies. With Docker is easy to create a isolated environment and share it, because you only need share the “configuration files” or use some cool cloud service like My Binder to host your notebooks with your environment, in another words you just share the cookbook not the food.
Once upon a time a magic software builder called Microsoft created a magic artifact called Microsoft interact VS Code. The artifact holder have a big power of… make same stuff than jupyter notebook with little advantages like the communication between different languages in same notebook and VS Code facilities, but I preferred use some magic artifacts already works, Jupyter lab, than use another is on preview version and not works so well. Ok.. That is not full truth, I’m yet using Microsoft Interact but without VS Code Insiders, but using F# and C# Kernel. But we has the environment problem yet, so to resolve that problem I used another magic artifact, the Docker. That way is easy to share the environment by a cookbook and build it locally or use a cool service like My Binder to host the notebooks.
To read the articles you have three possibilities, first you can click on in this doc head, this button will redirect you one folder with all Jupyter Notebooks files, just chose one and have fun.
The last way is using Docker, just fallow the instructions below:
- On project directory root run the command
docker-compose up local-notebooks
.
And just that… Now a link you be generated after image build, click on link and enjoy it.

Leave a Reply