Kai Xu

Results 119 comments of Kai Xu

You can also try to wrap over [Bijectors.jl](https://github.com/TuringLang/Bijectors.jl). It also has the code for gradient in https://github.com/TuringLang/Bijectors.jl/blob/master/src/bijectors/simplex.jl

> That is, of course, unless you mean something that would require changes to Uivonim itself, and I misunderstood? I don't know how exactly that is implemented in neovim-qt but...

`defaults write com.uivonim.uivonim ApplePressAndHoldEnabled -bool false` should do it for a single app

> No idea what causes this issue till date. The SFDs have to be edited manually each time to fix this, opening them in FF and saving them resets them...

Thanks for the advice and the fix on the recent release. I confirm that this italic variant of ttf is not correctly labelled.

it would be nice to support `***`. i'd like to contribute with some help - where the logic should be added in the code base? - what extra need to...

had a similar need and found the following work-around works ```julia nt = (; a=1, b=2) NT = typeof(nt) @match (; a, b) = nt begin NT(1, b) => begin...

yeah but `NT` is constructed programmatically so I guess it's good enough as a work-around. i guess this logic can be potentially implemented within `@match` so to achieve the behavior...

i guess in that case you will have to do something even more messy (deconstructing in the match statements) ```julia nts = ( (; a=1, b=2), (; x="x", y="z"), )...

Thanks for the explanation! I understand the problem better now! I took a look at ScikitLearn's implementation and it looks like that they simply removes those repeated edges; see https://github.com/scikit-learn/scikit-learn/blob/7e1e6d09b/sklearn/preprocessing/_discretization.py#L226....