跳到正文
每分钟自动更新
  1. Simon Willison

    Ladybird's first alpha release

    中文摘要

    中文摘要待更新

    英文原文

    Ladybird is an astonishingly ambitious project: a new browser, in 2026, with its own implementation of most of the key components - HTML parsing, CSS engine, layout, JavaScript, even WebAssembly. It still uses a few external components - things like HarfBuzz for text shaping, Skia for 2D graphics, ffmpeg for video, and SQLite for the things you do with SQLite. Everything else is part of Ladybird, or code brought in from Ladybird's even more ambitious predecessor project SerenityOS . This morning the Ladybird project released their first alpha , which means you can now install the browser (on macOS or Linux) without having to compile it yourself! I've been trying it out today, and it's very impressive. It feels fast, the UI is lightweight and intuitive, and most of the websites I've tried to load in it have worked as they should. It looks like this (showing my video-compressor tool): Here's the process tree after I opened six tabs in one window and another tab in a second window (generated by this script , thanks Claude): Ladybird (72925) [240 MB] └── Hub (72926) [61 MB] ├── RequestServer (72927) [29 MB] ├── ProcessReaper (72928) [1 MB] ├── Compositor (72930) [123 MB] ├── RequestSer

  1. Simon Willison

    llm 0.37

    中文摘要

    发布:llm 0.37 这次我的LLM CLI工具和Python库的新版本包含了很多内容,代表了大约两个月积累的功能和修复。我添加了gpt-6.1-sol和gpt-6.1-terra,还新增了一个llm openai端点添加命令,以更方便地配置使用OpenAI兼容端点的其他模型。如果尚未设置自己的默认模型,我将默认模型切换为gpt-6-luna——其价格是之前默认模型gpt-5.6-luna的一半。LLM对嵌入(embeddings)的支持现在可以接受不同的二进制内容可能具有不同的内容类型——这对于像Gemini Embedding 2这样的模型来说是必要的,因为它可以嵌入文本、音频、图像和视频。很多开源维护者都抱怨AI辅助的PR(Pull Request)泛滥。LLM是我受影响最严重的项目,说实话,我并没有觉得这是个问题。这主要是因为我有Opus 5.5或GPT-6 Astra帮助我进行分类,以发现最有用的修复!此版本包含了来自12位作者的修复——几乎全部都是AI辅助的——而审查它们的负担远没有我预期的那么大。我真的把这些看作是带有附加示例的错误报告——有时我会合并它们,有时我会

    英文原文

    Release: llm 0.37 There's a lot of stuff in this new release of my LLM CLI tool and Python library, representing around two months of accumulated features and fixes. I added gpt-6.1-sol and gpt-6.1-terra , plus a new llm openai endpoint add command to make it easier to configure additional models that use OpenAI-compatible endpoints. I switched the default model (if you have not set your own default) to gpt-6-luna - half the price of the previous default, gpt-5.6-luna . LLM's support for embeddings now accepts that different binary content may have different content-type - necessary for models like Gemini Embedding 2 , which can embed text, audio, images, and video. A lot of open source maintainers complain about a flood of AI-assisted PRs. LLM is my project that has been most affected by this and, to be honest, I'm not finding it to be a problem. That's mainly because I have Opus 5.5 or GPT-6 Astra help me with triage to spot the most useful fixes! This release includes fixes from 12 authors - almost all AI-assisted - and the burden of reviewing them wasn't nearly as great as I expected. I really see them as bug reports with attached examples - sometimes I land them, sometimes I i

  1. Simon Willison

    Today's PHP Security Release, and How We're Strengthening PHP Security

    中文摘要

    今天的PHP安全更新,以及我们如何加强PHP安全性的说明。如果你正在使用PHP运行任何程序,升级是至关重要的——今天的更新(涵盖整个PHP 8.x系列)解决了两个远程代码执行漏洞,而且由于协调披露流程中出现了泄露,自昨晚起已经出现了利用这些漏洞的攻击。PHP基金会的这篇帖子解释了出了什么问题:10月20日星期二,大约在UTC时间15:00,两个CVE编号开始在在线论坛和社交媒体上流传。它们附带了错误的发布时间和错误的CVSS评分为10.0(实际评分为9.2)。没有技术细节泄露。作为回应,PHP项目提前发布了预公告,并于UTC时间19:30进行了发布。它还将原定于UTC时间10月22日14:00的发布日期提前到了UTC时间10月21日14:00 [...] 由于在UTC时间20:00左右出现的泄露和预公告,一家名为Calif的安全公司错误地发布了一段视频。该视频展示了他们的概念验证在多个目标上的运行情况,并透露了一些关于这些漏洞的额外但有限的细节。被删除视频的副本很快在社交媒体上开始流传。

    英文原文

    Today's PHP Security Release, and How We're Strengthening PHP Security If you're running anything on PHP it's vital you upgrade - today's updates (across the entire PHP 8.x line) address two remote code execution holes, and there have been exploits circulating since last night, thanks to a leak in the coordinated disclosure process. This post from the PHP Foundation explain what went so wrong: On Tuesday, October 20th, at around 15:00 UTC, the two CVE IDs began circulating on online forums and social media. They came with a wrong release time and a wrong CVSS score of 10.0 (the actual score is 9.2). No technical details leaked. In response, the PHP project brought its pre-announcement forward and published it at 19:30 UTC . It also moved the release from October 22nd, 14:00 UTC, to October 21st, 14:00 UTC [...] As a result of the leak and pre-announcement around 20:00 UTC, Calif, one of the security firms that had reported the issues mistakenly published a video. It showed their proof of concept working against a number of targets and revealed a few additional, though limited, details about the vulnerabilities. Copies of the deleted video started circulating on social media soon af

  2. Simon Willison

    Panache — RTS Belle Époque pour mobile

    中文摘要

    Panache — 《RTS 帝国时代风格的移动版》 好吧,这真是令人欣喜:我昨天发布了《Battle Drones》并采用 Apache 2.0 许可证,已经有法国开发者 Gabriel Turpin 对其进行了本地化修改,将游戏背景设定在蒸汽朋克风格的 1900 年代法国,并添加了一个动画介绍!Panache 是一款面向手机和浏览器的实时战略游戏,背景设定在法国的“美好年代”(约 1900 年):飞艇、蒸汽拖车、克鲁索装甲车、戴圆顶礼帽的自动人偶、加冈都亚移动堡垒——还有许多的风采。你可以在 这里 玩玩 Panache ——仅仅为了体验新的介绍视频,点击这个链接就值得。到目前为止,这主要是外观上的更新,而不是游戏玩法的改变。音乐也加入了法国风格的改编。这些新的蒸汽朋克模型太酷了!这里有一个页面展示了原始的《Battle Drones》模型,以及同一页面上新的 Panache 替代模型。这是《Goliath》原始设计和新设计的对比。Via @Meffysto69 标签:游戏设计、开源

    英文原文

    Panache — RTS Belle Époque pour mobile Well this is delightful: I released Battle Drones yesterday under an Apache 2.0 License and there's already a French language fork by Gabriel Turpin which reskins the game to take place in steampunk 1900s France and adds an animated intro! Panache est un jeu de stratégie en temps réel pour mobile et navigateur, dans la France de la Belle Époque (vers 1900) : dirigeables, Fardiers à vapeur, Creusot cuirassés, automates en képi, Gargantua la forteresse marchante — et beaucoup de panache. You can play Panache here - it's worth clicking that link just to experience the new intro video. So far it's mostly just aesthetic updates as opposed to gameplay changes. The music has had a French twist added to it as well. The new steampunk models are so cool! Here's a page with the original Battle Drones models and that same page with the new Panache alternatives . This is a comparison of the original and the new design for the Goliath: Via @Meffysto69 Tags: game-design , open-source

  1. Simon Willison

    Hello Python 3.15, goodbye 3.10, and now I can use 3.11

    中文摘要

    Python 3.15来了!这是Python 3.15的必备更新指南,今年由3.14和3.15版本发布负责人Hugo van Kemenade整理。作为一名构建可在所有支持的Python版本中运行的开源软件的人,我可以说,我将告别Python 3.10,并开始拥抱Python 3.11的新特性。首先,一些Python 3.15的亮点。显式延迟导入我最兴奋的是来自PEP 810的显式延迟导入功能。这允许你像这样导入模块:lazy import json lazy from pathlib import Path 模块将在后续代码中首次使用这些符号时被导入。我的LLM命令行工具实现了插件。我不得不在插件作者文档中推荐手动延迟导入,因为仅仅安装使用了像sentence_transformers这样的重型依赖的插件,会使每次调用llm命令都增加数秒。延迟导入直接解决了这个启动成本。推导式中的解包新语法[*sublist for sublist in lists]非常棒。这里有一个从文档中摘录的示例:lists = [[1, 2], [3, 4], [5]] [*L for L in lists] # [1, 2, 3, 4, 5] # 等价于[x for L in lists for x in L]

    英文原文

    Python 3.15 is here ! Here's the essential What's new in Python 3.15 guide, this year curated by 3.14 and 3.15 release manager Hugo van Kemenade. As someone who builds open source software that works in every supported Python version, I get to say goodbye to Python 3.10 and start embracing features from Python 3.11. First, some highlights from Python 3.15. Explicit lazy imports I'm most excited about Explicit lazy imports from PEP 810 . These let you import modules like so: lazy import json lazy from pathlib import Path The module will then be imported the first time those symbols are used in the code that follows. My LLM CLI tool implements plugins. I had to recommend manual lazy imports in the plugin author documentation, because simply installing plugins that used heavy dependencies such as sentence_transformers could add multiple seconds to every invocation of the llm command. Lazy imports directly address this startup cost. Unpacking in comprehensions The new [*sublist for sublist in lists] unpacking syntax is neat. Here's an illustration lifted from the documentation : lists = [[ 1 , 2 ], [ 3 , 4 ], [ 5 ]] [ * L for L in lists ] # [1, 2, 3, 4, 5] # equivalent to [x for L in l

已经到底了