reddit_programming | Technologies

Telegram-канал reddit_programming - Reddit Programming

214

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

Subscribe to a channel

Reddit Programming

Mastering Memory Management and Garbage Collection in .NET
https://www.reddit.com/r/programming/comments/1qb909x/mastering_memory_management_and_garbage/

submitted by /u/ReverseBlade (https://www.reddit.com/user/ReverseBlade)
[link] (https://nemorize.com/roadmaps/mastering-memory-management-and-garbage-collection-in-net) [comments] (https://www.reddit.com/r/programming/comments/1qb909x/mastering_memory_management_and_garbage/)

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

Reddit Programming

A Developer’s Guide to Naming Things Right
https://www.reddit.com/r/programming/comments/1qb6v0n/a_developers_guide_to_naming_things_right/

submitted by /u/sparkestine (https://www.reddit.com/user/sparkestine)
[link] (https://blog.stackademic.com/developer-guide-naming-conventions-a66203fd5665) [comments] (https://www.reddit.com/r/programming/comments/1qb6v0n/a_developers_guide_to_naming_things_right/)

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

Reddit Programming

Tech Debt: The Hidden Cost of “Quick Fixes”
https://www.reddit.com/r/programming/comments/1qb3mfc/tech_debt_the_hidden_cost_of_quick_fixes/

submitted by /u/sparkestine (https://www.reddit.com/user/sparkestine)
[link] (https://blog.mrinalmaheshwari.com/tech-debt-explained-simple-words-9ce90e70eb37) [comments] (https://www.reddit.com/r/programming/comments/1qb3mfc/tech_debt_the_hidden_cost_of_quick_fixes/)

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

Reddit Programming

Complexity, logic and data
https://www.reddit.com/r/programming/comments/1qayyfb/complexity_logic_and_data/

submitted by /u/alcoholov (https://www.reddit.com/user/alcoholov)
[link] (https://legacyfreecode.medium.com/solving-essential-complexity-8f932de3a467) [comments] (https://www.reddit.com/r/programming/comments/1qayyfb/complexity_logic_and_data/)

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

Reddit Programming

BTS of OpenTelemetry Auto-instrumentation
https://www.reddit.com/r/programming/comments/1qavzd8/bts_of_opentelemetry_autoinstrumentation/

submitted by /u/elizObserves (https://www.reddit.com/user/elizObserves)
[link] (https://newsletter.signoz.io/p/bts-of-opentelemetry-auto-instrumentation) [comments] (https://www.reddit.com/r/programming/comments/1qavzd8/bts_of_opentelemetry_autoinstrumentation/)

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

Reddit Programming

Domain-Composed Models (DCM): a pragmatic middle ground between Active Record and Clean DDD
https://www.reddit.com/r/programming/comments/1qast8w/domaincomposed_models_dcm_a_pragmatic_middle/

<!-- SC_OFF -->I wrote an article exploring a pattern we converged on in practice when Active Record became too coupled, but repository-heavy Clean DDD felt like unnecessary ceremony for the problem at hand. The idea is to keep domain behavior close to ORM-backed models, while expressing business rules in infra-agnostic mixins that depend on explicit behavioral contracts (hooks). The concrete model implements those hooks using persistence concerns. It’s not a replacement for DDD, and not a defense of Active Record either — more an attempt to formalize a pragmatic middle ground that many teams seem to arrive at organically. The article uses a simple hotel booking example (Python / SQLAlchemy), discusses trade-offs limits of the pattern, and explains where other approaches fit better. Article: hamza-senhajirhazi/domain-composed-models-dcm-a-pragmatic-middle-ground-between-active-record-and-clean-ddd-e44172a58246" rel="nofollow">https://medium.com/@hamza-senhajirhazi/domain-composed-models-dcm-a-pragmatic-middle-ground-between-active-record-and-clean-ddd-e44172a58246 I’d be genuinely interested in counter-examples or critiques—especially from people who’ve applied DDD in production systems. <!-- SC_ON --> submitted by /u/senhaj_h (https://www.reddit.com/user/senhaj_h)
[link] (hamza-senhajirhazi/domain-composed-models-dcm-a-pragmatic-middle-ground-between-active-record-and-clean-ddd-e44172a58246" rel="nofollow">https://medium.com/@hamza-senhajirhazi/domain-composed-models-dcm-a-pragmatic-middle-ground-between-active-record-and-clean-ddd-e44172a58246) [comments] (https://www.reddit.com/r/programming/comments/1qast8w/domaincomposed_models_dcm_a_pragmatic_middle/)

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

Reddit Programming

C++26 - What's In It For You? - Marc Gregoire - CppCon 2025
https://www.reddit.com/r/programming/comments/1qah2k3/c26_whats_in_it_for_you_marc_gregoire_cppcon_2025/

submitted by /u/BlueGoliath (https://www.reddit.com/user/BlueGoliath)
[link] (https://www.youtube.com/watch?v=PcidhLUYp-4) [comments] (https://www.reddit.com/r/programming/comments/1qah2k3/c26_whats_in_it_for_you_marc_gregoire_cppcon_2025/)

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

Reddit Programming

The C++ Compiler Is A Nightmare!
https://www.reddit.com/r/programming/comments/1qagtj3/the_c_compiler_is_a_nightmare/

submitted by /u/BlueGoliath (https://www.reddit.com/user/BlueGoliath)
[link] (https://www.youtube.com/watch?v=NQesrVuraUc) [comments] (https://www.reddit.com/r/programming/comments/1qagtj3/the_c_compiler_is_a_nightmare/)

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

Reddit Programming

Rethinking Helix
https://www.reddit.com/r/programming/comments/1qa9m6o/rethinking_helix/

submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://asta.boserup.eu/forest/rethinking-helix/) [comments] (https://www.reddit.com/r/programming/comments/1qa9m6o/rethinking_helix/)

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

Reddit Programming

Sophisticated Simplicity of Modern SQLite
https://www.reddit.com/r/programming/comments/1qa8qre/sophisticated_simplicity_of_modern_sqlite/

submitted by /u/yawaramin (https://www.reddit.com/user/yawaramin)
[link] (https://shivekkhurana.com/blog/sqlite-in-production/) [comments] (https://www.reddit.com/r/programming/comments/1qa8qre/sophisticated_simplicity_of_modern_sqlite/)

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

Reddit Programming

AI insiders seek to poison the data that feeds them
https://www.reddit.com/r/programming/comments/1qa4tl6/ai_insiders_seek_to_poison_the_data_that_feeds/

submitted by /u/RNSAFFN (https://www.reddit.com/user/RNSAFFN)
[link] (https://www.theregister.com/2026/01/11/industry_insiders_seek_to_poison/) [comments] (https://www.reddit.com/r/programming/comments/1qa4tl6/ai_insiders_seek_to_poison_the_data_that_feeds/)

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

Reddit Programming

Thanks AI! - Rich Hickey, creator of Clojure, about AI
https://www.reddit.com/r/programming/comments/1qa0ujk/thanks_ai_rich_hickey_creator_of_clojure_about_ai/

submitted by /u/captvirk (https://www.reddit.com/user/captvirk)
[link] (https://gist.github.com/richhickey/ea94e3741ff0a4e3af55b9fe6287887f) [comments] (https://www.reddit.com/r/programming/comments/1qa0ujk/thanks_ai_rich_hickey_creator_of_clojure_about_ai/)

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

Reddit Programming

The biggest obstacle for engineer productivity in 2026
https://www.reddit.com/r/programming/comments/1q9uiks/the_biggest_obstacle_for_engineer_productivity_in/

submitted by /u/strategizeyourcareer (https://www.reddit.com/user/strategizeyourcareer)
[link] (https://strategizeyourcareer.com/p/this-ai-problem-is-the-biggest-risk-for-software-engineers-in-2026) [comments] (https://www.reddit.com/r/programming/comments/1q9uiks/the_biggest_obstacle_for_engineer_productivity_in/)

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

Reddit Programming

Built a real-time vessel tracker using H3 hexagonal spatial indexing for proximity detection
https://www.reddit.com/r/programming/comments/1q9jplj/built_a_realtime_vessel_tracker_using_h3/

<!-- SC_OFF -->Wrote up the full implementation here if you're interested in the technical details: https://dev-jeb.com/deliberate/portal/blog/ocean-terminal-vessel-tracker <!-- SC_ON --> submitted by /u/dev_jeb (https://www.reddit.com/user/dev_jeb)
[link] (https://dev-jeb.com/deliberate/portal/showcase/ocean-terminal-vessel-tracker) [comments] (https://www.reddit.com/r/programming/comments/1q9jplj/built_a_realtime_vessel_tracker_using_h3/)

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

Reddit Programming

flow - a keyboard first Kanban board in the terminal
https://www.reddit.com/r/programming/comments/1q9g7wp/flow_a_keyboard_first_kanban_board_in_the_terminal/

<!-- SC_OFF -->I built a small keyboard first Kanban board that runs entirely in the terminal. It focuses on fast keyboard workflows and avoiding context switching just to move work around. Runs out of the box with a demo board loaded from disk and supports local persistence. Repo: https://github.com/jsubroto/flow <!-- SC_ON --> submitted by /u/MYGRA1N (https://www.reddit.com/user/MYGRA1N)
[link] (https://github.com/jsubroto/flow) [comments] (https://www.reddit.com/r/programming/comments/1q9g7wp/flow_a_keyboard_first_kanban_board_in_the_terminal/)

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

Reddit Programming

While everyone Is Talking About AI, GAC Is Coming for Your Job
https://www.reddit.com/r/programming/comments/1qb71ay/while_everyone_is_talking_about_ai_gac_is_coming/

<!-- SC_OFF -->There has been a lot of industry is dead and other doomsayer type opinions in regards to. This post represents my 2c. <!-- SC_ON --> submitted by /u/myFullNameWasTaken (https://www.reddit.com/user/myFullNameWasTaken)
[link] (https://blog.cvetic.in.rs/philosophy/while-everyone-is-talking-about-ai-gac-is-coming-for-your-job/) [comments] (https://www.reddit.com/r/programming/comments/1qb71ay/while_everyone_is_talking_about_ai_gac_is_coming/)

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

Reddit Programming

Quotes from "A Pattern Language" (Origin of Design Patterns)
https://www.reddit.com/r/programming/comments/1qb6czi/quotes_from_a_pattern_language_origin_of_design/

<!-- SC_OFF -->"Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice." "The patterns are still hypotheses, all 253 of them - and are therefore all tentative, all free to evolve under the impact of new experience and observation." "Every society which is alive and whole, will have its own unique and distinct pattern language ... every individual in such a society will have a unique language, shared in part, but which as a totality is unique to the mind of the person who has it." "In what frame of mind, and with what intention, are we publishing this language here? The fact that it is published as a book means that many thousands of people can use it. Is it not true that there is a danger that people might come to rely on this one printed language, instead of developing their own languages, in their own minds?" "The fact is, that we have written this book as a first step in the society-wide process by which people will gradually become conscious of their own pattern languages, and work to improve them." "When in doubt about a pattern, don't include it." "There are often cases where you may have a personal version version of a pattern, which is more true, or more relevant for you." <!-- SC_ON --> submitted by /u/SpeedyPuzzlement (https://www.reddit.com/user/SpeedyPuzzlement)
[link] (https://arl.human.cornell.edu/linked%20docs/Alexander_A_Pattern_Language.pdf) [comments] (https://www.reddit.com/r/programming/comments/1qb6czi/quotes_from_a_pattern_language_origin_of_design/)

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

Reddit Programming

Your First Quantum Circuit in Python (Qiskit 2026 Guide)
https://www.reddit.com/r/programming/comments/1qb005o/your_first_quantum_circuit_in_python_qiskit_2026/

submitted by /u/thecoode (https://www.reddit.com/user/thecoode)
[link] (https://python.plainenglish.io/your-first-quantum-circuit-in-python-qiskit-2026-guide-df40d2e98c0d) [comments] (https://www.reddit.com/r/programming/comments/1qb005o/your_first_quantum_circuit_in_python_qiskit_2026/)

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

Reddit Programming

Bring back opinionated architecture
https://www.reddit.com/r/programming/comments/1qayazp/bring_back_opinionated_architecture/

<!-- SC_OFF -->Enterprise architecture claims to bring clarity, but often hides behind ambiguity. And maybe that’s something we need to confront. When I was a developer, I was always attracted to highly opinionated libraries and frameworks. I always preferred a single way of doing things, over three different ways to do it, and they all have their pros and cons. This is something Enterprise Architecture really struggles with I feel. We tend to overengineer things. We would rather build a tool with 3 different data interfaces, than commit to 1 well thought out interface. Don’t get me wrong, I’m not advocating here for abandoning backup plans and putting all your eggs in one basket. What I am advocating for is architectural courage. Are all these “it depends” and “future-proofing” mantras there to get to a more correct solution, or just there to minimize your personal responsibility if it all goes haywire? You also have to calculate the cost of it all. In the above scenario where you cover all your bases and build a REST API and an sFTP connection because “you might need it in the future”, you will have to maintain, secure, document, train and test both. For years to come. Just another think that can break. That would be ok if that scenario actually plays out. If the company strategy changes, and the company never connects the two applications, all of that has been for nothing. Then there is the conversation of the easy-off ramp in implementing new software. It’s cool that you can hot swap your incoming data from one service to a different one in less than a week! Now we just need six months of new training, new processes, new KPIs, new goal setting and hiring to use said new data source. I’m not suggesting we should all become architectural “dictators” who refuse to listen to edge cases. But I am suggesting that we stop being so deep into “what-if” and start focusing more on “what-is.” Being opinionated doesn’t mean being rigid, it’s more about actually having a plan. It means having the courage to say, “This is the path we are taking because it is the most efficient one for today.” If the strategy changes in two years, you deal with it then, with the benefit of two years of lower maintenance costs and a leaner system. <!-- SC_ON --> submitted by /u/GeneralZiltoid (https://www.reddit.com/user/GeneralZiltoid)
[link] (https://frederickvanbrabant.com/blog/2026-01-09-bring-back-opinionated-architecture/) [comments] (https://www.reddit.com/r/programming/comments/1qayazp/bring_back_opinionated_architecture/)

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

Reddit Programming

Vibe Coding Debt: The Security Risks of AI-Generated Codebases
https://www.reddit.com/r/programming/comments/1qauuls/vibe_coding_debt_the_security_risks_of/

submitted by /u/JadeLuxe (https://www.reddit.com/user/JadeLuxe)
[link] (https://instatunnel.my/blog/vibe-coding-debt-the-security-risks-of-ai-generated-codebases) [comments] (https://www.reddit.com/r/programming/comments/1qauuls/vibe_coding_debt_the_security_risks_of/)

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

Reddit Programming

YAML? That’s Norway problem
https://www.reddit.com/r/programming/comments/1qaroyn/yaml_thats_norway_problem/

submitted by /u/merelysounds (https://www.reddit.com/user/merelysounds)
[link] (https://lab174.com/blog/202601-yaml-norway/) [comments] (https://www.reddit.com/r/programming/comments/1qaroyn/yaml_thats_norway_problem/)

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

Reddit Programming

Maybe the database got it right
https://www.reddit.com/r/programming/comments/1qaguow/maybe_the_database_got_it_right/

submitted by /u/fernandohur (https://www.reddit.com/user/fernandohur)
[link] (https://fhur.me/posts/2026/maybe-the-database-got-it-right) [comments] (https://www.reddit.com/r/programming/comments/1qaguow/maybe_the_database_got_it_right/)

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

Reddit Programming

LLVM: The bad parts
https://www.reddit.com/r/programming/comments/1qaeile/llvm_the_bad_parts/

submitted by /u/Necrotos (https://www.reddit.com/user/Necrotos)
[link] (https://www.npopov.com/2026/01/11/LLVM-The-bad-parts.html) [comments] (https://www.reddit.com/r/programming/comments/1qaeile/llvm_the_bad_parts/)

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

Reddit Programming

80% of Rye in 20% of the Time [1/3]
https://www.reddit.com/r/programming/comments/1qa8vvb/80_of_rye_in_20_of_the_time_13/

<!-- SC_OFF -->feedback welcome! <!-- SC_ON --> submitted by /u/middayc (https://www.reddit.com/user/middayc)
[link] (https://ryelang.org/blog/posts/learn_80_rye_in_20_time_code/) [comments] (https://www.reddit.com/r/programming/comments/1qa8vvb/80_of_rye_in_20_of_the_time_13/)

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

Reddit Programming

We default to addition
https://www.reddit.com/r/programming/comments/1qa64pk/we_default_to_addition/

<!-- SC_OFF -->Subtracting usually takes more effort and is not our default approach to solving problems; after all, how deleting something can produce value? Doesn't less mean worse? But so often, reducing complexity and streamlining process by simplifying them - taking something out, rather than adding something in - leads to true improvement, instead of adding more and more and more - tools, technologies and features. Useful perspective to have when solving the next problem - maybe the solution is to delete/simplify, instead of adding? <!-- SC_ON --> submitted by /u/BinaryIgor (https://www.reddit.com/user/BinaryIgor)
[link] (https://www.ufried.com/blog/addition_bias/) [comments] (https://www.reddit.com/r/programming/comments/1qa64pk/we_default_to_addition/)

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

Reddit Programming

Visual breakdown of the DNS resolution process from browser to server
https://www.reddit.com/r/programming/comments/1qa412v/visual_breakdown_of_the_dns_resolution_process/

submitted by /u/nulless (https://www.reddit.com/user/nulless)
[link] (https://toolkit.whysonil.dev/how-it-works/dns) [comments] (https://www.reddit.com/r/programming/comments/1qa412v/visual_breakdown_of_the_dns_resolution_process/)

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

Reddit Programming

Reading CPython bytecode with dis: stack execution walkthrough (Length: 3:43)
https://www.reddit.com/r/programming/comments/1q9wonq/reading_cpython_bytecode_with_dis_stack_execution/

<!-- SC_OFF -->Short walkthrough of how CPython executes bytecode using the stack model (push/pop), using Python’s built-in dis module. Covers LOAD_CONST, STORE_NAME/STORE_FAST, LOAD_NAME, BINARY_OP, plus PUSH_NULL, CALL, POP_TOP in a print() call flow. Useful if you’ve seen dis output and wanted a mental model. <!-- SC_ON --> submitted by /u/mdns-99 (https://www.reddit.com/user/mdns-99)
[link] (https://youtu.be/LH2Y15OkG64?si=inerlenGM8r8DfH6) [comments] (https://www.reddit.com/r/programming/comments/1q9wonq/reading_cpython_bytecode_with_dis_stack_execution/)

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

Reddit Programming

Gixy-Next: NGINX Configuration Security & Hardening Scanner
https://www.reddit.com/r/programming/comments/1q9u4w1/gixynext_nginx_configuration_security_hardening/

submitted by /u/MegaManSec2 (https://www.reddit.com/user/MegaManSec2)
[link] (https://gixy.io/) [comments] (https://www.reddit.com/r/programming/comments/1q9u4w1/gixynext_nginx_configuration_security_hardening/)

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

Reddit Programming

chr2 - a deterministic replicated log with a durable outbox for side effects
https://www.reddit.com/r/programming/comments/1q9jc36/chr2_a_deterministic_replicated_log_with_a/

<!-- SC_OFF -->Existing consensus libraries replicate logs and elect leaders. They do not solve the part that actually breaks production systems: crash safe side effects. The moment your state machine sends an email, charges a card, or fires a webhook, you’ve stepped outside consensus. If the leader crashes after performing the side effect but before committing it, failover turns retries into duplicates unless you bolt on a second protocol. I kept re implementing that second protocol. chr2 is my attempt to make it explicit. mechanism: -deterministic apply context: application code receives block_time from the log header and a deterministic RNG seed derived from the previous hash, so replay produces identical state transitions. - crash safe WAL: entries are CRC’d, payload hashed, and hash chained. Recovery is strict, torn tails are truncated; mid-log corruption halts. - durable fencing for view changes: a manifest persists the highest view and votes using atomic tmp+fsync+rename, rejecting messages from zombie leaders after restart. - replicated outbox: side effects are stored as "pending" in replicated state. Only the leader executes them under a fencing token. Completion is recorded by committing an acknowledge event, so failover only re-executes effects that were never durably acknowledged. Trade-offs (because there always are): Side effects are intentionally at-least-once; “exactly once” requires sinks to dedupe using stable effect IDs. The system prefers halting on ambiguous disk states over guessing. Some pieces are still being tightened (e.g. persisting client request dedupe state as replicated data rather than an in memory cache). Repo: https://github.com/abokhalill/chr2 If you’ve ever had “exactly once” collapse the first time a leader died mid-flight, this problem shape will look familiar. <!-- SC_ON --> submitted by /u/AdministrativeAsk305 (https://www.reddit.com/user/AdministrativeAsk305)
[link] (https://github.com/abokhalill/chr2) [comments] (https://www.reddit.com/r/programming/comments/1q9jc36/chr2_a_deterministic_replicated_log_with_a/)

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

Reddit Programming

Vibe coding needs git blame
https://www.reddit.com/r/programming/comments/1q9cyxz/vibe_coding_needs_git_blame/

submitted by /u/jakozaur (https://www.reddit.com/user/jakozaur)
[link] (https://quesma.com/blog/vibe-code-git-blame/) [comments] (https://www.reddit.com/r/programming/comments/1q9cyxz/vibe_coding_needs_git_blame/)

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