Better HN
topnewbestaskshowjobs
Log inSign up

DerThorsten

8 karma · joined Oct 25, 2021 (5y ago) · 12 submissions

Submissions

comment 1mo ago · link · parent

there is also:

* emscripten-forge [1] which is a conda-distribution for emscripten-wasm32 / emscripten-wasm64

* jupyterlite [2] which runs jupyter notebooks in the browser and has kernels for python,r-lang, sqlite,cpp,octave, javascript and many more.

* notebook.link [3] which is a high level platform around jupyterlite that allows to share notebooks.

Disclaime: I am the main author of emscripten-forge, I am a contributor to jupyterlite and work for the company behind notbook.link

[1] https://emscripten-forge.org/

[2] https://jupyterlite.readthedocs.io/en/stable/

[3] https://notebook.link/

comment 2mo ago · link · parent

Hi, emscripten-forge author/maintainer here. There is not yet a roadmap for pthread builds on emscripten-forge, but we are experimenting a bit with pthread support atm. Currently we are working on migrating all pkgs to emscripten 6 and also add support for wasm64 (in addition to wasm32).

3.

JupyterLite Officially Joins Project Jupyter(blog.jupyter.org ↗)

8 points · by DerThorsten · 9mo ago · discuss

comment 9mo ago · link · parent

Author here: If you want to skip the reading and directely want to go to the code, just go here https://notebook.link/@DerThorsten/jupyter-games

A jupyter notebook which runs python in the browsers via wasm will wait for you. Pyb2d3, python bindings for box2d-3 are installed in the environment and are used to create tiny games / simulations in a hand full of lines of code.

The goal of this is to make fun things like box2d accessible for educational purposes and similar, without the hussle of installing anything.

comment 1y ago · link · parent

Always nice to see emscripten-forge users in the wild. Greetings from the emscripten-forge main author =)

comment 1y ago · link · parent

I think we agree, it looks like the seinfeld set, but it not the orginal set, just something looking very similar.

comment 1y ago · link · parent

Its not the set of the TV show I beliefe, but a recreation.

https://nypost.com/2015/06/23/you-can-now-visit-the-iconic-s...

It looks a bit different wrt. the stuff on the fridge and the items in the cupboard

comment 1y ago · link · parent

There are many more languages / kernels which run in jupyterlite via the same technology(ie the "xeus-stack" https://github.com/jupyter-xeus/xeus):

* c++ * python * R * lua * javascript

Try them here:

* https://jupyter.org/try-jupyter/lab/ * https://jupyterlite-xeus.readthedocs.io/en/stable/lite/lab/i...

Or create your own deployments by using this template repo: * https://github.com/jupyterlite/xeus-lite-demo

comment 2y ago · link · parent

There is jupyerlite which does exactly that https://github.com/jupyterlite/jupyterlite

Kernels are compiled to wasm and can therefore run in the browser.

Try it out at: https://jupyterlite.readthedocs.io/en/stable/_static/lab/ind...

Its easy to create your own deployments, there is a template repo for that https://github.com/jupyterlite/demo

comment 4y ago · link · parent

Let's start the week with something fun. We ported pyb2d, python bindings for #Box2D, to #pyodide / #wasm. With that, we can implement tiny games directly in #jupyterlite. While the framerate might not be the best, it should have some educational value.

This runs directly in the browser without any server.

Play billiard: https://jupyterlite.github.io/demo/lab?path=pyolite%2Fpyb2d%...

Play a World of Goo clone: https://jupyterlite.github.io/demo/lab?path=pyolite%2Fpyb2d%...

Play an Angry Birds clone: https://jupyterlite.github.io/demo/lab?path=pyolite%2Fpyb2d%...

Steer a rocket: https://jupyterlite.github.io/demo/lab?path=pyolite%2Fpyb2d%...

https://jupyterlite.github.io/demo/lab/

You can create your own deployment of jupyterlite with this: https://github.com/jupyterlite/demo

11.

Tiny Games in JupyterLite(twitter.com ↗)

1 points · by DerThorsten · 4y ago · 1 comment

12.

Jupyter Games: A Python Box2D Integration in Jupyter(twitter.com ↗)

7 points · by DerThorsten · 4y ago · discuss