0%

I can’t believe that it is already April, again a late hello to 2023.

Until today I have came to Siemens more than 1 months. My thinking is refreshed again, I had thought it was somehow good to stay at Thundersoft because I had stocks and acted as a manager. After I came here, I don’t need to struggle with the bunch of useless things, and most of the time I can do what I like to do. Also I can have a easier work time, which almost not need to take overtime. Very happy that I decided to abandon my stocks and came here, no doubt that a big difference will be made this year.

Once I am at home, my kid will keep stick on me. Although I am still struggling with how to balance life and learning, I kind of having some ideas to make the balance and enjoy my life.

One day you’ll leave this world behind, so live a life you will remember.
- The Nights . Avicii

This year my main target is to follow my own principles and a I-will-stick-on plan with agile way. Currently my own principles are not done yet, I will publish it once it is done.

Ah… Almost 12:00 PM, I am tired and don’t want to write too much now. So this is it.

Be better, and write the yearly hello on January since 2024.

1. No one needs a vacation more than someone who just took a vacation.
没有比刚刚度过假的人更需要假期的了

2. Reduce non-deliberate leisure and dive into deliberate leisure.
减少被动式休闲,投入到主动式休闲之中

3. Reading is lowest cost social interaction.
读书,是最低成本的社交

4. In-depth reading is very easy to produce peace in heart.
深度阅读非常容易产生高心流

Read more »

At times, fear may accompany certain things, but with repeated exposure and understanding, that fear dissipates. It’s akin to the fear of sleeping alone as a child; as you grow and become more familiar with the world, that fear gradually fades away.

The Pyramid Learning

Reading

If my purpose is to learn, read in following skills:

  • Pre-read the book/material super fast.
    • Preview it: Look at headings, subheadings, and any summaries or conclusions to get an overview.
    • Read a book in 4-5 minutes to find out what’s in it, and if it’s anything I need to know.
    • To be able to determine in 5 minutes: Should I even read this? Is this the right book?
  • Ask questions.
    • How will I use this?
    • Why is this important?
    • What applications does it have for the problem I’m trying to solve?
    • Look for what I know, and what I don’t know, and need to learn.
      • Don’t waste time learning what I know, I look for what I don’t know and need to learn.
      • Look for what I don’t understand and what is relevant to me.
      • Don’t need to know everything. I only need to know what I need to know. Spent too much time trying to learn everything and then didn’t remember anything.
      • What’s important is knowing the answers to the test questions if you’re in school, or knowing what your supervisors and clients want to know if you’re in business
    • Look for meaning and significance in what confused me, so now I understand it.
  • Pay more attention on the key things.
    • The first and last sentence/paragraph.
      • Usually the first tells you what’s coming, and the last tells you what came.
    • Vocabulary.
      • Mainly for the English book or some key concepts.
    • Names, nouns, numbers and verbs.
      • Who’s in the book and what did they do?
      • The people, things and their actions.
      • Any number. Date, statistic or formula.
      • Tables, charts, diagrams and so on.
    • In headers and sub-headers, what are the most important ideas in each section, the big takeaways?
    • What are the questions and answers?
  • Utilize recording while reading.
    • Highlight or underline, summarize what you have read.
    • Capture the main points(framework), organize essential data, questions as your read, fill in the highlights and stories.
    • Ask questions, make predictions, and connect what you’re reading to your own experience or knowledge tree.
    • Take notes.
      • What you’re learning?
      • What is your insights?
      • How will you use what you’ve just learned?
      • How did this book grab your attention and excite you?
        • A story, a joke? or anecdote? - more for writing skills.
  • Put the book aside and rehearse the content to yourself.
    • Visualize concepts.
      • Picture what you are leaning.
      • Envision yourself being successful at what you’re working on.
      • Imagine anything that helps.
    • Discuss/teach what you read.
  • Repetition is the key.
Read more »

