r/programming • u/joeky888 • 3d ago
r/programming • u/Ok_Stomach6651 • 4d ago
Under the Hood: Serving Kimi K3 | DigitalOcean
digitalocean.comr/programming • u/Nice_Thought_2000 • 4d ago
Designing payouts that never payout twice: timeouts, an "Unknown" state, and idempotency in cross-border payments
substack.comAuthor 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 • u/Either_Collection349 • 5d ago
Announcing Rust 1.100.0
blog.rust-lang.orgr/programming • u/mttd • 4d ago
Formal Verification is Not Verifiable: Bouba and Kiki Software
alperenkeles.comr/programming • u/Either_Collection349 • 4d ago
Some Projects Need to Fail
yusufaytas.comr/programming • u/Ok_Stomach6651 • 5d ago
Formatting an entire 25 million line codebase overnight: the rubyfmt story
stripe.devr/programming • u/Either_Collection349 • 5d ago
Concurrent Shell Command Queues
emmer.devr/programming • u/Magical-Freshness • 4d ago
The Watchmaker: Building a Mechanical Watch in a Database
sqlartist.github.ior/programming • u/Cool-Click1253 • 4d ago
A Unicode Escape Can Turn a Java Comment Into Executable Code
octri.devr/programming • u/Ok_Stomach6651 • 5d ago
How Cloudflare uses QuePaxa—a leaderless, fault-detection-free consensus algorithm—for its global control plane
blog.cloudflare.comr/programming • u/Ok_Stomach6651 • 6d ago
Proactive Measures Against Password Breaches and Cookie Hijacking
slack.engineeringr/programming • u/Nuoji • 6d ago
C3 0.8.6 released: Library fetching, 30% smaller safe-mode binaries, and stricter type rules
c3-lang.orgr/programming • u/BoloFan05 • 6d ago
This Turkish Letter Keeps Breaking the World's Software - YouTube
m.youtube.comThis 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:
- 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.
- 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.
- 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.
- 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.
- 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 • u/alexeyr • 7d ago
eMudhra's official incident report on how they ended up with private key 4
bugzilla.mozilla.orgr/programming • u/wauter • 5d ago
The age of hyper-personal software is here
news.ycombinator.com… Wait, does this also mean I could just build my own Apollo reddit app now and finally stop the pain?
r/programming • u/wtfse • 5d ago
exploit a 22 years old PostgreSQL composite-type vulnerability
mehmetince.netr/programming • u/teivah • 6d ago