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

Python heapq.nlargest vs list.sort
https://www.reddit.com/r/programming/comments/1lx384k/python_heapqnlargest_vs_listsort/

<!-- SC_OFF -->TL;DR: Do not micro-optimize. I nerd-sniped myself into benchmarking different ways to get the largest element of a list in Python. I made a few pretty plots and had some mildly interesting results. <!-- SC_ON --> submitted by /u/ddaanet (https://www.reddit.com/user/ddaanet)
[link] (https://ddaa.net/2025/python-heapq-vs-sort.html) [comments] (https://www.reddit.com/r/programming/comments/1lx384k/python_heapqnlargest_vs_listsort/)

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

Reddit Programming

Breaking down the Zero-Click AI Vulnerability Enabling Data Ex-filtration Through Calendar Invites in Eleven-labs Voice Assistants
https://www.reddit.com/r/programming/comments/1lwya0v/breaking_down_the_zeroclick_ai_vulnerability/

submitted by /u/RuDrAkAsH-1112 (https://www.reddit.com/user/RuDrAkAsH-1112)
[link] (https://repello.ai/blog/zero-click-calendar-exfiltration-reveals-mcp-security-risk-in-11-ai) [comments] (https://www.reddit.com/r/programming/comments/1lwya0v/breaking_down_the_zeroclick_ai_vulnerability/)

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

Reddit Programming

I created a programming language in Go with built-in BDD testing. Looking for feedback and contributors!
https://www.reddit.com/r/programming/comments/1lwpvas/i_created_a_programming_language_in_go_with/

<!-- SC_OFF -->Hey, r/golang (https://www.reddit.com/r/golang)! For the past few months, I've been pouring my free time into a passion project: R2Lang, a new, dynamic programming language written entirely in Go. My main goal was to create a language where testing isn't just a library or an afterthought, but a core, first-class citizen of the syntax. The result is a simple, JavaScript-like language with a native BDD testing framework. TL;DR: I built a JavaScript-like scripting language in Go. Its main feature is a native BDD testing system (TestCase { Given/When/Then }). I'm looking for feedback, ideas, and collaborators to help it grow. GitHub Repo: https://github.com/arturoeanton/go-r2lang ✨ What is R2Lang? It's a dynamic, interpreted language designed for scripting, testing, and building simple web APIs. Think of it as a blend of JavaScript's simplicity and Go's concurrency model. Key Features: 🧪 Built-in BDD Testing: This is the core feature. You can write tests using a clean Given/When/Then structure directly in your code, without any external frameworks. 🚀 Simple & Familiar Syntax: If you know JavaScript, you'll be writing R2Lang in minutes. ⚡ Easy Concurrency: It leverages Go's goroutines through a simple r2() function. 🧱 Object-Oriented: Supports classes, inheritance, and this. 🌐 Web Ready: Includes a built-in http library for creating web servers and REST APIs, inspired by Express.js. Here’s what the BDD syntax looks like in action: ```r2 // Function to be tested func add(a, b) { return a + b } // The test case itself TestCase "Verify that the add function works correctly" { Given func() { print("Preparing the numbers for the test.") // You can set up context here return { a: 5, b: 10 } } When func(context) { let result = add(context.a, context.b) print("Executing the sum...") return result } Then func(result) { // assertEqual is a helper, not yet a built-in keyword if (result != 15) { throw "Assertion failed: Expected 15, got " + result } print("Validation successful!") return "Test passed" } } ``` 💖 How You Can Help The language is functional, and I've written a full 6-module course to document it. However, it's still a young project with tons of room for improvement. I'd love to get some collaboration to take it to the next level. I'm looking for all kinds of help: Go Developers: To help improve the core interpreter. There are huge opportunities in performance (bytecode VM, JIT), memory management, and implementing new features from the Roadmap (https://github.com/arturoeanton/go-r2lang/blob/main/docs/en/roadmap.md). Language Enthusiasts: To give feedback on the syntax, features, and overall direction of the project. What do you love? What do you hate? Testers: I need people to break it! Write some complex scripts, find edge cases, and report bugs in the Issues (https://github.com/arturoeanton/go-r2lang/issues). Documentation Writers: The docs are there, but they can always be improved with more examples and clearer explanations. This has been a solo journey so far, and I'm really excited about the possibility of turning it into a community-driven project. Check out the GitHub repository to see the code, the full documentation, and the issue tracker. Thanks for taking a look! Any feedback, questions, or stars on GitHub would be amazing. Let me know what you think! <!-- SC_ON --> submitted by /u/ResolutionSmooth5259 (https://www.reddit.com/user/ResolutionSmooth5259)
[link] (https://github.com/arturoeanton/go-r2lang/) [comments] (https://www.reddit.com/r/programming/comments/1lwpvas/i_created_a_programming_language_in_go_with/)

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

Reddit Programming

The Micro-Frontend Architecture Handbook
https://www.reddit.com/r/programming/comments/1lw8jph/the_microfrontend_architecture_handbook/

submitted by /u/woltan_4 (https://www.reddit.com/user/woltan_4)
[link] (https://www.freecodecamp.org/news/complete-micro-frontends-guide/?ref=dailydev) [comments] (https://www.reddit.com/r/programming/comments/1lw8jph/the_microfrontend_architecture_handbook/)

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

Reddit Programming

The rise – and looming fall – of acceptance rate
https://www.reddit.com/r/programming/comments/1lw84z1/the_rise_and_looming_fall_of_acceptance_rate/

<!-- SC_OFF -->Thoughts on acceptance rate as a way to measure coding assistants? <!-- SC_ON --> submitted by /u/scarey102 (https://www.reddit.com/user/scarey102)
[link] (https://leaddev.com/reporting/the-rise-and-looming-fall-of-acceptance-rate) [comments] (https://www.reddit.com/r/programming/comments/1lw84z1/the_rise_and_looming_fall_of_acceptance_rate/)

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

Reddit Programming

Curiosity-Driven Encryption: A Collatz Conjecture-Inspired Block Cipher with Real-Time Visualizations
https://www.reddit.com/r/programming/comments/1lw4xpg/curiositydriven_encryption_a_collatz/

<!-- SC_OFF -->I am pleased to announce the release of the Collatz Chaos Cipher, an experimental encryption algorithm inspired by the Collatz Conjecture and informed by principles from chaos theory and signal processing. This project introduces a reversible block cipher that employs: Chaotic iteration mechanisms to enhance unpredictability Non-linear key transformations to increase cryptographic strength A synthesis of classical 3x+1 logic with novel signal spiral dynamics -The resulting ciphertext exhibits strong avalanche characteristics and complex diffusion behavior. In addition to the core cryptographic implementation, the repository includes a suite of visualization tools designed to illustrate bit-level diffusion and waveform transformations across encryption rounds. These tools provide valuable insights into the internal behavior and structure of the cipher. This work is intended as a theoretical and educational exploration at the intersection of mathematics and cryptography. It is not recommended for production environments or security-critical applications. I invite researchers, cryptographers, and mathematicians to review, analyze, and contribute to this open-source project. Your feedback and collaboration would be most welcome. Access the full project and documentation here: https://github.com/Eb0nyR0se/Collatz_Chaos_Cipher <!-- SC_ON --> submitted by /u/Altered_Sentience (https://www.reddit.com/user/Altered_Sentience)
[link] (https://github.com/Eb0nyR0se/Collatz_Chaos_Cipher) [comments] (https://www.reddit.com/r/programming/comments/1lw4xpg/curiositydriven_encryption_a_collatz/)

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

Reddit Programming

Vertical Text Processing
https://www.reddit.com/r/programming/comments/1lvtlq5/vertical_text_processing/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3665r0.html) [comments] (https://www.reddit.com/r/programming/comments/1lvtlq5/vertical_text_processing/)

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

Reddit Programming

(Quite) A Few Words About Async
https://www.reddit.com/r/programming/comments/1lvti75/quite_a_few_words_about_async/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://yoric.github.io/post/quite-a-few-words-about-async/) [comments] (https://www.reddit.com/r/programming/comments/1lvti75/quite_a_few_words_about_async/)

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

Reddit Programming

Oregon Programming Languages Summer School (OPLSS) 2025: Types, Logic, and Formal Methods
https://www.reddit.com/r/programming/comments/1lvthsm/oregon_programming_languages_summer_school_oplss/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.cs.uoregon.edu/research/summerschool/summer25/topics.php) [comments] (https://www.reddit.com/r/programming/comments/1lvthsm/oregon_programming_languages_summer_school_oplss/)

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

Reddit Programming

Ruby 3.4 frozen string literals: What Rails developers need to know
https://www.reddit.com/r/programming/comments/1lvteam/ruby_34_frozen_string_literals_what_rails/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.prateekcodes.dev/ruby-34-frozen-string-literals-rails-upgrade-guide/) [comments] (https://www.reddit.com/r/programming/comments/1lvteam/ruby_34_frozen_string_literals_what_rails/)

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

Reddit Programming

Official Azure MCP exploited to leak keyVault secrets
https://www.reddit.com/r/programming/comments/1lvs3nj/official_azure_mcp_exploited_to_leak_keyvault/

submitted by /u/tramlines-io-mcp (https://www.reddit.com/user/tramlines-io-mcp)
[link] (https://www.tramlines.io/blog/azure-mcp-exploited-maliciously-leaking-user-s-keyvault-secrets-to-attackers) [comments] (https://www.reddit.com/r/programming/comments/1lvs3nj/official_azure_mcp_exploited_to_leak_keyvault/)

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

Reddit Programming

Perl 5.42 Released - Still Going Strong
https://www.reddit.com/r/programming/comments/1lvr5np/perl_542_released_still_going_strong/

submitted by /u/Active-Fuel-49 (https://www.reddit.com/user/Active-Fuel-49)
[link] (https://www.i-programmer.info/news/222-perl/18163-perl-542-released-still-going-strong.html) [comments] (https://www.reddit.com/r/programming/comments/1lvr5np/perl_542_released_still_going_strong/)

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

Reddit Programming

Functional Programming in 40 Minutes • Russ Olsen
https://www.reddit.com/r/programming/comments/1lvowkc/functional_programming_in_40_minutes_russ_olsen/

submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/QujM1S3tP-I) [comments] (https://www.reddit.com/r/programming/comments/1lvowkc/functional_programming_in_40_minutes_russ_olsen/)

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

Reddit Programming

Roll your own in-game UI with Clay and NanoVG
https://www.reddit.com/r/programming/comments/1lvmn93/roll_your_own_ingame_ui_with_clay_and_nanovg/

submitted by /u/david-delassus (https://www.reddit.com/user/david-delassus)
[link] (https://dev.to/linkdd/roll-your-own-in-game-ui-with-clay-and-nanovg-part-2-25pf) [comments] (https://www.reddit.com/r/programming/comments/1lvmn93/roll_your_own_ingame_ui_with_clay_and_nanovg/)

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

Reddit Programming

Angular Interview Q&A: Day 24
https://www.reddit.com/r/programming/comments/1lvl4i7/angular_interview_qa_day_24/

submitted by /u/MysteriousEye8494 (https://www.reddit.com/user/MysteriousEye8494)
[link] (https://medium.com/devinsight/angular-interview-q-a-day-24-3a1b6d606bb1) [comments] (https://www.reddit.com/r/programming/comments/1lvl4i7/angular_interview_qa_day_24/)

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

Reddit Programming

Designing a Real time Chat Application
https://www.reddit.com/r/programming/comments/1lwzv8r/designing_a_real_time_chat_application/

<!-- SC_OFF -->Real-time chat applications like WhatsApp, Telegram, and Slack have transformed how we communicate. They enable instant messaging across devices and locations. These messaging platforms must handle millions of concurrent connections, deliver messages with minimal latency, and provide features like message synchronization, notifications, and media sharing. Here is the detailed article on How to design a Real-time Chat Application (https://javatechonline.com/how-to-design-a-real-time-chat-application/)? <!-- SC_ON --> submitted by /u/erdsingh24 (https://www.reddit.com/user/erdsingh24)
[link] (https://javatechonline.com/how-to-design-a-real-time-chat-application/) [comments] (https://www.reddit.com/r/programming/comments/1lwzv8r/designing_a_real_time_chat_application/)

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

Reddit Programming

Mill Build Tool v1.0.0 Release Highlights
https://www.reddit.com/r/programming/comments/1lwy0mc/mill_build_tool_v100_release_highlights/

submitted by /u/lihaoyi (https://www.reddit.com/user/lihaoyi)
[link] (https://mill-build.org/blog/13-mill-build-tool-v1-0-0.html) [comments] (https://www.reddit.com/r/programming/comments/1lwy0mc/mill_build_tool_v100_release_highlights/)

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

Reddit Programming

Vanilla JavaScript: The Difference Between Plain JS, JavaScript Frameworks, and When to Use Them
https://www.reddit.com/r/programming/comments/1lwa6i0/vanilla_javascript_the_difference_between_plain/

<!-- SC_OFF -->The best explanation you've ever seen <!-- SC_ON --> submitted by /u/rikkiviki (https://www.reddit.com/user/rikkiviki)
[link] (https://blog.webix.com/vanillajs-vs-framework-when-using-js-libraries/) [comments] (https://www.reddit.com/r/programming/comments/1lwa6i0/vanilla_javascript_the_difference_between_plain/)

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

Reddit Programming

Bringing granular updates to React, the Clojure way
https://www.reddit.com/r/programming/comments/1lw8gx9/bringing_granular_updates_to_react_the_clojure_way/

submitted by /u/roman01la (https://www.reddit.com/user/roman01la)
[link] (https://romanliutikov.com/blog/bringing-granular-updates-to-react-the-clojure-way) [comments] (https://www.reddit.com/r/programming/comments/1lw8gx9/bringing_granular_updates_to_react_the_clojure_way/)

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

Reddit Programming

You ever looked at a JSON file and thought, "this should run"? Now it does.
https://www.reddit.com/r/programming/comments/1lw5goh/you_ever_looked_at_a_json_file_and_thought_this/

<!-- SC_OFF -->So, I built a programming language where the code is written in JSON. It’s called JPL (JSON Programming Language). Yeah, I know. Completely unnecessary. But also fun. Yes, it's a binding written in Java, but it runs download an exe. Project’s up here if you wanna mess with it: 👉 https://github.com/W1LDN16H7/JPL Releases: https://github.com/W1LDN16H7/JPL/releases Examples: https://raw.githubusercontent.com/W1LDN16H7/JPL/master/images/help.png,https://raw.githubusercontent.com/W1LDN16H7/JPL/master/images/carbon%20(1).png (https://raw.githubusercontent.com/W1LDN16H7/JPL/master/images/carbon%20(1).png) Would love thoughts, jokes, roasts, or PRs. Also, give it a star if you use GitHub. Also, yeah: if curly braces scare you, this ain't for you. <!-- SC_ON --> submitted by /u/I_4m_knight (https://www.reddit.com/user/I_4m_knight)
[link] (https://github.com/W1LDN16H7/JPL) [comments] (https://www.reddit.com/r/programming/comments/1lw5goh/you_ever_looked_at_a_json_file_and_thought_this/)

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

Reddit Programming

How Much Upfront Design Do You Really Need?
https://www.reddit.com/r/programming/comments/1lw4gsw/how_much_upfront_design_do_you_really_need/

submitted by /u/Heavy-Elk8273 (https://www.reddit.com/user/Heavy-Elk8273)
[link] (https://youtu.be/B9SOLMYXAo0) [comments] (https://www.reddit.com/r/programming/comments/1lw4gsw/how_much_upfront_design_do_you_really_need/)

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

Reddit Programming

MySQL to MariaDB migration story of Switch.ch, Switzerland’s Open Source IT Backbone for Universities and Research
https://www.reddit.com/r/programming/comments/1lvtjsw/mysql_to_mariadb_migration_story_of_switchch/

submitted by /u/OttoKekalainen (https://www.reddit.com/user/OttoKekalainen)
[link] (https://mariadb.org/swiss-academic-it-switch-ch/) [comments] (https://www.reddit.com/r/programming/comments/1lvtjsw/mysql_to_mariadb_migration_story_of_switchch/)

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

Reddit Programming

Variadic Generics ideas that won’t work for Rust
https://www.reddit.com/r/programming/comments/1lvti03/variadic_generics_ideas_that_wont_work_for_rust/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://poignardazur.github.io//2025/07/09/variadic-generics-dead-ends/) [comments] (https://www.reddit.com/r/programming/comments/1lvti03/variadic_generics_ideas_that_wont_work_for_rust/)

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

Reddit Programming

Phrase origin: Why do we "call" functions?
https://www.reddit.com/r/programming/comments/1lvtfit/phrase_origin_why_do_we_call_functions/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://quuxplusone.github.io/blog/2025/04/04/etymology-of-call/) [comments] (https://www.reddit.com/r/programming/comments/1lvtfit/phrase_origin_why_do_we_call_functions/)

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

Reddit Programming

Tree Borrows
https://www.reddit.com/r/programming/comments/1lvtb1n/tree_borrows/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://plf.inf.ethz.ch/research/pldi25-tree-borrows.html) [comments] (https://www.reddit.com/r/programming/comments/1lvtb1n/tree_borrows/)

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

Reddit Programming

Real Consulting Example: Refactoring FinTech Project to use Terraform and ArgoCD
https://www.reddit.com/r/programming/comments/1lvridp/real_consulting_example_refactoring_fintech/

submitted by /u/trolleid (https://www.reddit.com/user/trolleid)
[link] (https://lukasniessen.medium.com/real-consulting-example-refactoring-fintech-project-to-use-terraform-and-argocd-1180594b071a) [comments] (https://www.reddit.com/r/programming/comments/1lvridp/real_consulting_example_refactoring_fintech/)

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

Reddit Programming

The hidden cost of AI reliance
https://www.reddit.com/r/programming/comments/1lvqfmi/the_hidden_cost_of_ai_reliance/

submitted by /u/codebytom (https://www.reddit.com/user/codebytom)
[link] (https://codebytom.blog/2025/07/09/the-hidden-cost-of-ai-reliance/) [comments] (https://www.reddit.com/r/programming/comments/1lvqfmi/the_hidden_cost_of_ai_reliance/)

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

Reddit Programming

Red Hat just expanded free access to RHEL for business developers
https://www.reddit.com/r/programming/comments/1lvoior/red_hat_just_expanded_free_access_to_rhel_for/

submitted by /u/Tanglesome (https://www.reddit.com/user/Tanglesome)
[link] (https://www.zdnet.com/article/red-hat-expands-free-access-to-rhel-for-business-developers/) [comments] (https://www.reddit.com/r/programming/comments/1lvoior/red_hat_just_expanded_free_access_to_rhel_for/)

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

Reddit Programming

Node.js Interview Q&A: Day 18
https://www.reddit.com/r/programming/comments/1lvl4rz/nodejs_interview_qa_day_18/

submitted by /u/MysteriousEye8494 (https://www.reddit.com/user/MysteriousEye8494)
[link] (https://medium.com/devinsight/node-js-interview-q-a-day-18-3fe84399004f) [comments] (https://www.reddit.com/r/programming/comments/1lvl4rz/nodejs_interview_qa_day_18/)

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

Reddit Programming

Building Your First ETL Pipeline in Rust
https://www.reddit.com/r/programming/comments/1lvfu2h/building_your_first_etl_pipeline_in_rust/

submitted by /u/Idkwhyweneedusername (https://www.reddit.com/user/Idkwhyweneedusername)
[link] (https://ryuru.com/building-your-first-etl-pipeline-in-rust/) [comments] (https://www.reddit.com/r/programming/comments/1lvfu2h/building_your_first_etl_pipeline_in_rust/)

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