Topic
Everything filed under Programming, newest first.
RSS · JSON · All topics
Jens Egholm Pedersen argues modern science is synonymous with open-source software: why reproducible code matters as much as papers, and what researchers should do next.
7 min · 1,517 words
Inline rendering with document.currentScript
A tutorial on using document.currentScript to render small bits of dynamic content inline in plain HTML without IDs, classes, querySelectors, or a templating engine, with real-world examples like random greetings and auto-updating footers, plus the catch around synchronous helper scripts.
6 min · 1,312 words
A Mere Mortal's Introduction to JIT Vulnerabilities in JavaScript Engines
Josiah Pierce demystifies JavaScript engine JIT bugs for mere mortals: how speculative optimization creates exploitable gaps, with a grounded intro to engine architecture and vulnerability patterns.
34 min · 7,849 words
Software sandboxing: The basics
A deep primer on software sandboxing: threat models, OS mechanisms, and practical patterns for isolating untrusted code—foundational reading for secure systems and agent runtimes.
39 min · 9,084 words
How Your Code Runs: The Journey of a Program Through the CPU
A clear walkthrough of CPU architecture—control unit, ALU, registers, and memory—and how a simple program is compiled, loaded, and executed instruction by instruction.
3 min · 730 words
I'm not a fan of Deno's security model
A post on max's place argues that Deno's permissions system is fundamentally insecure and misleading: coarse runtime flags cannot isolate untrusted code, and something like bubblewrap is a better sandbox than asking users to approve broad filesystem or network access.
9 min · 1,956 words
Matthias Endler pushes back on Silicon Valley hustle culture and "move fast and break things", arguing for sustainable growth, robust software, small bootstrapped businesses, and a long-term mindset over chasing exponential, VC-funded scale.
6 min · 1,344 words
They don't make 'em like that any more: Borland Turbo Pascal 7
Kevin Boone looks back at Borland Turbo Pascal 7 (Turbo Pascal for Windows 1.5): its integrated debugger, book licensing, tiny footprint and speed on Windows 3.1, and what its disappearance says about the skills and bloat of modern software development.
7 min · 1,642 words
One of the unwritten rules of the Internet seems to be that whenever something Amiga-related is mentioned, at least one Amiga fan myself included must show up and try to explain the concept of screens. Amiga screens can have different resolutions, we'll tell you, and one can drag them, we'll say, and other Amiga users rally in agreement, while non-Amiga users probably still don't get what's so great about screens. Until now, when this text has been written, in the hope of converting unsuspecting normies into full-blown Amiga screen lovers.
10 min · 2,400 words
Smitty van Bodegom walks through the complete process of decoding a PNG file—chunks, zlib decompression, scanline filters and Adam7 interlacing—illustrated with a sample image at every stage.
6 min · 1,274 words
When a glibc update accidentally breaks Chromium's audio
A debugging story from the Chromium Flatpak maintainer: a runtime update to 21.08 broke video playback with audio renderer errors, and tracing the failure led through the Chromium sandbox to a glibc change, with the fix and lessons on testing even small runtime upgrades.
11 min · 2,633 words
A clear comparison of union types and sum types: how they overlap, where their subtle differences change API design and safety, and when each model fits better in modern languages.
9 min · 1,967 words
Alex Kladov (matklad) argues that swapping std's Mutex for a spinlock to add no_std support in Rust crates is an anti-pattern, walking through how spinlocks work, priority inversion, CPU interrupts and why a spinning lock can deadlock, and proposes alternatives such as panicking when blocking is impossible.
9 min · 2,000 words
93% of Paint Splatters are Valid Perl Programs
Colin McMillen's SIGBOVIK 2019 paper runs OCR over images of paint splatters and finds that 93% of them are valid Perl programs, with a gallery of the most surprising examples and what they evaluate to.
2 min · 469 words
Handles are the better pointers
Andre Weissflog (floooh) describes replacing raw and smart pointers in C and C++ with index handles: centralizing memory management in systems that own arrays of items, giving out integer handles instead of pointers, and using per-slot generation counters to detect dangling handles safely.
13 min · 2,978 words
Gregory Gundersen reconstructs backpropagation from first principles, explaining why the algorithm needs a backward pass to compute neural network gradients efficiently.
6 min · 1,490 words
Reading and writing are less symmetric than you (probably) think
Fabian Giesen (The ryg blog) explains why read and write I/O operations, despite their mirror-image POSIX signatures, behave very differently in practice once buffering, caches, devices and error reporting are taken into account.
9 min · 1,962 words
8088 Domination Post-Mortem, Part 1
Trixter begins a technical write-up of 8088 Domination, a demo that plays full-motion video on a 1981 IBM PC 5150, covering the hardware constraints, why earlier approaches failed, and the delta-encoding scheme that prioritises changes within strict per-frame cycle and byte budgets.
12 min · 2,675 words
A Great Old-Timey Game-Programming Hack
Tom Moertel recalls an 8-bit era 6809 assembly trick for drawing game graphics fast enough on painfully slow hardware, abusing the stack pointer to blast tiles into the screen buffer, and urges engineers to tell their old stories.
20 min · 4,667 words
How Hacker News ranking really works: scoring, controversy, and penalties
Ken Shirriff reverse-engineers Hacker News ranking: the gravity formula, controversy penalties after ~40 comments, title/domain penalties (including historical NSA demotion), and how ~20% of front-page stories are tweaked.
15 min · 3,547 words