Earlier quoted context omitted.
I'm getting tired of fighting an uphill battle here. Web technologies have overwhelming dev mindshare; all the cool things happen either as web pages or Electron apps now (which are even worse than web pages, because raw browsers we can upfix a bit with userscripts and plugins). > terminal will still continue to serve the scientific computing community well I hope so, but note how data is on the web, the output is ex…
> all the cool things happen either as web pages or Electron apps now There are also plenty of cool things on mobile OSes.
Pyodide: Bringing the scientific Python stack to the browser
81–90 of 120 posts
Re: Pyodide: Bringing the scientific Python stack to the browser
#82There is one area where "computing in the browser" misses the mark a little - browser interfaces (like Jupyter) are often used not just for the convenience they offer, but also because they serve as thin clients, which provision vastly better computing resources than you have locally. So while I do some of my coding in the browser, the code executed is an EC2 far far away, close to my data, with excellent networking…
Re: Pyodide: Bringing the scientific Python stack to the browser
#83Earlier quoted context omitted.
That is no doubt great tool. But imagine even one guy like me has manny gpu card for trying some large memory ai model (not even production). It just can’t work on the cloud during development. What the appeal of this is Standardise on certain way to do things and we can share with others. So far all python and r notebook. Is browser an option?
Browsers don't expose access to GPU compute APIs or multiple GPUs. Any web GPU usage you see right now is limited to shader programs on a single GPU.
Re: Pyodide: Bringing the scientific Python stack to the browser
#84Earlier quoted context omitted.
As someone not familiar with any of this: is that not exactly what Jupyter Lab does? I understood that the main difference between Pyodide and that is that Pyodide allows you to also use e.g. D3 for rendering?
A big difference is where Python runs. With Pyodide, everything runs entirely in your browser, and the server side can be completely static. With Jupyter, you need a separate copy of Python running on a server somewhere to actually perform any computation.
Re: Pyodide: Bringing the scientific Python stack to the browser
#85Earlier quoted context omitted.
As someone not familiar with any of this: is that not exactly what Jupyter Lab does? I understood that the main difference between Pyodide and that is that Pyodide allows you to also use e.g. D3 for rendering?
A big difference is where Python runs. With Pyodide, everything runs entirely in your browser, and the server side can be completely static. With Jupyter, you need a separate copy of Python running on a server somewhere to actually perform any computation.
Re: Pyodide: Bringing the scientific Python stack to the browser
#86There is one area where "computing in the browser" misses the mark a little - browser interfaces (like Jupyter) are often used not just for the convenience they offer, but also because they serve as thin clients, which provision vastly better computing resources than you have locally. So while I do some of my coding in the browser, the code executed is an EC2 far far away, close to my data, with excellent networking…
Not just that, but a lot of organization use the setup to give good starting interface to data scientist who might know nothing about how to set up all the python packages...
Tell me more.
Re: Pyodide: Bringing the scientific Python stack to the browser
#87Can it run cuda? Otherwise not that practical. Minor interest. Can this approach run j/k or more important lisp?
Give browsers access to CUDA and the bitcoin mining malware will drain your battery faster than you can hit the back button.
Re: Pyodide: Bringing the scientific Python stack to the browser
#88Earlier quoted context omitted.
Not just that, but a lot of organization use the setup to give good starting interface to data scientist who might know nothing about how to set up all the python packages...
A data scientist wo knows nothing about how to setup the tools he or she uses daily? Tell me more.
Re: Pyodide: Bringing the scientific Python stack to the browser
#89Earlier quoted context omitted.
PWAs, running in a sandboxed/secured environment where installing native python isn't an option, bolting existing python code bases onto existing electron code bases. There are plenty of use cases. Just because you haven't encountered one doesn't mean there aren't legitimate applications. It's hard/impossible to judge someone's tech stack without understand the constraints they are operating under.
Exactly. Otherwise you'd need some other way to communicate between Electron and Python. This is possible, you could use ZeroMQ. But it would be a huge pain. This would easily make sense where you want to execute your app's logic in Python, but want to keep the UI in HTML and JS.
Re: Pyodide: Bringing the scientific Python stack to the browser
#90Earlier quoted context omitted.
> all the cool things happen either as web pages or Electron apps now There are also plenty of cool things on mobile OSes.
Most of which are webpages in a webview these days; mobile software is also much more skewed towards casual use due to device form factor. Here I'm focusing on more professional or even prosumer use cases.
Also both iOS and Android have very interesting architecture features, still not widespread on desktop OSes.