Recent submissions

Comment · 2 months ago
It also works with Pytensor & PyMC!
Comment · 9 months ago
Thanks!

The crazy thing about jupyter-games is that the entire stack entirely runs in the browser (which is not possible with pygame). Jupylet looks awesome!

Comment · 9 months ago
How to create fun, interactive games using box2d and ipycanvas in Project Jupyter.

An example of how Jupyter notebooks can be used for creative projects - like game development - while also serving as a blogging platform.

Comment · 9 months ago
We are thrilled to introduce notebook.link, a new platform that lets you create, share, and run Jupyter notebooks instantly in your browser, with no setup or installation required. Powered by JupyterLite and WebAssembly, it supports Python, R, and C++, plus a full in-browser terminal experience.
Comment · 1 year ago
Excellent catch.

This std::move should not have been in this code snippet. It is a copy-paste mistake, carried over from the previous code snippet of the post, and should have been omitted.

(The `std::move` does nothing in this snippet, since `sp::get_arrow_structure` takes and lvalue reference).

In the previous example with `sp::extract_arrow_structures`, which takes an rvalue reference, std::move is required and the sparrow primitive array cannot be operated upon after.

Comment · 1 year ago
Excellent catch. The std::move in the snippet is a copy-paste mistake. It was carried over from the previous code snippet.
Comment · 1 year ago
This is really not the same thing at all.

sp::primitive_array holds memory following the Arrow specification, which can be operated upon in place from e.g. ArrowCpp, PyArrow, etc.

Comment · 5 years ago
This has nothing to do with Python. The faulty package was xeus-cling, a C++ kernel for Jupyter.
Comment · 5 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton