Daniel Filonik

Results 22 comments of Daniel Filonik

Sure. If I understand `rationalize()` correctly, the current implementation automatically assumes that any symbol in the expression is a polynomial generator. However, it can sometimes be useful to also include...

Yes, that is another great way of putting it. I suppose (one of) the biggest question(s) would be how to distinguish "constant" vs "variable" symbols in the rules that `rationalize()`...

Yes, I see the reasoning behind that. I can work up a PR that uses the same method for both vectors and matrices; dispatching based on the argument type.

Upon closer inspection, vectors and matrices are just generic objects, which makes it difficult to distinguish between them. Any reason why they haven't been implemented as prototype-based JavaScript objects?

Just wanted to echo the desire to support variadic options. My use case also involves using shell globs/wildcards within options. I think the `OptionEatAll` solution on StackOverflow gets the expected...

Regarding `True` in a boolean check: What's wrong with having a **nonzero** method like I put in the Image class? ``` def __nonzero__(self): return self._this_ptr != NULL ``` Exceptions would...

Well, to be precise, PyOpenGL's error checking is optional (at the expense of a slightly more complicated import mechanism). ``` import OpenGL OpenGL.ERROR_CHECKING = False from OpenGL.GL import * from...

Thank you for the detailed answer. It sounds like this is expected (at least if you are familiar with `#[wasm_bindgen]` internals) and there is no viable path to mitigating this...

That is great to hear! It would certainly remove a sharp corner for newcomers like myself to cut themselves on... 😅 Should the label be changed from question to enhancement...

Here's a related pull request that addresses this for coffeeshop help: https://github.com/enkimute/ganja.js/pull/110