Reddit Programming – Telegram
Reddit Programming
211 subscribers
1.22K photos
125K links
I will send you newest post from subreddit /r/programming
Download Telegram
A Very Fast Date Algorithm
https://www.reddit.com/r/programming/comments/1p7x0dh/a_very_fast_date_algorithm/

<!-- SC_OFF -->The article outlines a faster way to turn a day number into a calendar date. It replaces most divisions with a few multiplications and shifts, and it simplifies the process by counting backward from a fixed year. Pseudocode and benchmarks are included to compare with older methods. It's a nice look at a common routine that still has room for refinement. <!-- SC_ON --> submitted by /u/AWildMonomAppears (https://www.reddit.com/user/AWildMonomAppears)
[link] (https://www.benjoffe.com/fast-date-64) [comments] (https://www.reddit.com/r/programming/comments/1p7x0dh/a_very_fast_date_algorithm/)
How websockets work in 10mins
https://www.reddit.com/r/programming/comments/1p8126a/how_websockets_work_in_10mins/

<!-- SC_OFF -->pretty much everything you need to know about websockets in 10 mins. (note: i love websockets. i hope you do too. and i’d love to hear about some other optimization techniques in multiplayer games that you’re familiar with.) <!-- SC_ON --> submitted by /u/FederalRace5393 (https://www.reddit.com/user/FederalRace5393)
[link] (https://www.deepintodev.com/blog/how-websockets-work) [comments] (https://www.reddit.com/r/programming/comments/1p8126a/how_websockets_work_in_10mins/)
Library Management System in Java Swing – Full Course (2025)
https://www.reddit.com/r/programming/comments/1p82aqj/library_management_system_in_java_swing_full/

<!-- SC_OFF -->📚 Complete Library Management System in Java Swing – Full Course (2025) This is a full step-by-step practical course where we build a complete Library Management System using Java Swing and MySQL.
It is perfect for beginners and intermediate students who want to learn real desktop application development. 🔧 What you will learn Java Swing UI design JDBC and MySQL integration Login and user authentication Manage Books Form Manage Students / Members CRUD operations Unique ID generation Search and report features Real project structure 🎯 Course Goal By the end of the course, you will be able to build professional desktop applications using Java Swing. Playlist Link 👉 (https://www.youtube.com/playlist?list=PLR_BEPp_tMBv2T4zT7Z0rL-zgLL6WxEmF) <!-- SC_ON --> submitted by /u/Substantial-Log-9305 (https://www.reddit.com/user/Substantial-Log-9305)
[link] (https://www.youtube.com/playlist?list=PLR_BEPp_tMBv2T4zT7Z0rL-zgLL6WxEmF) [comments] (https://www.reddit.com/r/programming/comments/1p82aqj/library_management_system_in_java_swing_full/)
How Java Virtual Threads Simplify Reactor APIs
https://www.reddit.com/r/programming/comments/1p82bl8/how_java_virtual_threads_simplify_reactor_apis/

<!-- SC_OFF -->How virtual threads saved me from becoming a meme! 😜 “I came dangerously close to becoming a walkin Java meme - until virtual threads swooped in like a caffeinated superhero and saved me from endless callback hell!” <!-- SC_ON --> submitted by /u/shift_devs (https://www.reddit.com/user/shift_devs)
[link] (https://shiftmag.dev/how-virtual-threads-saved-me-from-becoming-a-meme-7167/) [comments] (https://www.reddit.com/r/programming/comments/1p82bl8/how_java_virtual_threads_simplify_reactor_apis/)
Kafka Streams: The Complete Guide to Interactive Queries and Real-Time State Stores
https://www.reddit.com/r/programming/comments/1p83h3s/kafka_streams_the_complete_guide_to_interactive/

<!-- SC_OFF -->Hey all — I’ve been working on streaming systems lately (mostly for finance / real-time data pipelines), and one issue kept coming up: how do you efficiently query the state inside a streaming app while it’s running? So I wrote up a short guide to Kafka Streams’ interactive-query mode — how to store state via state-stores, and how to fetch current values at runtime (e.g. latest aggregates, sensor-level state, etc.). I tried to keep the write-up simple: minimal jargon, example code, and a clear walkthrough. If you’re building real-time dashboards, stateful event processing, or scalable microservices using Kafka Streams — I thought this might help. Feedback / discussion welcome. <!-- SC_ON --> submitted by /u/SmoothYogurtcloset65 (https://www.reddit.com/user/SmoothYogurtcloset65)
[link] (https://medium.com/@venkateshwagh777/kafka-streams-guide-to-interactive-queries-and-real-time-state-stores-3b97dad1936f) [comments] (https://www.reddit.com/r/programming/comments/1p83h3s/kafka_streams_the_complete_guide_to_interactive/)
Understanding the Composite Design Pattern in Go: A Practical Guide
https://www.reddit.com/r/programming/comments/1p86p7b/understanding_the_composite_design_pattern_in_go/

<!-- SC_OFF -->I recently wrote a blog post breaking down the Composite Design Pattern in a way that makes sense for Go developers. Most resources explain Composite using Java/C++ examples or get overly theoretical. This one stays practical and shows how the pattern naturally fits into real Go use cases like filesystems, ASTs, CLI commands, and UI trees. The post includes: The official definition of the Composite Pattern A simple explanation of the core idea A clean file–folder example implemented in Go When you should (and shouldn’t) use Composite Common mistakes to avoid Pros and cons Real-world parallels in Go’s ecosystem If you're working with hierarchical structures or recursive behavior, you might find it helpful. Here’s the link: https://medium.com/design-bootcamp/understanding-the-composite-design-pattern-in-go-a-practical-guide-750710e66f4c <!-- SC_ON --> submitted by /u/priyankchheda15 (https://www.reddit.com/user/priyankchheda15)
[link] (https://medium.com/design-bootcamp/understanding-the-composite-design-pattern-in-go-a-practical-guide-750710e66f4c) [comments] (https://www.reddit.com/r/programming/comments/1p86p7b/understanding_the_composite_design_pattern_in_go/)
Java Swing Flip Card UI | Fetch Data from MySQL Database (Part 2)
https://www.reddit.com/r/programming/comments/1p8cbcp/java_swing_flip_card_ui_fetch_data_from_mysql/

<!-- SC_OFF -->In this video, we continue our modern Java Swing Flip Card project.
You will learn how to connect your Java application to a MySQL database and dynamically load employee data—such as image, name, phone, email, and department—directly into the flip card. 🔹 What you will learn in Part 2:
• Connect Java Swing to MySQL
• Use Connection, PreparedStatement, and ResultSet
• Fetch employee data from the database
• Display records inside the animated flip card Watch Full Tutorials on Youtube:
Java Swing Flip Card UI | Fetch Data from MySQL Database (Part 2) | Display Data in Flip Card (https://www.youtube.com/watch?v=Dj83diwpKRg) <!-- SC_ON --> submitted by /u/Substantial-Log-9305 (https://www.reddit.com/user/Substantial-Log-9305)
[link] (https://youtu.be/Dj83diwpKRg) [comments] (https://www.reddit.com/r/programming/comments/1p8cbcp/java_swing_flip_card_ui_fetch_data_from_mysql/)
What does that look like in code ?
https://www.reddit.com/r/programming/comments/1p8dkw3/what_does_that_look_like_in_code/

<!-- SC_OFF -->a system that takes natural language denoscriptions and converts them into both pseudo-code and executable code across multiple domains <!-- SC_ON --> submitted by /u/reallylonguserthing (https://www.reddit.com/user/reallylonguserthing)
[link] (https://github.com/jegly/What-Does-That-Look-Like-in-Code) [comments] (https://www.reddit.com/r/programming/comments/1p8dkw3/what_does_that_look_like_in_code/)
Axe - A Systems Programming Language with Builtin Parallelism and No GC
https://www.reddit.com/r/programming/comments/1p8fbvz/axe_a_systems_programming_language_with_builtin/

<!-- SC_OFF -->The language is now capable of compiling a substantial portion of its own source code using a single-pass C back-end. The self-hosted compiler includes a handwritten lexer and a parser, with an arena-based allocator to eliminate GC complexity. The primary goals for the project are: First-class parallel and concurrent constructs built directly into the language, strong static memory and type guarantees, and a toolchain suitable for building high-performance software. Repo: https://github.com/axelang/axe <!-- SC_ON --> submitted by /u/eternal_3294 (https://www.reddit.com/user/eternal_3294)
[link] (https://axelang.org/) [comments] (https://www.reddit.com/r/programming/comments/1p8fbvz/axe_a_systems_programming_language_with_builtin/)
JEP draft: Windows/gcc Port
https://www.reddit.com/r/programming/comments/1p8pnfr/jep_draft_windowsgcc_port/

<!-- SC_OFF -->I did post this to the Java subreddit quite some time ago, but didn't have the idea of crossposting it back then. I did find this proposal fairly interesting though, so I just thought I'd share it again to see what others would think of it. <!-- SC_ON --> submitted by /u/United_Swordfish_935 (https://www.reddit.com/user/United_Swordfish_935)
[link] (https://openjdk.org/jeps/8288293) [comments] (https://www.reddit.com/r/programming/comments/1p8pnfr/jep_draft_windowsgcc_port/)
Improving Zsh vi-mode ergonomics with inline man-page lookups (zsh-vi-man)
https://www.reddit.com/r/programming/comments/1p8t8ni/improving_zsh_vimode_ergonomics_with_inline/

<!-- SC_OFF -->I wrote a small extension called zsh-vi-man that hooks into Zsh’s line editor. When your cursor is on a command-line option, pressing Shift+K opens the relevant part of the man page. It’s similar to how Vim’s K works, but adapted for shell usage by identifying the token under the cursor and jumping to the matching section in the manual. <!-- SC_ON --> submitted by /u/imreallytuna (https://www.reddit.com/user/imreallytuna)
[link] (https://github.com/TunaCuma/zsh-vi-man) [comments] (https://www.reddit.com/r/programming/comments/1p8t8ni/improving_zsh_vimode_ergonomics_with_inline/)
Thinning layers
https://www.reddit.com/r/programming/comments/1p8xtfy/thinning_layers/

<!-- SC_OFF -->"Running containers is fun, until you have to wait for 5 hours to download all the image layers from a rate-limited server through your brittle mobile connection. Let's dive a little deeper into what is actually stored in those layers and how to make them thinner." <!-- SC_ON --> submitted by /u/swdevtest (https://www.reddit.com/user/swdevtest)
[link] (https://writethat.blog/layers.html) [comments] (https://www.reddit.com/r/programming/comments/1p8xtfy/thinning_layers/)