Skip to content
Permalink
Browse files

Add post about 0.3.1

  • Loading branch information...
alexarchambault committed Mar 11, 2019
1 parent 251f423 commit 6cafdc7ade5ff158bdc14ff1f0e136f1c7af70f2
Showing with 49 additions and 0 deletions.
  1. +49 −0 docs/website/blog/2019-03-11-0.3.1.md
@@ -0,0 +1,49 @@
---
author: Alexandre Archambault
authorURL: https://github.com/alexarchambault
title: 0.3.1
---

almond `0.3.1` was just released.
This release contains updates along with a fix to have almond work
on [Colaboratory](https://colab.research.google.com), thanks to
the only [Shadaj Laddad](https://github.com/shadaj)!

## Updates

This release switches to [Ammonite](https://ammonite.io) `1.6.4`,
fs2 `1.0.4`, and jeromq `0.5.0`, among others.

Ammonite `1.6.4` mainly switched from scalaj-http to requests-scala. It also
doesn't print back private values, e.g.
```scala
private val n = 2
val m = n + 1
```
just prints back
```
m: Int = 3
```
rather than
```
n: Int = 2
m: Int = 3
```
(`n` isn't accessible in subsequent code, so it doesn't make much sense to pretty-print it.)

## Colaboratory

[Shadaj Laddad](https://github.com/shadaj) contributed a fix allowing almond
to run fine on [Colaboratory](https://colab.research.google.com).

For the braves, the [following notebook](https://github.com/alexarchambault/almond-examples/blob/colab/notebooks/colab/install-almond.ipynb) ([more
stable link](https://github.com/alexarchambault/almond-examples/blob/89eed0ff78b0b1018154ec8b391afc48a6439999/notebooks/colab/install-almond.ipynb))
allows one to setup almond in a [Colaboratory](https://colab.research.google.com) environment.

As using custom kernels isn't an official feature of Colaboratory yet, one
cannot start almond sessions straightaway. Instead, an almond notebook has to
be imported. Imported notebooks will have the right kernel.
For example, notebooks from
the [almond examples repository](https://github.com/almond-sh/examples),
can be imported, and modified / run, once almond is installed.

0 comments on commit 6cafdc7

Please sign in to comment.
You can’t perform that action at this time.