Results 95 comments of Alexander van Saase

If I change the function to return a tuple: ```python def create_matrix() -> tuple[sf.Matrix, sf.Scalar]: return sf.Matrix55( 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,...

I suspect the problem with the return type in the signature occurs here: https://github.com/symforce-org/symforce/blob/e270c029f077205a2230fb9266d074dbed3b4f81/symforce/codegen/backends/rust/templates/util/util.jinja#L61-L62 And in the function body here: https://github.com/symforce-org/symforce/blob/e270c029f077205a2230fb9266d074dbed3b4f81/symforce/codegen/backends/rust/templates/util/util.jinja#L233-L235 I guess these need an if statement like this:...

After I opened this issue I learned about Dioxus' [`subsecond`](https://docs.rs/subsecond/0.7.0-alpha.3/subsecond/index.html) library. It's trivially easy to set up and provides hot-patching of rust applications when combined with their CLI tool (make...

I pushed a version of the htmx example with `subsecond` support here: https://github.com/avsaase/hypertext/tree/subsecond. To run it, install the Dioxus CLI with `cargo install [email protected]` and then run `dx serve --hotpatch`...

> While it works well for rust code, for some reason it currently doesn't pick up changes within the `rsx!` or `maud!` macros. This is what I mentioned above. `subsecond`...