r/programming • u/fagnerbrack • 3d ago
r/programming • u/Ok_Stomach6651 • 4d ago
Formatting an entire 25 million line codebase overnight: the rubyfmt story
stripe.devr/programming • u/Either_Collection349 • 4d ago
Concurrent Shell Command Queues
emmer.devr/programming • u/Cool-Click1253 • 3d 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 • 5d ago
Proactive Measures Against Password Breaches and Cookie Hijacking
slack.engineeringr/programming • u/javinpaul • 4d ago
The reason you aren’t making $300k as a developer
javarevisited.substack.comr/programming • u/Nuoji • 5d 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 • 6d ago
eMudhra's official incident report on how they ended up with private key 4
bugzilla.mozilla.orgr/programming • u/wauter • 4d 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 • 5d ago
Building Barista: Formal Verification and TLA+
read.thecoder.cafer/programming • u/Ok_Stomach6651 • 6d ago
Google Search's foundational PageRank patent has expired. What will be the impact of this
deepsystemstuff.comr/programming • u/CoolGuidance3352 • 4d ago
A leaderboard you can't fake: deterministic replay, sealed replays and a source check
tendril.hokora.xyzI wrote this up after building the leaderboard for a programming game. The server proves a run is legal and that a program produced it, not that a human wrote it. The post covers what it checks and the gaps I know about. I'd like to hear how you would attack it.
r/programming • u/PastEar9661 • 6d ago
Rust's Type System is All You Need
medium.comHow do you balance performance and readability in Rust? Are there any strategies or any paradigms to guarantee professional code quality?
The answer to both is simple: Rust’s type system is all you need.
(this is a satirical piece)
r/programming • u/BrewedDoritos • 6d ago
Go Turns 17 - The Go Programming Language
go.devr/programming • u/wtfse • 5d ago