gudzpoz
gudzpoz
Edit: 1. Adding `Content-Type: application/activity+json` to the `TNCDataResponse` only makes fetching actors work. (The following works on my end because I've configured nginx (on pleroma server) to modify the headers...
I just managed to get ledger compiled with emscripten following the steps stated in https://github.com/ledger/ledger/issues/2004#issuecomment-1878164915 with changes in https://github.com/gudzpoz/ledger/commit/3d131345ae86616b92c0e35013698e14a0089114 applied. By the way, currently it seems to me that emscripten...
I am not exactly sure though... Maybe a typical goal is to write a proper JS/TS wrapper and have ledger published in [NPM](https://www.npmjs.com/) so that ledger-cli can be readily installed...
The problems is that the Wasm build itself will most likely require a js wrapper due to usage of C++ exceptions in ledger. As is summarized in https://github.com/crystal-lang/crystal/issues/13130: - Native...
Concerning python bindings, it seems that [pyodide](https://pyodide.org/en/stable/) (Wasm port of CPython) has in-tree support for [boost](https://github.com/pyodide/pyodide/tree/main/packages/boost-cpp/meta.yaml), [libgmp](https://github.com/pyodide/pyodide/tree/main/packages/libgmp/meta.yaml) and [libmpfr](https://github.com/pyodide/pyodide/tree/main/packages/libmpfr/meta.yaml), and it should be possible to build ledger using pyodide-build while...
 Just built a ledger python wheel that runs in browsers following [the steps to build an in-tree Pyodide package](https://pyodide.org/en/stable/development/new-packages.html#building-a-python-package-in-tree). One minor change in `packages/boost-cpp/meta.yaml` was necessary to let pyodide...
I managed to get ledger compiled by using `-DGMP_PATH=${HOME}/.../include` instead of `-DGMP_PATH=${HOME}/.../gmp.h`, etc. (with a bit of code modification https://github.com/gudzpoz/ledger/commit/3d131345ae86616b92c0e35013698e14a0089114 ). # Building WASM builds ## Cloning ```console $ git...
Using `@typedef {Uint8Array} LuaString` in JSDoc creates an alias, and it seems TypeScript also supports importing JSDoc aliases from other files. I'll try to replace `Uint8Array` annotations with the alias.
IIRC, I was waiting for a full review before deciding on what to do next. To summarize things a bit, there are a few things that we need to finalize...
Regarding `DEVICE_ADDRESS_BINDING`, on devices supporting `DEVICE_ADDRESS_BINDING`, the current tutorial code seem to crash when `debug_callback` receives a `vk::DebugUtilsMessageTypeFlagsEXT::DEVICE_ADDRESS_BINDING` message, when `data.message` is a null pointer: > `pMessage` is `NULL` if...