Showing posts with label jupyter. Show all posts
Showing posts with label jupyter. Show all posts

Thursday, 20 November 2025

The Concept of C# Scripting (.csx files)

The concept of C# scripting bears semblance to Jython in Java (more so than JavaScript to Java).

Scripting commands will not be allowed in regular programs.

Here's an example:

#r "nuget: Microsoft.SuperAdvancedKernel, 1.23.0"

It can be used in environments like .NET Interactive and Jupyter Notebooks with .NET. It came into being in Visual Studio 2015.

The file needs to be .csx file.

#r is the reference directive, to reference an assembly or package.

Friday, 14 November 2025

Google Colab

Google Colaboratory ("Colab") is a hosted Jupyter notebook which includes free access to GPUs and TPUs. It is for machine learning, data science and education.

For cool datasets to explore ML with, check out Google Dataset Search.

There is an interesting Colab workbook by Ashwin Rao on the SVB crisis.

Colab supports a large number of constantly upgraded Python packages including kagglehub (to use Kaggle resources) and narwhals (dataframe library).

Friday, 12 September 2025

File format for Jupyter Notebooks

Jupyter notebooks are stored as .ipynb files (which stands for interactive Python notebook). 

Thursday, 11 September 2025

Introducing the Mojo Programming Language

Mojo is a programming language in the Python family.  Informally, it is a kind of "high performance Python".

It is currently available in browsers, via Jupyter notebooks and locally on Linux and macOS.

Developers of Mojo are Chris Lattner (ex Apple, ex Tesla, ex Google) the original architect of Swift (which he began developing in 2010, subsequently developed and added to by other developers) and LLVM (working with Vikram Adve at University of Illinois), and Tim Davis, a former Google employee.

Chris has described Mojo as "AI First" whereby AI is driving the design and requirements but it is not designed to be AI-Only, and so it can be described as moving towards a general purpose programming language.

Mojo is built on the MLIR (Multi-Level Intermediate Representation) compiler infrastructure, of which Lattner was a co-founder, one of whose aims is to reduce the cost of building domain-specific compilers.