第一次知道《把时间当朋友》应该是两年前吧,当时觉得是可以改变人生轨迹的一本书,所以第一时间就下单买了回来。 买回来后看了一半就束之高阁了,似乎有些收获又似乎没有收获。直到最近逐渐培养出阅读的习惯了,又拿出来从头完整阅读了一遍,前不久刚好读完,虽然存在一些说教和啰嗦的地方,但仍然是一本十分值得一读的书。
作者传达的很多观点,对我来说都很是受用,譬如贯穿全文的“积累”、“坚持”、“思考”。 作者没有真正做过程序员,却有很多程序员的好习惯,也佩服于作者对时间的把控和成事的能力,印象很深刻的是:

  1. 不做销售后,坚持 4 个月学习英文,取得托福等考试的高分,并入职新东方。(这种案例挺多,很多比较佩服的人都能下恒心快速学会一个领域的知识并取得成果)
  2. 运用技术的能量,完成《TOEFL 核心词汇 21 天突破》并赚取百万有余。
  3. 贯穿人生的积累和坚持。英文和其他信息/知识的积累,健身和写作的坚持。

接下来零散地记录一些自己觉得有意思的内容,和自己的想法。

Read more »

太久没有怎么写东西了,工作忙碌,心中苦闷,家中各种事情变故。如果还是早些年抑郁的自己,估计挺过这艰难的时光会十分不容易吧。老是在感叹时光,自己还是很难珍惜,或许因为自己是个俗人吧,做不到让自己每时每刻都活得有意义,总会不经意间让时间溜掉,然后感叹“逝者如斯夫,不舍昼夜”。

2021

工作

由于工作内容和夸张的办公距离的原因,本来打算在这一年离职,最终也未成行。其实从当前公司离职这个事情想了很久,最终因为一些原因而搁浅,俗人似乎总是这样子(或许只有我自己),离职这类有些重要的事情总是会因为各种原因(更多可能是懒惰和对未知的不安)而被推迟或拖延。在这一年也出去逛了一圈,漂亮得多的工资和对等的期权,不过最终还是选择了留下来,主要有三个考量吧。

  • 成为与国外客户直接交流的技术接口人,很贴合一直以来学好英语的意愿。
  • 工资加上股票等收入后,整体收入还算不错的。
  • 成为 Manager 和项目 Leader,想走出舒适区,挑战一下自己的性格弱点。
    Read more »

What does SDK mean in current context?

很多时候,我们需要闭源一部分源码, 然后再把整个源码仓库共享给指定人员。这个源码仓库就称之为 SDK。

How to make SDK based on Yocto build system

根据目前的调查结论,基于 Yocto 编译系统做 SDK 主要有如下三种方式,本文主要介绍第一种方式,也会稍微介绍下第二、三种方式。

  • 将闭源部分源码做成 prebuilt 包;
  • 重写 do_install 任务直接安装闭源部分源码生成的 deb 包;
  • 将源码编译成二进制并替换,修改 Makefile 文件。

最开始倾向于以 2、3 的方式来做 SDK, 深入调查后发现 1 才是最合适的方式,原因有三:

  • 高通有开发一个基于 qprebuilt.bbclass 类来实现的半成品 prebuilt 功能, 而且高通的闭源源码也是按照这种方式处理的。
  • 直接安装预编译的 deb 包是一个糟糕的决定,会给以后带来很多不确定性和不可追溯性。
  • 编译二进制并替换的方式在 Yocto 中逻辑更为复杂,且不符合官方推荐的标准做法。

Create Prebuilt tarball

制作预编译包是官方比较推荐的一种方式,详细过程请查看 “Lessons and Gains of making prebuilt sdk” 部分。现以 RB5 LU 为例将准备步骤简单总结如下,其分为两种情况:

  • 可以生成中间产物,用中间产物创建;
  • 不能生成中间产物,直接取最终产物创建。

我们也可以跳过第一种情况,直接按照第二种方式准备所有模块的预编译包,可以直接跳过如下第 2 步。

  1. 找到并修改闭源代码对应的 bb 文件, 添加如下两行代码。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RB5 LU 需要修改如下文件:
