Welcome! Here are some notes and code snippets to myself. Just do my work everyday with ❤️ .
- programming learning notes
- electronics project notes
- whatever reading notes
Welcome! Here are some notes and code snippets to myself. Just do my work everyday with ❤️ .
effects of climate change if the climate changes continue, one effect is that the sea level will rise and some islands in the ocean could be submegered. that is an existential crisis for people living there. now Iceland declared that the potential collapse of a major Atlantic current system could alter the country’s climate and economy. that is another effect of climate change. some places get colder and other places warmer. extreme conditions become more frequent due to climate change. ...
“Life is not a problem to be solved, but a reality to be experienced.” – Søren Kierkegaard life is a terminal illness with a bad prognosis. – Carl Jung Life is lived in a forward direction but only understood backward sergei yesenin (1895-1925) “bitter tears” of the “evening silence”, translated by Anton Yalovlev, The Last Poet of the Village. In this world you can search for everything, except Love and death. They find you when the time comes. another long poem Is it my fault that I’m a poet Of heavy suffering and bitter fate? After all, it wasn’t my choice— It’s just the way I came into the world. Is it my fault that I don’t cherish life, That I love and simultaneously hate everyone, And know things about myself I don’t yet see— That is my gift from the muse. I know there is no happiness in life, Life is lunacy, the dream of a sick soul, And I know my gloomy tunes bore everyone, But it’s not my fault—that’s the kind of poet I am. I will not lie to myself, Woe has settled in my misty heart. Why am I known as a charlatan? Why am I known as a brawler? I’m not a villain. I haven’t robbed anyone in the forest. I haven’t shot wretches in dungeons. I’m merely a street rake Smiling at passing faces. I’m a mischievous Moscow playboy. In Tver, every neighborhood dog Recognizes my breezy gait In the backstreets. Every bedraggled horse Nods its head to greet me. I’m a good friend to the animals, Healing them with my verses. My top hat is not to impress the women. My heart can’t bear meaningless passion. It makes it easier, soothing my sadness, To give gold oats to a mare. I have no friends among people. I’m loyal to a different kingdom. I’m ready to put my best tie On the neck of any local hound. Now I won’t hurt any longer. Swamp is drained in my murky heart. This is why I’m known as a charlatan. This is why I’m known as a brawler. The rude are destined for joy; The tender are destined for sadness. I pity nothing; I pity no one. I pity myself a bit; I pity stray dogs. This path has led me straight To a tavern. Why are you yelling, you devils? Am I not my country’s son? Everyone here has pawned His pants for a drink. Hazy eyed, I look out the window; My heart is heavy and hot. The street in front of me, Wet from sunlight, rolls on. There is a boy in the street. The air is fried and dry. The boy is so contented And picks his nose. Go right ahead, my dear, Get your whole finger in there, Just don’t burrow into your soul With the same force. I’m toast… My courage is failing… Look at my host of bottles! I collect corks to plug The holes in my soul. two poems by W.S.Merwin Separation BY W. S. MERWIN Your absence has gone through me Like thread through a needle. Everything I do is stitched with its color. the second one Rain Light By W.S. Merwin All day the stars watch from long ago my mother said I am going now when you are alone you will be all right whether or not you know you will know look at the old house in the dawn rain all the flowers are forms of water the sun reminds them through a white cloud touches the patchwork spread on the hill the washed colors of the afterlife that lived there long before you were born see how they wake without a question even though the whole world is burning 苏轼《西江月 平山堂》 三过平山堂下,半生弹指声中。 十年不见老仙翁,壁上龙蛇飞动。 欲吊文章太守,仍歌杨柳春风。 休言万事转头空,未转头时皆梦。 平山堂位于扬州西北的大明寺侧,乃欧阳修于公元1048年(庆历八年)知扬州时所建。欧阳修是苏轼的恩师。 Marcel Prouse I seemed to see that this life that we live in half-darkness can be illumined, this life that at every moment we distort can be restored to its true pristine shape, that a life, in short, can be realised within the confines of a book! ...
Albert Camus: Fiction is the lie through which we tell the truth. Peter Coviello: Maybe don’t talk to the New York Times about Zohran Mamdani For some time I’ve been saying that the storied choice between socialism and barbarism was made exquisitely clear a good many years ago in the United States, and both major parties chose barbarism. They are obviously and consequentially different barbarisms — one had reproductive freedom, vaccines, and trans health care in it, at least for a while — and I can tell you why I have sincerely preferred one to the other. But we oughtn’t to kid ourselves. From the perspective of a world of increasingly unimaginable maldistribution of resources, cascading ecological collapse, a genocide cheered on by a putatively liberal order, both are barbarisms. Mamdani seemed to me a small glimmering break in the wall of all that. A part of me wanted to do him a solid. ...
20251202 20251120: Bitcoin is down closer to 80K. 20251130: Bitcoin down to 83K after closer to 93K on 11/27. 20251202 night: Bitcoin up closer to 92K. The historic high is over 126K on 20251005. Gold reaches its one high over US$4,300 on 20251020. Now it is above 4,200. 20251114 Bitcoin was down 5.6% to about $97,200 into a bear market on Friday. Michael Burry of ‘Big Short’ fame is closing his hedge fund at the end of October, 2025. ...
T to S and S to L = sex is the drive of life, testosterone is the drive of sex Here are two articles on testosterone: Apr 30, 2025 web archive: Testosterone gave me my life back Oct 22, 2025 web archive: Testosterone is giving women back their sex drive Just as estrogen is a crucial hormone for men, testosterone is an important hormone for women, instrumental in the development of bones, muscles and sexual function. Testosterone peaks in women in their late teens and early 20s, then declines over time, so that by age 60, their levels have fallen by about half. (Men start out in young adulthood with 10 times the testosterone of women, and their levels diminish much less steeply over time.) ...
Current stock market with AI bubble is much hotter than that dot-com one. Everyone knows that it is going to burst. Just do not know exactly when. Meme stocks come back again with the gold price stumbles (down 3.8% below $4100/ounce). What does this mean? (Meme stock is just a new form of old trick, short squeeze. Wall Street or not, the initiators get the profit.) Greedy and more greedy. Speculations and more speculations. The crash of the stock market is close. ...
CS DIY UC Berkeley CS61A: SICP in python etc. MIT SICP CS61A repo CS61A repo2 open source computer science DIY links to good blogs Laurence Tratt macMaster.com McMaster-Carr is an industrial supply company. They sell nuts, bolts, bushings, bearings – pretty much anything an engineer needs to build stuff. The website it does what it needs to, and nothing else. Book: A philosophy of software design, John Ousterhout, 2018 How to design software systems to minimize their complexity. ...
fast-forward time 时间像流水,有时快有时慢。不信?那就去看看落基山上的岩石,层层叠叠的纹路有疏有密。小时候,做饭用煤,生炉子是个技能,旧报纸或木屑片。然后换成煤气罐,再后来就是埋在地下的管道天然气,直到现在的电磁炉。另外一个例子就是电话费和电话。小时打个电话到学校门房,才有人叫。长途电话费奇贵,也不是什么电话都可以拨长途,我曾经专门去邮电局去拨打国际长途。然后,电话家家有,手机人人拿,大哥大变小变薄,按键变触屏。诺基亚1011在1992年出现,黑莓在2000年后开始流行,而第一个iPhone在2007年横空出世。我们这个时代是不是按下了快进键? autumn leaves gone 天气变冷,早上有霜,抬头也只看到一个月牙儿。第一场雪已经下过,薄薄得一层,太阳一出来就化了。灿烂的秋叶早就让风吹散了。 time and desire 前两天看到朱熹的两句诗,“世路无如人欲险,几人到此误平生。“忽然想到,时间和欲望才是我们终极的对手。 we see what we could see, at most an image of the world 比利时画家雷内·马格利特(René Magritte)画过一个烟斗,并在画的下面写着“这不是一个烟斗”。(Ceci n’est pas une pipe)我们当然知道那不是烟斗,而是一副烟斗的画。但是我们或许从来没有看到自我,而只是镜中的影像。我们不知道一个事物本身,而只是看到了它的影像。我们或许不知道一件事物,而只是知道了它的名称。这就像地图并非实际的疆域。 Martin Luther King Jr. Cowardice asks the question, “Is it safe?” Expediency asks the question, “Is it politic?” Vanity asks the question, “Is it popular?” But, conscience asks the question, “Is it right?” And there comes a time when one must take a position that is neither safe, nor politic, nor popular, but one must take it because one’s conscience tells one that it is right. ...
DNS request, any DNS server, by default DNS is using UDP $dig http418.org ; <<>> DiG 9.10.6 <<>> http418.org ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2570 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4000 ;; QUESTION SECTION: ;http418.org. IN A ;; ANSWER SECTION: http418.org. 300 IN A 172.67.133.121 http418.org. 300 IN A 104.21.5.131 ;; Query time: 77 msec ;; SERVER: 10.6.205.11#53(10.6.205.11) ;; WHEN: Fri Oct 17 09:50:33 MDT 2025 ;; MSG SIZE rcvd: 72 $dig @40.115.144.198 http418.org ; <<>> DiG 9.10.6 <<>> @40.115.144.198 http418.org ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25726 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1224 ;; QUESTION SECTION: ;http418.org. IN A ;; ANSWER SECTION: http418.org. 300 IN A 104.21.5.131 http418.org. 300 IN A 172.67.133.121 ;; Query time: 191 msec ;; SERVER: 40.115.144.198#53(40.115.144.198) ;; WHEN: Fri Oct 17 09:53:28 MDT 2025 ;; MSG SIZE rcvd: 72 $dig @40.115.144.198 http418.org +tcp ; <<>> DiG 9.10.6 <<>> @40.115.144.198 http418.org +tcp ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62006 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1224 ;; QUESTION SECTION: ;http418.org. IN A ;; ANSWER SECTION: http418.org. 148 IN A 172.67.133.121 http418.org. 148 IN A 104.21.5.131 ;; Query time: 116 msec ;; SERVER: 40.115.144.198#53(40.115.144.198) ;; WHEN: Fri Oct 17 09:56:00 MDT 2025 ;; MSG SIZE rcvd: 72 Xray config to set up a proxy server as DNS server with port 53 exposed. ...
There is a strange error Error: "Unrecognized ABI" when downloading UF2 to the pico board. So a total re-installation after removing both .cargo and .rustup directories. install rust $ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh install for some embedded targets $ rustup target add thumbv6m-none-eabi $ rustup target add thumbv7m-none-eabi $ rustup target add thumbv8m.main-none-eabi $ rustup target add thumbv8m.main-none-eabihf then install cargo-binutils $ cargo install cargo-binutils Installed package `cargo-binutils v0.4.0` (executables `cargo-cov`, `cargo-nm`, `cargo-objcopy`, `cargo-objdump`, `cargo-profdata`, `cargo-readobj`, `cargo-size`, `cargo-strip`, `rust-ar`, `rust-as`, `rust-cov`, `rust-ld`, `rust-lld`, `rust-nm`, `rust-objcopy`, `rust-objdump`, `rust-profdata`, `rust-readobj`, `rust-size`, `rust-strip`) In the end, it seems that the latest rust is in use somehow. ...