HNHacker News
TopNewBestAskShowJobs

DerThorsten

8 karma · joined October 25, 2021

submissionscomments
DerThorsten··on Faster NumPy in the Browser
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).
DerThorsten··on Jupyter Games on Notebook.link
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.

DerThorsten··on Pixi: Reproducible Package Management for Robotics
Always nice to see emscripten-forge users in the wild. Greetings from the emscripten-forge main author =)
DerThorsten··on We need a clearer framework for AI-assisted contributions to open source
I think we agree, it looks like the seinfeld set, but it not the orginal set, just something looking very similar.
DerThorsten··on We need a clearer framework for AI-assisted contributions to open source
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

DerThorsten··on GNU Octave Meets JupyterLite: Compute Anywhere, Anytime
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

DerThorsten··on PyScript: An open source platform for Python in the browser
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

DerThorsten··on Tiny Games in JupyterLite
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