r/programming • u/GeneralSEOD • 13h ago
r/programming • u/blambeau • 2h ago
What is a specification ? What KAOS teaches spec-driven development.
enspirit.devr/programming • u/dumindunuwan • 1m ago
Learn how to write an API in Rust without Laravel Rust
learning-rust.github.ior/programming • u/mttd • 21h ago
A Correctness Approach for Modern Systems Software
brooker.co.zar/programming • u/StreamHPC • 6h ago
Advent of Kernel Optimization
streamhpc.comToday is the second day of our Advent of Kernel Optimization, sharing GPU optimization tips and tricks to count down until Christmas. Follow along here: https://streamhpc.com/blog/tag/advent2026/.
r/programming • u/New_Pay3669 • 1h ago
A 2-byte BOM can beat your charset=utf-8 header and bypass your HTML sanitizer
agentack.appI host HTML written by AI agents, so I scan uploads and block things like <meta http-equiv="refresh">. The scanner reads UTF-8, and the server sends charset=utf-8.
The catch: in browsers, a byte-order mark beats the HTTP header. A file starting with FF FE is decoded as UTF-16, so my scanner sees junk while the browser sees a working redirect. They're reading two different documents.
Fix: refuse any UTF-16/32 BOM, require valid UTF-8, and add a strict CSP sandbox as a safety net.
Lesson: a sanitizer is only safe if it decodes input exactly the way the browser does.
Anyone hit other cases where the browser and server-side checks disagree?
r/programming • u/mister_mort • 2d ago
Advent of Code 2026 starts today
adventofcode.comStart time is midnight EST (UTC-5), ~6H from the time this post is written.
r/programming • u/Fantastic_Wave1982 • 1d ago
Data Replication In Distributed Systems | Implement Raft From Scratch
sushantdhiman.devr/programming • u/HappyAngrySquid • 1d ago
Roc version 0.1.0, eight years in the making
rtfeldman.comr/programming • u/ingressstatue • 1d ago
Pattern Matching for C++29 (proposal)
mpark.github.ior/programming • u/self • 2d ago
Post-quantum cryptography is breaking government censors
xetera.devr/programming • u/Browhair3834 • 1d ago
Remote procedure calls for interactive applications
willybrauner.comI turned a personal project into an interactive article. It's about an LED board installation in my living room. I had a great time making it work and control it via a remote web client.
In this article, I aim to explain the basics of machine communication, and you can try it out for yourself at the end!
r/programming • u/mgyk1024 • 1d ago
Build Your Own FinOps Tool for Cloud Cost Allocation by Team
mooracle.ior/programming • u/aartaka • 1d ago
Why You(r Company) Should Use Brainfuck
aartaka.meChallenge included for AI companies: hire me to write Brainfuck code. If your model writes better code than me, you can fire me. Otherwise—keep me.
r/programming • u/mitchellvitez • 2d ago
Type-level Haskell from Zero to Advent
youtube.comr/programming • u/compy3 • 2d ago
How to choose a Postgres read cache: Redis, Memcached, build your own, or proxy
pgcache.comhey everyone - a couple months ago, I posted an overview of caching in Postgres. This is the follow-up, for anyone who has decided to cache reads and is trying to figure out how to do it.
In addition to the main options, the article also covers some of the classic zingers that leave you serving stale data: invalidation, stampedes, tenants and RLS, read-your-own-writes, schema changes.
(disclaimer: I'm one of the founders of PgCache, which is one of the proxy options. I tried to keep it balanced)
Did I miss anything?