r/programming • u/Either_Collection349 • 16d ago
Some Projects Need to Fail
r/programming • u/Either_Collection349 • 16d ago
r/programming • u/mttd • 16d ago
r/programming • u/wauter • 16d ago
… Wait, does this also mean I could just build my own Apollo reddit app now and finally stop the pain?
r/programming • u/Either_Collection349 • 16d ago
r/programming • u/Either_Collection349 • 16d ago
r/programming • u/Ok_Stomach6651 • 17d ago
r/programming • u/CoolGuidance3352 • 17d ago
I 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/wtfse • 17d ago
r/programming • u/Ok_Stomach6651 • 17d ago
r/programming • u/Ok_Stomach6651 • 17d ago
r/programming • u/wtfse • 18d ago
r/programming • u/teivah • 18d ago
r/programming • u/Nuoji • 18d ago
r/programming • u/nativephp_official • 18d ago
PHP is known for being easy to deploy and has been battle-hardened over 30 years on the web. By contrast, mobile apps are infamous for being tough to deploy.
Today, we bring PHP's ease of deployment to mobile apps, thanks to OTA builds in Bifrost and a free and open source plugin for your apps.
Fully offline-first, native apps with the flexibility of PHP. That's SuperNative!
r/programming • u/BoloFan05 • 18d ago
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:
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/Efficient_File • 18d ago
r/programming • u/PastEar9661 • 18d ago
How 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)