Life is tough, update arbitrarily.

Mattermost Auto Reply Tool

Preface

Mattermost是一款开源的IM工具,作为Slack的替代产品。

Mattermost Source Code

mattermost的github主页上主要有这几个项目:

  • mattermost-server: 用Go开发的服务端代码,也是整体的核心代码;
  • mattermost-webapp: 基于Web的客户端代码,所有其他类型的客户端,均是基于webapp实现;
  • desktop: 基于Electron的Windows客户端代码,通过Chromium浏览器内核连接webapp,完成客户端的功能;
  • mattermost-mobile: iOS和Android的客户端代码,应该也是通过浏览器内核连接webapp进而实现的的客户端功能。
Read more

Virtio feature negotiation from QEMU perspective

QEMU中的Virtio features协商流程

下面以virtio-net对接vhost-net(kernel)为例,分析整个Virtio features协商的过程。

vhost-net

vhost_net作为描述后端的数据结构,与真正使用的后端(vhost_user or vhost_net)对应。
每个vhost_net包含一个vhost_dev,vhost_net的features实际就是vhost_dev的features,与features相关的成员有:featuresacked_featuresbackend_featuresprotocol_features

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct vhost_net {
struct vhost_dev dev;
struct vhost_virtqueue vqs[2];
int backend;
NetClientState *nc;
};

struct vhost_dev {
……
uint64_t features;
uint64_t acked_features;
uint64_t backend_features;
uint64_t protocol_features;
……
};
Read more

Some attempts to connect to VDI

Why do I need to do this

公司提供VDI作为办公环境,远程办公时,需要通过VPN先连接到公司内网,再从内网连接到办公VDI。
公司提供了Mac和Windows的VPN客户端用于连接到内网,按理说安装并使用公司提供的客户端连接内网即可,但是之所以没有这么做有两个主要原因:

  • 公司提供的VPN配套的软件太过臃肿;
  • 公司提供的VDI内置了访问控制软件,会记录IM的聊天记录等信息。担心VPN“附赠”的软件或者VPN本身会做类似的操作🙄。

这篇博文主要记录下折腾虚拟桌面环境的一些经历。

Read more
  • Copyrights © 2021-2023 Martzki
  • Visitors: | Views:

请我喝杯咖啡吧~

支付宝
微信