Vojtech Kral
Vojtech Kral
@velykov The logic is in file `src/js/fn-fotorama.js`. You can either remove the `waitFor()` wrapping or, if you don't want to modify fotorama, you can initialize fotorama yourself manualy by calling...
Btw. I'm not sure _why_ the `waitFor()` is used in the first place - I'd like to know if some part of fotorama code actually needs the element displayed...
As a consequence, I'd be careful with these takeaways: - > `T` does not have to be valid for the entire program - It does, the _type_ has to be...
I absolutely agree with the blogpost that `T: 'static` shouldn't be read as "T has a 'static lifetime", that's indeed pretty misleading. However, I don't believe reading it as _"T...
> Representing them in Venn Diagram, the subtype `'a` is within the supertype `'b`, thus `'a is bounded by 'b`. What would be the meaning of such a Venn diagram?...
Oh, I see what you mean. The set of types `B: 'b` is a subset of the types `A: 'a`. You're right. Still not sure about the "bound" wording, in...
> If I changed the phrasing to be _"If `T: 'static` then values of type `T` must be valid for the entire program"_ would you consider this issue fixed? Yeah,...
@davidhewitt Chances are you could get (at least some of) those flags from `pkg-config`. On my system: ``` $ pkg-config --static --libs python3-embed -lpython3.9 -lcrypt -lpthread -ldl -lutil -lm ```...
The above is a pretty minimal set of libraries needed by the Py runtime itself. Of course, there may be other libraries (such as `lxml` etc.) needed depending on what...
So, I had a look at how PyOxidizer do what they do. I think this is the best explanation & demo: https://pyoxidizer.readthedocs.io/en/latest/pyoxidizer_rust_generic_embedding.html#embed-python-with-pyembed In summary: - It's built on top of...