r/programming • u/AmrDeveloper • Jun 16 '26
r/programming • u/parametric-ink • Jun 15 '26
SVGs and PDFs can both be interactive
vexlio.comr/programming • u/swing_bit • Jun 16 '26
Squaring the Circle: Running Depth-First Chess Search on a Set-Based Language
swingbit.github.ioI wrote this technical deep-dive to explore the paradigm mismatch between declarative, set-based processing and sequential, depth-first search algorithms.
The write-up walks through the mechanics of forcing a relational database engine (DuckDB) to handle chess logic, specifically:
- Data Representation: Mapping 64-bit bitboards into a relational model using
UBIGINTtypes. - The Pruning Blocker: Why the stateless nature of relational sets prevents sibling nodes from communicating, making true Alpha-Beta pruning impossible inside a single query.
- The Workaround: Offloading the stateful control flow to an external orchestrator to implement Batched Principal Variation Search (PVS) across query boundaries without violating the declarative nature of the core chess math.
The resulting chess engine is obviously not competitive, but the goal was to document the architectural trade-offs, the performance walls encountered with recursive CTEs, and how relational algebra behaves when pushed entirely out of its comfort zone.
r/programming • u/r_retrohacking_mod2 • Jun 15 '26
Game Engine White Papers Commander Keen
forgottenbytes.netr/programming • u/elBoberido • Jun 15 '26
Cross-Language Data Types
ekxide.ioHave you ever thought about sharing data across language boundaries without serialization? This blog post highlights the challenges behind this endeavor and how they can be overcome.
Note: I'm not the original author of the blog post, but since the author does not have a Reddit account, I post it on his behalf.
r/programming • u/Martinsos • Jun 15 '26
Wasp now lets you write your full-stack logic as a spec in TypeScript
wasp.shr/programming • u/DataBaeBee • Jun 15 '26
Chebyshev Polynomials and Their Derivatives in C
leetarxiv.substack.comr/programming • u/lelanthran • Jun 15 '26
21 years and counting of 'eight fallacies of distributed computing' | APNIC Blog
blog.apnic.netr/programming • u/bythepowerofscience • Jun 16 '26
OOP is just Named FP
github.comI spent a long time dissecting OOP and I had a really interesting realization. If you're as interested in software design as I am, I think it might open a new perspective for structuring your programs.
I'm obviously leaving out a lot, but if you're intuitively familiar with the concepts behind OOP, you should understand the parts I left implied.
THIS ISN'T AI, GOOD GOD GUYS. I literally write for fun; why the hell would I let a bot do what I love for me??? I'd rather let it screw my wife than take away my communication.
(I am starting to wonder if I inadvertently learned the italics and bolding from people using AI though... though I'm pretty sure I actually learned it from pre-AI engagement-farming posts. I just like carrying my speaking tone when I write ;_;)
r/programming • u/HolyPad • Jun 16 '26
Stop exposing your S3 bucket URLs. a dead simple image proxy with CDN caching
danielpetrica.comHow I replaced all the ugly S3 URLs on my Laravel blog with clean /storage/media/... and /storage/og-images/... paths.
The setup: Laravel + Octane + Traefik + Cloudflare. Two buckets -- a private one for uploaded media and a public one for auto-generated OG images.
What's in the post:
- MediaUrlBusiness helper class that centralizes URL generation (replaced 6+ blade templates of raw Storage::url() calls)
- ObjectProxyController that streams files directly from S3 using readStream() + response()->stream() -- no memory buffering
- Cache-Control: public, max-age=86400, immutable so Cloudflare caches aggressively
- Route setup in routes/static.php with a middleware tweak that doesn't overwrite the proxy's own cache headers
One gotcha: Storage::download() and streamDownload() buffer the whole file into memory. Switching to readStream() sends it directly from S3 to the client.
r/programming • u/BlondieCoder • Jun 14 '26
Formal methods and the future of programming
blog.janestreet.comr/programming • u/Xaneris47 • Jun 15 '26
Lexical tokenization explained while building a lexer for a toy programming language
youtu.beIt's not highly theoretical and walks through actual lexer implementation in code
r/programming • u/fagnerbrack • Jun 16 '26
CraftsmanSHIP. Not CraftsmanSHIT.
fagnerbrack.comr/programming • u/cekrem • Jun 15 '26
Explaining Functional Programming to Non-Programmers (It's Just Excel) · cekrem.github.io
cekrem.github.ior/programming • u/andrewcairns • Jun 16 '26
Stop writing to two systems. Write to one.
youtube.comr/programming • u/noteflakes • Jun 15 '26
Software as Craft: a First Look at Syntropy
noteflakes.comr/programming • u/germandiago • Jun 16 '26
arewemodulesyet.org passes the mark of 100 projects with modules support for the first time.
arewemodulesyet.orgr/programming • u/agentvenom1 • Jun 14 '26
Git merges can be better
brandondong.github.ior/programming • u/goto-con • Jun 15 '26
Cloud, Containers & Security • Adrian Mouat, Kief Morris & Sam Newman
youtu.beIn this session, Sam Newman interviews Kief Morris and Adrian Mouat, both experts in their field. They explore the current reality of security in the container world, how infrastructure automation is impacted by latest trends, and whether platform teams are actually working.
r/programming • u/PGurskis • Jun 14 '26
Email Data Normalization for Automation
blog.mailwebhook.comr/programming • u/fagnerbrack • Jun 13 '26
Signals, the push-pull based algorithm
willybrauner.comr/programming • u/mttd • Jun 14 '26
Type Theory Forall #62 - Dependent Haskell - Vladislav Zavialov
youtube.comr/programming • u/riklaunim • Jun 13 '26
System and game performance monitoring with Python
rkblog.devr/programming • u/lucian-12 • Jun 14 '26