Skip to content

Comment on The Dino, the Llama, and the Whale (Deno and Jupyter for Local AI Experiments)parent

Comments

Can you give an example of UI and image outputs that don't work with deno? I'm truly curious.

In the article, there’s an example where a graph object needs to be:

- converted to png

- converted into a promise of an array buffer

- awaited

- converted into a Uint8Array

- passed to Deno.jupyter.image

Just to display it in the notebook. In Python Jupyter, you can just return many types and the library/Jupyter will figure out how to render them.

A few lines of code isn’t much but in my experience for interactive coding to be productive you have to remove every bit of friction and boilerplate you can.

Thanks!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.