Reddit Programming – Telegram
Reddit Programming
212 subscribers
1.22K photos
125K links
I will send you newest post from subreddit /r/programming
Download Telegram
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/)
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/)
Internet Experiment Note Index
https://www.reddit.com/r/programming/comments/1n3scml/internet_experiment_note_index/

<!-- SC_OFF -->I'm a big fan of looking at the history of how foundational technologies evolved over time. This seems to be a collection of documents detailing the evolution and criticisms of early iterations of TCP and UDP. Hope other people also find this interesting! <!-- SC_ON --> submitted by /u/SereneCalathea (https://www.reddit.com/user/SereneCalathea)
[link] (https://www.rfc-editor.org/ien/ien-index.html) [comments] (https://www.reddit.com/r/programming/comments/1n3scml/internet_experiment_note_index/)
JavaScript Closures Explained with Interactive Demos
https://www.reddit.com/r/programming/comments/1n3th8z/javanoscript_closures_explained_with_interactive/

<!-- SC_OFF -->The best analogy to understand closures is Backpack. Read More, Check out the interactive demo here (https://beyondit.blog/blogs/javanoscript-closures-simplified-scope-use-cases) function exFunctionA() { const outerVariable = "I'm from the outside!"; function exFunctionB() { console.log(outerVariable); // Accesses the variable from its "backpack" } return exFunctionB; } const myClosure = exFunctionA(); // outerFunction runs and is gone... myClosure(); //...but innerFunction still has its backpack! Logs "I'm from the outside!" Think when we define any function (Function A), we define some variables inside it (lexical scope). Here we define the variable outerVariable inside Function A. Think, to remember this information, functions create a backpack and hold all these values inside it. Then again we define another function (Function B) inside our parent function (Function A). The Function B has access to the variable defined in the parent function (Function A). So now our inner function will create a backpack and hold all this information. When our outer function (Function A) executes and returns its context and lexical scope also finishes. But remember our inner function (Function B) has its own backpack, and inside the backpack it has the variable from the parent Function A (which is already executed). Now this phenomena, after the execution of parent Function A and lapsing of its lexical scope. Our inner Function B can still access the variable which was defined inside the parent Function A is called Closures. <!-- SC_ON --> submitted by /u/sanudelhi (https://www.reddit.com/user/sanudelhi)
[link] (https://beyondit.blog/blogs/javanoscript-closures-simplified-scope-use-cases) [comments] (https://www.reddit.com/r/programming/comments/1n3th8z/javanoscript_closures_explained_with_interactive/)
Understanding The Scope - with interactive Demo (play and learn)
https://www.reddit.com/r/programming/comments/1n3tkhx/understanding_the_scope_with_interactive_demo/

<!-- SC_OFF -->The JavaScript uses the lexical scoping of variables. Simply the placement of the variable will determine who can access it. The access to the variable does not depend on how and when the code runs. Javanoscript determines the access of variables at compile time itself. Play and Learn (https://beyondit.blog/blogs/javanoscript-closures-simplified-scope-use-cases)Here Hierarchy of Scope In Javanoscript Global Scope This are the variables which are accessible by all functions. We define them at the outermost place in our code structure. Function Scope These are the variables which we define inside the function (With var keyword). They are only accessible inside the function and children functions in which we define the variable. Block Scope The ES6 module provides us the block scope variable. These are the variables which we define inside any pair of curly braces { }. (using keywords let and const). <!-- SC_ON --> submitted by /u/sanudelhi (https://www.reddit.com/user/sanudelhi)
[link] (https://beyondit.blog/blogs/javanoscript-closures-simplified-scope-use-cases) [comments] (https://www.reddit.com/r/programming/comments/1n3tkhx/understanding_the_scope_with_interactive_demo/)
WoW private servers C++ code review by Tariq10x
https://www.reddit.com/r/programming/comments/1n47l0k/wow_private_servers_c_code_review_by_tariq10x/

<!-- SC_OFF -->High quality deep dive on how private servers work under the hood. As someone who played on these back in the days I always wondered how they pulled it off.. <!-- SC_ON --> submitted by /u/bulltrapking (https://www.reddit.com/user/bulltrapking)
[link] (https://youtu.be/0sX-hH9NAeM) [comments] (https://www.reddit.com/r/programming/comments/1n47l0k/wow_private_servers_c_code_review_by_tariq10x/)
How I Solved S3 Write Contention with a Distributed Lock Server
https://www.reddit.com/r/programming/comments/1n4lhll/how_i_solved_s3_write_contention_with_a/

<!-- SC_OFF -->Introduction When building distributed systems, it’s common to have multiple workers or services that need to write to a shared resource — like an Amazon S3 bucket. However, S3 does not provide native locking, and concurrent writes can lead to data corruption, race conditions, or unexpected results. In this article, I’ll walk you through how I solved this problem by building and deploying a distributed lock server, and how you can do the same. The Problem: Concurrent Writes to S3 Imagine you have several distributed workers, each responsible for uploading files to the same S3 bucket. If two workers try to write the same file at the same time, you risk: Data corruption or partial writes Inconsistent state Difficult-to-debug race conditions A robust solution requires a distributed lock — something that all workers can check before writing. Step 1: Evaluating Locking Strategies I considered several approaches: S3 Object Locking: Not suitable for all use cases and can be complex to manage. DynamoDB-based locks: Reliable, but adds cost and complexity. Redis or Zookeeper: Powerful, but overkill for simple lock coordination. I wanted something lightweight, language-agnostic, and easy to deploy. Step 2: Building a Distributed Lock Server I decided to build a dedicated lock server, inspired by the simplicity of Redis’ SETNX but with a RESTful HTTP API and client libraries for multiple languages. Key features: HTTP API for acquiring and releasing locks Shared secret for secure access Client SDKs for Rust, Python, and Node.js Blocking and non-blocking lock acquisition Step 3: Implementing the Lock Server I implemented the server in Rust for performance and reliability. The server exposes two endpoints: POST /acquire — Try to acquire a lock for a resource/owner POST /release — Release the lock Each request must include a shared secret for authorization. Step 4: Integrating the Client in My Workers I created lightweight client SDKs for Python and Node.js, making it easy to add distributed locking to any worker. Python Example: from lockserver_client import Lockserver Clientclient = LockserverClient(owner='worker-123', secret='your-strong-secret') if client.acquire('s3-upload-lock'): try: upload_to_s3('my-bucket', 'file.txt') finally: client.release('s3-upload-lock') Node.js Example: const { LockserverClient } = require('lockserver-client'); const client = new LockserverClient({ owner: 'worker-123', secret: 'your-strong-secret' }); await client.acquire('s3-upload-lock'); // … upload to S3 … await client.release('s3-upload-lock'); Step 5: Deploying and Testing Deployed the lockserver as a standalone service (Docker, bare metal, or cloud VM)
Configured all workers to use the same LOCKSERVER_SECRET
Verified that only one worker could write to S3 at a time for the same resource Results No more race conditions: Only one worker writes at a time.
Language-agnostic: Any worker (Rust, Python, Node.js, etc.) can participate.
Simple integration: Just a few lines of code to add distributed locking. Conclusion By introducing a distributed lock server, I was able to solve S3 write contention in a scalable, secure, and language-agnostic way. If you’re facing similar challenges, consider using or contributing to lockserver. Links: GitHub: https://github.com/benliao/lockserver Crate: https://crates.io/crates/lockserver npm: https://www.npmjs.com/package/lockserver-client Thanks for reading! If you found this helpful, feel free to star the repo or leave a comment below. <!-- SC_ON --> submitted by /u/Plastic_Clerk7250 (https://www.reddit.com/user/Plastic_Clerk7250)
Engineers turned managers/client-facing: What actually helped with the communication learning curve?
https://www.reddit.com/r/programming/comments/1n4n934/engineers_turned_managersclientfacing_what/

<!-- SC_OFF -->Hey everyone, I've been on the technical side of data space (i.e. data scientist, data engineer) who recently got promoted to a more client-facing role, and honestly, I'm struggling. My manager's feedback was that I’m “too much into technical details” and need to work on how I communicate differently to various stakeholders. The thing is, I've always been analytical and straight to the point - it's literally what made me good at technical work. But apparently that doesn't translate well to stakeholder meetings and cross-functional collaboration. I've tried some of the usual suspects (Toastmasters, generic communication courses) but they all feel like they're designed for sales people or public speakers, not engineers. The advice is either shallow (e.g. pace, filler words) or in theory (e.g. DISC framework) which doesn't really help when your brain is wired to solve problems efficiently. So I'm curious - has anyone else hit this wall? And if so, what actually helped you? I'm also working on building a solution specifically for technical professionals (because I got tired of waiting for someone else to solve this), and I'd love to get input from people who've been through this. If you've struggled with the technical-to-business communication transition, would you mind filling out a 8-question assessment? I want to make sure I'm building something that actually addresses the real challenges, not just what I think the challenges are. https://docs.google.com/forms/d/e/1FAIpQLSfIPaUjV0Okcblh4MVkxF0kPgFww2EVQdYG7_cUfxQxR-Z8WA/viewform?usp=dialog Not trying to sell anything here - genuinely want to understand if this resonates with other people and what would actually be helpful. <!-- SC_ON --> submitted by /u/BedroomSubstantial72 (https://www.reddit.com/user/BedroomSubstantial72)
[link] (https://techspeak-pro-landing.lovable.app/) [comments] (https://www.reddit.com/r/programming/comments/1n4n934/engineers_turned_managersclientfacing_what/)