Yukang

Results 80 comments of Yukang
trafficstars

> @chenyukang This solution creates duplicates of the already existing notes and highlights. Is there a way to avoid this? Actually I didn't meet this duplicated error, mostly because I...

I think the structure is alright, but why cgroup is in top level of the repo?

![wechat2](https://user-images.githubusercontent.com/230646/143232868-428e13c3-7a23-4c85-b925-e1d2b1e1c53a.png) emm, this kind of QR code also can not be detected: ```console result: [Err(QRError { msg: "Could not calculate error distances" })] ```

``` Sidecar #1: implement the grayscale function in Rust. https://github.com/second-state/wasmedge_wasi_socket/tree/main/examples/http_server ``` Use wasi_socket to accept image data and then the grayscale is as before?

> Yes. Thanks. Here is what I'm trying: ```rust pub fn image_process(buf: &[u8]) -> Vec { let mut child = Command::new("wasmedge-tensorflow-lite") .arg("./lib/grayscale.wasm") .stdin(Stdio::piped()) .stdout(Stdio::piped()) .spawn() .expect("failed to execute child"); {...

Maybe need the Rust WASI way to run grayscale.wasm ? I remember the last time I tried to use Rust WASI, we still have an issue.

> The idea is to create a wasm file that listens for http request. We do not run the `grayscale.wasm` from a host. > > Instead, we create a `grayscale-server.wasm`,...

> The idea is to create a wasm file that listens for http request. We do not run the `grayscale.wasm` from a host. > > Instead, we create a `grayscale-server.wasm`,...

> Great. Thanks. > > Re 1: Where did this "max bytes limit exceeded" error message come from? Is it from Dapr? WasmEdge? Or our function in WasmEdge? Comes from...

> Great. Thanks. > > Re 1: Where did this "max bytes limit exceeded" error message come from? Is it from Dapr? WasmEdge? Or our function in WasmEdge? This issue...