elbaro

Results 21 comments of elbaro

Simply updating winit to the git latest enables IME support.

Delta emphasizes the whole line 87 in the screenshot instead of only the text part "assert window_size > 0". Doesn't that mean we should color the whole line 88 because...

No, I haven't tested. If the problem still exists you better move away from these helper functions.

Pinescript v5 doc says `alpha = 2 / (length + 1)`. https://www.tradingview.com/pine-script-reference/#fun_ta{dot}ema v4 is the same. ~~Where did `1.0 / period` come from?~~ This comes from `ta.rma`.

Pinescript's `ta.rsi` uses `ta.rma` (exponential moving average function that exists only for rsi and atr) not `ta.ema`. To simplify things, `ta-rs` can do the same thing - add new indicator...

How can I do this in ndarray? ```rust fn clean_NA(df: Array2) { let df = df.outer_iter().filter(|row| check_row_has_no_NA()).collect(); // or let df = df.into_outer_iter_par().filter(|row| check_row_has_no_NA()).collect(); df } ``` Using Zip requires...

`stack` or `select` does not work in this case #269 ```rust // The input type is // ndarray::ArrayBase // clean up before parsing items to f64 fn clean(df: &Array2) ->...

If you ack the message and the process crashes in `# Rest of processing ..`, the last message is lost and not redelivered. One way to guarantee reliable processing is...

crossbeam Mutex is used because I know `try_lock()` always succeeds in my case and it probably has lower latency than async version. The issue is that I didn't use the...