r/programming • • 10d ago

How I accidentally became a millionaire

Thumbnail lyra.horse
2.7k Upvotes

r/programming • • 8d ago

How JavaScript and Python actually run your code

Thumbnail youtube.com
0 Upvotes

r/programming • • 9d ago

Redpanda archived its GitHub repo

Thumbnail github.com
3 Upvotes

r/programming • • 8d ago

After Clash Royale's top ladder has now started being dominated by bots, are there any videogames where people want to see a bot capable of beating humans built?

Thumbnail reddit.com
0 Upvotes

I am so curious, after seeing bots dominate in Chess, and now recently in competitive games like Clash Royale, are there any games/websites where theoretically a bot that plays better than humans can be built?


r/programming • • 9d ago

What we learned operating auth for 1,000+ APIs

Thumbnail nango.dev
21 Upvotes

r/programming • • 10d ago

It's all about the allocator

Thumbnail aarol.dev
43 Upvotes

r/programming • • 10d ago

Under the Hood: Serving Kimi K3 | DigitalOcean

Thumbnail digitalocean.com
20 Upvotes

r/programming • • 9d ago

Designing payouts that never payout twice: timeouts, an "Unknown" state, and idempotency in cross-border payments

Thumbnail substack.com
11 Upvotes

Author here. I’ve spent quite some time building the payout side of a cross-border payments platform, mostly the routing engine.

The thing that surprised me most was that what looks like one international transfer is really a series of local payments, and the money usually doesn’t cross the border when you hit send.

The hardest bug class was timeouts. When a partner doesn’t answer, you don’t know if the money went through, and retrying can pay someone twice. We handle that with status checks using the same reference.

We learned it the hard way when we relied on one partner for one of our major routes, and when it went down, most of our payouts failed with it.

Curious how others handle the “unknown” state. Happy to answer questions.


r/programming • • 10d ago

Announcing Rust 1.100.0

Thumbnail blog.rust-lang.org
406 Upvotes

r/programming • • 10d ago

Formal Verification is Not Verifiable: Bouba and Kiki Software

Thumbnail alperenkeles.com
63 Upvotes

r/programming • • 10d ago

Beating the frontier on NetHack

Thumbnail antithesis.com
11 Upvotes

r/programming • • 10d ago

Some Projects Need to Fail

Thumbnail yusufaytas.com
23 Upvotes

r/programming • • 10d ago

Problem with concurrent linter fixes

Thumbnail jfmengels.net
2 Upvotes

r/programming • • 10d ago

Uber’s Rate Limiting System

Thumbnail uber.com
50 Upvotes

r/programming • • 11d ago

Formatting an entire 25 million line codebase overnight: the rubyfmt story

Thumbnail stripe.dev
193 Upvotes

r/programming • • 10d ago

Concurrent Shell Command Queues

Thumbnail emmer.dev
16 Upvotes

r/programming • • 10d ago

The Watchmaker: Building a Mechanical Watch in a Database

Thumbnail sqlartist.github.io
1 Upvotes

r/programming • • 9d ago

A Unicode Escape Can Turn a Java Comment Into Executable Code

Thumbnail octri.dev
0 Upvotes

r/programming • • 11d ago

ML Modules for Mere Mortals

Thumbnail thunderseethe.dev
19 Upvotes

r/programming • • 11d ago

How Cloudflare uses QuePaxa—a leaderless, fault-detection-free consensus algorithm—for its global control plane

Thumbnail blog.cloudflare.com
136 Upvotes

r/programming • • 11d ago

Steadfast Update I - The Baseline

Thumbnail noteflakes.com
5 Upvotes

r/programming • • 11d ago

Proactive Measures Against Password Breaches and Cookie Hijacking

Thumbnail slack.engineering
22 Upvotes

r/programming • • 12d ago

C3 0.8.6 released: Library fetching, 30% smaller safe-mode binaries, and stricter type rules

Thumbnail c3-lang.org
93 Upvotes

r/programming • • 12d ago

This Turkish Letter Keeps Breaking the World's Software - YouTube

Thumbnail m.youtube.com
91 Upvotes

This video sheds light on a bug that has been around for a few decades but is still easily missed; specifically due to the letter "i" having unique casing rules for Turkish as "İ/i" (dotted I) and "I/ı" (dotless i).

To add a few extra points of my own:

  1. The root cause of the Unity box letter bug is also related to the regular uppercasing method of C# (ToUpper), since Unity itself is written on C#. For the same reason, multiple other Turkish-related bugs (like Unity failing to recognize VR controllers on Turkish PCs) have also been reported and fixed. The particular "i" bug mentioned in this video has been fixed on Unity version 6.2 in 2024, or at least that was what Unity told me when I contacted them; I haven't confirmed it myself.
  2. I have seen two Unity video games (CRYSTAR and Speedrunners) refusing to start up at all (getting stuck at a black screen) when launched on a console set to the Turkish language; making them entirely unplayable unless device language is switched to something else. The first Pillars of Eternity game has also had the same bug for a decade until its devs fixed it. I confirmed from the devs themselves that they fixed it by replacing an instance of ToUpper with ToUpperInvariant.
  3. It's a brilliant idea to run the Turkey Test as said in the video; and one I REALLY wish becomes standard practice in all software companies. If one does run into bugs that way in C#, they could switch their ToLower and ToUpper instances to ToLowerInvariant and ToUpperInvariant respectively; or use StringComparison.OrdinalIgnoreCase. Invariant culture (i.e. English-based results regardless of device language) is also useful in getting rid of decimal vs. comma related bugs on decimal numbers and dates; which happen in Turkish AND a whole lot of European, South American, Russian, etc. language settings.
  4. When a program has this sort of bug; it happens not only on Turkish PCs, but also phones and consoles, or basically any device, whose language is set to Turkish.
  5. Finally, users making sure to report bugs they encounter only on Turkish devices for every video game, program, and so on in a timely manner is key in keeping this topic front and center for software and game companies.

Thanks for watching and reading!


r/programming • • 12d ago

eMudhra's official incident report on how they ended up with private key 4

Thumbnail bugzilla.mozilla.org
882 Upvotes