RainMark

Results 18 comments of RainMark

> Hi. I have an issue that I cannot read the contents of a certain folder. Others work without issues. The only difference in this folder is that it contains...

@manwe your sftp server running on Windows? it's seem to like file name not use utf-8 encode.

- you can put your public key to server `${USER}/.ssh/authorized_keys` - the client `~/.ssh/id_rsa` is used to authority firstly.

- you need to set a cert file from command line, like ssh -i /path/xxx.cert right?

> I’m not a Pythonista but it looks like you want to use the `pkey` or `key_filename` parameter to [Client.connect](https://docs.paramiko.org/en/stable/api/client.html#paramiko.client.SSHClient.connect) in Paramiko. > > This is also critical for me....

这里应该是期望提供基于回调并且posix like的接口,例如 ```c++ class IOEngine { using Callback = std::function; int read(char* buf, size_t size, Callback&& cb); int pread(char* buf, size_t size, size_t off, Callback&& cb); // ... }; ```...

> > 这里应该是期望提供基于回调并且posix like的接口,例如 > > ```c++ > > class IOEngine { > > using Callback = std::function; > > > > int read(char* buf, size_t size, Callback&& cb); >...

> 看起来这个很简单,从boost上把代码扒下来,然后改个名字,在CMakeLists里加一下就可以里,准备再添加其他什么平台呢? 是的,主要是可能需要在新加入的平台也做些测试,你感兴趣的话愿意搞一下吗?

> > > 看起来这个很简单,从boost上把代码扒下来,然后改个名字,在CMakeLists里加一下就可以里,准备再添加其他什么平台呢? > > > > > > 是的,主要是可能需要在新加入的平台也做些测试,你感兴趣的话愿意搞一下吗? > > 没有其他平台的机器,不太好测试哇 嗯,看看在虚拟机里能不能测测看,pr你可以先提着

And we can use Future/Promise, call promise setValue in callback, and co_await future in Lazy refer to https://github.com/alibaba/async_simple/blob/main/async_simple/coro/test/FutureAwaiterTest.cpp