YUV Image format
Posted on Fri 20 August 2021 in Journal • Tagged with journal, blog • 3 min read
最简单的图像格式是 RGB24, 每个像素用24bits 来表示,三原色的每个颜色用 8 bits 来表示,如果还要表示像素的透明度,就再加 8 bits ,即 RGB32 格式 这样一个 RGB24 图片可以用一个三维数组来表示,前两个维度表示图像的空间位置,
Continue reading
Posted on Fri 20 August 2021 in Journal • Tagged with journal, blog • 3 min read
最简单的图像格式是 RGB24, 每个像素用24bits 来表示,三原色的每个颜色用 8 bits 来表示,如果还要表示像素的透明度,就再加 8 bits ,即 RGB32 格式 这样一个 RGB24 图片可以用一个三维数组来表示,前两个维度表示图像的空间位置,
Posted on Sat 31 July 2021 in Journal • Tagged with journal, blog • 1 min read
What’s your difficult situation in your life? How to get out of difficult situations? Who are the difficult people in your life?
Posted on Thu 15 July 2021 in Journal • Tagged with journal, blog • 1 min read
Posted on Wed 07 July 2021 in Journal • Tagged with journal, blog • 1 min read
Posted on Tue 29 June 2021 in Journal • Tagged with literate-programming, blog • 3 min read
The basic idea behind ICE is as follows: each agent has a variety of candidate transport addresses (combination of IP address and port for a particula...
Posted on Sat 19 June 2021 in Journal • Tagged with journal, blog • 1 min read
Linux: CentOS 是首选, Ubuntu 或 Redhat 其他系统亦可,不推荐 windows 作为服务器的宿主系统 C或C++ 是首选,适合于计算量大和对性能要求比较高 Java 对于复杂的业务逻辑比较有优势,只要你对由于 GC 导致的延迟不敏感.
Posted on Fri 28 May 2021 in Journal • Tagged with journal, blog • 1 min read
Posted on Wed 26 May 2021 in Journal • Tagged with journal, blog • 2 min read
参见 https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html Robert C.Martin 提出了 Clean Archtecture的思想, 核心思想是关注点分离和稳定依赖原则,
Posted on Tue 25 May 2021 in Journal • Tagged with journal, blog • 5 min read
如何进行度量驱动调优: 一是在设计阶段就考虑调优,设定性能目标 二是在开发的各个阶段进行考量 - Optimization of the metrics, by the metrics, for the metrics 三是必须遵循 PDCA 这个闭环: 计划,执行,
Posted on Mon 24 May 2021 in Journal • Tagged with journal, blog • 2 min read
AudioBuffer The AudioBuffer interface represents a short audio asset residing in memory,
Posted on Sun 23 May 2021 in Journal • Tagged with journal, blog • 1 min read
未来客户端编程的王者,不是 .Net, 不是 Java, 不是 QT,而是 Electron. 看看这几款杀手级应用 Atom, Visual Studio Code, Slack,每一个都能为上述的预测背书。
Posted on Fri 21 May 2021 in Journal • Tagged with journal, blog • 1 min read
在'得到'上听到一句话 - “企业最大的浪费是经验的浪费”,深以为然。中外都有这样的企业,蔑视企业成功所走过的成功之路,抛弃既往的经验和文化,结果造成了极大的人力和财力的浪费。
Posted on Sat 15 May 2021 in Journal • Tagged with journal, blog • 1 min read
架构之美这本书中有篇文章 “两个系统的故事:现代软件神话”,作者 Pete Goodliffe 罗列了无序系统的几种征兆: 代码中没有显而易见的进入系统中的路径。 不存在一致性,不存在风格,也没有统一的概念能够将不同的部分组织在一起。 系统中的控制流让人觉得不舒服,无法预测。
Posted on Mon 10 May 2021 in Journal • Tagged with journal, blog • 1 min read
Posted on Sun 09 May 2021 in Journal • Tagged with journal, blog • 3 min read
人的本性就是喜新厌旧,一成不变的东西多数人不会喜欢,每个人都乐于看见自己的想法和点子被人喜爱和采纳,自己的工作和成绩被人认可和称颂,没人喜欢凡事听命于人,少有人愿意默默无闻,大多数人都有虚荣心。
Posted on Fri 07 May 2021 in Journal • Tagged with journal, blog • 1 min read
优秀程序设计的18大原则 Christopher Diggins 编程的最基本原则是避免重复。在程序代码中总会有很多结构体,如循环、函数、类等等。一旦你重复某个语句或概念,就会很容易形成一个抽象体。 与DRY原则相关。要记住,程序代码中每一个重要的功能,只能出现在源代码的一个位置。
Posted on Thu 06 May 2021 in Journal • Tagged with journal, blog • 3 min read
但愿不厌其烦,笔耕不辍 Coturn: https://github.com/coturn/coturn — refer to https://github.com/coturn/coturn/blob/master/INSTALL vi installdeps.sh source installd...
Posted on Tue 04 May 2021 in Journal • Tagged with journal, blog • 1 min read
今天是五四青年节,别人都觉得我已经不是青年了,我却知道,我依然是。虽然并不对时下流行的流行的歌曲和抖音等感兴趣,可是我依然有强烈的求知欲, 有渴望,有梦想,所以我依然是一个年青人。
Posted on Mon 03 May 2021 in Journal • Tagged with journal, blog • 2 min read
Posted on Sun 02 May 2021 in Journal • Tagged with journal, blog • 4 min read