Addressing the 'gray area' between High-Level and Low-Level Design - a Software Design tutorial
https://www.reddit.com/r/programming/comments/1pdbob0/addressing_the_gray_area_between_highlevel_and/
<!-- SC_OFF -->Hi everyone. I’ve written a deep dive into Software Design focusing on the "gray area" between High-Level Design (system architecture) and Low-Level Design (classes/functions). What's inside: A step-by-step tutorial refactoring a legacy big-ball-of-mud into self-contained modules. A bit of a challenge to Clean/Hexagonal Architectures with a pattern I've seen in the wild (which I named MIM in the text). A solid appendix on the fundamentals of Modular Design. (Warning: It’s a long read. I’ve seen shorter ebooks on Leanpub). BTW, AI wasn't used in the writing of this text until proofreading. <!-- SC_ON --> submitted by /u/codingfox7 (https://www.reddit.com/user/codingfox7)
[link] (https://codingfox.net.pl/posts/mim/) [comments] (https://www.reddit.com/r/programming/comments/1pdbob0/addressing_the_gray_area_between_highlevel_and/)
https://www.reddit.com/r/programming/comments/1pdbob0/addressing_the_gray_area_between_highlevel_and/
<!-- SC_OFF -->Hi everyone. I’ve written a deep dive into Software Design focusing on the "gray area" between High-Level Design (system architecture) and Low-Level Design (classes/functions). What's inside: A step-by-step tutorial refactoring a legacy big-ball-of-mud into self-contained modules. A bit of a challenge to Clean/Hexagonal Architectures with a pattern I've seen in the wild (which I named MIM in the text). A solid appendix on the fundamentals of Modular Design. (Warning: It’s a long read. I’ve seen shorter ebooks on Leanpub). BTW, AI wasn't used in the writing of this text until proofreading. <!-- SC_ON --> submitted by /u/codingfox7 (https://www.reddit.com/user/codingfox7)
[link] (https://codingfox.net.pl/posts/mim/) [comments] (https://www.reddit.com/r/programming/comments/1pdbob0/addressing_the_gray_area_between_highlevel_and/)
Implementing a Framework for Closed-Loop Control Algorithms in Modern C++
https://www.reddit.com/r/programming/comments/1pdbw9c/implementing_a_framework_for_closedloop_control/
<!-- SC_OFF -->This article explores how modern C++ features can be used to create abstractions appropriate for embedded and high-performance applications. The framework utilizes features such as: template concepts NTTP lambdas monadic types such as std::expected In the article, I start with a basic "vanilla" C-style bang-bang control algorithm, and work up to a safer, more performant framework. The flexibility and safety of the interface is demonstrated via examples and even a few fully simulated control laws. The final code is also distributed as a freely available single-header library. There's a few recommended exercises in the article to test your knowledge and get more comfortable with the presented material! <!-- SC_ON --> submitted by /u/volatile-int (https://www.reddit.com/user/volatile-int)
[link] (https://www.volatileint.dev/posts/feedback-controller) [comments] (https://www.reddit.com/r/programming/comments/1pdbw9c/implementing_a_framework_for_closedloop_control/)
https://www.reddit.com/r/programming/comments/1pdbw9c/implementing_a_framework_for_closedloop_control/
<!-- SC_OFF -->This article explores how modern C++ features can be used to create abstractions appropriate for embedded and high-performance applications. The framework utilizes features such as: template concepts NTTP lambdas monadic types such as std::expected In the article, I start with a basic "vanilla" C-style bang-bang control algorithm, and work up to a safer, more performant framework. The flexibility and safety of the interface is demonstrated via examples and even a few fully simulated control laws. The final code is also distributed as a freely available single-header library. There's a few recommended exercises in the article to test your knowledge and get more comfortable with the presented material! <!-- SC_ON --> submitted by /u/volatile-int (https://www.reddit.com/user/volatile-int)
[link] (https://www.volatileint.dev/posts/feedback-controller) [comments] (https://www.reddit.com/r/programming/comments/1pdbw9c/implementing_a_framework_for_closedloop_control/)
Postgres CDC in ClickHouse, A year in review
https://www.reddit.com/r/programming/comments/1pdd3hu/postgres_cdc_in_clickhouse_a_year_in_review/
<!-- SC_OFF -->From the outside, Change Data Capture (CDC) appears straightforward - 'just read the WAL' - but real-world workloads reveal a very different reality. I spent sometime to write a honest technical retrospective on a year of Postgres CDC in production. 100x customer growth, 400+ companies, 200TB of monthly data. However, the real story lies in solving replication slot backpressure, long-running transactions, and the edge cases that only become apparent at midnight. https://clickhouse.com/blog/postgres-cdc-year-in-review-2025 Full breakdown of what shipped, what broke, and what's next. Would love to get your feedback! :) <!-- SC_ON --> submitted by /u/saipeerdb (https://www.reddit.com/user/saipeerdb)
[link] (https://clickhouse.com/blog/postgres-cdc-year-in-review-2025) [comments] (https://www.reddit.com/r/programming/comments/1pdd3hu/postgres_cdc_in_clickhouse_a_year_in_review/)
https://www.reddit.com/r/programming/comments/1pdd3hu/postgres_cdc_in_clickhouse_a_year_in_review/
<!-- SC_OFF -->From the outside, Change Data Capture (CDC) appears straightforward - 'just read the WAL' - but real-world workloads reveal a very different reality. I spent sometime to write a honest technical retrospective on a year of Postgres CDC in production. 100x customer growth, 400+ companies, 200TB of monthly data. However, the real story lies in solving replication slot backpressure, long-running transactions, and the edge cases that only become apparent at midnight. https://clickhouse.com/blog/postgres-cdc-year-in-review-2025 Full breakdown of what shipped, what broke, and what's next. Would love to get your feedback! :) <!-- SC_ON --> submitted by /u/saipeerdb (https://www.reddit.com/user/saipeerdb)
[link] (https://clickhouse.com/blog/postgres-cdc-year-in-review-2025) [comments] (https://www.reddit.com/r/programming/comments/1pdd3hu/postgres_cdc_in_clickhouse_a_year_in_review/)
Anthropic Internal Study Shows AI Is Taking Over Boring Code. But Is Software Engineering Losing Its Soul?
https://www.reddit.com/r/programming/comments/1pdqgtj/anthropic_internal_study_shows_ai_is_taking_over/
submitted by /u/warmeggnog (https://www.reddit.com/user/warmeggnog)
[link] (https://www.interviewquery.com/p/anthropic-ai-skill-erosion-report) [comments] (https://www.reddit.com/r/programming/comments/1pdqgtj/anthropic_internal_study_shows_ai_is_taking_over/)
https://www.reddit.com/r/programming/comments/1pdqgtj/anthropic_internal_study_shows_ai_is_taking_over/
submitted by /u/warmeggnog (https://www.reddit.com/user/warmeggnog)
[link] (https://www.interviewquery.com/p/anthropic-ai-skill-erosion-report) [comments] (https://www.reddit.com/r/programming/comments/1pdqgtj/anthropic_internal_study_shows_ai_is_taking_over/)
GitHub Wrapped 2025 | GitHub Unwrapp | Git Wrap
https://www.reddit.com/r/programming/comments/1pdt1qn/github_wrapped_2025_github_unwrapp_git_wrap/
<!-- SC_OFF -->Built Spotify wrap for GitHub users, already got 200+ users within an hr, go and check yours right now and get on the leaderboard asap! on: https://trygitwrap.com (https://trygitwrap.com/) <!-- SC_ON --> submitted by /u/Klausmikhaelson (https://www.reddit.com/user/Klausmikhaelson)
[link] (https://trygitwrap.com/) [comments] (https://www.reddit.com/r/programming/comments/1pdt1qn/github_wrapped_2025_github_unwrapp_git_wrap/)
https://www.reddit.com/r/programming/comments/1pdt1qn/github_wrapped_2025_github_unwrapp_git_wrap/
<!-- SC_OFF -->Built Spotify wrap for GitHub users, already got 200+ users within an hr, go and check yours right now and get on the leaderboard asap! on: https://trygitwrap.com (https://trygitwrap.com/) <!-- SC_ON --> submitted by /u/Klausmikhaelson (https://www.reddit.com/user/Klausmikhaelson)
[link] (https://trygitwrap.com/) [comments] (https://www.reddit.com/r/programming/comments/1pdt1qn/github_wrapped_2025_github_unwrapp_git_wrap/)
Django 6 New Features (2025): Full Breakdown with Examples
https://www.reddit.com/r/programming/comments/1pdtbw9/django_6_new_features_2025_full_breakdown_with/
<!-- SC_OFF -->What’s new in Django 6.0 (2025), from built-in CSP support and template partials to background tasks, modern email APIs, and more. Whether you’re a seasoned Django dev or just curious about the update, this post has something for everyone. <!-- SC_ON --> submitted by /u/Funny-Ad-5060 (https://www.reddit.com/user/Funny-Ad-5060)
[link] (https://pythonjournals.com/django-6-new-features-2025/) [comments] (https://www.reddit.com/r/programming/comments/1pdtbw9/django_6_new_features_2025_full_breakdown_with/)
https://www.reddit.com/r/programming/comments/1pdtbw9/django_6_new_features_2025_full_breakdown_with/
<!-- SC_OFF -->What’s new in Django 6.0 (2025), from built-in CSP support and template partials to background tasks, modern email APIs, and more. Whether you’re a seasoned Django dev or just curious about the update, this post has something for everyone. <!-- SC_ON --> submitted by /u/Funny-Ad-5060 (https://www.reddit.com/user/Funny-Ad-5060)
[link] (https://pythonjournals.com/django-6-new-features-2025/) [comments] (https://www.reddit.com/r/programming/comments/1pdtbw9/django_6_new_features_2025_full_breakdown_with/)
Patterns for Deploying OTel Collector at Scale
https://www.reddit.com/r/programming/comments/1pdzrcg/patterns_for_deploying_otel_collector_at_scale/
<!-- SC_OFF -->Hi! I write for a newsletter, and this week's edition, I covered the three main deployment patterns for OTel Collector at Scale. - Load balancer pattern - Multi-cluster pattern - Per-signal pattern I've also added tips on choosing your deployment pattern based on your architecture, as well as some first-hand advice from an OpenTelemetry contributor! Let me know if you enjoyed this! <!-- SC_ON --> submitted by /u/elizObserves (https://www.reddit.com/user/elizObserves)
[link] (https://newsletter.signoz.io/p/patterns-for-deploying-otel-collector) [comments] (https://www.reddit.com/r/programming/comments/1pdzrcg/patterns_for_deploying_otel_collector_at_scale/)
https://www.reddit.com/r/programming/comments/1pdzrcg/patterns_for_deploying_otel_collector_at_scale/
<!-- SC_OFF -->Hi! I write for a newsletter, and this week's edition, I covered the three main deployment patterns for OTel Collector at Scale. - Load balancer pattern - Multi-cluster pattern - Per-signal pattern I've also added tips on choosing your deployment pattern based on your architecture, as well as some first-hand advice from an OpenTelemetry contributor! Let me know if you enjoyed this! <!-- SC_ON --> submitted by /u/elizObserves (https://www.reddit.com/user/elizObserves)
[link] (https://newsletter.signoz.io/p/patterns-for-deploying-otel-collector) [comments] (https://www.reddit.com/r/programming/comments/1pdzrcg/patterns_for_deploying_otel_collector_at_scale/)
Petition: Oracle, it’s time to free JavaScript.
https://www.reddit.com/r/programming/comments/1pe2ohc/petition_oracle_its_time_to_free_javanoscript/
submitted by /u/TheTwelveYearOld (https://www.reddit.com/user/TheTwelveYearOld)
[link] (https://javanoscript.tm/letter) [comments] (https://www.reddit.com/r/programming/comments/1pe2ohc/petition_oracle_its_time_to_free_javanoscript/)
https://www.reddit.com/r/programming/comments/1pe2ohc/petition_oracle_its_time_to_free_javanoscript/
submitted by /u/TheTwelveYearOld (https://www.reddit.com/user/TheTwelveYearOld)
[link] (https://javanoscript.tm/letter) [comments] (https://www.reddit.com/r/programming/comments/1pe2ohc/petition_oracle_its_time_to_free_javanoscript/)
Remember XKCD’s legendary dependency comic? I finally built the thing we all joked about.
https://www.reddit.com/r/programming/comments/1pe2quy/remember_xkcds_legendary_dependency_comic_i/
<!-- SC_OFF -->Meet Stacktower: Turn your dependency graph into a real, wobbly, XKCD-style tower. <!-- SC_ON --> submitted by /u/schnitzeljogger (https://www.reddit.com/user/schnitzeljogger)
[link] (https://stacktower.io/) [comments] (https://www.reddit.com/r/programming/comments/1pe2quy/remember_xkcds_legendary_dependency_comic_i/)
https://www.reddit.com/r/programming/comments/1pe2quy/remember_xkcds_legendary_dependency_comic_i/
<!-- SC_OFF -->Meet Stacktower: Turn your dependency graph into a real, wobbly, XKCD-style tower. <!-- SC_ON --> submitted by /u/schnitzeljogger (https://www.reddit.com/user/schnitzeljogger)
[link] (https://stacktower.io/) [comments] (https://www.reddit.com/r/programming/comments/1pe2quy/remember_xkcds_legendary_dependency_comic_i/)
Prompt injection within GitHub Actions: Google Gemini and multiple other fortunate 500 companies vulnerable
https://www.reddit.com/r/programming/comments/1pe3cew/prompt_injection_within_github_actions_google/
<!-- SC_OFF -->So this is pretty crazy. Back in August we reported to Google a new class of vulnerability which is using prompt injection on GitHub Action workflows. Because all good vulnerabilities have a cute name we are calling it PromptPwnd This occus when you are using GitHub Actions and GitLab pipelines that integrate AI agents like Gemini CLI, Claude Code Actions, OpenAI Codex Actions, and GitHub AI Inference. What we found (high level): Untrusted user input (issue text, PR denoscriptions, commit messages) is being passed directly into AI prompts AI agents often have access to privileged tools (e.g., gh issue edit, shell commands) Combining the two allows prompt injection → unintended privileged actions This pattern appeared in at least 6 Fortune 500 companies, including Google Google’s Gemini CLI repo was affected and patched within 4 days of disclosure We confirmed real, exploitable proof-of-concept scenarios The underlying pattern:
Untrusted user input → injected into AI prompt → AI executes privileged tools → secrets leaked or workflows modified Example of a vulnerable workflow snippet: prompt: | Review the issue: "${{ github.event.issue.body }}" How to check if you're affected: Run Opengrep (we published open-source rules targeting this pattern) ttps://github.com/AikidoSec/opengrep-rules (https://github.com/AikidoSec/opengrep-rules) Or use Aikido’s CI/CD scanning Recommended mitigations: Restrict what tools AI agents can call Don’t inject untrusted text into prompts (sanitize if unavoidable) Treat all AI output as untrusted Use GitHub token IP restrictions to reduce blast radius If you’re experimenting with AI in CI/CD, this is a new attack surface worth auditing.
Link to full research: https://www.aikido.dev/blog/promptpwnd-github-actions-ai-agents <!-- SC_ON --> submitted by /u/Advocatemack (https://www.reddit.com/user/Advocatemack)
[link] (https://www.aikido.dev/blog/promptpwnd-github-actions-ai-agents) [comments] (https://www.reddit.com/r/programming/comments/1pe3cew/prompt_injection_within_github_actions_google/)
https://www.reddit.com/r/programming/comments/1pe3cew/prompt_injection_within_github_actions_google/
<!-- SC_OFF -->So this is pretty crazy. Back in August we reported to Google a new class of vulnerability which is using prompt injection on GitHub Action workflows. Because all good vulnerabilities have a cute name we are calling it PromptPwnd This occus when you are using GitHub Actions and GitLab pipelines that integrate AI agents like Gemini CLI, Claude Code Actions, OpenAI Codex Actions, and GitHub AI Inference. What we found (high level): Untrusted user input (issue text, PR denoscriptions, commit messages) is being passed directly into AI prompts AI agents often have access to privileged tools (e.g., gh issue edit, shell commands) Combining the two allows prompt injection → unintended privileged actions This pattern appeared in at least 6 Fortune 500 companies, including Google Google’s Gemini CLI repo was affected and patched within 4 days of disclosure We confirmed real, exploitable proof-of-concept scenarios The underlying pattern:
Untrusted user input → injected into AI prompt → AI executes privileged tools → secrets leaked or workflows modified Example of a vulnerable workflow snippet: prompt: | Review the issue: "${{ github.event.issue.body }}" How to check if you're affected: Run Opengrep (we published open-source rules targeting this pattern) ttps://github.com/AikidoSec/opengrep-rules (https://github.com/AikidoSec/opengrep-rules) Or use Aikido’s CI/CD scanning Recommended mitigations: Restrict what tools AI agents can call Don’t inject untrusted text into prompts (sanitize if unavoidable) Treat all AI output as untrusted Use GitHub token IP restrictions to reduce blast radius If you’re experimenting with AI in CI/CD, this is a new attack surface worth auditing.
Link to full research: https://www.aikido.dev/blog/promptpwnd-github-actions-ai-agents <!-- SC_ON --> submitted by /u/Advocatemack (https://www.reddit.com/user/Advocatemack)
[link] (https://www.aikido.dev/blog/promptpwnd-github-actions-ai-agents) [comments] (https://www.reddit.com/r/programming/comments/1pe3cew/prompt_injection_within_github_actions_google/)
A critical vulnerability has been identified in the React Server Components protocol
https://www.reddit.com/r/programming/comments/1pe3yv9/a_critical_vulnerability_has_been_identified_in/
submitted by /u/Ordinary_Leader_2971 (https://www.reddit.com/user/Ordinary_Leader_2971)
[link] (https://nextjs.org/blog/CVE-2025-66478) [comments] (https://www.reddit.com/r/programming/comments/1pe3yv9/a_critical_vulnerability_has_been_identified_in/)
https://www.reddit.com/r/programming/comments/1pe3yv9/a_critical_vulnerability_has_been_identified_in/
submitted by /u/Ordinary_Leader_2971 (https://www.reddit.com/user/Ordinary_Leader_2971)
[link] (https://nextjs.org/blog/CVE-2025-66478) [comments] (https://www.reddit.com/r/programming/comments/1pe3yv9/a_critical_vulnerability_has_been_identified_in/)
I ignore the spotlight as a staff engineer
https://www.reddit.com/r/programming/comments/1pe4vf7/i_ignore_the_spotlight_as_a_staff_engineer/
submitted by /u/iamkeyur (https://www.reddit.com/user/iamkeyur)
[link] (https://lalitm.com/software-engineering-outside-the-spotlight/) [comments] (https://www.reddit.com/r/programming/comments/1pe4vf7/i_ignore_the_spotlight_as_a_staff_engineer/)
https://www.reddit.com/r/programming/comments/1pe4vf7/i_ignore_the_spotlight_as_a_staff_engineer/
submitted by /u/iamkeyur (https://www.reddit.com/user/iamkeyur)
[link] (https://lalitm.com/software-engineering-outside-the-spotlight/) [comments] (https://www.reddit.com/r/programming/comments/1pe4vf7/i_ignore_the_spotlight_as_a_staff_engineer/)
Unpacking CVE-2025-55182: React Server Components RCE Exploit Deep Dive and SBOM-Driven Identification
https://www.reddit.com/r/programming/comments/1pe708d/unpacking_cve202555182_react_server_components/
submitted by /u/N1ghtCod3r (https://www.reddit.com/user/N1ghtCod3r)
[link] (https://safedep.io/react-server-nextjs-critical-vulnerability-find-and-fix-with-sbom) [comments] (https://www.reddit.com/r/programming/comments/1pe708d/unpacking_cve202555182_react_server_components/)
https://www.reddit.com/r/programming/comments/1pe708d/unpacking_cve202555182_react_server_components/
submitted by /u/N1ghtCod3r (https://www.reddit.com/user/N1ghtCod3r)
[link] (https://safedep.io/react-server-nextjs-critical-vulnerability-find-and-fix-with-sbom) [comments] (https://www.reddit.com/r/programming/comments/1pe708d/unpacking_cve202555182_react_server_components/)
Distributed Systems – A Deep Dive
https://www.reddit.com/r/programming/comments/1pe715a/distributed_systems_a_deep_dive/
submitted by /u/sdxyz42 (https://www.reddit.com/user/sdxyz42)
[link] (https://newsletter.systemdesign.one/p/distributed-systems) [comments] (https://www.reddit.com/r/programming/comments/1pe715a/distributed_systems_a_deep_dive/)
https://www.reddit.com/r/programming/comments/1pe715a/distributed_systems_a_deep_dive/
submitted by /u/sdxyz42 (https://www.reddit.com/user/sdxyz42)
[link] (https://newsletter.systemdesign.one/p/distributed-systems) [comments] (https://www.reddit.com/r/programming/comments/1pe715a/distributed_systems_a_deep_dive/)
Why WinQuake exists and how it works
https://www.reddit.com/r/programming/comments/1peb6vv/why_winquake_exists_and_how_it_works/
submitted by /u/NXGZ (https://www.reddit.com/user/NXGZ)
[link] (https://fabiensanglard.net/winquake/index.html) [comments] (https://www.reddit.com/r/programming/comments/1peb6vv/why_winquake_exists_and_how_it_works/)
https://www.reddit.com/r/programming/comments/1peb6vv/why_winquake_exists_and_how_it_works/
submitted by /u/NXGZ (https://www.reddit.com/user/NXGZ)
[link] (https://fabiensanglard.net/winquake/index.html) [comments] (https://www.reddit.com/r/programming/comments/1peb6vv/why_winquake_exists_and_how_it_works/)
Summary of AWS announcements affecting developers this week (Graviton5, Trainium3, Lambda changes, agent SDKs)
https://www.reddit.com/r/programming/comments/1pecplv/summary_of_aws_announcements_affecting_developers/
<!-- SC_OFF -->Some useful changes rolled out this week for developers. Better compute options, faster serverless performance, and a few updates that make building modern apps a bit smoother. There’s also some movement on tools for agent-style workflows. Just sharing a quick summary for anyone who wants the main points without digging through long announcements. <!-- SC_ON --> submitted by /u/Digitalunicon (https://www.reddit.com/user/Digitalunicon)
[link] (https://www.aboutamazon.com/news/aws/aws-re-invent-2025-ai-news-updates) [comments] (https://www.reddit.com/r/programming/comments/1pecplv/summary_of_aws_announcements_affecting_developers/)
https://www.reddit.com/r/programming/comments/1pecplv/summary_of_aws_announcements_affecting_developers/
<!-- SC_OFF -->Some useful changes rolled out this week for developers. Better compute options, faster serverless performance, and a few updates that make building modern apps a bit smoother. There’s also some movement on tools for agent-style workflows. Just sharing a quick summary for anyone who wants the main points without digging through long announcements. <!-- SC_ON --> submitted by /u/Digitalunicon (https://www.reddit.com/user/Digitalunicon)
[link] (https://www.aboutamazon.com/news/aws/aws-re-invent-2025-ai-news-updates) [comments] (https://www.reddit.com/r/programming/comments/1pecplv/summary_of_aws_announcements_affecting_developers/)
JDK 26 Rampdown Phase One. Feature Complete
https://www.reddit.com/r/programming/comments/1peedpk/jdk_26_rampdown_phase_one_feature_complete/
submitted by /u/davidalayachew (https://www.reddit.com/user/davidalayachew)
[link] (https://openjdk.org/projects/jdk/26/) [comments] (https://www.reddit.com/r/programming/comments/1peedpk/jdk_26_rampdown_phase_one_feature_complete/)
https://www.reddit.com/r/programming/comments/1peedpk/jdk_26_rampdown_phase_one_feature_complete/
submitted by /u/davidalayachew (https://www.reddit.com/user/davidalayachew)
[link] (https://openjdk.org/projects/jdk/26/) [comments] (https://www.reddit.com/r/programming/comments/1peedpk/jdk_26_rampdown_phase_one_feature_complete/)
Code editor Zed adds long-awaited rainbow brackets for improved nested code readability
https://www.reddit.com/r/programming/comments/1pefsao/code_editor_zed_adds_longawaited_rainbow_brackets/
submitted by /u/Little-Season-3433 (https://www.reddit.com/user/Little-Season-3433)
[link] (https://alternativeto.net/news/2025/12/code-editor-zed-adds-long-awaited-rainbow-brackets-for-improved-nested-code-readability/) [comments] (https://www.reddit.com/r/programming/comments/1pefsao/code_editor_zed_adds_longawaited_rainbow_brackets/)
https://www.reddit.com/r/programming/comments/1pefsao/code_editor_zed_adds_longawaited_rainbow_brackets/
submitted by /u/Little-Season-3433 (https://www.reddit.com/user/Little-Season-3433)
[link] (https://alternativeto.net/news/2025/12/code-editor-zed-adds-long-awaited-rainbow-brackets-for-improved-nested-code-readability/) [comments] (https://www.reddit.com/r/programming/comments/1pefsao/code_editor_zed_adds_longawaited_rainbow_brackets/)
Distributed Lock Failure: How Long GC Pauses Break Concurrency
https://www.reddit.com/r/programming/comments/1pege3b/distributed_lock_failure_how_long_gc_pauses_break/
<!-- SC_OFF -->Here’s what happened: Process A grabbed the lock from Redis, started processing a withdrawal, then Java decided it needed to run garbage collection. The entire process froze for 15 seconds while GC ran. Your lock had a 10-second TTL, so Redis expired it. Process B immediately grabbed the now-available lock and started its own withdrawal. Then Process A woke up from its GC-induced coma, completely unaware it lost the lock, and finished processing the withdrawal. Both processes just withdrew money from the same account. This isn’t a theoretical edge case. In production systems running on large heaps (32GB+), stop-the-world GC pauses of 10-30 seconds happen regularly. Your process doesn’t crash, it doesn’t log an error, it just freezes. Network connections stay alive. When it wakes up, it continues exactly where it left off, blissfully unaware that the world moved on without it. https://systemdr.substack.com/p/distributed-lock-failure-how-long https://github.com/sysdr/sdir/tree/main/paxos https://sdcourse.substack.com/p/hands-on-distributed-systems-with <!-- SC_ON --> submitted by /u/Extra_Ear_10 (https://www.reddit.com/user/Extra_Ear_10)
[link] (https://systemdr.substack.com/p/distributed-lock-failure-how-long) [comments] (https://www.reddit.com/r/programming/comments/1pege3b/distributed_lock_failure_how_long_gc_pauses_break/)
https://www.reddit.com/r/programming/comments/1pege3b/distributed_lock_failure_how_long_gc_pauses_break/
<!-- SC_OFF -->Here’s what happened: Process A grabbed the lock from Redis, started processing a withdrawal, then Java decided it needed to run garbage collection. The entire process froze for 15 seconds while GC ran. Your lock had a 10-second TTL, so Redis expired it. Process B immediately grabbed the now-available lock and started its own withdrawal. Then Process A woke up from its GC-induced coma, completely unaware it lost the lock, and finished processing the withdrawal. Both processes just withdrew money from the same account. This isn’t a theoretical edge case. In production systems running on large heaps (32GB+), stop-the-world GC pauses of 10-30 seconds happen regularly. Your process doesn’t crash, it doesn’t log an error, it just freezes. Network connections stay alive. When it wakes up, it continues exactly where it left off, blissfully unaware that the world moved on without it. https://systemdr.substack.com/p/distributed-lock-failure-how-long https://github.com/sysdr/sdir/tree/main/paxos https://sdcourse.substack.com/p/hands-on-distributed-systems-with <!-- SC_ON --> submitted by /u/Extra_Ear_10 (https://www.reddit.com/user/Extra_Ear_10)
[link] (https://systemdr.substack.com/p/distributed-lock-failure-how-long) [comments] (https://www.reddit.com/r/programming/comments/1pege3b/distributed_lock_failure_how_long_gc_pauses_break/)
When to Use Which Design Pattern? A Complete Guide to All 23 GoF Design Patterns
https://www.reddit.com/r/programming/comments/1pepblq/when_to_use_which_design_pattern_a_complete_guide/
<!-- SC_OFF -->Design patterns often confuse developers during interviews, not because they don’t understand the definitions, but because they struggle with WHEN to use WHICH Design Pattern (https://javatechonline.com/when-to-use-which-design-pattern-23-gof-pattern/) in real-life software design. This article gives scenario-based clarity on each pattern, making you interview-ready. Understanding the definition of a design pattern is easy. Knowing when to use which design pattern is what makes you an architect. This article covers all 23 Gang of Four (GoF) patterns with practical usage, reasoning, and real-world scenarios that help developers answer tough interview questions. If you build Java apps (or any object-oriented systems), this article makes pattern selection easy. No more guesswork. <!-- SC_ON --> submitted by /u/erdsingh24 (https://www.reddit.com/user/erdsingh24)
[link] (https://javatechonline.com/when-to-use-which-design-pattern-23-gof-pattern/) [comments] (https://www.reddit.com/r/programming/comments/1pepblq/when_to_use_which_design_pattern_a_complete_guide/)
https://www.reddit.com/r/programming/comments/1pepblq/when_to_use_which_design_pattern_a_complete_guide/
<!-- SC_OFF -->Design patterns often confuse developers during interviews, not because they don’t understand the definitions, but because they struggle with WHEN to use WHICH Design Pattern (https://javatechonline.com/when-to-use-which-design-pattern-23-gof-pattern/) in real-life software design. This article gives scenario-based clarity on each pattern, making you interview-ready. Understanding the definition of a design pattern is easy. Knowing when to use which design pattern is what makes you an architect. This article covers all 23 Gang of Four (GoF) patterns with practical usage, reasoning, and real-world scenarios that help developers answer tough interview questions. If you build Java apps (or any object-oriented systems), this article makes pattern selection easy. No more guesswork. <!-- SC_ON --> submitted by /u/erdsingh24 (https://www.reddit.com/user/erdsingh24)
[link] (https://javatechonline.com/when-to-use-which-design-pattern-23-gof-pattern/) [comments] (https://www.reddit.com/r/programming/comments/1pepblq/when_to_use_which_design_pattern_a_complete_guide/)
Code editor Zed adds long-awaited rainbow brackets for improved nested code readability
https://www.reddit.com/r/programming/comments/1pepjco/code_editor_zed_adds_longawaited_rainbow_brackets/
submitted by /u/Little-Season-3433 (https://www.reddit.com/user/Little-Season-3433)
[link] (https://alternativeto.net/news/2025/12/code-editor-zed-adds-long-awaited-rainbow-brackets-for-improved-nested-code-readability/) [comments] (https://www.reddit.com/r/programming/comments/1pepjco/code_editor_zed_adds_longawaited_rainbow_brackets/)
https://www.reddit.com/r/programming/comments/1pepjco/code_editor_zed_adds_longawaited_rainbow_brackets/
submitted by /u/Little-Season-3433 (https://www.reddit.com/user/Little-Season-3433)
[link] (https://alternativeto.net/news/2025/12/code-editor-zed-adds-long-awaited-rainbow-brackets-for-improved-nested-code-readability/) [comments] (https://www.reddit.com/r/programming/comments/1pepjco/code_editor_zed_adds_longawaited_rainbow_brackets/)