Reddit Programming – Telegram
Reddit Programming
211 subscribers
1.22K photos
125K links
I will send you newest post from subreddit /r/programming
Download Telegram
How Versioned Cache Keys Can Save You During Rolling Deployments
https://www.reddit.com/r/programming/comments/1pvomnn/how_versioned_cache_keys_can_save_you_during/

<!-- SC_OFF -->Hi everyone! I wrote a short article about a pattern that’s helped my team avoid cache-related bugs during rolling deployments: 👉 Version your cache keys — by baking a version identifier into your cache keys, you can ensure that newly deployed code always reads/writes fresh keys while old code continues to use the existing ones. This simple practice can prevent subtle bugs and hard-to-debug inconsistencies when you’re running different versions of your service side-by-side. I explain why cache invalidation during rolling deploys is tricky and walk through a clear versioning strategy with examples. Check it out here: https://medium.com/dev-genius/version-your-cache-keys-to-survive-rolling-deployments-a62545326220 Would love to hear thoughts or experiences you’ve had with caching problems in deployments! <!-- SC_ON --> submitted by /u/Specific-Positive966 (https://www.reddit.com/user/Specific-Positive966)
[link] (https://medium.com/dev-genius/version-your-cache-keys-to-survive-rolling-deployments-a62545326220) [comments] (https://www.reddit.com/r/programming/comments/1pvomnn/how_versioned_cache_keys_can_save_you_during/)
ACE - a tiny experimental language (function calls as effects)
https://www.reddit.com/r/programming/comments/1pvqqcl/ace_a_tiny_experimental_language_function_calls/

<!-- SC_OFF -->I spent Christmas alone at home, talking with AI and exploring a weird language idea I’ve had for a while. This is ACE (Algebraic Call Effects) — a tiny experimental language where every function call is treated as an effect and can be intercepted by handlers. The idea is purely conceptual. I’m not a PL theorist, I’m not doing rigorous math here, and I’m very aware this could just be a new kind of goto. Think of it as an idea experiment, not a serious proposal. The interpreter is written in F# (which turned out to be a really nice fit for this kind of language work), the parser uses XParsec, and the playground runs in the browser via WebAssembly using Bolero. (Ace Lang - Playground (https://lee-wonjun.github.io/ACE/)) Curious what people think — feedback welcome <!-- SC_ON --> submitted by /u/See-Ro-E (https://www.reddit.com/user/See-Ro-E)
[link] (https://github.com/Lee-WonJun/ACE) [comments] (https://www.reddit.com/r/programming/comments/1pvqqcl/ace_a_tiny_experimental_language_function_calls/)
ASUS ROG Laptops are Broken by Design: A Forensic Deep Dive
https://www.reddit.com/r/programming/comments/1pw1vf1/asus_rog_laptops_are_broken_by_design_a_forensic/

<!-- SC_OFF -->ASUS ROG laptops ship with a PCI-SIG specification violation hardcoded into the UEFI firmware. This is not a Windows bug and not a driver bug. Confirmed Affected Models 2022 Strix Scar 15 2025 Strix Scar 16 Potentially many more ROG models sharing the same firmware codebase. The Violation: PCI-SIG ECN Page 17 states: "Identical values must be programmed in both Ports." However, the ASUS UEFI programs the L1.2 Timing Thresholds incorrectly on every boot: CPU Root Port: LTR_L1.2_THRESHOLD = 765us NVIDIA GPU: LTR_L1.2_THRESHOLD = 0ns The Consequence: The GPU and CPU disagree on sleep exit timing, causing the PCIe link to desynchronize during power transitions. Symptoms: WHEA 0x124 crashes Black screens System hangs Driver instability (Symptoms vary from platform to platform) Status: This issue was reported to ASUS Engineering 24 days ago with full register dumps and forensic analysis. The mismatch persists in the latest firmware. I am releasing the full forensic report below so that other users and engineers can verify the register values themselves. Published for interoperability analysis under 17 U.S.C. 1201(f). <!-- SC_ON --> submitted by /u/ZephKeks (https://www.reddit.com/user/ZephKeks)
[link] (https://drive.google.com/drive/folders/10V3AQH06WU14AhKAo0fmqk_JjBvXZmSf) [comments] (https://www.reddit.com/r/programming/comments/1pw1vf1/asus_rog_laptops_are_broken_by_design_a_forensic/)
User Management System in JavaFX & MySQL
https://www.reddit.com/r/programming/comments/1pw3rqs/user_management_system_in_javafx_mysql/

<!-- SC_OFF -->In this part we covered project structure and establish connection b/w JavaFX and MySQL database Watch on YouTube:
Part 2 | User Management System in JavaFX & MySQL | Project Structure & Database Connection (https://www.youtube.com/watch?v=0e6Tn78B3Q4&t=306s) Shared as a step-by-step video series for students and Java developers. Feedback is welcome <!-- SC_ON --> submitted by /u/Substantial-Log-9305 (https://www.reddit.com/user/Substantial-Log-9305)
[link] (https://www.youtube.com/watch?v=0e6Tn78B3Q4&t=306s) [comments] (https://www.reddit.com/r/programming/comments/1pw3rqs/user_management_system_in_javafx_mysql/)
ff: An interactive file finder that combines 'find' and 'grep' with fzf
https://www.reddit.com/r/programming/comments/1pw44sy/ff_an_interactive_file_finder_that_combines_find/

<!-- SC_OFF -->I created a CLI tool to make project navigation smoother. It combines file searching and content searching into one workflow. Tab to switch: Toggle between filename search and content search. Visuals: Directory trees (eza) and syntax highlighting (bat). Editor Integration: Jumps directly to the matched line. Check it out here:https://github.com/the0807/ff <!-- SC_ON --> submitted by /u/Loud-Insect9247 (https://www.reddit.com/user/Loud-Insect9247)
[link] (https://github.com/the0807/ff) [comments] (https://www.reddit.com/r/programming/comments/1pw44sy/ff_an_interactive_file_finder_that_combines_find/)
Developed using react+vite
https://www.reddit.com/r/programming/comments/1pw9ok7/developed_using_reactvite/

<!-- SC_OFF -->Hi so i am 4th year computer science student and i developed this application where a student can join a class just like google classroom and they can answer some quizes given by the teacher and they can also track thier improvement by looking at the analytics. For the teacher they can create a Classroom and it will give the teacher the class code that they can give to thier students so they can join. I also added where a teacher can post a lesson and attach a link to it. they can also track thier students grades like who's exceling and who got low grade so the teacher can help that student. the teacher can also export thier student grade in csv type file or in excel. you can try the app now by going to this website and test my application. Thank you https://brainspark-edu.vercel.app/ <!-- SC_ON --> submitted by /u/Far_Resolution3181 (https://www.reddit.com/user/Far_Resolution3181)
[link] (https://brainspark-edu.vercel.app/) [comments] (https://www.reddit.com/r/programming/comments/1pw9ok7/developed_using_reactvite/)
Any programming youtube channels similar to these?
https://www.reddit.com/r/programming/comments/1pwq2cc/any_programming_youtube_channels_similar_to_these/

<!-- SC_OFF -->Daniel Hirsch (https://www.youtube.com/@HirschDaniel) Ryan Ries (https://www.youtube.com/@ryanries09) Tsoding Daily (https://www.youtube.com/@TsodingDaily) Dan Zaidan (https://www.youtube.com/@DanZaidan) ChiliTomatoNoodle (https://www.youtube.com/@ChiliTomatoNoodle) javidx9 (https://www.youtube.com/@javidx9) Jon Gjengset (https://www.youtube.com/@jonhoo) The Cherno (https://www.youtube.com/@TheCherno) Mustafa Sibai (https://www.youtube.com/@MustafaSibaiDev) Code, Tech, and Tutorials (https://www.youtube.com/@CodeTechandTutorials) Queso Fuego (https://www.youtube.com/@QuesoFuego) Kaarin Gaming (https://www.youtube.com/@KaarinGaming) GamesWithGabe (https://www.youtube.com/@GamesWithGabe) Devtiro (https://www.youtube.com/@devtiro) Teddy Smith (https://www.youtube.com/@TeddySmithDev) Chris Blakely (https://www.youtube.com/@ChrisBlakely) Leon Noel (https://www.youtube.com/@learnwithleon) Clear Code (https://www.youtube.com/@ClearCode) Andrew Hamel Codes (https://www.youtube.com/@andrewhamelcodes) Erik Yuzwa (https://www.youtube.com/@ErikYuzwa) ThatOSDev (https://www.youtube.com/@ThatOSDev) Bitwise (https://www.youtube.com/@pervognsen_bitwise) Lion (https://www.youtube.com/@lionkor98) <!-- SC_ON --> submitted by /u/EXISTENCE-IS-ABSURD (https://www.reddit.com/user/EXISTENCE-IS-ABSURD)
[link] (https://www.youtube.com/@HirschDaniel) [comments] (https://www.reddit.com/r/programming/comments/1pwq2cc/any_programming_youtube_channels_similar_to_these/)
Understanding Database transactions and Isolation Levels
https://www.reddit.com/r/programming/comments/1pwvmqh/understanding_database_transactions_and_isolation/

<!-- SC_OFF -->I always wanted to understand database transaction isolation levels better, and to figure out which one fits which use case. So I am writing this post as my own notes from reading and learning about these concepts. <!-- SC_ON --> submitted by /u/Normal-Tangelo-7120 (https://www.reddit.com/user/Normal-Tangelo-7120)
[link] (https://shbhmrzd.github.io/databases/transactions/isolation-levels/2025/12/26/understanding-database-isolation-levels.html) [comments] (https://www.reddit.com/r/programming/comments/1pwvmqh/understanding_database_transactions_and_isolation/)
SDSL : a new/old shader programming language
https://www.reddit.com/r/programming/comments/1pwx9cr/sdsl_a_newold_shader_programming_language/

<!-- SC_OFF -->Hi there (again)! I'm one of the maintainers of the Stride engine, we're currently in the process of developing a compiler for our shader language SDSL. For a bit of context, SDSL is HLSL with a mixin system, you could mix and match shader modules to create your own shaders, pick whatever data or function you needed. All of that was done in text form and then transpiled in HLSL or GLSL. As you can guess performance were terrible which drew us to investigate compiling SDSL directly to SPIR-V. This blog post is part 3, it's the rewrite of the SDSL parser and how we're making it more performant! If you have any comments or opinions, don't hesitate to share them! <!-- SC_ON --> submitted by /u/ykafia (https://www.reddit.com/user/ykafia)
[link] (https://www.stride3d.net/blog/) [comments] (https://www.reddit.com/r/programming/comments/1pwx9cr/sdsl_a_newold_shader_programming_language/)
Why iOS app monetization (IAP) is hard to learn as a system
https://www.reddit.com/r/programming/comments/1pwxqpp/why_ios_app_monetization_iap_is_hard_to_learn_as/

<!-- SC_OFF -->This is not a tutorial or a rant. I published a short paper looking at why iOS app monetization (IAP)
is difficult to learn as a coherent system
(design → review → monetization → operation),
not just as APIs or code snippets. The focus is on structural incentives,
knowledge transfer, and hidden time costs. Paper (DOI):
https://doi.org/10.5281/zenodo.18067103 Article (Markdown):
https://github.com/mnrj-vv-w/developer-experience-paper/blob/main/en/article/main.md Repo:
https://github.com/mnrj-vv-w/developer-experience-paper <!-- SC_ON --> submitted by /u/Smooth-East-6702 (https://www.reddit.com/user/Smooth-East-6702)
[link] (https://github.com/mnrj-vv-w/developer-experience-paper/blob/main/en/article/main.md) [comments] (https://www.reddit.com/r/programming/comments/1pwxqpp/why_ios_app_monetization_iap_is_hard_to_learn_as/)
Python JSON serialization: handling nested objects, dataclasses, and type safety without boilerplate
https://www.reddit.com/r/programming/comments/1pwz0dd/python_json_serialization_handling_nested_objects/

<!-- SC_OFF -->Python’s built-in json module works well for basic JSON types (dict, list, strings, numbers), but once you deal with nested objects, dataclasses, enums, or type hints, it quickly turns into custom to_dict() / from_dict() code everywhere. I wrote a short article describing a small Python library I built to explore a different approach: strict, type-aware serialization and deserialization that works directly with Python classes (including dataclasses, __slots__, enums, and nested objects) and fails loudly on mismatches instead of silently accepting bad data. Article (includes examples and design tradeoffs):
https://medium.com/dev-genius/jsonic-python-serialization-that-just-works-3b38d07c426d For anyone interested in the design exploration that led here, I also wrote an early article a couple of years ago when Jsonic was just a prototype, focusing on the initial ideas and tradeoffs rather than the current implementation:
https://medium.com/dev-genius/can-python-do-type-safe-json-serialization-77e4d73ccd08 Interested in feedback on where this approach makes sense vs. existing tools (Pydantic, Marshmallow, etc.), and where it doesn’t. <!-- SC_ON --> submitted by /u/Specific-Positive966 (https://www.reddit.com/user/Specific-Positive966)
[link] (https://medium.com/dev-genius/jsonic-python-serialization-that-just-works-3b38d07c426d) [comments] (https://www.reddit.com/r/programming/comments/1pwz0dd/python_json_serialization_handling_nested_objects/)
Eertree - an interactive guide
https://www.reddit.com/r/programming/comments/1px09iq/eertree_an_interactive_guide/

<!-- SC_OFF -->This blogs post explains the details of eertree, a data structure used for searching palindromes in a string. <!-- SC_ON --> submitted by /u/uhaciogullari (https://www.reddit.com/user/uhaciogullari)
[link] (https://ufukhaciogullari.com/blog/eertree/) [comments] (https://www.reddit.com/r/programming/comments/1px09iq/eertree_an_interactive_guide/)
How to Train Ultralytics YOLOv8 models on Your Custom Dataset | 196 classes | Image classification
https://www.reddit.com/r/programming/comments/1px39qt/how_to_train_ultralytics_yolov8_models_on_your/

<!-- SC_OFF -->For anyone studying YOLOv8 image classification on custom datasets, this tutorial walks through how to train an Ultralytics YOLOv8 classification model to recognize 196 different car categories using the Stanford Cars dataset. It explains how the dataset is organized, why YOLOv8-CLS is a good fit for this task, and demonstrates both the full training workflow and how to run predictions on new images. This tutorial is composed of several parts : 🐍Create Conda environment and all the relevant Python libraries. 🔍 Download and prepare the data: We'll start by downloading the images, and preparing the dataset for the train 🛠️ Training: Run the train over our dataset 📊 Testing the Model: Once the model is trained, we'll show you how to test the model using a new and fresh image. Video explanation: https://youtu.be/-QRVPDjfCYc?si=om4-e7PlQAfipee9 Written explanation with code: https://eranfeit.net/yolov8-tutorial-build-a-car-image-classifier/ Link to the post with a code for Medium members : https://medium.com/image-classification-tutorials/yolov8-tutorial-build-a-car-image-classifier-42ce468854a2 If you are a student or beginner in Machine Learning or Computer Vision, this project is a friendly way to move from theory to practice. Eran <!-- SC_ON --> submitted by /u/Feitgemel (https://www.reddit.com/user/Feitgemel)
[link] (https://eranfeit.net/yolov8-tutorial-build-a-car-image-classifier/) [comments] (https://www.reddit.com/r/programming/comments/1px39qt/how_to_train_ultralytics_yolov8_models_on_your/)