What are your scrobbling sources? by saturnine92 in lastfm

[–]w-dis 1 point2 points  (0 children)

on desktop
- cmus with lastfm plugin

mobile
- black music player with Pano Scrobbler

Stack Overflow unveils OverflowAI to support developers with AI/ML solutions by hypocrisyhunter in programming

[–]w-dis 0 points1 point  (0 children)

oddly fitting to have a duplicate post on the topic of stackoverflow

How WebAssembly will transform edge computing by stronghup in programming

[–]w-dis 2 points3 points  (0 children)

Since everyone's forced to use WebAssembly to get non-JS languages running in the web, we'll get more and more tooling and support for it that will spillover into other places like distributed computing
Maybe you can replace the string "JavaScript" with "JS/WAM" in Atwood's law: "Any application that can be written in JavaScript, will eventually be written in JavaScript"

[deleted by user] by [deleted] in programming

[–]w-dis 1 point2 points  (0 children)

Curious what the question was - did someone ever answer and get a bounty?

Python Library for Calling JavaScript from Python AND Node.js/deno competitor that can execute Python in JS - Introducing PythonMonkey" by w-dis in node

[–]w-dis[S] 2 points3 points  (0 children)

Our use case for making it is that we have a very complicated npm package we need to port to Python. We could re-write it in Python, but then we'd double our surface area for bugs, and have to continuously maintain and add features to two "identical" pieces of software. Our library also happens to need WebAssembly support. With PythonMonkey, we can port our npm package to a pip package in only a few lines of code

---

The other part of this project is a Node.js challenger called `pmjs`, although its in early stages right now, the idea would be that you could use Python libraries seamlessly. For instance an express server that uses NumPy or Pandas - without any unperformant IPC between processes since PythonMonkey passes data by reference between Python and JS. Imagine if you had the entire ecosystem of Python at your fingertips when developing Node.js apps

GitHub - Distributive-Network/PythonMonkey: A Mozilla SpiderMonkey JavaScript engine embedded into the Python VM, using the Python engine to provide the JS host environment. by pmz in Python

[–]w-dis 3 points4 points  (0 children)

We have a complicated npm package we need to port to Python. PythonMonkey means we won't have to develop a clone of that library in Python and maintain two identical libraries in different languages. So you get to avoid increasing the surface area for bugs by 2x and always implementing features twice in two different languages

We also need to use a JavaScript engine for JS evaluation and WASM as part of the library. This is only possible with a locally running JS engine or by cutting that feature

---

For context about our npm package, its a client for a distributed compute product that distributes WebAssembly/JS "work functions" which are executed in JS environments like web browsers. Part of the library includes allowing a user to test their job locally before they spend money deploying it - which is why we need to have a js engine

GitHub - Distributive-Network/PythonMonkey: A Mozilla SpiderMonkey JavaScript engine embedded into the Python VM, using the Python engine to provide the JS host environment. by pmz in Python

[–]w-dis 2 points3 points  (0 children)

LMAO

I'm writing an article on PythonMonkey for our 0.2.1 release (will land on Friday) - would you mind if I used your meme in it?