David A Roberts

Results 177 comments of David A Roberts

Again, earlier today: ``` m.new_device event from @leer10:matrix.org:QOCAUKYEVA for rooms !UCnwUWwIKhcpaPTHtR:sw1v.org Known device; ignoring /home/david/mubot/node_modules/olm/olm.js:19 "undefined"!==typeof module&&(module.exports=a);process.on("uncaughtException",function(a){if(!(a instanceof T))throw a;});a.inspect=function(){return"[Emscripten Module object]"}}else if(ma)a.print||(a.print=print),"undefined"!=typeof printErr&&(a.printErr=printErr),a.read="undefined"!=typeof read?read:function(){throw"no read() available (jsc?)";},a.readBinary=function(a){if("function"===typeof readbuffer)return new...

It looks like `mathics.core.convert.function` already has a fallback for when LLVM isn't installed, however in this case it doesn't re-export `CompileError`, which causes this error when initialising compilation builtins: ```...

Here's a similar example that works in [JupyterLite](https://jupyterlite.readthedocs.io/en/stable/) with the pyodide kernel: https://gist.github.com/davidar/1d05165c624ee591376397ec8eb93cd1

Thanks for fixing this so quickly, I uploaded the wheel to https://davidar.github.io/jupyterlite-demo/lab/index.html?path=mathics.ipynb and now it can just be `%pip install`'d! I still see some errors when initialising the builtins, but...

Hm, I just tried running it again, and I'm no longer getting those errors, and the builtin that depends on pympler seems to be working: ![image](https://github.com/user-attachments/assets/0ff9b7b1-f604-4501-9c83-b5fa8f9d095f) So I'm not sure...

Yeah, I haven't been able to reproduce it again, everything seems to be working perfectly now, so I'm going to call this issue resolved. Thanks again for the quick turnaround,...

> My view right now is that we should do this before revamping boxing and formatting which may go on for a while since it is a big task, and...

Thanks for the pointers, I'll have a look into it. > However, in the back of my mind, I've been thinking about the idea of adding repositories for specific kinds...

I moved all the formatting code into a module/extension that can be loaded like so: ![image](https://github.com/user-attachments/assets/c1c56d96-56ac-4fb3-b651-c8678c47510e) For the moment it's living here: https://github.com/davidar/mathics-core/tree/frontend/mathics/frontend I can split it into a separate...

> I would be happy to create a new project in the Mathics3 space and assign you to be the onwer/maintainer. Cool, thanks, I'll let you know when I'm ready...