# poky/meta-qti-bsp-prop/classes/qprebuilt.bbclass
# poky/meta-qti-bsp-prop/recipes-bsp/sensors/sensors-see_git.bb
# poky/meta-qti-bt/recipes/bt-app/bt-app_git.bb
# poky/meta-qti-bt/recipes/bt-cert/bt-cert_git.bb
# poky/meta-qti-bt/recipes/bthost-ipc/bthost-ipc_git.bb
# poky/meta-qti-bt/recipes/fluoride/fluoride_git.bb
# poky/meta-qti-bt/recipes/libbt-vendor/libbt-vendor_git.bb
# poky/meta-qti-camera-prop/recipes/camx/camx_0.1.bb
# poky/meta-qti-camera-prop/recipes/camx/camxlib_0.1.bb
# poky/meta-qti-camera-prop/recipes/camx/chicdk_0.1.bb
# poky/meta-qti-gst-prop/recipes/secure-gst/secure-gst.bb
# poky/meta-qti-robotics-prop/recipes/imud/imud.bb
# poky/meta-qti-sensors-prop/recipes/sensors/sensors-see-qti_git.bb

RM_WORK_EXCLUDE += "${PN}" # 也可以添加所有模块到 local.conf, 譬如: RM_WORK_EXCLUDE += "camx chicdk ..."
inherit qprebuilt # 如果 bb 文件已经继承了此类,就不需要增加此行
Read more »

在大数据早已普及的今日,尤其随着 5G 技术和移动设备的逐渐普及,各种有线或无线的传输技术也迎来了迅猛发展,内容日新月异、错综复杂,你又能窥探其中多少呢?本文将简单介绍高速影音传输技术 MIPI, 主要基于 CSI-2 。

MIPI(Mobile Industry Processor Interface, 移动产业处理器接口) Alliance, 即 MIPI 联盟发起并为移动应用处理器制定了开放标准和一种规范。主要是手机内部的接口(摄像头、显示屏接口、射频/基带接口)等标准化,从而减少手机内部接口的复杂程度及增加设计的灵活性。MIPI 联盟下面有不同的工作组,分别定义的一系列接口标准,比如 CSI(Camera Serial Interface, 摄像头串行接口)、DSI(Display Serial Interface,显示串行接口)、DigRF(射频接口)、SLIMBUS(麦克风、喇叭接口)等,其优点是更低功耗,更高数据传输数量和更小的空间。

Definitions and Acronyms

Read more »

This document describes C code style used by Andy Lee in his projects and libraries.

Table of Contents

General Rules

In short, consistency matters.

Read more »

What is life?
Life is what happens to us while we are busy making other plans.

时光匆匆,转眼间,回到成都已经三年多了。这三年来鲜少有时间静下心来认真思考反省,有因为小孩出生前的误诊让自己整夜整夜地难过得想哭,有因为家事让自己感觉喘不过气,也有因为工作的事让自己觉得憋屈失去信心,以及因为种种其他难以言说的压力让自己整夜睡不着觉。还好乐观战胜了悲观,事情总体上都走向了好的方面。

最近这几个月,工作不顺心,家里发生了很多事情,有很多事情想做又做不了,似乎自己又进入了一段艰难的时光,借着周末来梳理梳理(吐槽吐槽),反省反省,也想想后面怎么走。

混乱的大脑

因为家庭和早期抑郁的原因,自己毕业好几年后才想明白怎么做一个有用的人,不辜负这一生。醒悟得太晚最大的弊端就是,需要补的功课太多,然后时间根本不够用。有时候也在想:“当 money 够用时,似乎无论怎么努力,资产都难以有质的飞跃了,似乎也难以迈入 A8,A9 … 要不自己也‘躺平’吧!” 还好自己内心深处还有一簇不安分的火苗。

很多时候也会想想生命、死亡等宏观的话题,每当这个时刻,自己内心中都会有一些畏惧,似乎也有一点对生命真谛的感悟,可惜自己还是差些火候,总是会辜负时间。

工作

工作不顺心是现在惶恐不安的主因,有自己的原因,也有很多公司的原因。首要的一个点是最近公司准备搬家,通勤距离一下变为 40 公里,从没试过这么长距离的通勤。

Read more »