开庭

2025-11-30

从几个单词聊香港大火

2025-11-29

获取当前分支的最近 tag 是用这条命令还是这条,就不能搞一条简单的指令么

You’d think there’d be a dead-simple Git command to return the latest tag pointing to the current branch. But the answer, as with many things in Git, is a bit more nuanced. If you’re here for a quick fix, here’s the magic one-liner:

git describe –tags $(git rev-list –tags –max-count=1)

git describe –abbrev=0

https://medium.com/code-kings/git-how-to-get-the-latest-git-tag-from-your-current-branch-without-the-guesswork-31a4fd57a029

继续阅读“开庭”

黄金大涨

2025-10-31

What is GeoGebra?

GeoGebra is a dynamic mathematics software for all levels of education that brings together geometry, algebra, spreadsheets, graphing, statistics and calculus in one engine. In addition, GeoGebra offers an online platform with over 1 million free classroom resources created by our multilingual community. These resources can be easily shared through our collaboration platform GeoGebra Classroom where student progress can be monitored in real time.

https://www.geogebra.org/geometry

2025-10-28

红楼梦中的性学摘录,关键语句自寻,这样的细节描写问你爱不爱

继续阅读“黄金大涨”

幹工作進度

2025-09-01

这罗永浩老是打断李想的发言,作为一个采访者显得很不专业,没有让其做出完整表达。而且时间长不见得是深度访谈,提问的方式应该层层递进

【李想×罗永浩!四小时马拉松访谈!李想首度公开讲述25年创业之路】

https://www.bilibili.com/video/BV1FwY4zkEef/?share_source=copy_web&vd_source=a6b620917b053db9586b3ee8d0f54ca6

老罗总是在为自己的私欲去提问,不会去考虑观众应该会怎么提问。看创业者的创业故事,也会带来很多启发。比如怎么组建团队,怎么熟悉业务,怎么融资等等

2025-09-02

KeyboardEvent: keyCode property Deprecated

Inconsistent behavior: Different browsers and keyboard layouts can return different values for the same key, making it unreliable for cross-browser use.

Ambiguity: keyCode does not always clearly indicate which key was pressed, especially for non-character keys or when modifier keys are involved.

Css 诞生的背景,一开始居然是用户能改变样式,反而程序员却不能

继续阅读“幹工作進度”

去洞口看寳

2025-08-31

格鲁夫给经理人的第一课,这个书还是很有料,能带来不少启发

要提高超出,第一要培训,让大家成为大佬;第二要激励,要给钱。

脑力劳动不是工厂流水线,设定 kpi 就能搞定,绩效的评定指标和效用没有那么明显。

2025-08-30

chatgpt 是什么时候流行的,感觉现在的大模型满天飞

Anthropic PBC is an American artificial intelligence (AI) startup company founded in 2021. Anthropic has developed a family of large language models (LLMs) named Claude. According to the company, it researches and develops AI to “study their safety properties at the technological frontier” and use this research to deploy safe models for the public.[5][6]

Anthropic was founded by former members of OpenAI, including siblings Daniela Amodei and Dario Amodei.[7] In September 2023, Amazon announced an investment of up to $4 billion, followed by a $2 billion commitment from Google in the following month.

继续阅读“去洞口看寳”

追回来了

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是现役数量最多的客机。

继续阅读“开始分居”