Flux
ttok 1.0

ttok 1.0

Release: ttok 1.0 I released ttok 0.4, ran uv tool upgrade ttok, piped a file into the new version... and realized that it was defaulting to the GPT-4 tokenizer when it should very clearly default to GPT-5/GPT-6 instead! I figured switching the default was a reasonable excuse to finally ship a 1.0. OpenAI haven't actually confirmed that GPT-6 uses the same tokenizer as the GPT-5 family yet - there's an angry issue about it - but I found this commit by William Liu which reports on an experiment…

Simon Willison's Weblog
ttok 0.4

ttok 0.4

Release: ttok 0.4 ttok is my CLI tool for counting tokens, using OpenAI's open source tiktoken library. It hasn't been in updated in a couple of years, but I finally fixed a Click warning, updated CI, and added a --list-models command to list available models. It works with uvx, so you can count tokens in anything like this: cat file.txt | uvx ttok Tags: projects, ai, openai, generative-ai, llms, tokenization

Simon Willison's Weblog
Quoting Carson Gross

Quoting Carson Gross

Computer programming is, fundamentally, about two things: Problem-solving using computers Learning to control complexity while solving these problems I have a hard time imagining a future where knowing how to solve problems with computers and how to control the complexity of those solutions is less valuable than it is today, so I think it will continue to be a viable career even with the advent of AI tools. — Carson Gross Tags: computer-science, carson-gross, careers, ai

Simon Willison's Weblog
PHP Foundation Community Hour Podcast 2026.10.08

PHP Foundation Community Hour Podcast 2026.10.08

🎙️ PHP Foundation Community Hour – October 8, 2026 Hosts: Elizabeth Barron & James Titcumb James tells the story of how he fell into open source, breaks down what Pie actually does, celebrates the 1.5 release, and shares real advice for anyone nervous about making their first contribution. 🌱 How James Got Into Open Source […] The post PHP Foundation Community Hour Podcast 2026.10.08 appeared first on PHP Architect.

PHP Architect
The Preservation Gap in the AI Stack: Why Capability Is Advancing Faster Than Reconstructability

The Preservation Gap in the AI Stack: Why Capability Is Advancing Faster Than Reconstructability

Artificial intelligence systems are difficult to reproduce because their behavior depends on nondeterministic models and on data, configurations, policies, and external services that continue to change. But exact reproducibility is not always what operators, investigators, or auditors need. They often need something different: historical reconstructability. The central claim is that reconstructability is a system property […]

O'Reilly Radar — AI/ML
★ Laravel AI SDK in practice: the agent behind There There

★ Laravel AI SDK in practice: the agent behind There There

Over the past few weeks I've posted a couple of times about There There, the helpdesk we're building at Spatie. After two decades of running our own customer support, we decided to stop compromising on tools and build the one we actually want to use. A lot of the fun is on the AI side. We're not using it to replace support agents, we're using it to make them faster. The human reads the ticket, thinks, and clicks a button. The model pulls up relevant history, drafts a reply, tags the ticket,…

Freek Van der Herten
TensorLake npm SDK Compromised in ChainDrop Shai-Hulud Credential-Stealing Attack

TensorLake npm SDK Compromised in ChainDrop Shai-Hulud Credential-Stealing Attack

Socket detected a compromised release of tensorlake, the npm SDK for Tensorlake’s AI agent infrastructure, in a ChainDrop / Shai-Hulud supply chain attack. Version 0.5.144 contains obfuscated malware that harvests credentials, exfiltrates secrets, establishes persistence, and executes remotely supplied code. The package receives approximately 12K weekly downloads and has over 1k stars on GitHub. Tensorlake provides isolated sandboxes for running untrusted, LLM-generated code, with…

Socket
Your Tool Has a New Reader

Your Tool Has a New Reader

Every PHP tool that prints to a terminal now has two readers, and most of us have only been writing for one of them. The output of a PHP command-line tool used to have one reader: a developer looking at a terminal. That reader sees glyphs. The terminal interprets escape sequences, moves the cursor, erases lines, and shows the result. What the tool wrote and what the human sees are usually the same thing, and nobody thinks about the gap. A coding agent does not look at a terminal. It reads the…

The PHP Foundation
Quoting Ben Affleck

Quoting Ben Affleck

I've always been kind of into computers since I was young. And then when film started to move from analog film to digital, I became more interested in that aspect of it. And the visual effects workflow for many years has included machine learning. So I can write like pretty shitty Python scripts and stuff like that because with convolutional neural networks, which were the sort of precursors to what the transformer can do, which is just much more computation simultaneously, you would do things…

Simon Willison's Weblog
Claude Haiku 5.5

Claude Haiku 5.5

As previously promised, here's Anthropic's new fast, low cost model: Introducing Claude Haiku 5.5. The previous Haiku, 4.5, was very much showing its age. It came out almost a year ago, and was priced at $1/million input and $5/million output - relatively expensive even back then, and a full 10x the price of OpenAI's GPT-6 Luna, released last month. The new Haiku exactly matches the price of GPT-6 Luna - $0.10/$0.50 - up to 100,000 tokens. Beyond 100,000 tokens the price increases 5x to…

Simon Willison's Weblog