do {...} while (0) in macros
https://www.pixelstech.net/article/1390482950-do-%7B-%7D-while-%280%29-in-macros
https://redd.it/1kn3xya
@programmingreddit
https://www.pixelstech.net/article/1390482950-do-%7B-%7D-while-%280%29-in-macros
https://redd.it/1kn3xya
@programmingreddit
www.pixelstech.net
do {...} while (0) in macros
If you are a C programmer, you must be familiar with macros. They are powerful and can help you ease your work if used correctly. However, if you don't define macros carefully, they may bite you and d
OpenJDK talks about adding a JSON API to the Java Standard Library
https://mail.openjdk.org/pipermail/core-libs-dev/2025-May/145905.html
https://redd.it/1knm817
@programmingreddit
https://mail.openjdk.org/pipermail/core-libs-dev/2025-May/145905.html
https://redd.it/1knm817
@programmingreddit
Reddit
From the programming community on Reddit: OpenJDK talks about adding a JSON API to the Java Standard Library
Posted by davidalayachew - 107 votes and 44 comments
Senior devs aren't just faster, they're dodging problems you're forced to solve
https://boydkane.com/essays/experts
https://redd.it/1knu1w1
@programmingreddit
https://boydkane.com/essays/experts
https://redd.it/1knu1w1
@programmingreddit
Reddit
From the programming community on Reddit: Senior devs aren't just faster, they're dodging problems you're forced to solve
Posted by L_Impala - 127 votes and 57 comments
Insane malware hidden inside NPM with invisible Unicode and Google Calendar invites!
https://www.youtube.com/watch?v=N8dHa2b-I5A
https://redd.it/1ko19vq
@programmingreddit
https://www.youtube.com/watch?v=N8dHa2b-I5A
https://redd.it/1ko19vq
@programmingreddit
YouTube
Insane malware hidden with invisible Unicode and Google Calendar invites!
In this video, we uncover one of the most bizarre and sophisticated supply chain attacks we’ve seen so far — involving Unicode PUA characters, base64 obfuscation, and Google Calendar invites as malware delivery vehicles. 🕵️♂️
🔍 What we found:
An NPM package…
🔍 What we found:
An NPM package…
Seed7: a programming language I've been working on for decades
https://thomasmertes.github.io/Seed7Home
https://redd.it/1kopkmf
@programmingreddit
https://thomasmertes.github.io/Seed7Home
https://redd.it/1kopkmf
@programmingreddit
thomasmertes.github.io
Seed7 Homepage
Seed7 - The extensible programming language
What’s one time YAGNI didn’t apply—and you were glad you built it early?
https://open.substack.com/pub/alexcristea/p/when-yagni-actually-makes-sense?r=17kzge&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false
https://redd.it/1kont2l
@programmingreddit
https://open.substack.com/pub/alexcristea/p/when-yagni-actually-makes-sense?r=17kzge&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false
https://redd.it/1kont2l
@programmingreddit
Substack
When YAGNI Actually Makes Sense
5 things worth building before they’re needed.
"Mario Kart 64" decompilation project reaches 100% completion
https://gbatemp.net/threads/mario-kart-64-decompilation-project-reaches-100-completion.671104/
https://redd.it/1kp8vnm
@programmingreddit
https://gbatemp.net/threads/mario-kart-64-decompilation-project-reaches-100-completion.671104/
https://redd.it/1kp8vnm
@programmingreddit
GBAtemp
"Mario Kart 64" decompilation project reaches 100% completion
Within the very same week, and in just a span of a few days, we got not one, but two Mario games decompiled, with the first one this week being the very first Gamecube game to get a completed...
Circular Reasoning in Unit Tests — It works because it does what it does
https://laser-coder.net/articles/circular-reasoning/index.html
https://redd.it/1kozl0x
@programmingreddit
https://laser-coder.net/articles/circular-reasoning/index.html
https://redd.it/1kozl0x
@programmingreddit
Reddit
From the programming community on Reddit: Circular Reasoning in Unit Tests — It works because it does what it does
Posted by Jason_Pianissimo - 115 votes and 58 comments
An algorithm to square floating-point numbers with IEEE-754. Turned to be slower than normal squaring.
https://gist.github.com/CiroZDP/55393f2d16f5f7a9f93e51d97873d7b1
https://redd.it/1kptwqj
@programmingreddit
https://gist.github.com/CiroZDP/55393f2d16f5f7a9f93e51d97873d7b1
https://redd.it/1kptwqj
@programmingreddit
Gist
slow_square.c
GitHub Gist: instantly share code, notes, and snippets.
Detecting malicious Unicode (Daniel Stenberg, curl)
https://daniel.haxx.se/blog/2025/05/16/detecting-malicious-unicode/
https://redd.it/1kq9bza
@programmingreddit
https://daniel.haxx.se/blog/2025/05/16/detecting-malicious-unicode/
https://redd.it/1kq9bza
@programmingreddit
daniel.haxx.se
Detecting malicious Unicode
In a recent educational trick, curl contributor James Fuller submitted a pull-request to the project in which he suggested a larger cleanup of a set of scripts. In a later presentation, he could show us how not a single human reviewer in the team nor any…
The Dumbest Move in Tech Right Now: Laying Off Developers Because of AI
https://ppaolo.substack.com/p/the-dumbest-move-in-tech-right-now
https://redd.it/1kqfkso
@programmingreddit
https://ppaolo.substack.com/p/the-dumbest-move-in-tech-right-now
https://redd.it/1kqfkso
@programmingreddit
Substack
The Dumbest Move in Tech Right Now: Laying Off Developers Because of AI
AI-assisted coding doesn’t mean fewer developers—it means more ambitious, higher-quality products
The Windows Subsystem for Linux is now open source
https://blogs.windows.com/windowsdeveloper/2025/05/19/the-windows-subsystem-for-linux-is-now-open-source/
https://redd.it/1kqist6
@programmingreddit
https://blogs.windows.com/windowsdeveloper/2025/05/19/the-windows-subsystem-for-linux-is-now-open-source/
https://redd.it/1kqist6
@programmingreddit
Windows Developer Blog
The Windows Subsystem for Linux is now open source
Today we’re very excited to announce the open-source release of the Windows Subsystem for Linux. This is the result of a multiyear effort to prepare for this, and a great closure to the first ever issue raised on the Microsoft/WSL repo:
Rust turns 10: How a broken elevator changed software forever
https://www.zdnet.com/article/rust-turns-10-how-a-broken-elevator-changed-software-forever/
https://redd.it/1kraxbm
@programmingreddit
https://www.zdnet.com/article/rust-turns-10-how-a-broken-elevator-changed-software-forever/
https://redd.it/1kraxbm
@programmingreddit
ZDNET
Rust turns 10: How a broken elevator changed software forever
Rust 1.0 shipped in May 2015. Here's how it came about and why it marked a turning point in the world of software development.
GitHub wants to spam open source projects with AI slop
https://youtube.com/watch?v=XM1EPHaHBuM&si=HaO1jkOh8weRjzUI
https://redd.it/1krh71o
@programmingreddit
https://youtube.com/watch?v=XM1EPHaHBuM&si=HaO1jkOh8weRjzUI
https://redd.it/1krh71o
@programmingreddit
YouTube
GitHub wants to spam open source projects with AI slop
the dead GitHub theory
Text version: https://pivot-to-ai.com/2025/05/20/github-wants-to-spam-open-source-projects-with-ai-slop/
Please send money! It’s very helpful!
Patreon: https://www.patreon.com/davidgerard
Ko-Fi: https://ko-fi.com/A1529D5
Buy me nice…
Text version: https://pivot-to-ai.com/2025/05/20/github-wants-to-spam-open-source-projects-with-ai-slop/
Please send money! It’s very helpful!
Patreon: https://www.patreon.com/davidgerard
Ko-Fi: https://ko-fi.com/A1529D5
Buy me nice…
System Design: Building TikTok-Style Video Feed for 100 Million Users
https://animeshgaitonde.medium.com/system-design-building-tiktok-style-video-feed-for-100-million-users-2b3e332678d8?source=friends_link&sk=a605eff6c53e53fb391e1e1f000c7f51
https://redd.it/1krrumv
@programmingreddit
https://animeshgaitonde.medium.com/system-design-building-tiktok-style-video-feed-for-100-million-users-2b3e332678d8?source=friends_link&sk=a605eff6c53e53fb391e1e1f000c7f51
https://redd.it/1krrumv
@programmingreddit
Medium
System Design: Building TikTok-Style Video Feed for 100 Million Users
A deep dive into architecture, scalability, and real-time data delivery at scale
Why Property Testing Finds Bugs Unit Testing Does Not
https://buttondown.com/hillelwayne/archive/why-property-testing-finds-bugs-unit-testing-does/
https://redd.it/1ksafg1
@programmingreddit
https://buttondown.com/hillelwayne/archive/why-property-testing-finds-bugs-unit-testing-does/
https://redd.it/1ksafg1
@programmingreddit
Buttondown
Why Property Testing Finds Bugs Unit Testing Does Not
I intended this newsletter to be my thoughts without editing, and I have a new thought, so here goes. I want to respond to this discussion: But Kids These...
Reading code is still the most effective method to debug multi-thread bug
https://nanxiao.me/en/reading-code-is-still-the-most-effective-method-to-debug-multi-thread-bug/
https://redd.it/1ksae6c
@programmingreddit
https://nanxiao.me/en/reading-code-is-still-the-most-effective-method-to-debug-multi-thread-bug/
https://redd.it/1ksae6c
@programmingreddit
Nan Xiao's Blog | A system software / performance engineer's home
Reading code is still the most effective method to debug multi-thread bug | Nan Xiao's Blog
In the past month, I fixed two multi-thread bug, and the symptoms of these two bugs are: a) For the first bug: some threads are dead-locked. This bug only occurs on few production machines, and the frequency is not high. And this bug never happens in testbed.…
Things You Should Never Do, Part I
https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/
https://redd.it/1ksi96i
@programmingreddit
https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/
https://redd.it/1ksi96i
@programmingreddit
Joel on Software
Things You Should Never Do, Part I
Netscape 6.0 is finally going into its first public beta. There never was a version 5.0. The last major release, version 4.0, was released almost three years ago. Three years is an awfully long tim…