[Personal Reflections] A Parent's Child

Looking at my parents’ silver hair and the lines the years have carved into their faces, my heart aches. After starting university, aside from a brief stint at home during military service, I’ve always been away — studying far from home, and now working even farther. Though I’ve never said it out loud, there’s a small knot of guilt that stays with me. I hope my parents live peacefully, healthily, and happily. That is my greatest wish for them. ...

September 24, 2007 · 1 min · 205 words · ChenFu Kuo

[R&D Notes] Implementing Linux Daemons in Embedded Systems

Implementing Daemons in Embedded Linux systems is a fundamental task for long-running services. Based on the excellent Linux Daemon Writing HOWTO by Devin Watson, I have refactored several processes in my current project to run as background services (daemons). By backgrounding these processes, we ensure they remain resident in the system without blocking the console or being tied to a specific session. Core Implementation Pattern The following C snippet demonstrates the standard procedure for “daemonizing” a process: fork() from the parent, create a new session with setsid(), change the working directory, and close standard file descriptors. ...

September 19, 2007 · 2 min · 245 words · ChenFu Kuo

[Work Notes] Patch vs. Embedded Systems Development Notes

Recently I was assigned to work on a streaming server. Working from the original development platform, we applied patches via shell scripts to transform source files — using patches on the original source code to generate modified files, then compiling those into the required libraries or executables. At first I didn’t think much about why this approach was used, but I’ve recently started to appreciate its advantages. The original source files we need are open-source packages downloadable from the internet. To track our modifications, we use the diff command to create patch files. When we combine multiple application components together, we end up with a collection of tarballs and patch files. We then manage them with shell scripts organized into three types: ...

September 19, 2007 · 2 min · 223 words · ChenFu Kuo

[Personal Reflections] Chang Carey

Carey was a dog that my fiancée used to own. She passed away shortly after Dragon Boat Festival… The first time I met her, she bit me! In my entire life, I’ve been bitten by two dogs. The first was named Lucky — I forget if it was middle school or elementary school — but it wasn’t particularly lucky for me. I just wanted to pet her, and she bit me. With Carey, I also just wanted to pet her, and she bit me too… though not as badly as the first time. ...

September 16, 2007 · 2 min · 288 words · ChenFu Kuo

[Financial Perspective] My Thoughts on BusinessWeek

Since high school, I used to buy computing magazines like PC DIY or gaming magazines — always chasing the latest trends: building a PC, playing games. Then, in my fourth year of university, a younger student was reading BusinessWeek, and I curiously asked why. He said he’d been reading it since high school, just out of interest, and that it offered many diverse perspectives. After that, I started buying a copy here and there — partly still following trends, I suppose. ...

September 15, 2007 · 2 min · 396 words · ChenFu Kuo

[Personal Reflections] Tension

I haven’t felt this way in a long time… I want to go home. Hide away at home… And be a willful, rebellious child again…

September 15, 2007 · 1 min · 25 words · ChenFu Kuo

[Reprinted] Our Work and Responsibility in This World

I happened to come across this article and wanted to share it with everyone. Source: http://www.drbataipei.org/wisdom/213/wisdom213_4.htm What is a person’s responsibility? It is to contribute and be of service to the entire world — to benefit all people everywhere. This is our true responsibility as human beings. Today we come together to discuss: “What does a person truly need?” and “Why do we come into this world? Is it merely to eat, dress, sleep, and enjoy ourselves?” ...

September 15, 2007 · 3 min · 595 words · ChenFu Kuo

[Work Notes] Patch Files in Linux

Creating a Patch File diff -Naur old-dir-or-file new-dir-or-file > patchfile.patch How to Apply a Patch There are two common ways to apply a patch: # Method 1 cat new-patch | patch -p0 # Method 2 patch -p0 < new-patch Understanding the -p (strip) Parameter The -p parameter specifies how many leading directory components to strip from paths in the patch file. For example, if a patch file begins with: ...

September 14, 2007 · 1 min · 205 words · ChenFu Kuo

[Work Notes] Registering ActiveX Components on Windows

Registering an ActiveX Component regsvr32 mcscal.ocx Unregistering an ActiveX Component regsvr32 /u mcscal.ocx

September 13, 2007 · 1 min · 13 words · ChenFu Kuo

[Personal Reflections] The Odd One Out

When I see that phrase, I think of the department backpack and T-shirt from university… “Wings”… Sometimes I wonder if I’m the odd one out — Not in a remarkable way, but in a quietly peculiar way… In my long search for certain answers about life, I’ve slowly drawn a few conclusions. The outline is still blurry, But a direction is taking shape. Since leaving the military, Coming to Taipei to work and to love, life is no longer as carefree as school days. On the surface, I seem composed, But beneath my behavior there’s a quiet uncertainty about the future — an unease I can’t quite name. ...

September 12, 2007 · 1 min · 188 words · ChenFu Kuo