追回来了

2025-07-31

大端序,小端序

Examples with the number 0x12345678 (i.e., 305 419 896 in decimal):

little-endian: 0x78 0x56 0x34 0x12
big-endian: 0x12 0x34 0x56 0x78
mixed-endian (historic and very rare): 0x34 0x12 0x78 0x56

https://developer.mozilla.org/en-US/docs/Glossary/Endianness

2025-07-30

zig 这门语言似乎是和 rust 产生竞争,抢占 c 语言的市场

The primary goal of Zig is to be a better solution to the sorts of tasks that are currently solved with C. A primary concern in that respect is readability; Zig attempts to use existing concepts and syntax wherever possible, avoiding the addition of different syntax for similar concepts. Further, it is designed for “robustness, optimality and maintainability”, including a variety of features to improve safety, optimization, and testing.

继续阅读“追回来了”

宝回老家了

2025-06-30

菜鸟面试官的一点思考

2025-06-26

“The boolean trap” is just one example of how seemingly simple modeling decisions can have unexpected consequences as systems grow. While booleans are perfect for their intended purpose – representing true/false technical states – they often fall short when applied to a domain. By choosing enums and enum sets we create code that is better prepared for the “real world”‘ of the problem domain.

Sometimes it’s better to rethink how we represent the state instead of blindly adding another boolean flag.

https://katafrakt.me/2024/11/09/booleans-are-a-trap

乱语:这位老哥说在领域模型内,使用布尔值不是很好,得用枚举或者是状态机。

继续阅读“宝回老家了”

收到起诉状

2025-05-31

A proof of concept (POC or PoC), also known as proof of principle, is an inchoate realization of a certain idea or method in order to demonstrate its feasibility[1] or viability.[2]

A proof of concept is usually small and may or may not be complete, but aims to demonstrate in principle that the concept has practical potential without needing to fully develop it.

乱语:简单翻译来看,就是对概念的证明。

2025-05-30

流转知何世,江山尚此亭。
登临皆旷士,丧乱有遗经。
已识乾坤大,犹怜草木青。
长空送鸟印,留幻与人灵。

【词语力量354】犹怜草木青。“已识乾坤大,犹怜草木青”,即便是经历世事沉浮、阅尽人间沧桑,当俯下身子看到草木生发……

草木之枯荣于我之人生有何增益?春秋之轮换于我之富贵能添几何?生活之重担已令人不堪负,又有何心力去关心草木是否变青、春花是否再发?

继续阅读“收到起诉状”

附耳切除术

2025-03-31

英文版的一些力扣题解不能看,要开会员,但是中文版,可以免费看。

https://leetcode.cn/problems/climbing-stairs/solutions/286022/pa-lou-ti-by-leetcode-solution

2025-03-29

可视化寻路算法,来自宾夕法尼亚大学数学专业的大佬

Welcome to Pathfinding Visualizer! I built this application because I was fascinated by pathfinding algorithms, and I wanted to visualize them in action. I hope that you enjoy playing around with this visualization tool just as much as I enjoyed building it.

https://clementmihailescu.github.io/Pathfinding-Visualizer/

继续阅读“附耳切除术”

开始分居

2025-02-27

15 【每天认识一架飞机,今天是空客A320 – 华夏飞滴 | 小红书 – 你的生活指南】 😆 Bwwy4AFnTT2CiKA 😆

https://www.xiaohongshu.com/discovery/item/66b1be7f000000001e01b0df?source=webshare&xhsshare=pc_web&xsec_token=AB-qw1hyDAsVjCJNdfbU5mkZGFSxUGNdGRWsVneXtc51M=&xsec_source=pc_share

2019年11月,A320的订单数目(15,193架)超越737客机(15,136架),成为航空历史上销量最高的客机。不过截至2021年4月为止,737客机的实际交付量(10,681架)仍领先于A320(9,832架)。A320是现役数量最多的客机。

继续阅读“开始分居”

进入 2025 年

2025-01-24

高中三年文集找到了,原以为会丢失

摘录一段如下:

第一个环节是一对男女(不是狗男女)上场。桌子上摆了一个橘子和一个苹果, 出的尽是损招,男的吃苹果但要让女生拿着,男的手却要剥橘子,送给女生吃。这个游戏情侣来玩倒不错,所以笔者所在的小组都没人想上,靠划拳决定,笔者平时不划拳,划不过组内另外两个猥琐男,上了,事后才知道那真是好玩极了。比赛开始了,我咬了一口苹果,手开始剥橘子,但是组内其他人来了,廖加加出损招说:“吃不完就吐出来。”我口里的苹果嚼碎了,要吞, 经她这一说,我就吐了。我组的唐亦亦说:“把橘子掰开。”这是更损的一招, 好好的一橘子我掰开后成了掰开的西红柿。一场下来,我苹果味都不知道, 合作的女组员刘庆庆酸的大大咧嘴眯眼,我才知不吃有不吃的好。同时比赛的还有“牛郎织女”,牛郎比织女高不少,织女只能踮起脚才能喂到牛郎,这真是“踮起脚尖更靠近牛郎”。钟彬彬也就下文要说的胖子和刘芳芳也参加了, 他俩关系复杂,道不清说不明,恰恰刘芳芳是班长,搞这个游戏有很多居心叵测的成份。钟彬彬把橘子剥了,整个塞近刘芳芳嘴里,刘芳芳一个怀了孕只呕不吐的样子。这局我们没输,谭易易和文思思用背挤破了一气球算惩罚了。

/high-school-for-three-years/

2025-01-22

2024.11.17 让岁月记住我们的芳华

一帆风雨路三千,把骨肉家园齐来抛闪。
恐哭损残年,告爹娘:休把儿悬念。
自古穷通皆有定,离合岂无缘!
从今分两地,各自保平安。
奴去也,莫牵连。

https://m.gushiwen.cn/mingjuw_1335.aspx

2025-01-08

降龙十八掌

新域名:zengyuxin.com

2024-12-27

分享图片

甄士隐在此种情形下注解了好了歌,生命处于无奈之下做的妥协,就是要让自己放下了。

这一切的文化,皆是死亡文化,中国的文化更偏弱势

2024-12-13

个人网站之前被封了,现在,新的网站来了

https://zengyuxin.com

2024-12-09

好久没更新,没发宝的视频了,看,我没

2024-12-06

2024 年的提交天数是 1 天