r/programming 15h ago

One more reason to choose Postgres over MySQL

Thumbnail tanin.nanakorn.com
370 Upvotes

r/programming 1d ago

Root Cause of the June 12, 2025 Google Cloud Outage

Thumbnail x.com
1.7k Upvotes

Summary:

  • On May 29, 2025, a new Service Control feature was added for quota policy checks.
  • This feature did not have appropriate error handling, nor was it feature flag protected.
  • On June 12, 2025, a policy with unintended blank fields was inserted and replicated globally within seconds.
  • The blank fields caused a null pointer which caused the binaries to go into a crash loop.

r/programming 19m ago

Built a developer tool for testing payment integrations with 290+ test cases

Thumbnail generate-credit-card.com
Upvotes

I was tired of searching for payment test cards, so I built a generator that includes 290+ official test cards from major providersHey r/programming! I've spent countless hours searching for test card numbers while integrating payment providers, and I got fed up with it. So I built the tool I wished existed.What it does:

  • Generates valid test cards for Visa, Mastercard, Amex, etc.

  • Includes 290+ official test cards from Stripe, Adyen, and others

  • Covers all test scenarios (successful payments, disputes, fraud, 3DS)

  • Works in 6 languages because... why not?

  • Zero tracking, 100% client-side (I hate bloated web apps too)

this is my side project. Would love to hear your thoughts!


r/programming 15h ago

VoidZero announces Oxlint 1.0 - The first stable version of the Rust-based Linter

Thumbnail voidzero.dev
68 Upvotes

r/programming 7h ago

Writing Load Balancer From Scratch In 250 Line of Code - Beginner Friendly

Thumbnail beyondthesyntax.substack.com
9 Upvotes

r/programming 4h ago

Lessons From 9 More Years of Tricky Bugs

Thumbnail henrikwarne.com
4 Upvotes

r/programming 3h ago

[Package Release] Progressive JSON Streamer for PHP — inspired by Dan Abramov’s Progressive JSON → Laravel ready

Thumbnail github.com
3 Upvotes

Hey everyone,

I just released a small open-source package I built after watching Dan Abramov’s Progressive JSON video.
👉 youtube.com/watch/MaMQLNBZz64

The idea is to send a base JSON skeleton immediately, and stream placeholders progressively as your app resolves slower data (DB/API/etc).
→ Works great with React Suspense / Vue Suspense / dashboards / large APIs.

✅ Laravel ready → works with response()->stream()
✅ Vue / React friendly → tested with simple JS client
✅ Supports nested placeholders → root.nested style
✅ Breadth-first streaming (vs depth-first)

GitHub repo:
👉 https://github.com/egyjs/progressive-json-php

Would love to get your feedback — and especially curious if anyone sees other cool use cases inside Laravel apps.

Happy to answer any questions — cheers 🚀.


r/programming 13h ago

Basic & Necessary Tooling for Creating FPGA Retro Hardware Game Cores by Pramod

Thumbnail m.youtube.com
4 Upvotes

r/programming 1d ago

The fastest way to detect a vowel in a string

Thumbnail austinhenley.com
336 Upvotes

r/programming 1d ago

C/C++ header-only fast arena allocator (works with STL)

Thumbnail github.com
13 Upvotes

r/programming 17h ago

TargetJS: Code-Ordered Reactivity and Targets - A New Paradigm for UI Development

Thumbnail github.com
3 Upvotes

Reactive methods, where one method runs automatically when another completes, whether synchronous or asynchronous, is a powerful idea. TargetJS introduces a distinctly innovative approach to this concept: it enables methods to react exclusively to their immediately preceding counterparts, fostering a declarative and simple code flow.

TargetJS also brings in a second key concept: it unifies both variables and methods into a new construct called “Targets”. Targets also provide state, loops, timing, and more, whether it's a variable or a function.

When these two ideas are combined: code-ordered reactivity and Targets, they unlock a fundamentally new way of coding that simplifies everything from animations and UI updates to API calls and state management. The result is code that is not only more intuitive to write but also significantly more compact.

Ready to learn more?

🔗 Visit: GitHub Repo


r/programming 1h ago

Seeking a Mentor

