iodide-project / pyodide-demo Goto Github PK
View Code? Open in Web Editor NEWRepository to store built Pyodide for demoing
Repository to store built Pyodide for demoing
I worried that this was a bit out of date.
One of my two demos fails. Turns out that this repository is missing micropip.
I am offering a class on Pyodide tonight.
https://www.meetup.com/Hackerspace-Silesia/events/261431579/
I will just tell them that the current release does not yet include microip.
when trying to run this from a website, I'm starting to get the following errors:
abort("abort(\"Assertion failed: undefined\"). Build with -s ASSERTIONS=1 for more info."). Build with -s ASSERTIONS=1 for more info.
That's the only message I get, the code, you can find it here.
https://jsfiddle.net/d235zctu/
This is what I did
The error seems triggered by line 3833 of pyodide.asm.js
if (chunkIndex < compressedData.successes.length-1) assert(originalSize === LZ4.CHUNK_SIZE); // all but the last chunk must be full-size
The sizes differ
The arguments called are these
I also managed to get some content from the buffer
Which seems the content of builtins.py
This repo seems to require both git-lfs
and then a username and password to https://1fd8fb2d-3267-4664-afca-dae42e7e5b64.netlify.com If you ignore this the data files aren't fetched and they don't seem to work.
I am the guy about to teach a class on Iodide and Pyodide.
As I have been working through the course assignments, I have come across a number of small glitches in Iodide. Not good. What to do?
The jewel in the crown is really Pyodide. All those highly used libraries, now running in the browser.
So I put together a single web page that calls Pyodide. The version under Iodide was not working. It was calling subroutines on some other website with a CORS violation.
Installing using run_docker. Who knows how long that will take. You may want to mention how long that takes too compile. Could be days for all i know.
Installing from this repository was so easy. 5 minutes I was up and running.
After banging my head against CORS for most of he day, what a pleasure.
So for end users this is a great starting point. Here is my advice.
Add a few more words of comments to this repository. Which version is it?
Mention it in the pyodide repository.
Somewhere in the distant past, I got an email about release 0.12 I think. Just download the tar ball. Now I cannot find it. Good if that were also mentioned in the Pyodide docs. Under Installation for end users.
Hope that feedback all helps.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.