摘要: appearance [əˈpirəns] n the way that someone or something looks. [I like the appearance of stripped antique pine] [我喜欢被剥光的古松的外观] an act of performing 阅读全文
posted @ 2024-09-30 13:25 yinchao_ws 阅读(1) 评论(0) 推荐(0) 编辑
摘要: SRS是什么 SRS(Simple Realtime Server), 是一种专门处理音视频的服务器. 是一个由社区驱动的开源项目. 官网在这里 本文提到的所有的问题都是根据官网的操作所产生的的问题和一些记录. 新手教程 怎么使用 SRS 直观的感受, 是学习的第一动力. 先利用docker 在本地 阅读全文
posted @ 2024-09-30 13:25 yinchao_ws 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 由来 在编写自己的博客想法上退步, 计划使用已有的博客架构. 网上找到两个技术架构 typecho and worldpress. 使用了 MrDoc 过程 按照指导, 在腾讯云上免费领取到了一台机器后, 使用 putty 无法远程登录, 提示 "no supported authenticatio 阅读全文
posted @ 2024-09-30 13:25 yinchao_ws 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 环境 ubuntu 22.04 安装 apt install samba # 这里注意, samba 服务在systemctl 控制当中简写为 smbd # 可以使用 systemctl status smbd # 查看服务状态 创建用户 理论上可以不使用权限验证, 但是建议用, 防止网络上别人随意 阅读全文
posted @ 2024-09-30 13:25 yinchao_ws 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 学习过程中,我发现了一扇新的世界,The c standard manual 这里记录文件 skynet_mq.h and skynet_mq.c 的阅读结果. 消息队列 1. 为什么用队列? 因为消息需要先入先出(FIFO). 剩下几个问题: 如何自己在代码中也使用自旋锁,请写一个示例代码。 次级 阅读全文
posted @ 2024-09-30 13:24 yinchao_ws 阅读(1) 评论(0) 推荐(0) 编辑
摘要: what's difference between git revert and git reset. 都是撤销修改记录,其中,reset 是取消一个提交;revert 是修改内容然后生成一个新的提交。必须指出的是:reset 在远程不生效,如果需要撤销远程的提交,需要使用 revert. git 阅读全文
posted @ 2024-09-30 13:23 yinchao_ws 阅读(1) 评论(0) 推荐(0) 编辑
摘要: GDB GNU 下的一个调试软件,在linux 下可以用来调试c/c++代码。 启动 可以通过gdb --help查看用法,如下: This is the GNU debugger. Usage: gdb [options] [executable-file [core-file or proces 阅读全文
posted @ 2024-09-30 13:23 yinchao_ws 阅读(0) 评论(0) 推荐(0) 编辑
摘要: The obvious is that the first is formal while the second is informal; other than that, there are no doubt occasional collocations that favour one or t 阅读全文
posted @ 2024-09-30 13:23 yinchao_ws 阅读(0) 评论(0) 推荐(0) 编辑
摘要: In other words, number refers to items we can count. By contrast, amount refers to how much of something there is: how much stimulation, how much resi 阅读全文
posted @ 2024-09-30 13:22 yinchao_ws 阅读(0) 评论(0) 推荐(0) 编辑
摘要: Have is the present perfect tense which is used for 1st person singular and plural, 2nd person singular and plural and 3rd person plural form of ‘have 阅读全文
posted @ 2024-09-30 13:22 yinchao_ws 阅读(0) 评论(0) 推荐(0) 编辑
摘要: The difference between be, being, and been can be confusing to a lot of English learners. Be, being and been are just different forms of the verb to b 阅读全文
posted @ 2024-09-30 13:21 yinchao_ws 阅读(1) 评论(0) 推荐(0) 编辑
摘要: The word 'shall' is used to show strong intention/assertion about an action that will happen in the future. 'Shall' is used more in formal writing tha 阅读全文
posted @ 2024-09-30 13:20 yinchao_ws 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Institute of Electrical and Electronics Engineers 电气电子工程师学会 Institute-> 研究室 Electrical -> 电气 Electronics -> 电子 Engineers -> 工程师 阅读全文
posted @ 2024-09-30 13:20 yinchao_ws 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 查看内存 按照《深入浅出nodejs》一书所说,64位机器可使用内存大概是1.5G. 可以通过 process.memoryUsage() 查看. Returns an object describing the memory usage of the Node.js process measure 阅读全文
posted @ 2024-09-30 13:19 yinchao_ws 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 前言 记录一些感触较深的思辨话题,加深印象,留下一个回忆锚点 我们为什么要读书 人类的行为受到固有环境和直觉经验所影响。比如说我们看到蚂蚁搬家会认为可能要下雨,看到树叶黄了就知道秋天来了等等。 这其实只是表象,蚂蚁搬家和下雨,树叶黄了和秋天到了本质上并没有因果关系。 蚂蚁能探知到空气湿度变化,而湿度 阅读全文
posted @ 2024-09-30 13:18 yinchao_ws 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 起因 我在home目录下打算安装thinkphp进行学习, 采用nginx作为web服务器, 遇到了错误, 记录如下. 具体的错误提示 在nginx 的错误日志 error.log 中提示如下: FastCGI sent in stderr: "Primary script unknown" whi 阅读全文
posted @ 2024-09-30 13:17 yinchao_ws 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 远程工作(remote working) 安装插件 remote-ssh 增加相应配置 然后点击+号,依次按照提示添加配置,最后,如下所示(手动添加 IdentityFile "D:\key\local_test") 修改秘钥文件权限,依次点击属性,安全,高级,禁用继承,然后删除所有其他的权限只留下 阅读全文
posted @ 2024-09-30 13:14 yinchao_ws 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #ifdef, #ifndef, #else, #define 等宏定义。 它可以被 gcc 编译的时候定义。 例如 如下代码: #ifndef USE_PTHREAD_LOCK 可以在编译的时候 gcc -DUSE_PTHREAD_LOCK 定义. How to detect the cpu ar 阅读全文
posted @ 2024-09-30 11:27 yinchao_ws 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Introduction For Nodejs base on v8 engine, and signal thread, and asynconous I/O. 基于v8, 性能出色 单线程, 没有线程开销,没有多线程相关的复杂的问题(锁,池等,the source of bug.), 隐藏了,其 阅读全文
posted @ 2024-09-30 11:26 yinchao_ws 阅读(1) 评论(0) 推荐(0) 编辑
摘要: ubuntu 之下有一个 tree 命令, 可以输出. 安装 sudo apt install tree 使用 tree 效果 阅读全文
posted @ 2024-09-30 11:25 yinchao_ws 阅读(0) 评论(0) 推荐(0) 编辑