Programming page 10
Languages, techniques and code.
-
Notes on Pratt parsing: replacing the operator stack with the call stack
The author set out to write a parser for C expressions that may later grow into a compiler, choosing Pratt parsing after previously building a calculator with the shunting yard algorithm.
-
GAS: getContent() escapes < in raw JS and breaks embedded libraries
After the author embedded the QR-reading library jsQR into a Google Apps Script (GAS) web app, iPhone showed ReferenceError: Can't find variable: jsQR — Safari's wording for this failure — and in the delivered HTML…
-
Tomato Ritual v1.3.0: native macOS Pomodoro app adds 52-week heatmap and offline sounds
The indie developer of Tomato Ritual, a Pomodoro timer for macOS built entirely in native Swift and SwiftUI, has released version 1.3.0 on the Mac App Store with a rebuilt statistics and sound pipeline.
-
Microsoft Announces Type Server Protocol, Extension of Language Server Protocol
Microsoft has published the Type Server Protocol (TSP), a JSON-RPC protocol for requesting Python analysis data from a type server.
-
systemd merges optional support for Rust programs
systemd has merged PR #44324 by Christian Brauner, which adds optional support for programs written in Rust. The libraries libsystemd-shared and libsystemd and the NSS and PAM modules stay in C, and Rust programs link…
-
A faster way to compute signed 64-bit floor division by constants
Ben Joffe’s post presents a faster way to compute signed 64-bit floor division when the divisor is a constant known at compile time.
-
Sebastian Raschka releases 11-hour from-scratch video course on building reasoning models
Sebastian Raschka, author of the Ahead of AI newsletter, has published eight lecture videos, 11 hours of content in total, accompanying his book Build a Reasoning Model (From Scratch).
-
Why is it so expensive to send an email?
A developer who used to work on Gmail's tabbed inbox team at Google set out to learn why companies charge $15 to send 1000 emails, given that sending a message is a plaintext conversation over TCP port 25, much like an…
-
PHP Foundation has one full-time employee; 73% of installs are past end-of-life
PHP, the scripting language that powers about 71% of websites, has drawn attention after a critical remote code execution vulnerability, as an AI-powered surge in vulnerability reports highlights how chronically…
-
A non-programmer ships a working factory ERP after months of AI vibe coding
The author describes how a friend with no programming background used several months of vibe coding to launch a factory ERP that now serves as a real production tool and, in his words, matches all of the factory's…
-
rust-analyzer changelog #351: eight fixes
rust-analyzer changelog #351, released on 2026-10-26 as v0.3.3097, contains eight fixes. They address range patterns with invalid inferred types, a panic in inline_call with macro-call usages, keyword module name…
-
PHP2Shell: two PHP remote code execution bugs fixed, PHP since 5.4 affected
PHP fixed two remote code execution bugs on October 21: CVE-2026-109618 and CVE-2026-109619, both rated CVSS v4.0 9.2 and present in every unpatched PHP since version 5.4.
-
After PHP, Java also has a major security vulnerability: CVE-2026-91403 in JSSE
On October 21, 2026, a critical vulnerability was disclosed in Oracle Java SE: CVE-2026-91403, located in the JSSE component and scored 9.1 out of 10 on the CVSS scale, where anything above 9 means an attack that works…
-
When a glibc update accidentally breaks Chromium's audio
Chromium's audio broke after a Flatpak runtime update: YouTube would not play, and the logs showed the error 'The futex facility returned an unexpected error code.' The author found that this message is printed not by…
-
PHP Foundation runs on one full-time employee while PHP may power up to 70% of websites
Two severe vulnerabilities found this week in PHP, a 30-year-old open-source language that can support up to 70% of websites worldwide, triggered an urgent security response across the web.
-
How to run a city builder on 16 MHz
A walkthrough of the original SimCity source code, released in 2008 under the GPL as Micropolis, shows how the game ran a full city simulation on an Intel 386SX clocked at 16 MHz.
-
Balloting for C++26 has completed with a Disapproved result
Balloting on C++26 has completed, and the national bodies voted to disapprove the standard. The outcome appears to be unprecedented.
-
Dan Luu: we should be more ambitious with the software we build
In a widely discussed post, Dan Luu backs Michael Malis's call for more ambitious software, pointing to pgrust, Malis's experimental Rust rewrite of Postgres.
-
Playload, a 3KB JavaScript game engine that embeds a whole game in a URL
The developer of Pyxel released Playload, an open-source JavaScript game engine capped at 3KB after compression (3,000 bytes).
-
@napi-rs/canvas 1.0.12 silently ignores unquoted font names in ctx.font
Starting with @napi-rs/canvas 1.0.12, a font set as ctx.font = '48px M PLUS Rounded 1c' — without quotes around the family name — is silently ignored: Japanese text renders as 10px tofu, with no exception or warning…
-
Goose: a memory-safe systems language with no heap or garbage collector
Goose is a memory-safe systems language with no heap allocator, garbage collector or lifetime annotations, and its syntax is familiar to C and Rust programmers.
-
Broccoli2Shell: Brotli decoder RCE (CVE-2026-111497) in Node.js, Python and more
A vulnerability in Google's reference Brotli C decoder, tracked as CVE-2026-111497, can turn a malicious compressed stream into memory corruption and remote code execution (RCE) in Node.js, Python and any software that…
-
Brotli decoder flaw CVE-2026-111497 extends from Node.js to Python and HTTP libraries
CVE-2026-111497 is an out-of-bounds write in Google's Brotli decoder; Brotli versions 1.0.3 through 1.2.0 on all platforms are affected, and CVSS v4.0 scores it 9.2, Critical.
-
The most valuable thing in the AI coding era: software engineering (part 2)
This is the second part of a series arguing that in the AI coding era the most valuable asset is software engineering skill: of the four failure modes named in part one, it covers three — misaligned understanding of the…
-
eMudhra intermediate CA leak: 9 of 25 containers and 16 venvs trusted fake certificates
On 2026-10-20 it was disclosed that the private keys of eight intermediate CA certificates of eMudhra, an Indian certificate authority, could be reconstructed from the certificates themselves, reportedly since they were…
-
Critical PHP flaws take government sites offline as AI code-proof research advances
Two critical PHP vulnerabilities, together dubbed PHP2Shell and tracked as CVE-2026-109618 and CVE-2026-109619 with a CVSS score of 9.2, let unauthenticated requests gain code execution in default configurations…
-
prpr: a simple and fast parser generator for Rust
Developer tanakh released prpr (PackRat Parser in Rust), a new parser generator for Rust based on Parsing Expression Grammar (PEG); it is published on crates.io, with the source on GitHub and documentation available…
-
Formatting C++ strings without std::format: vformat and stringstream
Like printf, std::format requires the format string to be a string literal; C++ therefore also offers std::vformat, which takes the format as a std::string_view and so allows a variable.
-
PyTorch MultiheadAttention fast path consumed 18 GB of VRAM when passed a mask
In PyTorch, nn.MultiheadAttention with need_weights=False is documented to use the optimized SDPA, but in eval-mode, gradient-free inference the CUDA fast path skips SDPA whenever a mask is passed and builds the full…
-
The Hackening: PHP vulnerabilities trigger a race to secure websites
At a small conference, participants predicted that advanced AI and AI agents could make the internet severely hostile within 6–12 months, and some urged personal crisis preparations.

