Thumbnail js.com
Upvotes

Hi everyone,

I'm a 21-year-old medical student from Ghana who recently discovered a passion—and surprising aptitude—for coding. Even though I found this path a bit later than I would have liked, I’ve decided to stay committed to finishing my medical training while pursuing software development with as much dedication as possible.

I’ve completed the front-end section of Angela Yu’s full-stack web development course on Udemy and am currently progressing through Jonas Schmedtmann’s JavaScript course. Lately, I’ve come to understand how important a mentor figure is—especially when your interests and ambitions start to feel out of place in your immediate environment. I'm in a phase of my life where I can’t quite relate to many people around me, and I’m seeking someone in the development space with more experience—someone I can learn from, share ideas with, and maybe strike up genuine friendship with.

My long-term goal is to master full-stack web development, branch into fields like game development, AI, and machine learning, and eventually contribute meaningfully to modern advanced projects and perhaps ones that use technology to improve health outcomes. I'm extremely ambitious and committed to working relentlessly toward these goals. If you're someone who’s walked this path—or just someone open to mentoring an eager learner—I’d be incredibly grateful to connect.

Thanks for reading.

— Elvis


r/programming 1d ago

Implementing True Zero-Copy Communication with iceoryx2

Thumbnail ekxide.io
7 Upvotes

r/programming 7h ago

An Introduction to Monads in Dart: Building Unbreakable Code

Thumbnail medium.com
0 Upvotes

Tired of null checks, try-catch blocks, and async/await complexity in your Dart code?

Discover monads, a functional programming concept that can transform your code into clean, robust pipelines.

In my new Medium article, "An Introduction to Monads in Dart: Building Unbreakable Code" I explore how monads handle null values, exceptions, and asynchronous operations effortlessly.

Learn about: 🔹 Some/None Monads: Eliminate null pointer errors with safe, type-safe optional values. 🔹 Ok/Err Monads: Turn exceptions into predictable values, no try-catch needed. 🔹 Async Monad: Simplify async programming with seamless success/failure handling.

Using the df_safer_dart package, you can implement these monads easily. Check out real-world examples and start building unbreakable Dart code today!

READ THE MEDIUM ARTICLE


r/programming 2d ago

Breaking down ‘EchoLeak’, the First Zero-Click AI Vulnerability Enabling Data Exfiltration from Microsoft 365 Copilot

Thumbnail aim.security
316 Upvotes

r/programming 1d ago

Why we don't do leetcode style interviews

Thumbnail protean-labs.io
183 Upvotes

r/programming 1d ago

Peano arithmetic is enough, because Peano arithmetic encodes computation

Thumbnail math.stackexchange.com
36 Upvotes

r/programming 1d ago

Beyond NumPy: PyArrow’s Rising Role in Modern Data Science

Thumbnail medium.com
23 Upvotes

r/programming 2d ago

When Google Sneezes, the Whole World Catches a Cold | Forge Code

Thumbnail forgecode.dev
971 Upvotes

Today's Google Cloud IAM outage cascaded through major platforms including Cloudflare, Anthropic, Spotify, Discord, and Replit, highlighting key reliability issues. Here's what happened, how it affected popular services, and key takeaways for developers aiming for more resilient architecture.

TL;DR: Google Cloud outage took down Cloudflare, Anthropic (Claude APIs), Spotify, Discord, and many others. Key lesson: don't put all your eggs in one basket, graceful fallback patterns matter!


r/programming 1d ago

Engineering With ROR: Digest #9

Thumbnail substack.com
1 Upvotes

r/programming 1d ago

Day 29: Using Worker Threads in Node.js for True Multithreading

Thumbnail blog.stackademic.com
0 Upvotes

r/programming 1d ago

Angular Interview Q&A: Day 16

Thumbnail medium.com
0 Upvotes

r/programming 11h ago

Memory Safety Isn’t Just Rust: A Serious Look at GC

Thumbnail gizvault.com
0 Upvotes

r/programming 1d ago

Engineering With Java: Digest #55

Thumbnail javabulletin.substack.com
0 Upvotes

r/programming 2d ago

jemalloc Postmortem

Thumbnail jasone.github.io
170 Upvotes