未来心不可得

分类 默认分类 下的文章

June 20, 2020

OpenSSL TLS1.3初探

Introduction首先TLS:可以理解TLS为一个加密/解密黑盒,例如TLS1.2、SSL3.0等等都是不同的黑盒种类,而其中选取什么加密算法 指的是该黑盒的运行参数。TLS怎么用:可以理解成“一头plaintext进,另一头ciphertext出”,经TCP通道,送达另一端黑盒“ciphertext进,piantext出”一般使用TLS over TCP,首先TLS不参与TCP握手,...
June 15, 2020

vs2019下载 系统dll pdb符号表

Symbol file not loaded比如 ntdll.pdb, wKernelBase.pdb 啥的,你是否有些❓为什么vs带了下载功能 但又下下载不了被墙了呗!添加以下地址到梯子表(以及用户PAC表)referencesource.microsoft.com, msdl.microsoft.com, *.blob.core.windows.net用户PAC规则去掉型号即可,例如最后...
May 9, 2020

conan快速上手

conan客户端安装pip3 install conan --user~/.conan/profiles 里生成default profile,包括下载包时候想要的 系统platform/编译器/ReleaseOrDebug等等,这个叫Setting~/.conan/remotes.json 里是repo信息,仅使用私有库时可以删除公有repoJFrog Artifactory C++ CE...
May 1, 2020

ABI, dll-boundary, STL, and unique_ptr?

To see a lot of reference, there's some differences of ideas about that:Is it safety to use std::shared_ptr and std::unique_ptr at DLL boundary?Pros:Safe to use std::unique_ptr : https://www.codepr...
April 14, 2020

ReactJS实现可编辑表格的几个思路

Part1 双向绑定官方是不推崇双向绑定的,好用是真好用,不过我们先明确几个原则举个例子,我们有 "编辑组件TextInput" 和一个"页面class Page",数据落在Page.state.a.b.c.d里绑定的set/get只能在"更新-显示"链的最末端,也就是说当TextInput实现双向绑定以后,TextInput其内部就没有用户代码了初衷是绑定,数据当然就落在远端Page,通过...