Flux
Couleur d'accent
Inline rendering with document​.currentScript

Inline rendering with document​.currentScript

Inline rendering with document​.currentScript Lean Rada describes a neat trick that takes advantage of the document.currentScript property. You can use that to drop in a tiny inline <script> element that replaces itself when the page loads: The year is <script> document.currentScript.replaceWith( new Date().getFullYear())</script> If you define a shortcut function like this: $=(...n)=>document.currentScript.replaceWith(...n) You get a tiny template language: The year is…

Simon Willison's Weblog
web-edit 0.1a2

web-edit 0.1a2

Release: web-edit 0.1a2 web-edit (previously) is my tiny web app for browsing and editing files in a folder. I mainly built it for editing files on different machines via Tailscale. I added a "copy to clipboard" option for both text and image data. I needed this because I was running pelican prompts on a laptop from my phone (here's DeepSeek 4.1 Flash 1017) and I wanted an easy way to copy the resulting logs into a Gist. Tags: projects, pelican-riding-a-bicycle, deepseek

Simon Willison's Weblog
Quoting Addy Osmani, Morgan Westlee Lunt, and Qing Wang

Quoting Addy Osmani, Morgan Westlee Lunt, and Qing Wang

We think "did a human read the code?" is an imprecise proxy for "what could go wrong with this change, and which check—automated or human—is the right one to catch it?" Asking that question also changed when review happens. Before, review was a gate at the end of the road: write the code, open a PR, wait for your colleague. Now, review runs continuously, more like spellcheck while you write. Most changes have been reviewed and fixed by Claude at least once before a human is asked to look. This…

Simon Willison's Weblog
PHP Battlesnakes

PHP Battlesnakes

‘BattleSnake: They Said I Cheated—I’d Do It Again’ by Holly Schilling is our first feature article this month. Wait, don’t stop reading yet. Give Holly a chance to explain in the article. A good story will walk you through exactly what led to the cheating charge and how Holly justifies the decisions made. The post PHP Battlesnakes appeared first on PHP Architect.

PHP Architect
Deno Goes the Way of the Dinosaur

Deno Goes the Way of the Dinosaur

Cloudflare is acquiring Deno’s team, but the deal comes with an unwelcome surprise for developers who built on its JavaScript and TypeScript runtime: the company is winding down development, leaving the community to work out how to keep it going. Ryan Dahl, creator of both Node.js and Deno, announced on October 9 that the entire team is joining Cloudflare. Deno will receive another year of monthly bug fixes and security updates before the team ends its development work. Deno Deploy will shut…

Socket
sparqlite: SPARQL 1.1 inside SQLite, written in Rust

sparqlite: SPARQL 1.1 inside SQLite, written in Rust

Research: sparqlite: SPARQL 1.1 inside SQLite, written in Rust This research task is really an experiment in running Claude Code for web in "Ultracode" mode, as described in Orchestrate subagents at scale with dynamic workflows in the Claude Code documentation. With Ultracode turned on, Claude Code makes aggressive use of dynamic workflows - it generates JavaScript that defines and coordinates a network of subagents to take on complex problems. My initial prompt was this - I meant "hit the rows…

Simon Willison's Weblog
The PHP Podcast 2026.10.15

The PHP Podcast 2026.10.15

🎙️ PHP Podcast – October 15, 2026 Hosts: Joe Ferguson & Holly Schilling Longhorn PHP kicks off, agentic commerce gets scary, bots keep scanning, and a Cold War satellite schematic proves software is harder than hardware. 🧦 Swag, Longhorn PHP, and “Am I Even a PHP Developer?” Joe opened by confessing he found a JavaScript […] The post The PHP Podcast 2026.10.15 appeared first on PHP Architect.

PHP Architect
Chirp Pong

Chirp Pong

Tool: Chirp Pong Another game experiment - I wanted to see if it was feasible to have a two player game on two separate phones running in static HTML where the networking code uses chirps sent via the microphone. It seems to work! Build a two player competitive pong like game where two players use their phones close to each other and the game state is sent via audio noises which the web microphone API can interpret - but add graphical and gameplay twists to make it a lot more fun and intertwine…

Simon Willison's Weblog
Community Corner Podcast: Agentic Commerce with Paul Conroy

Community Corner Podcast: Agentic Commerce with Paul Conroy

In this episode, Scott talks with Paul Conroy about agentic commerce: how AI agents buy things on our behalf, how Stripe’s shared payment tokens keep them on a budget, and how the Machine Payments Protocol finally puts HTTP 402 Payment Required to work in your API middleware. Links: Our Discord – https://discord.gg/aMTxunVx Buy […] The post Community Corner Podcast: Agentic Commerce with Paul Conroy appeared first on PHP Architect.

PHP Architect
Anthropic Gives Open Source Maintainers a Fast Track to Mythos Vulnerability Findings

Anthropic Gives Open Source Maintainers a Fast Track to Mythos Vulnerability Findings

Anthropic has launched OSS Scanner, a free, opt-in service that uses its strongest Claude models, including Mythos, to look for vulnerabilities in open source projects. Participating maintainers receive reports showing how to reproduce the vulnerabilities, along with proposed fixes when available, without waiting for Anthropic’s researchers to review the findings. The reviewers have struggled to keep up with the volume of reports. Over six months, the company says it found more than 29,000…

Socket
Esc