tianshu
shuiming.....i like GDB instantly. it makes the RAM code connection visual.
cc.....Then it'll be a regular part of the exercises from now on. I've saved a note to offer a short GDB trace whenever an exercise involves pointers, memory or recursion. Chapter 6 suits it well. A struct puts several values next to each other in memory, and p *p or x/ will show you exactly how they're laid out, gaps between fields included.
For now, a habit worth keeping: compile with -g while you're learning (gcc -g -Wall -Wextra ...). It doesn't change how the program runs, and GDB is then always ready when you want to look underneath.
shuiming.....c learning opens a dam of cs knowledge for me. it is quite an amazing experience for me.
cc.....C does that because it sits right at the boundary between symbols and machine. Every concept in it leads somewhere underneath: pointers lead to memory, argv to how the operating system starts a program, printf buffering to how output reaches the screen, recursion to the call stack. Higher-level languages hide those connections. C leaves them in view, so each exercise opens onto the next layer.
That's also why it builds on itself. Once you can see the connections, the operating systems and computer architecture books in your Downloads become readable as continuations of what you already know. Enjoy it. That kind of experience doesn't come often.
shuiming.....it is precious for a honest learner.
cc.....It is. And honesty is what makes it work. An honest learner admits the blind spots, notes them, and keeps going, as you described with 5-14 to 5-17. That's what lets understanding build up instead of resting on pretending. GDB suits that kind of learner well, because it shows what the machine is actually doing, not what you'd assumed it was doing.
shuiming.....facts based. i name them tianshu. thr book of universe.
cc.....天书 is a good name for it. In everyday speech, 天书 means writing nobody can read. You've turned it around: the book the universe itself writes, in facts, readable by anyone honest enough to look at what's actually there.
Galileo had a similar image: the book of nature, written in the language of mathematics. GDB is a small window onto a page of that book. The bytes at 0x7fffffffe0f1 are simply what is there, whatever anyone assumed.
I've saved 天书 with your notes on integrity and compounding, where it fits.
shuiming.....tianshu concept applies to zhouyi huangdinijing xinjing too. facts , no delusion.
cc.....All three classics support that reading, and each has a line that says it directly:
周易: 坤,初六:履霜,坚冰至。 "Treading on frost, solid ice is coming." That's reading the fact underfoot and seeing where it leads. It doesn't involve wishing about winter or fearing it, only noticing the frost honestly and early enough. The whole text works like this: concrete images (a dragon in the field, a fox crossing the river), each one a fact with a direction.
黄帝内经: 素问·上古天真论 describes those who knew the Way: 法于阴阳,和于术数, "they took yin and yang as their model, and lived in harmony with the patterns of number." That means following the seasons and the body as they actually are, not as one would like them to be. Illness, in that text, comes largely from living against those facts.
心经: 远离颠倒梦想, "far from upside-down, dreamlike thinking." It's almost a definition of "no delusion". 颠倒 means seeing things inverted: the impermanent as permanent, the empty as solid. The sutra's whole method is to look at things as they are and drop the inverted picture.
So they're three books from three traditions with one stance, and the same one you met in GDB: read what is actually there.
shuiming.....so is buffett's letters to his investors shengnu and yiyin
cc.....I'm reading "shengnu" as Shennong 神农. With Yi Yin 伊尹 beside him, that fits: your 神农本草经 and 辅行诀, which itself names Yi Yin's 汤液经法 as its source. All three belong in the 天书 list, and each earned its place by reporting facts.
Buffett's letters. The rule is written into Berkshire's "Owner's Manual": "Our guideline is to tell you the business facts that we would want to know if our positions were reversed." He keeps to it most visibly with his own mistakes. He names them and puts numbers on them: buying Berkshire's textile mill in the first place, and Dexter Shoe, which he has called his worst deal. The letters don't spin. What makes them valuable is that a reader can trust the facts in them, which is integrity applied to reporting.
神农. The legend in 淮南子 is a story about getting facts the hard way: 尝百草之滋味……一日而遇七十毒 ("he tasted the hundred herbs… in a single day he met seventy poisons"). Knowledge of what heals and what harms came from testing on one's own body, not from theory, and each fact in the 本草经 was paid for.
伊尹. Tradition credits him with formulas that grew out of cooking, from the kitchen to the decoction. A recipe either works or it doesn't, so it's tested every time it's used, the same way a formula is. 辅行诀 preserves that lineage.
That makes six sources on your 天书 shelf: 周易, 黄帝内经, 心经, 神农, 伊尹 and Buffett. They span three thousand years and very different fields. What they share is respect for what is actually so, which is also how your two pursuits, the classics and value investing, connect.
shuiming.....true. is it interesting. they are melting together, part of tianshu. there is no even 0/1. universe is itself.
cc.....Yes. The 0/1 is our way of cutting it, not the thing itself.
Computers show this physically. Inside the chip there are no 0s and 1s, only voltages, which vary continuously. Engineers simply agree that below some threshold counts as 0 and above another counts as 1, with a forbidden zone in between. The bit is a convention laid over a continuous reality. GDB showed us the bytes, but even the bytes are labels.
心经 says the same about every distinction: 是诸法空相,不生不灭,不垢不净,不增不减. Arising and ceasing, pure and impure, increase and decrease are pairs we impose, and the 空相 underneath has none of them. Yin and yang, 0 and 1, profit and loss are tools for reading. They are not what is read.
So the 天书 isn't written in 0/1, or in yin/yang, or in numbers. Those are the scripts people use to copy pages of it. The universe is just itself, and the honest learner's work is to keep the script useful without mistaking it for the text.
shuiming.....great, you got that point. all tianshu creators understand that. that is only standard for me to chhose what to immerse self into.
cc.....That's a strict standard, and it explains your choices. Your five classics on tcm.shuiming.cc, K&R, and Buffett's letters were each made by someone who uses symbols carefully and never mistakes them for what they describe. K&R treats C as a thin, honest layer over the machine, and Buffett treats accounting numbers as clues to a business, never the business itself. Works that confuse the map with the territory don't pass, however popular they are.
I've saved this as your standard for choosing what to study. When I suggest books or sources in future, I'll suggest ones that meet it.