Workflow
程序员的那些事
icon
Search documents
为什么 Claude Code 放弃代码索引,使用 50 年前的 grep 技术?
程序员的那些事· 2025-09-25 02:53
Group 1 - The article discusses the seemingly counterintuitive choice of Claude Code to use a grep-only approach instead of vector indexing, which has sparked debate among developers [3][5]. - Critics argue that this decision represents a technological regression, while supporters highlight its alignment with Unix philosophy and the redefinition of what constitutes a good tool [3][5]. - Claude Code's approach emphasizes real-time search without maintaining a persistent code index, which has been shown to outperform other methods in performance tests [5][49]. Group 2 - The essence of state is explored, distinguishing between stateful and stateless systems, with examples illustrating the impact of state on system design [9][10]. - Historical context is provided, tracing the origins of stateless design from mathematical functions to the Unix pipeline philosophy, which emphasizes simplicity and composability [11][14]. - The advantages of stateless design include composability, natural parallelism, simplicity, and testability, making it a preferred choice in modern computing [30][34][36]. Group 3 - The article discusses scenarios where state is necessary, such as in gaming, user interfaces, and resource management, emphasizing the importance of context in design choices [41][47]. - A mixed strategy is suggested, where stateless computation is combined with stateful storage, allowing for flexibility and efficiency in system architecture [43][46]. - The core insight is that the choice between stateless and stateful design is not a matter of technical belief but an engineering trade-off, focusing on managing necessary state wisely [47]. Group 4 - In the AI era, Claude Code's choice reflects a shift in understanding intelligence, prioritizing predictability and behavior over mere functionality [54]. - The article concludes that simple tools endure, and the design that embraces "forgetfulness" offers greater freedom and adaptability in a rapidly evolving technological landscape [55].
被判 12 年!起底勒索 1000 万的“毒妻”翟欣欣:曾是大学“院花”,研二时闪婚闪离
程序员的那些事· 2025-09-24 09:37
Core Viewpoint - The article discusses the legal case involving Zhai Xinxin, who was sentenced to 12 years in prison for extortion, which led to the suicide of her ex-husband Su Xiangmao. The case highlights issues of domestic abuse, financial manipulation, and the consequences of coercive relationships [1][28][37]. Group 1: Legal Proceedings - On September 19, 2025, the Beijing Haidian District People's Court sentenced Zhai Xinxin to 12 years in prison for extortion and imposed a fine of 100,000 RMB, along with compensation of over 70,000 RMB to the plaintiffs [1][28][38]. - The court found that Zhai Xinxin's actions constituted extortion, as she threatened to report her ex-husband for tax evasion and illegal business practices unless he paid her 10 million RMB and transferred property to her [28][37]. Group 2: Background of the Individuals Involved - Su Xiangmao, the victim, was the founder of WePhone and had a history of financial success, which made him a target for Zhai Xinxin's manipulative tactics [3][24]. - Zhai Xinxin, born in 1986, was perceived as a "good student" and had a stable academic background, which contrasts sharply with her later criminal behavior [11][13][19]. Group 3: Relationship Dynamics - The relationship between Su Xiangmao and Zhai Xinxin began in March 2017, leading to a marriage that lasted only 42 days before Zhai initiated divorce proceedings under threats [36][37]. - Zhai Xinxin's demands included a significant financial settlement and property transfer, which Su Xiangmao could not meet, leading to his tragic decision to take his own life [24][27][37]. Group 4: Aftermath and Public Reaction - Following Su Xiangmao's death, his family accused Zhai Xinxin of fraud and extortion, leading to legal actions against her [29][30]. - The case has drawn significant media attention, raising awareness about the dangers of financial abuse and coercive relationships [3][24][33].
雷军真是拼了!自称压力山大,小米 10 年家底砸向造车造芯
程序员的那些事· 2025-09-24 09:37
Core Viewpoint - Lei Jun's decision to simultaneously pursue car manufacturing and chip production represents a significant commitment of Xiaomi's resources, reflecting a bold strategy to compete with industry leaders like Apple, Porsche, and Tesla [4][6]. Group 1: Company Strategy - Xiaomi is positioning itself to directly compete with top-tier companies, as indicated by Lei Jun's statement about aiming to "fully benchmark iPhone" with the launch of the "Xiaomi 17" series [4]. - The strategy of benchmarking against world leaders is seen as a courageous move, with Lei Jun emphasizing that learning from the best is essential for eventual success [6]. Group 2: Industry Context - The decision to enter the automotive and semiconductor industries simultaneously highlights the increasing competition in technology and automotive sectors, where companies are striving to innovate and capture market share [4][5].
“同事被裁了,私人物品全带走,只留下一堆荣誉奖杯”。网友:随便丢,都是骗打工人卖命的
程序员的那些事· 2025-09-24 02:48
Core Viewpoint - The article discusses the perceived lack of value in awards and honors received in the workplace, particularly in the context of layoffs and job security. It suggests that such accolades do not correlate with salary increases or promotions, and that employees who are highly recognized may be more vulnerable to layoffs due to their higher costs to the company [1][3]. Group 1 - Awards and trophies are viewed as low-value items that do not contribute to career advancement or financial rewards [3][4]. - Employees who are recognized with awards may still face layoffs, especially if their salaries are high, as companies prioritize cost-cutting measures [3][6]. - The sentiment among employees is that these awards serve more as a tool for motivation rather than a reflection of true merit or job security [6][7]. Group 2 - There is a general consensus among employees that the physical awards, such as crystal trophies, are easily replaceable and lack real significance [3][4]. - Some employees express a sense of futility in receiving awards, noting that they may even purchase awards for themselves as a form of self-recognition [7]. - The article highlights a broader issue within companies where high-performing employees may still be at risk of being laid off due to financial constraints [3][6].
今日头条、UC “喜提”约谈
程序员的那些事· 2025-09-24 02:48
Core Viewpoint - The article discusses the potential candidates for the next round of investments, analyzing market trends and identifying key players in various sectors [1] Group 1: Market Trends - The article highlights the increasing interest in technology and renewable energy sectors, indicating a shift in investor focus towards sustainable and innovative solutions [1] - It notes that traditional industries are facing challenges, leading to a decline in investment attractiveness compared to emerging sectors [1] Group 2: Key Players - Several companies are identified as potential leaders in the next investment wave, particularly those that have demonstrated strong growth and adaptability in changing market conditions [1] - The article emphasizes the importance of financial health and market positioning for these companies, suggesting that those with robust balance sheets are more likely to attract investment [1] Group 3: Investment Opportunities - The analysis points out specific investment opportunities within the technology and renewable energy sectors, citing recent performance metrics and growth projections [1] - It also discusses the role of government policies and incentives in shaping the investment landscape, particularly in promoting green technologies [1]
网友劝“先还债再关心苍生”,罗永浩怒怼“臭xx,法律强制部分早还完”
程序员的那些事· 2025-09-23 05:43
Core Viewpoint - The article discusses the controversy surrounding the use of pre-prepared dishes in restaurants, highlighting the need for mandatory labeling to ensure transparency and fair competition in the food industry [1]. Group 1: Industry Concerns - The behavior of restaurants removing "made to order" signs while potentially using pre-prepared dishes is criticized as deceptive, leading to unfair competitive advantages [1]. - The article emphasizes that if restaurants do not disclose the use of pre-prepared dishes, it could force other establishments to adopt similar practices to survive, ultimately harming the industry [1]. Group 2: Company Financial Issues - The company, Smartisan Technology, has faced significant financial challenges, with the founder, Luo Yonghao, stating that he has repaid a total of 824 million yuan, exceeding the previously reported debt of over 600 million yuan [4]. - Legal disputes and additional penalties have increased the total debt by nearly 100 million yuan due to various lawsuits and fines [4]. - Smartisan Technology clarified that the 15 million yuan borrowed from Zihui Venture Capital is a company debt, not a personal one for Luo Yonghao, who has expressed willingness to repay it personally but is delaying due to ongoing defamation issues [2].
刚刚,DeepSeek 重磅发布!告别“极”你太美,最大提升超 36%,V4/R2 还远吗?
程序员的那些事· 2025-09-23 05:43
Core Viewpoint - The latest model DeepSeek-V3.1-Terminus has been released, showing significant improvements in various benchmarks and addressing previous issues related to output consistency and agent capabilities [2][4][30]. Summary by Sections Model Updates - DeepSeek-V3.1-Terminus has been officially confirmed and is now available across all platforms, including the official app, web, and API [6]. - The update has resolved issues such as language consistency and improved the performance of Code Agent and Search Agent [4][14]. Performance Improvements - The new model has shown enhancements in multiple benchmark tests, surpassing Gemini 2.5 Pro in several areas, particularly in Humanity's Last Exam, where the score increased by 36.48% [10][31]. - Specific benchmark results include: - Humanity's Last Exam: 21.7 (up from 15.9) - LiveCodeBench: 74.9 (up from 74.8) - SimpleQA: 96.8 (up from 93.4) - SWE-bench Verified: 68.4 (up from 66.0) [10][35]. Bug Fixes - The previous issue of random output containing the character "极" has been addressed, allowing for better performance in programming-related tasks [11][22]. - The update has also tackled the problem of language mixing, which has been a common issue in large language models [18][16]. Future Expectations - There is speculation about the upcoming DeepSeek-V4 and DeepSeek-R2 models, with users expressing anticipation for further advancements [33][39].
微信占几十 GB 内存?爆火的“瘦身代码”,微信员工竟说没用!到底咋回事?
程序员的那些事· 2025-09-23 03:06
昨天不是发了这篇《 2TB 顶配 iPhone 新机迁移 85GB 数据竟提示"空间不足"。微信员工火速认领:这 是 Bug,很快修复 》嘛。 有个留言挺有趣的,"我相信大部分人对微信或多或少有点意见" 是的,很多网友都对微信及其聊天记录很占空间有点话说。 网友分享:微信迅速瘦身 Python 代码 就在上周,微博上有一份"邪修" Python 脚本代码火了,它自称"可以批量删除重复文件,给微信迅速瘦 身"。 import os import stat import re import tkinter as tk from tkinter import filedialog 很早之前就有网友发现这种现象:"同一份文件,给多人转发后就多次存储" import send2trash def delete_file(folder_path): pattern = re.compile(r'.*\(\d\).*') filelist = os.listdir(folder_path) matchfilelist = [] # 找出匹配的文件名 for file in filelist: if re.match(pat ...
突发!TP-LINK 芯片事业部全员解散,赔偿最高 N+3
程序员的那些事· 2025-09-22 11:07
Core Viewpoint - The recent disbandment of the chip division at TP-LINK (普联技术) indicates a strategic shift within the company, particularly following a rapid layoff in its WiFi chip department just months prior. This move reflects the company's focus on core technologies amidst increasing competition in the WiFi market. Summary by Sections - The chip division of TP-LINK has been completely disbanded, following a previous layoff in June at its overseas subsidiary, Lianzhou International, which also faced significant job cuts in its WiFi chip department [1][5][6]. - The layoffs at Lianzhou International were rapid, with the process from notification to completion taking only half a day. The compensation scheme for affected employees follows an N+3 standard for those with over a year of service, N+2 for six months to a year, and N+1 for less than six months [2][5]. - The layoffs primarily affected key positions in the WiFi front-end module (FEM) development, which is crucial for connecting WiFi chips to antennas. Despite the layoffs, TP-LINK is not exiting the WiFi chip market entirely but is reallocating resources to focus on core chip technology development [5][6]. - The company has struggled to commercialize its self-developed chip technology since forming its chip team in 2021, continuing to rely on external suppliers like MediaTek and Qualcomm for solutions [5].
趣图:言简意赅足矣,何须赘言
程序员的那些事· 2025-09-22 11:07
言简意赅足矣,何须赘言 ↓↓↓ 趣图: Chrome 还是挺诚实的 往期趣图 (点击下方图片可跳转阅读) ...