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

Skip the Design Patterns Architecting with Nouns and Verbs
https://www.reddit.com/r/programming/comments/1ljlt79/skip_the_design_patterns_architecting_with_nouns/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.youtube.com/watch?v=v-N6r8lcsNc) [comments] (https://www.reddit.com/r/programming/comments/1ljlt79/skip_the_design_patterns_architecting_with_nouns/)

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

Reddit Programming

The one-more-re-nightmare regular expression compiler
https://www.reddit.com/r/programming/comments/1ljlscd/the_onemorerenightmare_regular_expression_compiler/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://applied-langua.ge/posts/omrn-compiler.html) [comments] (https://www.reddit.com/r/programming/comments/1ljlscd/the_onemorerenightmare_regular_expression_compiler/)

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

Reddit Programming

🚧 RFC: Standard Commits 0.1.0 - A New Structured Approach to Commit Messages
https://www.reddit.com/r/programming/comments/1lg1jv6/rfc_standard_commits_010_a_new_structured/

<!-- SC_OFF -->We (Federico Bruzzone (https://github.com/FedericoBruzzone) and Roberto Zucchelli (https://github.com/zukkhs)) are excited to share a new Request for Comments (https://github.com/standard-commits/standard-commits) for a commit message format called Standard Commits (StdCom for short). This is an evolution beyond existing formats like Conventional Commits, designed to make commit history more structured, greppable, and context-rich. 🎯 What is Standard Commits? The Standard Commits format, as universally recognized, is composed of two distinct fragments: the REQUIRED structured (or formal) component and the OPTIONAL unstructured (or expository) component. The former adheres to a prescribed format, ensuring clarity and consistency in commit messages. It is formally expressed as: ()[]. The latter expands upon the structured prefix, providing deeper insight into the modification. It consists of three elements: , , and . Syntax Specification ()[]: Example add!(lib/type-check)[rel]: enforce type checking in function calls Previously, the semantic analyzer allowed mismatched parameter types in function calls, leading to runtime errors. This fix implements strict type validation during the semantic analysis phase. Breaking: The `validateCall` function now returns `TypeMismatchError` instead of returning boolean, requiring updates in error handling. Fixes: #247 Co-authored-by: Foo Bar 🔥 Key Features Grammar-based structure with predefined verbs (add, fix, ref, rem, undo, release) Importance levels (? possibly breaking, ! breaking, !! critical) Standardized scopes (lib, exe, test, docs, ci, cd) Reason annotations (int introduction, eff efficiency, rel reliability, sec security, etc.) Rich footer metadata for tooling integration 💪 Why Standard Commits?
Compared to other formats: Feature Standard Commits Conventional Commits Gitmoji Tim Pope Grammar-based 🟢 Yes 🟢 Yes 🔴 No 🔴 No Structured Format 🟢 High 🟡 Medium 🔴 Low 🔴 Low Consistency 🟢 High 🟡 Medium 🔴 Low 🔴 Low Greppability 🟢 High 🟡 Medium 🟡 Medium 🔴 Low Reason Annotation 🟢 Yes 🔴 No 🟡 Partially 🔴 No 🤔 Why This Matters History becomes easily greppable - find all security fixes with git log --grep="[sec]" Context-rich commits - understand not just what changed, but why and how critical it is Consistency across teams - standardized vocabulary for describing changes Tooling compatibility - structured format enables better automation 🗣️ We Want Your Feedback!
This is an RFC (Request for Comments) - we're actively seeking community input before finalizing the specification. Some areas we'd love feedback on: Is the syntax intuitive enough? Are the predefined verbs/reasons comprehensive? How does this compare to your current commit workflow? What tooling integrations would be most valuable? 🔗 Get Involved GitHub Project: https://github.com/standard-commits/standard-commits The full RFC is available in the repo with detailed specifications, examples, and rationale. We've set up GitHub Discussions for community feedback and will plan to track issues/suggestions in the project board. <!-- SC_ON --> submitted by /u/FedericoBruzzone (https://www.reddit.com/user/FedericoBruzzone)
[link] (https://github.com/standard-commits/standard-commits) [comments] (https://www.reddit.com/r/programming/comments/1lg1jv6/rfc_standard_commits_010_a_new_structured/)

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

Reddit Programming

Zig And Rust
https://www.reddit.com/r/programming/comments/1lg0bnm/zig_and_rust/

submitted by /u/symbolicard (https://www.reddit.com/user/symbolicard)
[link] (https://matklad.github.io/2023/03/26/zig-and-rust.html) [comments] (https://www.reddit.com/r/programming/comments/1lg0bnm/zig_and_rust/)

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

Reddit Programming

Boost Coding Agent’s Performance with 3 Simple Prompts
https://www.reddit.com/r/programming/comments/1lfxtod/boost_coding_agents_performance_with_3_simple/

submitted by /u/congolomera (https://www.reddit.com/user/congolomera)
[link] (mezoistvan/instantly-boost-your-coding-agents-performance-with-3-simple-prompts-ceb4dc9b5f05?source=friends_link&amp;sk=9f785dd28f59424a287a5f76dc090783" rel="nofollow">https://medium.com/@mezoistvan/instantly-boost-your-coding-agents-performance-with-3-simple-prompts-ceb4dc9b5f05?source=friends_link&amp;sk=9f785dd28f59424a287a5f76dc090783) [comments] (https://www.reddit.com/r/programming/comments/1lfxtod/boost_coding_agents_performance_with_3_simple/)

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

Reddit Programming

Terminal Commands That I Use to Boost Programming Speed
https://www.reddit.com/r/programming/comments/1lfx0se/terminal_commands_that_i_use_to_boost_programming/

submitted by /u/delvin0 (https://www.reddit.com/user/delvin0)
[link] (https://medium.com/gitconnected/terminal-commands-that-i-use-to-boost-programming-speed-e76b6ef07cb0?sk=84dc6150ea662198080fe12a1f4a0b81) [comments] (https://www.reddit.com/r/programming/comments/1lfx0se/terminal_commands_that_i_use_to_boost_programming/)

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

Reddit Programming

In Praise of “Normal” Engineers
https://www.reddit.com/r/programming/comments/1lfsa7f/in_praise_of_normal_engineers/

submitted by /u/gametorch (https://www.reddit.com/user/gametorch)
[link] (https://charity.wtf/2025/06/19/in-praise-of-normal-engineers/) [comments] (https://www.reddit.com/r/programming/comments/1lfsa7f/in_praise_of_normal_engineers/)

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

Reddit Programming

Literate: A tool for any programming language. (What is Literate programming?)
https://www.reddit.com/r/programming/comments/1lfpyss/literate_a_tool_for_any_programming_language_what/

submitted by /u/gametorch (https://www.reddit.com/user/gametorch)
[link] (https://github.com/zyedidia/Literate) [comments] (https://www.reddit.com/r/programming/comments/1lfpyss/literate_a_tool_for_any_programming_language_what/)

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

Reddit Programming

CQRS in 1 diagram and 178 words
https://www.reddit.com/r/programming/comments/1lfiojk/cqrs_in_1_diagram_and_178_words/

submitted by /u/stmoreau (https://www.reddit.com/user/stmoreau)
[link] (https://www.systemdesignbutsimple.com/p/cqrs-in-1-diagram-and-178-words) [comments] (https://www.reddit.com/r/programming/comments/1lfiojk/cqrs_in_1_diagram_and_178_words/)

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

Reddit Programming

Git: From Personal Project to the Tool Everyone Needed
https://www.reddit.com/r/programming/comments/1lfdnlq/git_from_personal_project_to_the_tool_everyone/

<!-- SC_OFF -->In the early 1990s, Linus Torvalds, a student from Finland, began working on an operating system kernel. What started as a personal project gradually evolved into Linux, which eventually became one of the most widely used open-source operating systems in the world. Since the source code was open to everyone, developers from different parts of the world began contributing. As the community grew, Linus and his team needed a proper way to manage all the code changes efficiently. To manage the increasing number of contributions, the Linux team started using a version control system called BitKeeper around 2002. BitKeeper worked well for a large-scale project like the Linux kernel because it was fast and had the right features. However, BitKeeper was a proprietary ( not open-source ) tool. The Linux community was only allowed to use it under certain conditions. In 2005, the company behind BitKeeper revoked that access after conflicts with the community. This left the Linux project without a proper version control system during a crucial time. After BitKeeper was no longer available, Linus decided not to depend on external tools again. He was not satisfied with the alternatives like CVS (Concurrent Versions System) or Subversion (SVN), as they were too slow and inflexible for the scale of the Linux project. Instead of depending on another tool, he chose to build his own. In approximately ten days, Linus created the first version of Git. His only goal was to build something efficient for managing Linux development. It was not designed as a public project or a tool for others. Git was simply a personal solution to a real problem he was facing. But it did not remain personal for long. The qualities that made Git suitable for Linux quickly caught the attention of developers around the world. A distributed system that ensured speed, reliability, and safe collaboration became valuable far beyond its original purpose. Git gradually moved from being a personal tool built by Linus to becoming the version control system used by almost every software team today. While reading about how Git got its name, I came across this on Wikipedia (https://en.wikipedia.org/wiki/Git#Naming). The documentation lists a few possible meanings behind the name Git. Here is the exact text: "git" can mean anything, depending on your mood. Random three-letter combination that is pronounceable, and not actually used by any common UNIX command. The fact that it is a mispronunciation of "get" may or may not be relevant. Stupid. Contemptible and despicable. Simple. Take your pick from the dictionary of slang. "Global information tracker": you're in a good mood, and it actually works for you. Angels sing, and a light suddenly fills the room. "Goddamn idiotic truckload of sh*t": when it breaks. <!-- SC_ON --> submitted by /u/Karthik-Writes-Tech (https://www.reddit.com/user/Karthik-Writes-Tech)
[link] (https://karthikwritestech.com/git-from-personal-project-to-the-tool-everyone-needed/) [comments] (https://www.reddit.com/r/programming/comments/1lfdnlq/git_from_personal_project_to_the_tool_everyone/)

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

Reddit Programming

Day 30: Async vs Cluster vs Worker Threads in Node.js — Which One Should You Use?
https://www.reddit.com/r/programming/comments/1lfbgy9/day_30_async_vs_cluster_vs_worker_threads_in/

submitted by /u/MysteriousEye8494 (https://www.reddit.com/user/MysteriousEye8494)
[link] (https://blog.stackademic.com/day-30-async-vs-cluster-vs-worker-threads-in-node-js-which-one-should-you-use-bef12a9681e7) [comments] (https://www.reddit.com/r/programming/comments/1lfbgy9/day_30_async_vs_cluster_vs_worker_threads_in/)

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

Reddit Programming

Gauntlet Language Updated: Sum Types, Reworked Syntax, New Pipe Operator
https://www.reddit.com/r/programming/comments/1lfa545/gauntlet_language_updated_sum_types_reworked/

submitted by /u/TricolorHen061 (https://www.reddit.com/user/TricolorHen061)
[link] (https://gauntletlang.gitbook.io/docs/version-release-notes/v0.2.0-alpha) [comments] (https://www.reddit.com/r/programming/comments/1lfa545/gauntlet_language_updated_sum_types_reworked/)

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

Reddit Programming

Rate Limiting in .NET with Redis
https://www.reddit.com/r/programming/comments/1lf8qwd/rate_limiting_in_net_with_redis/

<!-- SC_OFF -->Hey everyone I just published a guide on Rate Limiting in .NET with Redis, and I hope it’ll be valuable for anyone working with APIs, microservices, or distributed systems and looking to implement rate limiting in a distributed environment. In this post, I cover: - Why rate limiting is critical for modern APIs
- The limitations of the built-in .NET RateLimiter in distributed environments
- How to implement Fixed Window, Sliding Window (with and without Lua), and Token Bucket algorithms using Redis
- Sample code, Docker setup, Redis tips, and gotchas like clock skew and fail-open vs. fail-closed strategies If you’re looking to implement rate limiting for your .NET APIs — especially in load-balanced or multi-instance setups — this guide should save you a ton of time. Check it out here:
https://hamedsalameh.com/implementing-rate-limiting-in-net-with-redis-easily/ <!-- SC_ON --> submitted by /u/DotDeveloper (https://www.reddit.com/user/DotDeveloper)
[link] (https://hamedsalameh.com/implementing-rate-limiting-in-net-with-redis-easily/) [comments] (https://www.reddit.com/r/programming/comments/1lf8qwd/rate_limiting_in_net_with_redis/)

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

Reddit Programming

the six-month recap: closing talk on AI at Web Directions, Melbourne, June 2025
https://www.reddit.com/r/programming/comments/1lf7p04/the_sixmonth_recap_closing_talk_on_ai_at_web/

submitted by /u/geoffreyhuntley (https://www.reddit.com/user/geoffreyhuntley)
[link] (https://ghuntley.com/six-month-recap/) [comments] (https://www.reddit.com/r/programming/comments/1lf7p04/the_sixmonth_recap_closing_talk_on_ai_at_web/)

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

Reddit Programming

Real-time analytics with an all-in-one system: Are we there yet?
https://www.reddit.com/r/programming/comments/1lf6a3k/realtime_analytics_with_an_allinone_system_are_we/

submitted by /u/j1897OS (https://www.reddit.com/user/j1897OS)
[link] (https://questdb.com/blog/realtime-analytics-using-tsdb/) [comments] (https://www.reddit.com/r/programming/comments/1lf6a3k/realtime_analytics_with_an_allinone_system_are_we/)

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

Reddit Programming

Onion Services: Design, Protocol and Implementation
https://www.reddit.com/r/programming/comments/1ljlss1/onion_services_design_protocol_and_implementation/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://media.ccc.de/v/gpn23-52-onion-services-design-protocol-and-implementation) [comments] (https://www.reddit.com/r/programming/comments/1ljlss1/onion_services_design_protocol_and_implementation/)

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

Reddit Programming

The Bitter Lesson is coming for Tokenization
https://www.reddit.com/r/programming/comments/1ljlpgl/the_bitter_lesson_is_coming_for_tokenization/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://lucalp.dev/bitter-lesson-tokenization-and-blt/) [comments] (https://www.reddit.com/r/programming/comments/1ljlpgl/the_bitter_lesson_is_coming_for_tokenization/)

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

Reddit Programming

Computer noises: How to get a computer to make noise—amplifying a square wave.
https://www.reddit.com/r/programming/comments/1lg0mjs/computer_noises_how_to_get_a_computer_to_make/

submitted by /u/One_Being7941 (https://www.reddit.com/user/One_Being7941)
[link] (https://www.youtube.com/watch?v=tIOR7kRevPU) [comments] (https://www.reddit.com/r/programming/comments/1lg0mjs/computer_noises_how_to_get_a_computer_to_make/)

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

Reddit Programming

Learn Makefiles
https://www.reddit.com/r/programming/comments/1lg09lt/learn_makefiles/

submitted by /u/p-orbitals (https://www.reddit.com/user/p-orbitals)
[link] (https://makefiletutorial.com/) [comments] (https://www.reddit.com/r/programming/comments/1lg09lt/learn_makefiles/)

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

Reddit Programming

The Magic Fix: “Sync to HEAD and Try Again”
https://www.reddit.com/r/programming/comments/1lfx7hj/the_magic_fix_sync_to_head_and_try_again/

submitted by /u/Good-Astronomer9485 (https://www.reddit.com/user/Good-Astronomer9485)
[link] (fast_fail_devlog/the-magic-fix-sync-to-head-and-try-again-10fed83ecc50" rel="nofollow">https://medium.com/@fast_fail_devlog/the-magic-fix-sync-to-head-and-try-again-10fed83ecc50) [comments] (https://www.reddit.com/r/programming/comments/1lfx7hj/the_magic_fix_sync_to_head_and_try_again/)

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

Reddit Programming

DSA Fundamentals #1: A Practical Guide to Propositional Logic
https://www.reddit.com/r/programming/comments/1lfvjji/dsa_fundamentals_1_a_practical_guide_to/

<!-- SC_OFF -->Propositional logic is the foundation for many computer science topics. It is used in formal verification, AI, and circuit design. Many learning resources are either too abstract or too simple. I wrote a guide to bridge that gap. It is for students and self-taught programmers. This is the first article in my series on DSA fundamentals. The guide covers syntax, semantics, rules of inference, and normal forms. It includes practice problems and project ideas. The full guide is available here: https://beyondit.blog/blogs/DSA-Fundamentals-1-A-Practical-Guide-to-Propositional-Logic I am interested in your thoughts. How do you use logic principles in your work beyond basic control flow? <!-- SC_ON --> submitted by /u/WillingnessFun7051 (https://www.reddit.com/user/WillingnessFun7051)
[link] (https://beyondit.blog/blogs/DSA-Fundamentals-1-A-Practical-Guide-to-Propositional-Logic) [comments] (https://www.reddit.com/r/programming/comments/1lfvjji/dsa_fundamentals_1_a_practical_guide_to/)

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

Reddit Programming

My winning formula for developing with LLMs (a guide)
https://www.reddit.com/r/programming/comments/1lfs74q/my_winning_formula_for_developing_with_llms_a/

submitted by /u/gametorch (https://www.reddit.com/user/gametorch)
[link] (https://x.com/gametorch_app/status/1935851290409505052) [comments] (https://www.reddit.com/r/programming/comments/1lfs74q/my_winning_formula_for_developing_with_llms_a/)

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

Reddit Programming

What is in pepperoni? Using Quora questions to test semantic caching
https://www.reddit.com/r/programming/comments/1lfiurd/what_is_in_pepperoni_using_quora_questions_to/

submitted by /u/louisscb (https://www.reddit.com/user/louisscb)
[link] (https://www.louiscb.com/blog/2025/06/19/semcache.html) [comments] (https://www.reddit.com/r/programming/comments/1lfiurd/what_is_in_pepperoni_using_quora_questions_to/)

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

Reddit Programming

The Ubiquitous Skiplist: A Survey of What Cannot be Skipped About the Skiplist and its Applications in Data Systems
https://www.reddit.com/r/programming/comments/1lfe2zt/the_ubiquitous_skiplist_a_survey_of_what_cannot/

submitted by /u/zvrba (https://www.reddit.com/user/zvrba)
[link] (https://dl.acm.org/doi/10.1145/3736754) [comments] (https://www.reddit.com/r/programming/comments/1lfe2zt/the_ubiquitous_skiplist_a_survey_of_what_cannot/)

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

Reddit Programming

Why I Think Every Developer Should Try Vim
https://www.reddit.com/r/programming/comments/1lfdhj0/why_i_think_every_developer_should_try_vim/

<!-- SC_OFF -->Hi all, I've written a small article on Vim and my experience transitioning to it. I think that every developer should at least try it as it's such an amazing experience. <!-- SC_ON --> submitted by /u/DutchBytes (https://www.reddit.com/user/DutchBytes)
[link] (https://govigilant.io/articles/every-developer-should-try-vim) [comments] (https://www.reddit.com/r/programming/comments/1lfdhj0/why_i_think_every_developer_should_try_vim/)

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

Reddit Programming

Multi-cloud Strategies With MongoDB Atlas
https://www.reddit.com/r/programming/comments/1lfaknc/multicloud_strategies_with_mongodb_atlas/

submitted by /u/Majestic_Wallaby7374 (https://www.reddit.com/user/Majestic_Wallaby7374)
[link] (https://foojay.io/today/multi-cloud-strategies-with-mongodb-atlas/) [comments] (https://www.reddit.com/r/programming/comments/1lfaknc/multicloud_strategies_with_mongodb_atlas/)

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

Reddit Programming

What Would a Kubernetes 2.0 Look Like
https://www.reddit.com/r/programming/comments/1lf9s0v/what_would_a_kubernetes_20_look_like/

submitted by /u/LaFoudre250 (https://www.reddit.com/user/LaFoudre250)
[link] (https://matduggan.com/what-would-a-kubernetes-2-0-look-like/) [comments] (https://www.reddit.com/r/programming/comments/1lf9s0v/what_would_a_kubernetes_20_look_like/)

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

Reddit Programming

The Story of a Prisoner Who Became a Software Engineer
https://www.reddit.com/r/programming/comments/1lf8o2p/the_story_of_a_prisoner_who_became_a_software/

<!-- SC_OFF -->Interesting to see that he said, “I’m very grateful that LLMs are something that I did not have available to me for a large portion of my time learning.” <!-- SC_ON --> submitted by /u/Soul_Predator (https://www.reddit.com/user/Soul_Predator)
[link] (https://analyticsindiamag.com/ai-features/the-story-of-a-prisoner-who-became-a-software-engineer/) [comments] (https://www.reddit.com/r/programming/comments/1lf8o2p/the_story_of_a_prisoner_who_became_a_software/)

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

Reddit Programming

The joy of (type) sets in Go
https://www.reddit.com/r/programming/comments/1lf6ndh/the_joy_of_type_sets_in_go/

<!-- SC_OFF -->The point of generic programming (https://bitfieldconsulting.com/posts/generics) is to be able to write code that operates on more than one concrete data type. That way, we don’t have to repeat the same code over and over, once for each kind of data that we need it to handle. But being free and easy about your data types can go too far: type parameters (https://bitfieldconsulting.com/posts/type-parameters) that accept literally any kind of data aren’t that useful. We need constraints (https://bitfieldconsulting.com/posts/constraints) to reduce the set of types that a function can deal with. When the type set is infinite (as it is with [T any], for example), then there’s almost nothing we can do with those values, because we’re infinitely ignorant about them. So, how can we write more flexible constraints, whose type sets are broad enough to be useful, but narrow enough to be usable? <!-- SC_ON --> submitted by /u/EightLines_03 (https://www.reddit.com/user/EightLines_03)
[link] (https://bitfieldconsulting.com/posts/type-sets) [comments] (https://www.reddit.com/r/programming/comments/1lf6ndh/the_joy_of_type_sets_in_go/)

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

Reddit Programming

Osprey Programming Language
https://www.reddit.com/r/programming/comments/1letj43/osprey_programming_language/

<!-- SC_OFF -->Osprey is a modern functional programming oriented language designed for elegance, safety, and performance. But, more importantly, this is the first programming language and compiler that encourages you to contribute with AI assistance. Much of the compiler code was written with help from AI. Compilers are no longer relegated to the select few who have the time and privilege to spend years studying compiler design. Check out the playground and jump on the GitHub discussion threads <!-- SC_ON --> submitted by /u/emanresu_2017 (https://www.reddit.com/user/emanresu_2017)
[link] (https://www.ospreylang.dev/) [comments] (https://www.reddit.com/r/programming/comments/1letj43/osprey_programming_language/)

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