profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/mstyura/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

mstyura/bsuir-diploma-latex 156

LaTeX шаблон для оформления пояснительной записки к диплому в соответствии с требованиями БГУИР

mstyura/NanoML 13

NanoML is a simple eager functional programming language based on MiniML (http://www.andrej.com/plzoo/html/miniml.html)

Hartigan/jitsi-videobridge-test 0

Load test for jitsi-videobridge

mstyura/Anotar 0

Simplifies logging through a static class and some IL manipulation.

mstyura/asio 0

Asio C++ Library

mstyura/chromium-pruned 0

Chromium source pruned to the directories needed for WebRTC for UWP

mstyura/coremltools 0

Converter tools for Core ML.

mstyura/fastclick 0

Polyfill to remove click delays on browsers with touch UIs

mstyura/firefox-webrtc-transport-feedback-bug-repro 0

This repository has simple repo scenario for bandwidth estimator issue in Firefox.

issue commentmozilla/webrtc-sdp

Unknown rtcpfb feedback type: "rrtr“ ?

I've noticed that rrtr feedback type is used in Google Meet. Found definition of rrtr in Chromium source.

yuebinyun

comment created time in 11 days

startedyugr/Implib.so

started time in a month

PR closed mitsuhiko/redis-rs

"Null Bulk String" as None for Option<T>.

Hello. I've found out one inconvenient thing. I had custom type implemented FromRedisValue. But I couldn't properly deserialize it from result of GET query when key not found into Option<MyCustomType>. This happen because absence of key is returned as bulk(nil) and default FromRedisValue for Option<T> calls to underlying converter for bulk(nil).

According to documentation bulk(nil) (Null Bulk String) should be deserialized as nil/None/NULL/nullptr:

This is called a Null Bulk String. The client library API should not return an empty string, but a nil object, when the server replies with a Null Bulk String. For example a Ruby library should return 'nil' while a C library should return NULL (or set a special flag in the reply object), and so forth.

+19 -3

1 comment

2 changed files

mstyura

pr closed time in a month

pull request commentmitsuhiko/redis-rs

"Null Bulk String" as None for Option<T>.

Ah, this seems to be invalid. All the extra bulk things seems to be due to usage of cluster connection.

mstyura

comment created time in a month

push eventmstyura/redis-rs

push time in a month

push eventmstyura/redis-rs

Yura Yaroshevich

commit sha 55086964586f46279de3583623dd4a7faae969e1

Fixed parsing result of GET into Option<T>

view details

push time in a month

PR opened mitsuhiko/redis-rs

"Null Bulk String." as None for Option<T>

Hello. I've found out one inconvenient thing. I had custom type implemented FromRedisValue. But I couldn't properly deserialize it from result of GET query when key not found into Option<MyCustomType>. This happen because absence of key is returned as bulk(nil) and default FromRedisValue for Option<T> calls to underlying converter for bulk(nil).

According to documentation bulk(nil) (Null Bulk String) should be deserialized as nil/None/NULL/nullptr:

This is called a Null Bulk String. The client library API should not return an empty string, but a nil object, when the server replies with a Null Bulk String. For example a Ruby library should return 'nil' while a C library should return NULL (or set a special flag in the reply object), and so forth.

+19 -3

0 comment

2 changed files

pr created time in a month

create barnchmstyura/redis-rs

branch : null-bulk-string-option-t

created branch time in a month

fork mstyura/redis-rs

Redis library for rust

https://docs.rs/redis

fork in a month

issue closedrust-lang/docker-rust

Unable to build project with "futures-macro" dependency with alpine image.

It is impossible to build project dependent on "futures-macro" crate. Build is failed with following error:

error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.0.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.1.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.10.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.11.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.12.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.13.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.14.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.15.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.2.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.3.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.4.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.5.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.6.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.7.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.8.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.9.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.465ogsi2zbjgsctc.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.5gidvlqtoyll50yu.rcgu.o" "-Wl,--as-needed" "-L" "/rust-alpine-missing-musl-dev/target/release/deps" "-L" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libproc_macro-51ad96f5a373839c.rlib" "-Wl,--start-group" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-3cef741c1f23cd93.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libpanic_unwind-5904caeef8e7aa23.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libminiz_oxide-0f5d37d268b96a61.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libadler-1ff87fa6e88a9656.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libobject-f8edfa7653afcf66.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libaddr2line-6d98eb92dbccf787.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libgimli-decc06f51028e61b.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd_detect-5e6b49cc149a60ba.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_demangle-7a66b3aa9e458fc4.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libhashbrown-21fcab01894b7eab.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_alloc-b976dd002d97b145.rlib" "/tmp/rustcnuL4XU/libunwind-690c23a0bc1a60cd.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcfg_if-b5c6753552da2f2e.rlib" "/tmp/rustcnuL4XU/liblibc-859ab3522b9428e1.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc-52e7a767563a753d.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_core-1c16b776a1e56741.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-9190e7d88a759acf.rlib" "-Wl,--end-group" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-3fa3b1d70121d65d.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/rust-alpine-missing-musl-dev/target/release/deps/libproc_macro_hack-a43e314ac4e5eefb.so" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
  = note: /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find crti.o: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `proc-macro-hack`

Project with reproduce: https://github.com/mstyura/rust-alpine-missing-musl-dev

When musl-dev package is added to docker image the project is built successfully.

closed time in a month

mstyura

issue commentrust-lang/docker-rust

Unable to build project with "futures-macro" dependency with alpine image.

Ah, it seems to be duplicate of https://github.com/rust-lang/docker-rust/issues/68 and as I understood absence of musl-dev is intended tradeoff.

mstyura

comment created time in a month

issue openedrust-lang/docker-rust

Unable to build project with "futures-macro" dependency with alpine image.

It is impossible to build project dependent on "futures-macro" crate. Build is failed with following error:

error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.0.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.1.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.10.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.11.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.12.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.13.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.14.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.15.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.2.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.3.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.4.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.5.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.6.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.7.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.8.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.proc_macro_hack.9hoig8zk-cgu.9.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.465ogsi2zbjgsctc.rcgu.o" "/rust-alpine-missing-musl-dev/target/release/deps/proc_macro_hack-a43e314ac4e5eefb.5gidvlqtoyll50yu.rcgu.o" "-Wl,--as-needed" "-L" "/rust-alpine-missing-musl-dev/target/release/deps" "-L" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libproc_macro-51ad96f5a373839c.rlib" "-Wl,--start-group" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-3cef741c1f23cd93.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libpanic_unwind-5904caeef8e7aa23.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libminiz_oxide-0f5d37d268b96a61.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libadler-1ff87fa6e88a9656.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libobject-f8edfa7653afcf66.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libaddr2line-6d98eb92dbccf787.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libgimli-decc06f51028e61b.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd_detect-5e6b49cc149a60ba.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_demangle-7a66b3aa9e458fc4.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libhashbrown-21fcab01894b7eab.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_alloc-b976dd002d97b145.rlib" "/tmp/rustcnuL4XU/libunwind-690c23a0bc1a60cd.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcfg_if-b5c6753552da2f2e.rlib" "/tmp/rustcnuL4XU/liblibc-859ab3522b9428e1.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc-52e7a767563a753d.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_core-1c16b776a1e56741.rlib" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-9190e7d88a759acf.rlib" "-Wl,--end-group" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-3fa3b1d70121d65d.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/local/rustup/toolchains/1.54.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/rust-alpine-missing-musl-dev/target/release/deps/libproc_macro_hack-a43e314ac4e5eefb.so" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
  = note: /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find crti.o: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `proc-macro-hack`

Project with reproduce: https://github.com/mstyura/rust-alpine-missing-musl-dev

When musl-dev package is added to docker image the project is built successfully.

created time in a month

create barnchmstyura/rust-alpine-missing-musl-dev

branch : main

created branch time in a month

created repositorymstyura/rust-alpine-missing-musl-dev

created time in a month

issue openedflutter-webrtc/flutter-webrtc

It is invalid to reorder `RTCRtpEncodingParameters` in `RTCRtpTransceiverInit`

Describe the bug The reordering of RTCRtpEncodingParameters when RTCRtpTransceiverInit is wrong thing to do. The reordering of RTCRtpEncodingParameters is done in plugins for iOS and Android, but not for Web and in Web browsers like Chromium does not revert send encodings list before passing to native WebRTC as well.

It is also discussed here and from the discussion it can be concluded that the ordering of send encodings affects the behavior of WebRTC and hence users should be able to control it, so plugin must not do any change to encodings order.

To Reproduce Use RTCPeerConnection.addTransceiver(.., RTCRtpTransceiverInit) overload and specify list of send encodings RTCRtpEncodingParameters. The order of encodings passed to native WebRTC in reverse order. The change was introduced by this commit https://github.com/flutter-webrtc/flutter-webrtc/commit/40bde2ae3db08691427cb474db48618754256083.

Expected behavior The order of RTCRtpEncodingParameters is preserved and passed as is to native WebRTC.

Platform information

  • Flutter version: <!-- flutter doctor -v -->
  • Plugin version: 0.6.5
  • OS: Android & iOS
  • OS version:

created time in a month

delete branch mstyura/mediasoup

delete branch : paused_consumer_score

delete time in a month

PR opened versatica/mediasoup

Do not railse consumer score event when consumer is paused.

Is it possible to consider changing behavior of consumers not to fire score event, when consumer is paused? Currently I see score updated event when create new consumer in paused state.

+9 -0

0 comment

3 changed files

pr created time in a month

create barnchmstyura/mediasoup

branch : paused_consumer_score

created branch time in a month

push eventmstyura/firefox-webrtc-transport-feedback-bug-repro

Yura Yaroshevich

commit sha 55cb1b94cc2fb584d7a49e93ff2c0bf161ff6aa7

Added option to disable transport cc.

view details

push time in 2 months

PublicEvent

delete branch mstyura/mediasoup

delete branch : bool-serialization-fix

delete time in 2 months

PR opened versatica/mediasoup

Fixed bool is serialized as string causing deserialization error in Rust.

When probation trace event is enabled on WebRTC transport there is JSON deserialization error happen. E.g:

2021-07-22T13:09:53 [ERROR] (src/router/webrtc_transport.rs:608): Failed to parse notification: invalid type: string "false", expected a boolean

An alternative fix would be change Rust deserializer to accept "true" and "false" as valid boolean values. But since other bools in same JSON object were serialized as normal bools I've decided to fix C++ code rather than Rust. Could redo if requested.

+1 -1

0 comment

1 changed file

pr created time in 2 months

create barnchmstyura/mediasoup

branch : bool-serialization-fix

created branch time in 2 months

startedauseika/macos-by-keyboard

started time in 2 months