reddit_programming | Technologies

Telegram-канал reddit_programming - Reddit Programming

212

I will send you newest post from subreddit /r/programming

Subscribe to a channel

Reddit Programming

Cognitive Load is what matters
https://www.reddit.com/r/programming/comments/1n3i1y1/cognitive_load_is_what_matters/

<!-- SC_OFF -->Hi! It was posted a few times in past year, but every time I get valuable feedback. Thanks! <!-- SC_ON --> submitted by /u/RobinCrusoe25 (https://www.reddit.com/user/RobinCrusoe25)
[link] (https://github.com/zakirullin/cognitive-load) [comments] (https://www.reddit.com/r/programming/comments/1n3i1y1/cognitive_load_is_what_matters/)

Читать полностью…

Reddit Programming

Java 25's new CPU-Time Profiler
https://www.reddit.com/r/programming/comments/1n3gcq0/java_25s_new_cputime_profiler/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://mostlynerdless.de/blog/2025/06/11/java-25s-new-cpu-time-profiler-1/) [comments] (https://www.reddit.com/r/programming/comments/1n3gcq0/java_25s_new_cputime_profiler/)

Читать полностью…

Reddit Programming

A tour of dyn Trait
https://www.reddit.com/r/programming/comments/1n3gcmu/a_tour_of_dyn_trait/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://quinedot.github.io/rust-learning/dyn-trait.html) [comments] (https://www.reddit.com/r/programming/comments/1n3gcmu/a_tour_of_dyn_trait/)

Читать полностью…

Reddit Programming

Pyret: A programming language for programming education
https://www.reddit.com/r/programming/comments/1n3g825/pyret_a_programming_language_for_programming/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://pyret.org/) [comments] (https://www.reddit.com/r/programming/comments/1n3g825/pyret_a_programming_language_for_programming/)

Читать полностью…

Reddit Programming

Self-Healing Systems: Architectural Patterns
https://www.reddit.com/r/programming/comments/1n39yxo/selfhealing_systems_architectural_patterns/

<!-- SC_OFF -->Every self-healing system operates on three core principles that work in continuous loops: Detection: The System's Nervous System Modern self-healing relies on multi-layered health signals rather than simple ping checks. Netflix's microservices don't just monitor CPU and memory—they track business metrics like recommendation accuracy and user engagement rates. Circuit Breaker Integration: When a service's error rate crosses 50%, circuit breakers automatically isolate it while healing mechanisms activate. This prevents cascade failures during recovery. Behavioral Anomaly Detection: Systems learn normal patterns and detect deviations. A sudden 300% increase in database query time triggers healing before users notice slowness. Decision: The Healing Brain The decision engine determines the appropriate response based on failure type, system state, and historical success rates of different recovery strategies. Recovery Strategy Selection: Memory leaks trigger instance replacement, while network issues trigger retry with exponential backoff. Database connection exhaustion triggers connection pool scaling. Risk Assessment: Before taking action, the system evaluates potential impact. Restarting a critical service during peak hours might cause more damage than the original problem. Action: The Healing Hands Recovery actions range from gentle adjustments to aggressive interventions, always prioritizing system stability over perfect recovery. Graceful Degradation: Instead of complete failure, systems reduce functionality. YouTube serves lower-quality videos when CDN nodes fail rather than showing error pages. Progressive Recovery: Healing happens incrementally. One instance restarts at a time, with health verification before proceeding to the next. <!-- SC_ON --> submitted by /u/Extra_Ear_10 (https://www.reddit.com/user/Extra_Ear_10)
[link] (https://systemdr.substack.com/p/self-healing-systems-architectural) [comments] (https://www.reddit.com/r/programming/comments/1n39yxo/selfhealing_systems_architectural_patterns/)

Читать полностью…

Reddit Programming

Instacart Consolidates Search Infrastructure on Postgresql, Phasing out Elasticsearch
https://www.reddit.com/r/programming/comments/1n38n66/instacart_consolidates_search_infrastructure_on/

submitted by /u/rgancarz (https://www.reddit.com/user/rgancarz)
[link] (https://www.infoq.com/news/2025/08/instacart-elasticsearch-postgres/) [comments] (https://www.reddit.com/r/programming/comments/1n38n66/instacart_consolidates_search_infrastructure_on/)

Читать полностью…

Reddit Programming

Using git as a memory layer for AI code assistants
https://www.reddit.com/r/programming/comments/1n30oo9/using_git_as_a_memory_layer_for_ai_code_assistants/

<!-- SC_OFF -->Hey everyone, I've been exploring an interesting pattern: using git as a queryable memory for AI coding assistants. The problem: AI assistants like Claude have no memory between sessions and every debugging session means re-explaining your entire codebase burning lot of tokens. My approach: Auto-commit every file save to a parallel local hidden git repository, then expose git operations to the AI via MCP. Instead of feeding Claude my entire codebase, it now runs git commands directly on this hidden repo (which contains the full evolution of my codebase). The interesting part is that AI already speaks git fluently. It knows exactly which commands to run for different scenarios. Tradeoffs I'm seeing: - Pros: Massive token reduction, AI can trace bug introduction, perfect undo history - Cons: Disk usage (~12MB per 10k commits), another process running in background Has anyone else tried giving AI assistants access to version control? Thank you!
Alessandro <!-- SC_ON --> submitted by /u/Apart-Employment-592 (https://www.reddit.com/user/Apart-Employment-592)
[link] (https://github.com/blade47/shadowgit-mcp) [comments] (https://www.reddit.com/r/programming/comments/1n30oo9/using_git_as_a_memory_layer_for_ai_code_assistants/)

Читать полностью…

Reddit Programming

Real-World Case Study: Optimizing PostgreSQL Queries with Functional Indexes
https://www.reddit.com/r/programming/comments/1n2xlf4/realworld_case_study_optimizing_postgresql/

<!-- SC_OFF -->We at Mafiree recently published a case study on query optimization in PostgreSQL using functional indexes. It’s based on an actual production scenario where query performance was improved by rethinking indexing strategy. I’d love to hear how others here approach: Functional indexes in production environments Balancing index overhead with performance gains <!-- SC_ON --> submitted by /u/DbOpsNinja (https://www.reddit.com/user/DbOpsNinja)
[link] (https://www.mafiree.com/readBlog/optimizing-postgresql-queries-with-functional-indexes--a-real-world-case-study) [comments] (https://www.reddit.com/r/programming/comments/1n2xlf4/realworld_case_study_optimizing_postgresql/)

Читать полностью…

Reddit Programming

Some thoughts on LLMs and Software Development
https://www.reddit.com/r/programming/comments/1n2mxzw/some_thoughts_on_llms_and_software_development/

submitted by /u/MorroWtje (https://www.reddit.com/user/MorroWtje)
[link] (https://martinfowler.com/articles/202508-ai-thoughts.html) [comments] (https://www.reddit.com/r/programming/comments/1n2mxzw/some_thoughts_on_llms_and_software_development/)

Читать полностью…

Reddit Programming

Developers use AI more, but they trust it much less
https://www.reddit.com/r/programming/comments/1n2huph/developers_use_ai_more_but_they_trust_it_much_less/

submitted by /u/milanm08 (https://www.reddit.com/user/milanm08)
[link] (https://newsletter.techworld-with-milan.com/p/trends-8-developers-use-ai-more-but) [comments] (https://www.reddit.com/r/programming/comments/1n2huph/developers_use_ai_more_but_they_trust_it_much_less/)

Читать полностью…

Reddit Programming

The Koka programming language
https://www.reddit.com/r/programming/comments/1n2h16l/the_koka_programming_language/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://lwn.net/Articles/1033050/) [comments] (https://www.reddit.com/r/programming/comments/1n2h16l/the_koka_programming_language/)

Читать полностью…

Reddit Programming

The Basics of Anchor Positioning
https://www.reddit.com/r/programming/comments/1n2h0b3/the_basics_of_anchor_positioning/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://ishadeed.com/article/anchor-positioning/) [comments] (https://www.reddit.com/r/programming/comments/1n2h0b3/the_basics_of_anchor_positioning/)

Читать полностью…

Reddit Programming

Handling 500M clicks with a $4 VPS
https://www.reddit.com/r/programming/comments/1n2gupq/handling_500m_clicks_with_a_4_vps/

submitted by /u/hsym-x (https://www.reddit.com/user/hsym-x)
[link] (https://www.youtube.com/watch?v=nk3Ti0tCGvA) [comments] (https://www.reddit.com/r/programming/comments/1n2gupq/handling_500m_clicks_with_a_4_vps/)

Читать полностью…

Reddit Programming

Group Borrowing: Zero-Cost Memory Safety with Fewer Restrictions
https://www.reddit.com/r/programming/comments/1n2ay1p/group_borrowing_zerocost_memory_safety_with_fewer/

submitted by /u/verdagon (https://www.reddit.com/user/verdagon)
[link] (https://verdagon.dev/blog/group-borrowing) [comments] (https://www.reddit.com/r/programming/comments/1n2ay1p/group_borrowing_zerocost_memory_safety_with_fewer/)

Читать полностью…

Reddit Programming

🚀 MemCP: 300M rows in 2 minutes – Open Source compressed SQL engine
https://www.reddit.com/r/programming/comments/1n29vs2/memcp_300m_rows_in_2_minutes_open_source/

<!-- SC_OFF -->Hey folks, I’d like to share an Open Source project we’ve been working on: – an in-memory SQL engine that compresses data heavily and runs aggregations extremely fast. Here’s a benchmark from a real test: 300,000,000 rows (raw data: 33 GB JSON data performance traces) Compressed to 1.3 GB RAM SUM + GROUP BY query in ~2 minutes For comparison: MySQL would take hours/days; before optimization memcp was at ~20 minutes 👉 MemCP is Open Source – the goal is to grow a strong community around performance, features, and integrations.
👉 For companies, there’s optional commercial support (performance tuning, architecture consulting, etc.). Why might this be interesting? If you deal with huge logs, IoT sensor data, or transaction data, you know the pain of waiting for queries. MemCP provides a lightweight, compressed alternative to traditional RDBMS and heavy Big Data stacks. I’d love to hear your thoughts, ideas, and of course – contributors are very welcome!
➡️ Repo & docs: memcp.org (https://memcp.org/) Question to you:
Where do you see yourself using something like MemCP – BI, IoT, e-commerce analytics, research, …? <!-- SC_ON --> submitted by /u/Yjskura (https://www.reddit.com/user/Yjskura)
[link] (https://github.com/launix-de/memcp) [comments] (https://www.reddit.com/r/programming/comments/1n29vs2/memcp_300m_rows_in_2_minutes_open_source/)

Читать полностью…

Reddit Programming

The $69 Billion Domino Effect: How VMware’s Debt-Fueled Acquisition Is Killing Open Source, One Repository at a Time
https://www.reddit.com/r/programming/comments/1n3guzd/the_69_billion_domino_effect_how_vmwares/

<!-- SC_OFF -->Bitnami’s decision to end its free tier by August 2025 has sparked widespread outrage among developers who rely on its services. This change is part of Broadcom CEO Hock Tan’s strategy to monetize essential software following acquisitions, impacting countless users and forcing companies to either pay steep fees or undergo costly migrations. <!-- SC_ON --> submitted by /u/gamunu (https://www.reddit.com/user/gamunu)
[link] (https://fastcode.io/2025/08/30/the-69-billion-domino-effect-how-vmwares-debt-fueled-acquisition-is-killing-open-source-one-repository-at-a-time) [comments] (https://www.reddit.com/r/programming/comments/1n3guzd/the_69_billion_domino_effect_how_vmwares/)

Читать полностью…

Reddit Programming

Challenging LR Parsing
https://www.reddit.com/r/programming/comments/1n3gcoj/challenging_lr_parsing/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://rust-analyzer.github.io//blog/2020/09/16/challeging-LR-parsing.html) [comments] (https://www.reddit.com/r/programming/comments/1n3gcoj/challenging_lr_parsing/)

Читать полностью…

Reddit Programming

Simple but Powerful Pratt Parsing
https://www.reddit.com/r/programming/comments/1n3ga48/simple_but_powerful_pratt_parsing/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (http://matklad.github.io/2020/04/13/simple-but-powerful-pratt-parsing.html) [comments] (https://www.reddit.com/r/programming/comments/1n3ga48/simple_but_powerful_pratt_parsing/)

Читать полностью…

Reddit Programming

Aspects of modern HTML/CSS you may not be familiar with
https://www.reddit.com/r/programming/comments/1n3g6px/aspects_of_modern_htmlcss_you_may_not_be_familiar/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://lyra.horse/blog/2025/08/you-dont-need-js/) [comments] (https://www.reddit.com/r/programming/comments/1n3g6px/aspects_of_modern_htmlcss_you_may_not_be_familiar/)

Читать полностью…

Reddit Programming

Petition to stop Google's attack on Android devs
https://www.reddit.com/r/programming/comments/1n38vz6/petition_to_stop_googles_attack_on_android_devs/

<!-- SC_OFF -->Sign the petition! 🫵✊🤝 <!-- SC_ON --> submitted by /u/Clippy-Windows95 (https://www.reddit.com/user/Clippy-Windows95)
[link] (https://chng.it/7GrRtBnPtd) [comments] (https://www.reddit.com/r/programming/comments/1n38vz6/petition_to_stop_googles_attack_on_android_devs/)

Читать полностью…

Reddit Programming

The promise of Rust
https://www.reddit.com/r/programming/comments/1n355fd/the_promise_of_rust/

submitted by /u/Maybe-monad (https://www.reddit.com/user/Maybe-monad)
[link] (https://fasterthanli.me/articles/the-promise-of-rust) [comments] (https://www.reddit.com/r/programming/comments/1n355fd/the_promise_of_rust/)

Читать полностью…

Reddit Programming

Open source dilemma in the EU too: many see benefits, too few contribute
https://www.reddit.com/r/programming/comments/1n2xsd1/open_source_dilemma_in_the_eu_too_many_see/

submitted by /u/donutloop (https://www.reddit.com/user/donutloop)
[link] (https://www.heise.de/en/news/Open-source-dilemma-in-the-EU-too-many-see-benefits-too-few-contribute-10624536.html) [comments] (https://www.reddit.com/r/programming/comments/1n2xsd1/open_source_dilemma_in_the_eu_too_many_see/)

Читать полностью…

Reddit Programming

Python: The Documentary
https://www.reddit.com/r/programming/comments/1n2ueh2/python_the_documentary/

submitted by /u/10ForwardShift (https://www.reddit.com/user/10ForwardShift)
[link] (https://lwn.net/Articles/1035537/) [comments] (https://www.reddit.com/r/programming/comments/1n2ueh2/python_the_documentary/)

Читать полностью…

Reddit Programming

Tic-tac-toe meets Lean 4
https://www.reddit.com/r/programming/comments/1n2hw9n/tictactoe_meets_lean_4/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://ochagavia.nl/blog/tic-tac-toe-meets-lean-4/) [comments] (https://www.reddit.com/r/programming/comments/1n2hw9n/tictactoe_meets_lean_4/)

Читать полностью…

Reddit Programming

Rust for Everyone
https://www.reddit.com/r/programming/comments/1n2h1qp/rust_for_everyone/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.youtube.com/watch?v=R0dP-QR5wQo) [comments] (https://www.reddit.com/r/programming/comments/1n2h1qp/rust_for_everyone/)

Читать полностью…

Reddit Programming

Simple Smalltalk Testing: With Patterns (1994)
https://www.reddit.com/r/programming/comments/1n2h0su/simple_smalltalk_testing_with_patterns_1994/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://web.archive.org/web/20150315073817/http://www.xprogramming.com/testfram.htm) [comments] (https://www.reddit.com/r/programming/comments/1n2h0su/simple_smalltalk_testing_with_patterns_1994/)

Читать полностью…

Reddit Programming

Anything can be a message queue if you use it wrongly enough
https://www.reddit.com/r/programming/comments/1n2gwmb/anything_can_be_a_message_queue_if_you_use_it/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://xeiaso.net/blog/anything-message-queue) [comments] (https://www.reddit.com/r/programming/comments/1n2gwmb/anything_can_be_a_message_queue_if_you_use_it/)

Читать полностью…

Reddit Programming

Is MCP a Security Nightmare? A look into MCP Authorization
https://www.reddit.com/r/programming/comments/1n2fmv9/is_mcp_a_security_nightmare_a_look_into_mcp/

submitted by /u/Helpful_Geologist430 (https://www.reddit.com/user/Helpful_Geologist430)
[link] (https://cefboud.com/posts/mcp-oauth2-security-authorization/) [comments] (https://www.reddit.com/r/programming/comments/1n2fmv9/is_mcp_a_security_nightmare_a_look_into_mcp/)

Читать полностью…

Reddit Programming

What’s the one programming concept you wish you had learned earlier?
https://www.reddit.com/r/programming/comments/1n2amrg/whats_the_one_programming_concept_you_wish_you/

<!-- SC_OFF -->I’ve been coding for a while now, and something I’ve realized is that there are always concepts you wish you understood earlier—whether it’s clean code practices, debugging tricks, algorithms, or even version control. For me, it was understanding time complexity. Once I got a proper grip on Big O, my entire approach to problem-solving changed. Curious to know—what’s that one concept, tip, or habit in programming that you wish someone had told you about when you started? <!-- SC_ON --> submitted by /u/AsleepChildhood6085 (https://www.reddit.com/user/AsleepChildhood6085)
[link] (https://skyappzsoftware.in/) [comments] (https://www.reddit.com/r/programming/comments/1n2amrg/whats_the_one_programming_concept_you_wish_you/)

Читать полностью…

Reddit Programming

Part 2: API & DSL for flow-run (LLM orchestration, YAML-first)
https://www.reddit.com/r/programming/comments/1n29gfp/part_2_api_dsl_for_flowrun_llm_orchestration/

<!-- SC_OFF -->I’m doing second part of a system design for flow-run recorded in a live format <!-- SC_ON --> submitted by /u/Historical_Wing_9573 (https://www.reddit.com/user/Historical_Wing_9573)
[link] (https://youtu.be/R-ww0JP-Qao?si=3NlINK0Y0A3tlBJB) [comments] (https://www.reddit.com/r/programming/comments/1n29gfp/part_2_api_dsl_for_flowrun_llm_orchestration/)

Читать полностью…
Subscribe to a channel