Mikhail Trishchenkov
Mikhail Trishchenkov
I tried to use clang-expand (via Atom) on our company project, which is Chromium-base and thus is pretty large. As far as I understand, tool searches all C++ files using...
This minimal proto/test.proto file: ``` syntax = "proto3"; package test; message Message { message InnerMsg {} optional string field = 1; } ``` with this build.rs: ``` fn main() ->...
I try to write eBPF program which redirects some packets to user-space using AF_XDP socket and XSK_MAP. I patched RedBPF to add support for XSK maps. But then I need...
When I get and hold reference to some map: ``` let vals = HashMap::new(loaded.map("vals").unwrap()).unwrap(); ``` `val` holds immutable reference to `loaded`, it means I can't use any `Loaded` method receiving...
Crash when `frames` argument passed to blocking stream `write` method exceeds internal buffer size
Sample code: ``` rust let output_settings = try!(pa.default_output_stream_settings::(CHANNELS, SAMPLE_RATE, FRAMES)); let mut output_stream = try!(pa.open_blocking_stream(output_settings)); try!(output_stream.start()); try!(output_stream.write(FRAMES * 2, |output| { for i in 0..2*FRAMES { output[i] = 10000; }...
``` Error: Command failed: git log --pretty="format:{#/dquotes/id#/dquotes/: #/dquotes/%H#/dquotes/, #/dquotes/authorName#/dquotes/: #/dquotes/%an#/dquotes/, #/dquotes/relativeDate#/dquotes/: #/dquotes/%cr#/dquotes/, #/dquotes/authorDate#/dquotes/: %at, #/dquotes/message#/dquotes/: #/dquotes/%s#/dquotes/, #/dquotes/body#/dquotes/: #/dquotes/%b#/dquotes/, #/dquotes/hash#/dquotes/: #/dquotes/%h#/dquotes/}" --topo-order --date=local --numstat /Users/kriomant/Devel/some-proj/src/main.cc fatal: Not a git repository: /Users/kriomant/Devel/.someproj-bare/worktrees/some-proj...
`nth` method is implemented for `Ipv4Network` but not for `Ipv6Network`. Is it due to some fundamental difference between IP4/IP6 neworks or just forgotten?
It's not easy to set up environment for eBPF development. Some kernels have bugs, some package version miss features, some rust versions produce invalid code. So I fixed most versions...
Can I use it to load single completion file manually, like e.g. `load_bash_completion bla.bash.inc`?
When I use '-h' option, file content is clipped at given line, i.e. given line is the last shown: