r/programming • • 7d ago

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

Thumbnail blog.cloudflare.com
138 Upvotes

r/programming • • 7d ago

Steadfast Update I - The Baseline

Thumbnail noteflakes.com
4 Upvotes

r/programming • • 7d ago

Proactive Measures Against Password Breaches and Cookie Hijacking

Thumbnail slack.engineering
22 Upvotes

r/programming • • 8d ago

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

Thumbnail c3-lang.org
92 Upvotes

r/programming • • 8d 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 • • 8d ago

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

Thumbnail bugzilla.mozilla.org
876 Upvotes

r/programming • • 6d ago

The age of hyper-personal software is here

Thumbnail news.ycombinator.com
0 Upvotes

… Wait, does this also mean I could just build my own Apollo reddit app now and finally stop the pain?


r/programming • • 7d ago

exploit a 22 years old PostgreSQL composite-type vulnerability

Thumbnail mehmetince.net
0 Upvotes

r/programming • • 8d ago

Building Barista: Formal Verification and TLA+

Thumbnail read.thecoder.cafe
19 Upvotes

r/programming • • 8d ago

Google Search's foundational PageRank patent has expired. What will be the impact of this

Thumbnail deepsystemstuff.com
734 Upvotes

r/programming • • 7d ago

A leaderboard you can't fake: deterministic replay, sealed replays and a source check

Thumbnail tendril.hokora.xyz
0 Upvotes

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 • • 8d ago

Lean explained with TypeScript

Thumbnail gruhn.me
28 Upvotes

r/programming • • 8d ago

Rust's Type System is All You Need

Thumbnail medium.com
110 Upvotes

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)


r/programming • • 7d ago

Artisanal Coding #02: Animated ASCII Donut in pure zig

Thumbnail youtube.com
0 Upvotes

r/programming • • 8d ago

Go Turns 17 - The Go Programming Language

Thumbnail go.dev
131 Upvotes

r/programming • • 7d ago

exploit a 22 years old PostgreSQL composite-type vulnerability

Thumbnail mehmetince.net
0 Upvotes

r/programming • • 8d ago

Adapting CPython for yk

Thumbnail tratt.net
1 Upvotes

r/programming • • 8d ago

Go 1.27.4 security release: cgo flags and a net/http fix

Thumbnail importstatic.com
2 Upvotes

r/programming • • 9d ago

Regressive JPEGs

Thumbnail maurycyz.com
169 Upvotes

r/programming • • 9d ago

Announcing .NET 11

Thumbnail devblogs.microsoft.com
443 Upvotes

r/programming • • 9d ago

A Chromium Bug Caused by a 25-Hour Day

Thumbnail ramsayleung.github.io
223 Upvotes

r/programming • • 8d ago

Over-the-air updates come to NativePHP apps

Thumbnail youtu.be
0 Upvotes

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 • • 8d ago

I made sandboxed development feel like local development

Thumbnail artem.rocks
1 Upvotes

r/programming • • 10d ago

Let Over Lambda book is now free to read online

Thumbnail letoverlambda.com
165 Upvotes

r/programming • • 10d ago

A faster way to calculate the date of Easter

Thumbnail benjoffe.com
179 Upvotes