程序员的那些事
Search documents
趣图:一年一度看不上诺贝尔奖活动开始了
程序员的那些事· 2025-10-09 08:50
Group 1 - The article discusses the perceived disconnect between theoretical scientific achievements and practical applications, questioning why notable scientists have not directly produced consumer-friendly technologies from their discoveries [2] - It highlights various historical figures in science, such as Faraday, Watson and Crick, and others, emphasizing their contributions without resulting in commercially viable products [2] - The commentary suggests that there is a need for innovation that does not rely solely on foundational science to create beneficial technologies for humanity [2]
不到 400 行代码!程序员在浏览器地址栏复刻贪吃蛇,网友惊叹:太牛了,怎么想出这个点子的?
程序员的那些事· 2025-10-09 08:50
转自 | CSDN(ID:CSDNnews), 整理 | 苏宓 打 开浏览器的时候,你有没有想过,地址栏也能玩游戏?大多数人肯定没这么想过——毕竟它平时的功能也就那么简单:输入网址、回车、加载网页。 但一些程序员总能做些让人意想不到的事。 最近,一位开发者就把经典的《贪吃蛇》搬进了地址栏里。没错,就是小时候大家都玩过的像素版贪吃蛇,现在竟然能在地址栏里动起来。 | 'use strict'; | | --- | | var GRID_WIDTH = 40; | | var SNAKE_CELL = 1; | | var FOOD_CELL = 2; | | var UP = {x: 0, y: -1}; | | var DOWN = {x: 0, y: 1}; | | var LEFT = {x: -1, y: 0}; | | var RIGHT = {x: 1, y: 0}; | | var INITIAL_SNAKE_LENGTH = 4; | | var BRAILLE_SPACE = '\u2800'; | | var grid; | | var snake; | | var currentDirec ...
华为老粉称被鸿蒙 5 坑惨!升级不兼容,回退丢失数据。华为回应:视频创作者等群体慎更新
程序员的那些事· 2025-10-09 00:45
8 号晚上刷微博,看到一个热搜: 这是啥情况呢,我点热搜话题进去一看,没看媒体发的, 基本都是网友发的。 转而在其他平台搜了,原来如下: /////// 快科技 10 月 8 日消息,据新浪《Bug》栏目报道,近日,有自称华为老粉的博主王晓东在社交媒体吐槽华为鸿蒙 5.1 系统,称自己从鸿蒙 4.3 升级至鸿蒙 5.1 后遭 遇主流应用无法 "完全兼容适配"。 由于部分功能无法正常使用,在亲自跑到华为售后门店 "刷机" 回退此前版本后,却也浪费了大量时间,且遭遇 "部分数据丢失"。 /////// 网友留言 "争议个P,爱用就用,不爱用不用" 据博主自述,在升级鸿蒙 5.1 版本后,自己遭遇了三个 "灾难性" 的问题: 第一,更新升级后,此前的桌面软件全部乱套了,都不能用了,都要重新安装重新登录。 第二,微信视频号和抖音不能正常使用,App 打开后很多功能按钮消失不见,对于视频内容创作者和经营者而言,什么都干不了,基本不能用了。 第三,新装的鸿蒙 5 没法卸载,退不回此前版本。自己亲自跑到华为售后服务中心 "刷机重装系统" 才回退成功,但却也导致手机被格式化,手机里所有应用全被删 除,没法备份的数据也被删除了 ...
王者荣耀突然崩了,登 5 次崩 5 次。网友:3 天没掉分,最后 1 天扣光
程序员的那些事· 2025-10-08 14:48
来源:荆楚网 10 月 8 日,不少网友称游戏《王者荣耀》出现提示"数据资源损坏!您需要重启游戏客户端进行资源修 复"以及带来玩家信誉分被扣等问题。 随后,相关话题冲上热搜引发热议。 网友调侃:" 笑死我了,再赔偿点积分券吧 "、" 王者荣耀补偿我十颗荣耀水晶就原谅你 "。 随后,@王者荣耀 回应: - EOF - 推荐阅读 点击标题可跳转 1、 深圳企业纳税 10 强:腾讯 592 亿真·遥遥领先。网友:华为居然没进前五? 2、 突发!特朗普要求微软解雇一总裁 3、 4 轮面试全过,残疾人入职首日就被劝退?滴滴 HR:"别人 30 秒你要 3 分钟" 4、 小米被骂"组装厂/没啥技术/只会营销"! 雷军称硬熬 5 年才走出内耗 有玩家反映称" 开第一把' 数据资源破坏! ',重进了五六次,依旧这样,把游戏删了重新下载,进去看到 被扣了 5 分,不信邪,又开了第二把,依旧不让进,这次信了哈哈哈哈哈哈哈哈要扣 7 分了。 " ...
突发!高通宣布收购 Arduino。网友:好怕看到这种“噩梦”收购
程序员的那些事· 2025-10-08 09:16
Core Insights - Qualcomm announced the acquisition of Arduino, aiming to integrate resources and create a more accessible technology platform for developers [3][5] - This acquisition is a significant step in Qualcomm's edge technology strategy, enhancing its full-stack edge platform that includes hardware, software, and cloud services [5][6] - Post-acquisition, Arduino will maintain its independent brand and community attributes while leveraging Qualcomm's technology to empower over 33 million active users [6][8] Group 1: Acquisition Details - The acquisition is part of Qualcomm's strategy to strengthen its edge technology portfolio, following previous integrations with Edge Impulse and Foundries.io [5] - Arduino will continue to support multiple semiconductor products and retain its open-source community characteristics [6] - Two core products were launched alongside the acquisition: the Arduino UNO Q development board and the Arduino App Lab, enhancing AI development capabilities [6][7] Group 2: Industry Impact - The collaboration is expected to reshape the developer ecosystem by combining Qualcomm's advanced technologies with Arduino's user-friendly approach, potentially lowering the barriers for AI development [8] - Concerns have been raised in the community regarding the implications of such acquisitions on open-source projects, with some expressing skepticism about the long-term benefits for Arduino users [11][12]
大厂 10 年研发:对接几十个 PM 全是高颜值美女!网友却怼:颜值顶啥用?该怼还得怼
程序员的那些事· 2025-10-08 02:31
最近有人在网上发帖问:"为什么大厂的产品经理都是美女?" 发帖人表示自己 大厂做了 10 年研发,对接过几十个产品经理,好像个个颜值都挺高的。 这问题一抛出来,评论区瞬间炸了锅,有认同的、有反驳的,还有不少人分享了自己的亲身经历,越聊越有意思。 有人觉得 "颜值高" 合理,也有人说 "太绝对" 有人觉得这话有点道理,毕竟产品经理要和各种人打交道,形象好确实占优势。 有网友说:"做产品的本身就要比较好的审美吧,真正的丑人不多的,一般人打扮一些也是好看的人了。" 还有人提到,大厂待遇不错,女生有条件好好收拾自己,"女生只要有钱有时间打扮,只要不是特别胖,都美",类似观点有多个女生都提到了,看来大家对"打扮出 美女"这事还挺有共识的。 真的都是美女嘛?不一定吧。 不过反对的声音也不少,很多人觉得"都是美女"太绝对了。 有个热评非常直接:"大把丑爆了的,但是靠谱就行。" 有位 PM 小姐姐自己就说:"错了,我就是产品,有美女,但不多。对接海外红人的社媒营销和商务 BD,这个群体的美女才是最多的。" 甚至有人说自己公司的情况刚好相反,"我们公司产品经理都是男的,好几个是以前程序员转过去的"。 后面还有人补充: "这种才 ...
超 200 名谷歌外包惨被裁!员工自曝:时薪 16 美元、每日限时 5-15 分钟内完成任务、不达标就走人
程序员的那些事· 2025-10-06 02:41
转自:CSDN(ID:CSDNnews) 随着大模型越来越聪明, AI 所呈现光环的背后, 现实中却有人正在为此付出代价。 几 天前,马斯克旗下的 xAI 才刚刚裁掉了 500 名数据标注员工;紧接着,外媒《Wired》于近日 披露,谷歌在上个月也进行了两轮"优化",其对外包公司 GlobalLogic 的承包商进行了裁员,超过 200 名负责评估和改进谷歌旗下 AI 产品质量的合同工被突然解雇,毫无预警。 对此,一些外包员工叫苦不堪,他们称自己被裁的原因之一,是因为站出来抗议"苛刻的工作环境和 廉价的薪酬"。其中还有人直言:"我们被迫训练 AI,结果它是来取代我们自己的。" 和大家印象中的"流水线标注工"不同,这些"超级评估员"学历并不低。 想加入该项目,往往需要硕 士甚至博士学位。 参与者中不乏作家、教师和创意工作者,他们运用专业背景来判断答案的准确性 与可读性。 外包中的"AI 超级评估员" 这些外包岗位有个体面的名字,叫做 AI 评估员 ,分为"普通"和"超级"两类。这种职位的出现,也 是促使 AI 模型越来越"聪明"的重要原因之一。 他们日常的主要工作是负责审核模型的输出,看看 AI 模型给出的内容 ...
告别漏洞百出的 C++!微软用 Rust 赌上未来,内核和 Office 都在“锈”化
程序员的那些事· 2025-10-05 12:56
Core Viewpoint - Microsoft is adopting Rust programming language to enhance the security of its Windows operating system, addressing vulnerabilities that arise from using C and C++ [4][6][26]. Group 1: Security Enhancements - Microsoft has been continuously improving the security of the Windows system for decades and is now rewriting parts of the code in Rust to mitigate security issues [4][6]. - The introduction of Rust aims to prevent vulnerabilities from being exploited; when a bug is found in Rust code, the system crashes predictably rather than allowing an attacker to take control [6][10]. - The DirectWrite component has been rewritten in Rust, resulting in faster performance and elimination of previous vulnerabilities [6]. Group 2: Azure and Rust Implementation - Azure has mandated the use of Rust for new projects, particularly those involving untrusted data processing, due to the high risks associated with C++ [8][9]. - The Caliptra hardware root of trust was entirely developed in Rust, showcasing the language's application in critical infrastructure [8]. - Azure Boost requires that any module handling untrusted data must be written in Rust, further solidifying the language's role in Microsoft's cloud services [9][10]. Group 3: Office Team's Transition - The Office team faced challenges with their DiskANN semantic search system, which could not handle the scale required for millions of documents, leading to a decision to rewrite it in Rust [15][16]. - The transition to Rust resulted in significant performance improvements while maintaining accuracy, prompting the Office team to fully adopt Rust [16][17]. Group 4: Developer Adoption and Feedback - Internal surveys indicate that developers generally have a positive view of Rust after overcoming initial adaptation challenges, particularly those transitioning from C++ [21][22]. - Developers appreciate the performance gains from migrating C++ code to Rust and the reduction in debugging time, despite some complaints about the complexity of integrating Rust with existing C++ and C code [23]. Group 5: Future Prospects and Industry Impact - Microsoft is developing an AI tool to automate the migration of codebases from C++ to Rust, which could significantly reduce the labor costs associated with such transitions [24]. - The push for Rust is seen as a critical move for future software engineering, with support from entities like the NSA and the Linux community, indicating a broader industry shift towards memory-safe languages [26][27]. - The introduction of a driver framework for Rust aims to enhance the security of the Windows ecosystem by encouraging hardware manufacturers to adopt Rust for driver development [18][19].
太离谱!17 年老开发遇奇葩团队:覆盖代码搞强推,说真话 2 天后遭开除?CTO:你说的对,但留不得你
程序员的那些事· 2025-10-05 12:56
【导读】:一位拥有 17 年经验的高级全栈开发者,刚为初创公司做出盈利项目,就因暂助其他团队埋 下"祸根"。他发现团队存在 git force push、任务管理混乱等问题,还找出会泄露密钥的安全漏洞。 即便他给出修复方案,却遭后端开发指责,更被 CTO 以"给同事压力大"为由开除。明明句句属实,却被贴 上"外行"标签,这样遭遇,引发无数人共鸣。 他在 Reddit 的网名是 WorstDeveloperEver("最烂开发没有之一",下面就他"烂哥"吧),可见对其遭遇非常 生气的。他的奇特遭遇引发热议。 误入某创业公司 我在一家小型初创公司工作了两个多月。作为一名拥有 17 年工作经验的高级全栈开发,我负责的项目与团队 其他项目相互独立。 公司要求我从零开始搭建这个项目,且尽量减少依赖,最终整个项目的体积控制在了 300KB 以内。其中包含 200KB 经过优化的 webp 格式图片和 100KB 的打包文件,这是一款 SaaS 产品。 CTO 对这个项目非常满意,上线后很快就开始盈利,还让我接手下一个新项目的开发。我对项目进行了全面 优化,最终所有性能指标都达到了 100 分。 在此期间,由于新项目的设计 ...