undici_upload_example

This is a complete example on how to stream uploading with undici library.

Somehow following popular results from search are not complete, or lack of description of key secret.

nodejs/undici#2202
https://github.com/nodejs/undici/blob/main/docs/examples/README.md
https://gist.github.com/PaulMougel/7511372

This is my try. It is working with current node v22.13.0. And the key secret is actually the FormData provided by undici is broken in supporting streams.

https://github.com/liyu1981/undici_upload_example

https://gist.github.com/liyu1981/e85c9ace0e9304350fb3b5c13844062d

What does “good taste of code” mean by Linus

In this TED interview of Linus, Linus himself has talked about something he values the best: good taste of code, which as I guess, at least half of audience are confused on what he is really talking about.

I can not say that I am fully understand what he really means, but below is my interpetation.

Continue reading What does “good taste of code” mean by Linus

`zcmd.zig`: a `std.childProcess.run` replacement but with the ability of running `bash` pipeline

(originally posted here: https://zig.news/liyu1981/zcmdzig-a-stdchildprocessrun-replacement-but-with-the-ability-of-running-bash-pipeline-2k0h)

Continue reading `zcmd.zig`: a `std.childProcess.run` replacement but with the ability of running `bash` pipeline