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

The Case for Being Lazy
https://www.reddit.com/r/programming/comments/1m9log0/the_case_for_being_lazy/

<!-- SC_OFF -->I have always thought that being lazy enough to work hard was a completely unervalued skill <!-- SC_ON --> submitted by /u/WifeEyedFascination (https://www.reddit.com/user/WifeEyedFascination)
[link] (https://osada.blog/posts/the-case-for-being-lazy/) [comments] (https://www.reddit.com/r/programming/comments/1m9log0/the_case_for_being_lazy/)

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

Reddit Programming

Getting Started with Ebitengine (Go game engine)
https://www.reddit.com/r/programming/comments/1m9kjv3/getting_started_with_ebitengine_go_game_engine/

submitted by /u/tslocum (https://www.reddit.com/user/tslocum)
[link] (https://trevors-tutorials.com/0003-getting-started-with-ebitengine/) [comments] (https://www.reddit.com/r/programming/comments/1m9kjv3/getting_started_with_ebitengine_go_game_engine/)

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

Reddit Programming

For the curious: How the FAT32 file system works
https://www.reddit.com/r/programming/comments/1m98wcs/for_the_curious_how_the_fat32_file_system_works/

submitted by /u/careyi4 (https://www.reddit.com/user/careyi4)
[link] (https://youtu.be/SCalxPHeB3w) [comments] (https://www.reddit.com/r/programming/comments/1m98wcs/for_the_curious_how_the_fat32_file_system_works/)

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

Reddit Programming

nullable but not null
https://www.reddit.com/r/programming/comments/1m93ssx/nullable_but_not_null/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://efe.me/posts/nullable-but-not-null/) [comments] (https://www.reddit.com/r/programming/comments/1m93ssx/nullable_but_not_null/)

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

Reddit Programming

Three HTTP versions later, forms are still a mess
https://www.reddit.com/r/programming/comments/1m93c97/three_http_versions_later_forms_are_still_a_mess/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://yorickpeterse.com/articles/three-http-versions-later-forms-are-still-a-mess/) [comments] (https://www.reddit.com/r/programming/comments/1m93c97/three_http_versions_later_forms_are_still_a_mess/)

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

Reddit Programming

Legally Hacking Dormant Bitcoin Wallets in C
https://www.reddit.com/r/programming/comments/1m91xbc/legally_hacking_dormant_bitcoin_wallets_in_c/

submitted by /u/DataBaeBee (https://www.reddit.com/user/DataBaeBee)
[link] (https://leetarxiv.substack.com/p/hacking-dormant-bitcoin-wallets-c) [comments] (https://www.reddit.com/r/programming/comments/1m91xbc/legally_hacking_dormant_bitcoin_wallets_in_c/)

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

Reddit Programming

I built a link aggregator where only bots can post. What could go wrong?
https://www.reddit.com/r/programming/comments/1m8vijr/i_built_a_link_aggregator_where_only_bots_can/

submitted by /u/Substantial_Crab_107 (https://www.reddit.com/user/Substantial_Crab_107)
[link] (https://honig.boo/) [comments] (https://www.reddit.com/r/programming/comments/1m8vijr/i_built_a_link_aggregator_where_only_bots_can/)

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

Reddit Programming

Invisible Programming Language
https://www.reddit.com/r/programming/comments/1m8uqpv/invisible_programming_language/

submitted by /u/usaidr (https://www.reddit.com/user/usaidr)
[link] (https://en.wikipedia.org/wiki/Whitespace_(programming_language)) [comments] (https://www.reddit.com/r/programming/comments/1m8uqpv/invisible_programming_language/)

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

Reddit Programming

Programming Vehicles in Games – Wassimulator – BSC 2025
https://www.reddit.com/r/programming/comments/1m8tysa/programming_vehicles_in_games_wassimulator_bsc/

submitted by /u/gingerbill (https://www.reddit.com/user/gingerbill)
[link] (https://www.youtube.com/watch?v=MrIAw980iYg) [comments] (https://www.reddit.com/r/programming/comments/1m8tysa/programming_vehicles_in_games_wassimulator_bsc/)

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

Reddit Programming

Why concatenative programming matters
https://www.reddit.com/r/programming/comments/1m8hb7u/why_concatenative_programming_matters/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (http://evincarofautumn.blogspot.com/2012/02/why-concatenative-programming-matters.html) [comments] (https://www.reddit.com/r/programming/comments/1m8hb7u/why_concatenative_programming_matters/)

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

Reddit Programming

I wasted weeks hand optimizing assembly because I benchmarked on random data
https://www.reddit.com/r/programming/comments/1m8abth/i_wasted_weeks_hand_optimizing_assembly_because_i/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.vidarholen.net/contents/blog/?p=1160) [comments] (https://www.reddit.com/r/programming/comments/1m8abth/i_wasted_weeks_hand_optimizing_assembly_because_i/)

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

Reddit Programming

Solving a Childhood Mystery: How BASIC Games Learned to Win
https://www.reddit.com/r/programming/comments/1m883cx/solving_a_childhood_mystery_how_basic_games/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://sublevelgames.github.io/blogs/2025-07-20-basic-game-hexapawn/) [comments] (https://www.reddit.com/r/programming/comments/1m883cx/solving_a_childhood_mystery_how_basic_games/)

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

Reddit Programming

There is no memory safety without thread safety
https://www.reddit.com/r/programming/comments/1m8800s/there_is_no_memory_safety_without_thread_safety/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.ralfj.de/blog/2025/07/24/memory-safety.html) [comments] (https://www.reddit.com/r/programming/comments/1m8800s/there_is_no_memory_safety_without_thread_safety/)

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

Reddit Programming

My Unhyped Take On MCP Servers - It's Negative :)
https://www.reddit.com/r/programming/comments/1m87swn/my_unhyped_take_on_mcp_servers_its_negative/

submitted by /u/elizObserves (https://www.reddit.com/user/elizObserves)
[link] (https://signoz.io/blog/unhyped-take-on-mcp-servers/) [comments] (https://www.reddit.com/r/programming/comments/1m87swn/my_unhyped_take_on_mcp_servers_its_negative/)

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

Reddit Programming

Building a Game Engine Solo – Lessons Learned, Bad Decisions, and Surprising Wins
https://www.reddit.com/r/programming/comments/1m8732h/building_a_game_engine_solo_lessons_learned_bad/

<!-- SC_OFF -->Wrote a brutally honest breakdown of writing a game engine from scratch (C++ + Lua + WebGL). Covers threading, memory, GC issues, emscripten pain, and why I still think it was worth it. Includes demo. <!-- SC_ON --> submitted by /u/xhighway999 (https://www.reddit.com/user/xhighway999)
[link] (https://coffeecupentertainment.com/articles/iteris_preburn) [comments] (https://www.reddit.com/r/programming/comments/1m8732h/building_a_game_engine_solo_lessons_learned_bad/)

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

Reddit Programming

Testivus on Test Coverage
https://www.reddit.com/r/programming/comments/1m9kxaa/testivus_on_test_coverage/

<!-- SC_OFF -->Came across this today and thought it was worth sharing. <!-- SC_ON --> submitted by /u/Original-Character57 (https://www.reddit.com/user/Original-Character57)
[link] (https://stackoverflow.com/a/90021) [comments] (https://www.reddit.com/r/programming/comments/1m9kxaa/testivus_on_test_coverage/)

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

Reddit Programming

How to Classify images using Efficientnet B0
https://www.reddit.com/r/programming/comments/1m9a8m8/how_to_classify_images_using_efficientnet_b0/

<!-- SC_OFF -->Classify any image in seconds using Python and the pre-trained EfficientNetB0 model from TensorFlow. This beginner-friendly tutorial shows how to load an image, preprocess it, run predictions, and display the result using OpenCV. Great for anyone exploring image classification without building or training a custom model — no dataset needed! You can find link for the code in the blog : https://eranfeit.net/how-to-classify-images-using-efficientnet-b0/ You can find more tutorials, and join my newsletter here : https://eranfeit.net/ Full code for Medium users : feitgemel/how-to-classify-images-using-efficientnet-b0-738f48665583" rel="nofollow">https://medium.com/@feitgemel/how-to-classify-images-using-efficientnet-b0-738f48665583 Watch the full tutorial here: https://youtu.be/lomMTiG9UZ4 Enjoy Eran <!-- SC_ON --> submitted by /u/Feitgemel (https://www.reddit.com/user/Feitgemel)
[link] (https://eranfeit.net/how-to-classify-images-using-efficientnet-b0/) [comments] (https://www.reddit.com/r/programming/comments/1m9a8m8/how_to_classify_images_using_efficientnet_b0/)

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

Reddit Programming

Why MIT Switched from Scheme to Python
https://www.reddit.com/r/programming/comments/1m94lxs/why_mit_switched_from_scheme_to_python/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.wisdomandwonder.com/link/2110/why-mit-switched-from-scheme-to-python) [comments] (https://www.reddit.com/r/programming/comments/1m94lxs/why_mit_switched_from_scheme_to_python/)

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

Reddit Programming

Relational Thinking in J
https://www.reddit.com/r/programming/comments/1m93d4y/relational_thinking_in_j/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://storytotell.org/relational-thinking-in-j) [comments] (https://www.reddit.com/r/programming/comments/1m93d4y/relational_thinking_in_j/)

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

Reddit Programming

5 minute Postgres Performance Checkup
https://www.reddit.com/r/programming/comments/1m91z7r/5_minute_postgres_performance_checkup/

<!-- SC_OFF -->rohansodha10/you-must-do-this-5-minute-postgres-performance-checkup-%EF%B8%8F-8f14cd867bbb?sk=1ba3d98be2c693f8cb81e66abb0247f9" rel="nofollow">https://medium.com/@rohansodha10/you-must-do-this-5-minute-postgres-performance-checkup-%EF%B8%8F-8f14cd867bbb?sk=1ba3d98be2c693f8cb81e66abb0247f9 <!-- SC_ON --> submitted by /u/Temporary_Depth_2491 (https://www.reddit.com/user/Temporary_Depth_2491)
[link] (rohansodha10/you-must-do-this-5-minute-postgres-performance-checkup-%EF%B8%8F-8f14cd867bbb?sk=1ba3d98be2c693f8cb81e66abb0247f9" rel="nofollow">https://medium.com/@rohansodha10/you-must-do-this-5-minute-postgres-performance-checkup-%EF%B8%8F-8f14cd867bbb?sk=1ba3d98be2c693f8cb81e66abb0247f9) [comments] (https://www.reddit.com/r/programming/comments/1m91z7r/5_minute_postgres_performance_checkup/)

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

Reddit Programming

Learning About GPUs Through Measuring Memory Bandwidth
https://www.reddit.com/r/programming/comments/1m91iyh/learning_about_gpus_through_measuring_memory/

submitted by /u/PointAdventure (https://www.reddit.com/user/PointAdventure)
[link] (https://www.evolvebenchmark.com/blog-posts/learning-about-gpus-through-measuring-memory-bandwidth) [comments] (https://www.reddit.com/r/programming/comments/1m91iyh/learning_about_gpus_through_measuring_memory/)

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

Reddit Programming

Combatting reverse shell bots with honeypots ~ Laura Sofia's Tech-Stash
https://www.reddit.com/r/programming/comments/1m8uxau/combatting_reverse_shell_bots_with_honeypots/

<!-- SC_OFF -->What do you do if it's too early to figure out fail2ban and need to stop crude bot attacks? Earlier this morning, I've had to deal with a group of bots trying to hit gold by randomly searching for reverse shells on our server. I've written a small blogpost detailling the attack and how I dealt with it while getting ready for work. <!-- SC_ON --> submitted by /u/404IdentityNotFound (https://www.reddit.com/user/404IdentityNotFound)
[link] (https://laura.media/blog/combatting-reverse-shell-bots-with-honeypots/) [comments] (https://www.reddit.com/r/programming/comments/1m8uxau/combatting_reverse_shell_bots_with_honeypots/)

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

Reddit Programming

CRDTs and collaborative playgrounds
https://www.reddit.com/r/programming/comments/1m8up71/crdts_and_collaborative_playgrounds/

submitted by /u/West-Chard-1474 (https://www.reddit.com/user/West-Chard-1474)
[link] (https://www.cerbos.dev/blog/crdts-and-collaborative-playground) [comments] (https://www.reddit.com/r/programming/comments/1m8up71/crdts_and_collaborative_playgrounds/)

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

Reddit Programming

Wassimulator - Programming Vehicles in Games - BSC 2025
https://www.reddit.com/r/programming/comments/1m8r46i/wassimulator_programming_vehicles_in_games_bsc/

submitted by /u/fenmouse (https://www.reddit.com/user/fenmouse)
[link] (https://youtube.com/watch?v=MrIAw980iYg) [comments] (https://www.reddit.com/r/programming/comments/1m8r46i/wassimulator_programming_vehicles_in_games_bsc/)

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

Reddit Programming

Hardware-encrypting drives test suite -- "We conduct a systematic security study of 24 TCG Opal-compliant drives. . . . Our analysis shows persistent errors and vulnerabilities in SED implementations regarding basic device usage, data encryption, and random data generators."
https://www.reddit.com/r/programming/comments/1m8dl15/hardwareencrypting_drives_test_suite_we_conduct_a/

submitted by /u/throwaway16830261 (https://www.reddit.com/user/throwaway16830261)
[link] (https://is.muni.cz/th/hy1ai/?lang=en) [comments] (https://www.reddit.com/r/programming/comments/1m8dl15/hardwareencrypting_drives_test_suite_we_conduct_a/)

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

Reddit Programming

JNJ: J iN Janet
https://www.reddit.com/r/programming/comments/1m8840d/jnj_j_in_janet/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://sr.ht/~subsetpark/JNJ/) [comments] (https://www.reddit.com/r/programming/comments/1m8840d/jnj_j_in_janet/)

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

Reddit Programming

The FastLanes File Format [pdf]
https://www.reddit.com/r/programming/comments/1m880cj/the_fastlanes_file_format_pdf/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://github.com/cwida/FastLanes/blob/dev/docs/specification.pdf) [comments] (https://www.reddit.com/r/programming/comments/1m880cj/the_fastlanes_file_format_pdf/)

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

Reddit Programming

Use Your Type System
https://www.reddit.com/r/programming/comments/1m87zyu/use_your_type_system/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.dzombak.com/blog/2025/07/use-your-type-system/) [comments] (https://www.reddit.com/r/programming/comments/1m87zyu/use_your_type_system/)

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

Reddit Programming

Adding more CPU cores won't help if your architecture is fundamentally sequential
https://www.reddit.com/r/programming/comments/1m87s67/adding_more_cpu_cores_wont_help_if_your/

<!-- SC_OFF -->Hit a scaling issue with our log collector. When customers pushed 1M+ logs/minute, adding more CPU/memory barely improved performance. Profiling showed we were only using 67% of allocated CPU cores. Why? Because we inherited OpenTelemetry's sequential processing pattern where logs get processed one-by-one in a tight loop, essentially single-threading the workload. // This was the problem for _, entry := range entries { processedEntry := transformEntry(entry) // next iteration blocks on this one } Switched to worker pool pattern with goroutines equal to allocated CPU cores. Dropped ordering guarantees since logs don't need strict sequencing. Outcome: 35.7k → 47k average, 66k peak logs/second, CPU utilization 67% → 108%, same hardware. Classic urge of throwing resources at an architectural problem. Code in the article if anyone's curious about the implementation details. <!-- SC_ON --> submitted by /u/ExcitingThought2794 (https://www.reddit.com/user/ExcitingThought2794)
[link] (https://signoz.io/blog/optimizing-log-processing-at-scale/) [comments] (https://www.reddit.com/r/programming/comments/1m87s67/adding_more_cpu_cores_wont_help_if_your/)

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

Reddit Programming

Webpack 5 Module Federation - my approach
https://www.reddit.com/r/programming/comments/1m84ptx/webpack_5_module_federation_my_approach/

<!-- SC_OFF -->Decentralized Architecture: https://positive-intentions.com/blog/decentralised-architecture While my approach here could be considered overly complicated (because, well, it is), I'm trying something new, and it's entirely possible this strategy won't be viable long-term. My philosophy is "there's only one way to find out." I'm not necessarily recommending this approach, just sharing my journey and what I'm doing. Potential Benefits I've identified some interesting benefits to this approach: Statics as Chat App Infrastructure: https://positive-intentions.com/blog/statics-as-a-chat-app-infrastructure While I often see module federation and microfrontends discouraged in online discussions, I believe they're a good fit for my specific approach. I'm optimistic about the benefits and wanted to share the details. When serving the federated modules, I can also host the Storybook statics. I think this could be an excellent way to document the modules in isolation. Modules and Applications Here are some examples of the modules and how they're being used: Cryptography Modules: https://cryptography.positive-intentions.com/?path=/docs/cryptography-introduction--docs P2P Framework: https://p2p.positive-intentions.com/?path=/docs/e2e-tests-connectionstatus--docs This setup allows me to create microfrontends that consume these modules, enabling me to share functionality between different applications. The following applications, which have distinct codebases (and a distinction between open and closed source), would be able to leverage this: P2P Chat: https://chat.positive-intentions.com (https://chat.positive-intentions.com/) P2P File Transfer: https://file.positive-intentions.com (https://file.positive-intentions.com/) Sharing these dependencies should make it easier to roll out updates to core mechanics across these diverse applications. Furthermore, this functionality also works when I create an Android build with Tauri. This could streamline the process of creating new applications that utilize these established modules. Considerations and Future I'm sure there will be some distinct testing and maintenance overhead with this architecture. However, depending on how it's implemented, I believe it could work and make it easier to improve upon the current functionality. It's important to note that everything about this project is far from finished. Some might view this as an overly complicated way to achieve what npm already does. However, I think this approach offers greater flexibility by allowing for the separation of open and closed-source code for the web. Of course, being JavaScript, the "source code" will always be accessible, especially in the age of AI where reverse-engineering is more possible than ever before. <!-- SC_ON --> submitted by /u/Accurate-Screen8774 (https://www.reddit.com/user/Accurate-Screen8774)
[link] (https://positive-intentions.com/blog/decentralised-architecture) [comments] (https://www.reddit.com/r/programming/comments/1m84ptx/webpack_5_module_federation_my_approach/)

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