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

How I cheated on transactions. Or how to make tradeoffs based on my Cloudflare D1 support
https://www.reddit.com/r/programming/comments/1r68mwy/how_i_cheated_on_transactions_or_how_to_make/

submitted by /u/Adventurous-Salt8514 (https://www.reddit.com/user/Adventurous-Salt8514)
[link] (https://event-driven.io/en/cloudflare_d1_transactions_and_tradeoffs/) [comments] (https://www.reddit.com/r/programming/comments/1r68mwy/how_i_cheated_on_transactions_or_how_to_make/)

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

Reddit Programming

New Architecture Could Cut Quantum Hardware Needed to Break RSA-2048 by Tenfold, Study Finds
https://www.reddit.com/r/programming/comments/1r62p3i/new_architecture_could_cut_quantum_hardware/

submitted by /u/donutloop (https://www.reddit.com/user/donutloop)
[link] (https://thequantuminsider.com/2026/02/13/new-architecture-could-cut-quantum-hardware-needed-to-break-rsa-2048-by-tenfold-study-finds/) [comments] (https://www.reddit.com/r/programming/comments/1r62p3i/new_architecture_could_cut_quantum_hardware/)

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

Reddit Programming

How I Secured a .NET Minimal API Using JWT (Step-by-Step Explanation)
https://www.reddit.com/r/programming/comments/1r5xzhh/how_i_secured_a_net_minimal_api_using_jwt/

submitted by /u/digitaltechj (https://www.reddit.com/user/digitaltechj)
[link] (https://youtu.be/3S8wQnquxp8) [comments] (https://www.reddit.com/r/programming/comments/1r5xzhh/how_i_secured_a_net_minimal_api_using_jwt/)

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

Reddit Programming

How to Choose Between Hindley-Milner and Bidirectional Typing
https://www.reddit.com/r/programming/comments/1r5lg6n/how_to_choose_between_hindleymilner_and/

submitted by /u/thunderseethe (https://www.reddit.com/user/thunderseethe)
[link] (https://thunderseethe.dev/posts/how-to-choose-between-hm-and-bidir/) [comments] (https://www.reddit.com/r/programming/comments/1r5lg6n/how_to_choose_between_hindleymilner_and/)

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

Reddit Programming

Observability for AI Workloads: A New Paradigm for a New Era
https://www.reddit.com/r/programming/comments/1r5g5sk/observability_for_ai_workloads_a_new_paradigm_for/

<!-- SC_OFF -->Everyone's rushing to deploy AI workloads in production. but what about observability for these workloads? AI workloads introduce entirely new observability needs around model evaluation, cost attribution, and AI safety that didn’t exist before. Even more surprisingly, AI workloads force us to rethink fundamental assumptions baked into our “traditional” observability practices: assumptions about throughput, latency tolerances, and payload sizes. Curious to hear more insights on this topic from others here. <!-- SC_ON --> submitted by /u/horovits (https://www.reddit.com/user/horovits)
[link] (https://medium.com/p/b8972ba1b6ba) [comments] (https://www.reddit.com/r/programming/comments/1r5g5sk/observability_for_ai_workloads_a_new_paradigm_for/)

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

Reddit Programming

Ring programming language version 1.26 is released!
https://www.reddit.com/r/programming/comments/1r5dyof/ring_programming_language_version_126_is_released/

submitted by /u/mrpro1a1 (https://www.reddit.com/user/mrpro1a1)
[link] (https://ring-lang.github.io/doc1.26/whatisnew26.html) [comments] (https://www.reddit.com/r/programming/comments/1r5dyof/ring_programming_language_version_126_is_released/)

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

Reddit Programming

Solving the "Dual Write" Problem in Microservices with the Transactional Outbox Pattern (Spring Boot + Kafka)
https://www.reddit.com/r/programming/comments/1r5agnp/solving_the_dual_write_problem_in_microservices/

<!-- SC_OFF -->Hey everyone, One of the biggest headaches in distributed systems is ensuring data consistency when you need to update a database and notify another service (via Kafka/RabbitMQ) at the same time. If the DB commit succeeds but the message fails to send, your system is now inconsistent. I put together a deep dive on the Transactional Outbox Pattern to solve this. The scenario I used: A Pizza Shop ordering system. The Order Service saves the order, but if the message to the Inventory Service is lost, you have a hungry customer and a broken stock count. What’s covered in the implementation: The "Dual Write" Trap: Why u/Transactional (https://www.reddit.com/user/Transactional/) isn't enough when external brokers are involved. The Outbox Table: How to treat business logic and event publishing as one unbreakable unit. The Poller Service: Setting up a scheduled relay service to query and publish unprocessed events. Alternatives: Brief mention of CDC (Debezium) and the Saga Pattern for heavier requirements. Tech Stack: Java 21 Spring Boot 3.x Kafka & Docker Desktop PostgreSQL I’ve included a full demo showing both a Success Scenario (eventual consistency) and a Failure/Rollback Scenario (simulating a 10/0 error to show how the Outbox prevents ghost messages). Full Video Deep Dive: https://youtu.be/HK4tH17lljM GitHub Repo: https://github.com/abchatterjee7 I'd love to hear how you guys are handling distributed transactions, are you team Outbox, or do you prefer CDC/Debezium for this? <!-- SC_ON --> submitted by /u/aadiraj48 (https://www.reddit.com/user/aadiraj48)
[link] (https://youtu.be/HK4tH17lljM) [comments] (https://www.reddit.com/r/programming/comments/1r5agnp/solving_the_dual_write_problem_in_microservices/)

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

Reddit Programming

The Next Two Years of Software Engineering
https://www.reddit.com/r/programming/comments/1r58zqv/the_next_two_years_of_software_engineering/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://addyosmani.com/blog/next-two-years/) [comments] (https://www.reddit.com/r/programming/comments/1r58zqv/the_next_two_years_of_software_engineering/)

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

Reddit Programming

Integrating a log management platform with Dokploy
https://www.reddit.com/r/programming/comments/1r4qhbr/integrating_a_log_management_platform_with_dokploy/

submitted by /u/tanin47 (https://www.reddit.com/user/tanin47)
[link] (https://tanin.nanakorn.com/integrating-a-log-management-platform-with-dokploy/) [comments] (https://www.reddit.com/r/programming/comments/1r4qhbr/integrating_a_log_management_platform_with_dokploy/)

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

Reddit Programming

One line of code, 102 blocked threads
https://www.reddit.com/r/programming/comments/1r4m2rs/one_line_of_code_102_blocked_threads/

<!-- SC_OFF -->Wrote up the full investigation with thread dumps and JDK source analysis here: medium.com/@nik6/a-deep-dive-into-classloader-contention-in-java-a0415039b0c1 (nik6/a-deep-dive-into-classloader-contention-in-java-a0415039b0c1" rel="nofollow">http://medium.com/@nik6/a-deep-dive-into-classloader-contention-in-java-a0415039b0c1) <!-- SC_ON --> submitted by /u/nk_25 (https://www.reddit.com/user/nk_25)
[link] (nik6/a-deep-dive-into-classloader-contention-in-java-a0415039b0c1" rel="nofollow">https://medium.com/@nik6/a-deep-dive-into-classloader-contention-in-java-a0415039b0c1) [comments] (https://www.reddit.com/r/programming/comments/1r4m2rs/one_line_of_code_102_blocked_threads/)

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

Reddit Programming

Micro Frontends: When They Make Sense and When They Don’t
https://www.reddit.com/r/programming/comments/1r4dkgx/micro_frontends_when_they_make_sense_and_when/

submitted by /u/archunit (https://www.reddit.com/user/archunit)
[link] (https://lukasniessen.medium.com/micro-frontends-when-they-make-sense-and-when-they-dont-a1a06b726065) [comments] (https://www.reddit.com/r/programming/comments/1r4dkgx/micro_frontends_when_they_make_sense_and_when/)

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

Reddit Programming

In a relationship with Git — a Valentine’s Day story every developer will understand
https://www.reddit.com/r/programming/comments/1r4cbgy/in_a_relationship_with_git_a_valentines_day_story/

submitted by /u/SulthanNK (https://www.reddit.com/user/SulthanNK)
[link] (https://www.reddit.com/r/developersIndia/comments/1r4caam/in_a_relationship_with_git_a_valentines_day_story/) [comments] (https://www.reddit.com/r/programming/comments/1r4cbgy/in_a_relationship_with_git_a_valentines_day_story/)

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

Reddit Programming

Design Decision: Technical Debt in BillaBear
https://www.reddit.com/r/programming/comments/1r3myvg/design_decision_technical_debt_in_billabear/

submitted by /u/that_guy_iain (https://www.reddit.com/user/that_guy_iain)
[link] (https://iain.rocks/blog/technical-debt-in-billabear) [comments] (https://www.reddit.com/r/programming/comments/1r3myvg/design_decision_technical_debt_in_billabear/)

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

Reddit Programming

My Business as Code
https://www.reddit.com/r/programming/comments/1r3mlab/my_business_as_code/

<!-- SC_OFF -->After a recent peak in interest for a post about "company-as-code" on my blog, I thought it might be nice to follow up and show how I'm approaching this practically with Firm in my small business. Hope you find it interesting! <!-- SC_ON --> submitted by /u/danielrothmann (https://www.reddit.com/user/danielrothmann)
[link] (https://blog.42futures.com/p/my-business-as-code) [comments] (https://www.reddit.com/r/programming/comments/1r3mlab/my_business_as_code/)

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

Reddit Programming

Google might think your Website is down
https://www.reddit.com/r/programming/comments/1r3lr2c/google_might_think_your_website_is_down/

submitted by /u/omarous (https://www.reddit.com/user/omarous)
[link] (https://codeinput.com/blog/google-seo) [comments] (https://www.reddit.com/r/programming/comments/1r3lr2c/google_might_think_your_website_is_down/)

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

Reddit Programming

Why “Skip the Code, Ship the Binary” Is a Category Error
https://www.reddit.com/r/programming/comments/1r65ee0/why_skip_the_code_ship_the_binary_is_a_category/

<!-- SC_OFF -->So recently Elon Musk is floating the idea that by 2026 you “won’t even bother coding” because models will “create the binary directly”. This sounds futuristic until you stare at what compilers actually are. A compiler is already the “idea to binary” machine, except it has a formal language, a spec, deterministic transforms, and a pipeline built around checkability. Same inputs, same output. If it’s wrong, you get an error at a line and a reason. The “skip the code” pitch is basically saying: let’s remove the one layer that humans can read, diff, review, debug, and audit, and jump straight to the most fragile artifact in the whole stack. Cool. Now when something breaks, you don’t inspect logic, you just reroll the slot machine. Crash? regenerate. Memory corruption? regenerate. Security bug? regenerate harder. Software engineering, now with gacha mechanics. 🤡 Also, binary isn’t forgiving. Source code can be slightly wrong and your compiler screams at you. Binary can be one byte wrong and you get a ghost story: undefined behavior, silent corruption, “works on my machine” but in production it’s haunted...you all know that. The real category error here is mixing up two things: compilers are semantics-preserving transformers over formal systems, LLMs are stochastic text generators that need external verification to be trusted. If you add enough verification to make “direct binary generation” safe, congrats, you just reinvented the compiler toolchain, only with extra steps and less visibility. I wrote a longer breakdown on this because the “LLMs replaces coding” headlines miss what actually matters: verification, maintainability, and accountability. I am interested in hearing the steelman from anyone who’s actually shipped systems at scale. <!-- SC_ON --> submitted by /u/tirtha_s (https://www.reddit.com/user/tirtha_s)
[link] (https://open.substack.com/pub/engrlog/p/why-skip-the-code-ship-the-binary?r=779hy&amp;utm_campaign=post&amp;utm_medium=web&amp;showWelcomeOnShare=true) [comments] (https://www.reddit.com/r/programming/comments/1r65ee0/why_skip_the_code_ship_the_binary_is_a_category/)

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

Reddit Programming

Regular Expression Matching Can Be Simple And Fast (but is slow in Java, Perl, PHP, Python, Ruby, …)
https://www.reddit.com/r/programming/comments/1r5zkb8/regular_expression_matching_can_be_simple_and/

<!-- SC_OFF -->The article contrasts backtracking implementations (common in many mainstream languages) with Thompson NFA-based engines and shows how certain patterns can lead to catastrophic exponential behavior. It includes benchmarks and a simplified implementation explanation. Even though it’s from 2007, the performance trade-offs and algorithmic discussion are still relevant today. <!-- SC_ON --> submitted by /u/Digitalunicon (https://www.reddit.com/user/Digitalunicon)
[link] (https://swtch.com/~rsc/regexp/regexp1.html) [comments] (https://www.reddit.com/r/programming/comments/1r5zkb8/regular_expression_matching_can_be_simple_and/)

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

Reddit Programming

How Michael Abrash doubled Quake framerate
https://www.reddit.com/r/programming/comments/1r5ni65/how_michael_abrash_doubled_quake_framerate/

submitted by /u/NXGZ (https://www.reddit.com/user/NXGZ)
[link] (https://fabiensanglard.net/quake_asm_optimizations/index.html) [comments] (https://www.reddit.com/r/programming/comments/1r5ni65/how_michael_abrash_doubled_quake_framerate/)

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

Reddit Programming

AI to stay in Flow - a personal decision on how I chose to (not) use AI
https://www.reddit.com/r/programming/comments/1r5l0p9/ai_to_stay_in_flow_a_personal_decision_on_how_i/

<!-- SC_OFF -->👋 This is a bit different take on programming with AI, instead of going more in the vibecoding direction, I'll try to use AI to stay get into the "zone", into the flow state. I'd love to hear other ideas how AI can be used in a way to empower us instead taking away. How can AI leave the hard parts to us, but give us better focus on it? <!-- SC_ON --> submitted by /u/shrupixd (https://www.reddit.com/user/shrupixd)
[link] (https://www.dev-log.me/ai_to_stay_in_flow/) [comments] (https://www.reddit.com/r/programming/comments/1r5l0p9/ai_to_stay_in_flow_a_personal_decision_on_how_i/)

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

Reddit Programming

Redefining Go Functions
https://www.reddit.com/r/programming/comments/1r5f9xz/redefining_go_functions/

submitted by /u/stackoverflooooooow (https://www.reddit.com/user/stackoverflooooooow)
[link] (https://pboyd.io/posts/redefining-go-functions) [comments] (https://www.reddit.com/r/programming/comments/1r5f9xz/redefining_go_functions/)

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

Reddit Programming

Rethinking Java Web UIs with Jakarta Faces and Quarkus
https://www.reddit.com/r/programming/comments/1r5cldu/rethinking_java_web_uis_with_jakarta_faces_and/

submitted by /u/henk53 (https://www.reddit.com/user/henk53)
[link] (https://www.simplex-software.fr/posts-archive/quarkuspf/) [comments] (https://www.reddit.com/r/programming/comments/1r5cldu/rethinking_java_web_uis_with_jakarta_faces_and/)

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

Reddit Programming

Package Management Namespaces
https://www.reddit.com/r/programming/comments/1r59xjq/package_management_namespaces/

submitted by /u/max123246 (https://www.reddit.com/user/max123246)
[link] (https://nesbitt.io/2026/02/14/package-management-namespaces.html) [comments] (https://www.reddit.com/r/programming/comments/1r59xjq/package_management_namespaces/)

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

Reddit Programming

What security engineers need to know about quantum cryptography in 2026 (beyond the buzzwords)
https://www.reddit.com/r/programming/comments/1r4r7v4/what_security_engineers_need_to_know_about/

<!-- SC_OFF -->Honest technical assessment of PQC vs QKD, hybrid modes, and why fixing your basic security hygiene matters way more than worrying about quantum computers right now. https://cybernews-node.blogspot.com/2026/02/quantum-cryptography-in-2026-still-more.html <!-- SC_ON --> submitted by /u/No_Fisherman1212 (https://www.reddit.com/user/No_Fisherman1212)
[link] (https://cybernews-node.blogspot.com/2026/02/quantum-cryptography-in-2026-still-more.html) [comments] (https://www.reddit.com/r/programming/comments/1r4r7v4/what_security_engineers_need_to_know_about/)

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

Reddit Programming

Evolving Git for the next decade
https://www.reddit.com/r/programming/comments/1r4o4px/evolving_git_for_the_next_decade/

submitted by /u/symbolicard (https://www.reddit.com/user/symbolicard)
[link] (https://lwn.net/SubscriberLink/1057561/bddc1e61152fadf6/) [comments] (https://www.reddit.com/r/programming/comments/1r4o4px/evolving_git_for_the_next_decade/)

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

Reddit Programming

AI usage in popular open source projects
https://www.reddit.com/r/programming/comments/1r4fst5/ai_usage_in_popular_open_source_projects/

<!-- SC_OFF -->As the AI ecosystem continues to evolve the policies so does the policies towards AI usage in open source projects. There has been a lot of talk around usage of AI reducing the need for software engineers as AI is promoted to handle most of the coding work. But the open source community has not seen the improvements claimed with only 1-2% of the AI assisted code assisted found in large open source projects in the last couple of years. Open source projects are also taking increasing stance on the AI slop with strong guidelines on the responsibility of the contributor to understand the code before proposing the changes. Some projects have also banned AI code submissions due to increased AI slop and poor quality of contributions taking a lot of maintainer time and the copyright issues of the contributed code. <!-- SC_ON --> submitted by /u/xtreak (https://www.reddit.com/user/xtreak)
[link] (https://tirkarthi.github.io/programming/2026/02/13/genai-oss.html) [comments] (https://www.reddit.com/r/programming/comments/1r4fst5/ai_usage_in_popular_open_source_projects/)

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

Reddit Programming

Tired of broken Selenium scripts? Try letting AI handle browser automation
https://www.reddit.com/r/programming/comments/1r4d3je/tired_of_broken_selenium_scripts_try_letting_ai/

<!-- SC_OFF -->Spent years maintaining fragile Selenium/Playwright scripts until I tried AGBCLOUD (https://agb.cloud/)'s Browser Use feature. Give the agent a goal ("scrape pricing from competitor sites") and it handles DOM changes, logins, CAPTCHAs (with human-in-loop) autonomously. No more XPath hell. Has anyone built production scrapers with agent-based approaches? <!-- SC_ON --> submitted by /u/skipdaballs (https://www.reddit.com/user/skipdaballs)
[link] (https://agb.cloud/) [comments] (https://www.reddit.com/r/programming/comments/1r4d3je/tired_of_broken_selenium_scripts_try_letting_ai/)

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

Reddit Programming

Rendering the visible spectrum
https://www.reddit.com/r/programming/comments/1r4c7eb/rendering_the_visible_spectrum/

submitted by /u/thepowderguy (https://www.reddit.com/user/thepowderguy)
[link] (https://brandonli.net/spectra/doc/) [comments] (https://www.reddit.com/r/programming/comments/1r4c7eb/rendering_the_visible_spectrum/)

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

Reddit Programming

Recovered 1973 diving decompression algorithm
https://www.reddit.com/r/programming/comments/1r3msai/recovered_1973_diving_decompression_algorithm/

<!-- SC_OFF -->Originally by u/edelprino (https://www.reddit.com/u/edelprino), at https://www.reddit.com/r/scuba/comments/1r3kwld/i_recovered_the_1973_dciem_decompression_model/ A FORTRAN program from 1973, used to calculate safe diving limits. <!-- SC_ON --> submitted by /u/thunderbird89 (https://www.reddit.com/user/thunderbird89)
[link] (https://github.com/edelprino/DCIEM?tab=readme-ov-file) [comments] (https://www.reddit.com/r/programming/comments/1r3msai/recovered_1973_diving_decompression_algorithm/)

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

Reddit Programming

Allocators from C to Zig
https://www.reddit.com/r/programming/comments/1r3m0vp/allocators_from_c_to_zig/

submitted by /u/Nuoji (https://www.reddit.com/user/Nuoji)
[link] (https://antonz.org/allocators/) [comments] (https://www.reddit.com/r/programming/comments/1r3m0vp/allocators_from_c_to_zig/)

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

Reddit Programming

Harness engineering: leveraging Codex in an agent-first world
https://www.reddit.com/r/programming/comments/1r3kjqt/harness_engineering_leveraging_codex_in_an/

submitted by /u/SnooWords9033 (https://www.reddit.com/user/SnooWords9033)
[link] (https://openai.com/index/harness-engineering/) [comments] (https://www.reddit.com/r/programming/comments/1r3kjqt/harness_engineering_leveraging_codex_in_an/)

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