GraphQL 来了,REST 尚能饭否

Posted on 三 10 8月 2022 in Journal • Tagged with journal, blog

REST 凭借着其简单明了的定义,风靡一时,可是在实际应用过程中,REST 略显呆板,并且在实体对象巨大时性能不佳。


Continue reading

Journal on 2022-08-08

Posted on 一 08 8月 2022 in Journal • Tagged with journal, blog

The only way to win World War III is to prevent it. 戰勝第三次世界大戰的唯一方法,就是阻止它。


Continue reading

Docker container as build server

Posted on 日 24 7月 2022 in Journal • Tagged with journal, blog

| Abstract | Docker container as build server | | --------------|------------------------| | Authors | Walter Fan | | Category  | learning no...


Continue reading

如何提高代码质量

Posted on 一 18 7月 2022 in Journal • Tagged with journal, blog

代码质量是软件公司中绕不开的话题,其实大多都是在问题层出不穷,代码质量堪忧的时候才会想起讨论这个事 1. 首先是设计质量 2. 不要违反人性 3.


Continue reading

WebRTC RTX 笔记

Posted on 日 10 7月 2022 in Journal • Tagged with journal, blog

| Abstract | WebRTC RTX 笔记 | | --------------|------------------------| | Authors | Walter Fan | | Category  | learning note  | | Status...


Continue reading

Curiously recurring template pattern

Posted on 四 09 6月 2022 in Journal • Tagged with journal, blog

CRTP (Curiously Recurring Template Pattern) 即奇异重复模板模式, 它其实很早就出现了,看起来有点奇怪,用起来却很爽, 其最主要的用途就是静态多态 它有两个特点: 子类继承自模板类。 派生类将自身作为参数传给模板类。


Continue reading

Strands: Use Threads Without Explicit Locking

Posted on 日 05 6月 2022 in Journal • Tagged with journal, blog

Provides serialised handler execution.


Continue reading

The rule of three, five and zero

Posted on 日 29 5月 2022 in Journal • Tagged with journal, blog

C++ 是一门强而又古老的语言,我最早使用的 C++ IDE 是 Borland C++, 一晃二十年过去了。 C++ 的类成员如果是一个对象,或者原始指针类型,或者是资源句柄,它由编译器自动生成的拷贝构造和拷贝赋值通常会有问题,因为它们用的都是浅拷贝,拷贝是指针或句柄的值,而不是拷贝资源。


Continue reading

道路是曲折的,未来是光明的

Posted on 四 19 5月 2022 in Journal • Tagged with journal, blog

凡是过去,皆为序章。改革开放四十年来,我始终相信中国会变得越来越好,可是这两年却不由得越来越担心。 尽管我知道,凡事不可能一帆风顺,事物总是螺旋式发展的,有进步也会有退步,只是方向不变,脚步有些踉跄也不必过于担心。 道远且长,虽远必达;心之所向,行必能至。


Continue reading

事件驱动编程与协程的

Posted on 二 10 5月 2022 in Journal • Tagged with journal, blog

| Abstract | Journal on 2015-02-28 | |---------------|------------------------| | Authors | Walter Fan | | Category  | learning note  | | St...


Continue reading

如何快速上手新项目

Posted on 三 04 5月 2022 in Journal • Tagged with journal, blog

| Abstract | 快速上手新项目的 30 条秘诀 | | ----------- | ----------- | | Authors | Walter Fan | | Category   | learning note  | | Status | v1.0...


Continue reading

封装很重要,英语也是

Posted on 一 02 5月 2022 in Journal • Tagged with journal, blog

OOP 面向对象编程中常常提到封装,继承和多态,在我看来,最重要就是封装。 世界是复杂的,做一个产品,一个项目同样会面临许多复杂琐碎的问题,这时候就需要分解和抽象。 用包,模块,类,函数帮助我们把一团乱麻的方法分门别类地归置起来。 把复杂的逻辑封装在内部,开放简单的接口来外部使用。


Continue reading

心情低落时常读的诗

Posted on 六 30 4月 2022 in Journal • Tagged with journal, blog

心情低落时常读的诗


Continue reading

在家工作没有想象得那么美

Posted on 四 28 4月 2022 in Journal • Tagged with journal, blog

在家工作的优点 1. 节省了通勤的时间 2. 可以更加灵活地安排协调工作事项与个人事务 3. 减少交通成本,以及水电,办公耗材等成本 4. 按自己的身心状况灵活安排工作会更高效 5. 减少了来自同事的干扰 6. 更加减碳,更加环保 7.


Continue reading

对自由的向往

Posted on 三 27 4月 2022 in Journal • Tagged with journal, blog

匈牙利诗人裴多菲(Sándor Petõfi) 写过一首诗 - 自由与爱情 Liberty, love! These two I need. For my love I will sacrifice life, For liberty I will sacrifice my love.


Continue reading

RTP 通道的多路复用

Posted on 日 03 4月 2022 in Journal • Tagged with journal, blog

| Abstract | WebRTC 中多路复用 | | ----------- | ----------- | | Authors | Walter Fan | | Category   | learning note  | | Status | v1.0...


Continue reading

Using the Tracing System

Posted on 二 01 2月 2022 in Journal • Tagged with journal, blog

在服务器开发及问题诊断中, 日志 Log,追踪 Trace 和度量 Metrics 是最重要的手段。


Continue reading

网络模拟器 ns-3

Posted on 四 06 1月 2022 in Journal • Tagged with journal, blog

NS-3 is a network simulator tool An open source discrete event simulator Event model packet transmission , receipt , timers etc.


Continue reading

回顾 2021, 展望 2022

Posted on 六 01 1月 2022 in Journal • Tagged with journal, blog

今天是2021年的最后一天,这一年有风有雨,有晴有阴,受够了腰痛的折磨,总算这一年有惊无险地挺了过来,年初定下的目标大多没有实现,可是一年的时光并没有虚度。


Continue reading

我给大二新生开的计算机科学书单

Posted on 五 31 12月 2021 in Journal • Tagged with journal, blog

C++ Primer Java 编程思想 Python核心编程 JavaScript高级程序设计 第4版 深入理解计算机系统(原书第3版) 算法 Robert Sedgewick TCP/IP详解 卷1:协议 程序员的自我修养——链接、装载与库 Head First 设计模式


Continue reading