reddit_programming | Technologies

Telegram-канал reddit_programming - Reddit Programming

212

I will send you newest post from subreddit /r/programming

Subscribe to a channel

Reddit Programming

Running a Java Spring Boot app on a 512 MB VPS with lightweight monitoring
https://www.reddit.com/r/programming/comments/1vxl0w4/running_a_java_spring_boot_app_on_a_512_mb_vps/

<!-- SC_OFF -->I wanted to see how a fairly representative Java Spring Boot application behaves on a very small VPS, especially the difference between configured heap and actual JVM process memory. The test app uses Spring Boot 3.5.x, Spring MVC, JPA/Hibernate, H2, embedded Tomcat, Actuator, scheduled work, and outbound HTTP. I also kept lightweight monitoring on the same machine. The original 256 MB configuration was too tight. With 512 MB RAM + 256 MB swap, the application completed the test reliably. Full setup and measurements are in the linked article. Since then I’ve also managed to get the same application working on a 256 MB VPS with swap using JDK 25 Compact Object Headers and tighter JVM settings. I’m preparing that as a separate follow-up experiment. <!-- SC_ON --> submitted by /u/fykup (https://www.reddit.com/user/fykup)
[link] (https://pvrlabs.xyz/articles/spring-boot-512mb-vps.html) [comments] (https://www.reddit.com/r/programming/comments/1vxl0w4/running_a_java_spring_boot_app_on_a_512_mb_vps/)

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

Reddit Programming

Block-layer error injection
https://www.reddit.com/r/programming/comments/1vx3ygt/blocklayer_error_injection/

submitted by /u/haris3301 (https://www.reddit.com/user/haris3301)
[link] (https://lwn.net/Articles/1086344/) [comments] (https://www.reddit.com/r/programming/comments/1vx3ygt/blocklayer_error_injection/)

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

Reddit Programming

How an Underrated Refactor Saved 90% Memory Usage
https://www.reddit.com/r/programming/comments/1vwvdom/how_an_underrated_refactor_saved_90_memory_usage/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://tanstack.com/blog/tanstack-table-v9-memory-performance) [comments] (https://www.reddit.com/r/programming/comments/1vwvdom/how_an_underrated_refactor_saved_90_memory_usage/)

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

Reddit Programming

How To Report A Bug So It Actually Gets Fixed
https://www.reddit.com/r/programming/comments/1vwb745/how_to_report_a_bug_so_it_actually_gets_fixed/

submitted by /u/tymscar (https://www.reddit.com/user/tymscar)
[link] (https://blog.tymscar.com/posts/howtoreportabug/) [comments] (https://www.reddit.com/r/programming/comments/1vwb745/how_to_report_a_bug_so_it_actually_gets_fixed/)

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

Reddit Programming

Next.js Dynamic Routes now also available in Faces!
https://www.reddit.com/r/programming/comments/1vvf3p0/nextjs_dynamic_routes_now_also_available_in_faces/

submitted by /u/henk53 (https://www.reddit.com/user/henk53)
[link] (https://balusc.omnifaces.org/2026/08/nextjs-dynamic-routes-now-also.html) [comments] (https://www.reddit.com/r/programming/comments/1vvf3p0/nextjs_dynamic_routes_now_also_available_in_faces/)

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

Reddit Programming

Finding a hidden Mersenne Twister implementation inside a 15 year old game binary
https://www.reddit.com/r/programming/comments/1vuk4b5/finding_a_hidden_mersenne_twister_implementation/

submitted by /u/JizosKasa (https://www.reddit.com/user/JizosKasa)
[link] (jizoskasa/i-reverse-engineered-plants-vs-zombies-to-answer-one-very-specific-question-557637a68a3e" rel="nofollow">https://medium.com/@jizoskasa/i-reverse-engineered-plants-vs-zombies-to-answer-one-very-specific-question-557637a68a3e) [comments] (https://www.reddit.com/r/programming/comments/1vuk4b5/finding_a_hidden_mersenne_twister_implementation/)

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

Reddit Programming

Embedding models benchmark for code duplication detection
https://www.reddit.com/r/programming/comments/1vud8h6/embedding_models_benchmark_for_code_duplication/

<!-- SC_OFF -->For those who prefer to read the code instead of text, source code is available on GitHub (https://github.com/rafal-qa/embedding-benchmark). Relying only on model specification or common benchmarks, we can't predict how it would perform in a specific use case like detecting duplicated code. Focused evaluation revealed, for example, that a general-purpose model can be better than dedicated for code. Or that small model can outperform big providers. <!-- SC_ON --> submitted by /u/rafal-kochanowski (https://www.reddit.com/user/rafal-kochanowski)
[link] (https://rkochanowski.com/article/embedding-benchmark/) [comments] (https://www.reddit.com/r/programming/comments/1vud8h6/embedding_models_benchmark_for_code_duplication/)

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

Reddit Programming

Pitfalls of Benchmarking on Modern Systems
https://www.reddit.com/r/programming/comments/1vu7o3x/pitfalls_of_benchmarking_on_modern_systems/

submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://stefan-marr.de/2026/08/pitfalls-of-benchmarking-on-modern-systems/) [comments] (https://www.reddit.com/r/programming/comments/1vu7o3x/pitfalls_of_benchmarking_on_modern_systems/)

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

Reddit Programming

Generic Methods in Go 1.27
https://www.reddit.com/r/programming/comments/1vtmrxk/generic_methods_in_go_127/

submitted by /u/ErneuerbareEnergien (https://www.reddit.com/user/ErneuerbareEnergien)
[link] (https://dominik.info/blog/go-generic-methods/) [comments] (https://www.reddit.com/r/programming/comments/1vtmrxk/generic_methods_in_go_127/)

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

Reddit Programming

Music theory for programmers
https://www.reddit.com/r/programming/comments/1vtm44m/music_theory_for_programmers/

submitted by /u/lukehaas (https://www.reddit.com/user/lukehaas)
[link] (https://runjs.app/blog/music-theory-for-programmers) [comments] (https://www.reddit.com/r/programming/comments/1vtm44m/music_theory_for_programmers/)

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

Reddit Programming

An open-source self-hosted network operations platform for ALE OmniSwitch environments
https://www.reddit.com/r/programming/comments/1vtjc5h/an_opensource_selfhosted_network_operations/

<!-- SC_OFF -->Hi everyone, I would like to introduce Portivo Control Center, an independent, open-source and self-hosted network operations platform designed for compatible Alcatel-Lucent Enterprise OmniSwitch environments. Portivo brings everyday switch management, troubleshooting and controlled automation into a single web-based workspace. Key capabilities include: Centralized switch inventory and live operational visibility Logical port-panel views with VLAN, PoE, media and link-state information Endpoint discovery using MAC, IP, hostname, UNP and VLAN evidence Integrated browser-based SSH terminal Controlled command preview and execution Multi-device jobs and reusable automation runbooks Fleet-wide read-only operational audits Role-based access control with Site and Group scope Audit history, reports and operational evidence SNMPv3 UPS monitoring and power-aware infrastructure visibility Backup, restore and administration tools Windows and Linux deployment support Portivo is intended to complement native CLI expertise, not replace it. The objective is to provide network operators with a safer and more consistent workflow for discovering, diagnosing, executing and documenting network changes. The platform is self-hosted, does not require agents on managed switches and can operate inside a protected management network. Switch operations use SSH, while supported UPS monitoring uses SNMPv3. The project is licensed under AGPL-3.0-only. Website:
https://portivo.org/ Documentation:
https://portivo.org/docs/ Roadmap and changelog:
https://portivo.org/roadmap.html Source code:
https://github.com/Donacgreece/Portivo I would genuinely appreciate feedback from network engineers, system administrators and anyone operating ALE OmniSwitch infrastructure. I am particularly interested in feedback about operational workflows, documentation, deployment and features that would be useful in real environments. Thank you for taking a look. <!-- SC_ON --> submitted by /u/Psychological-Top938 (https://www.reddit.com/user/Psychological-Top938)
[link] (https://portivo.org/) [comments] (https://www.reddit.com/r/programming/comments/1vtjc5h/an_opensource_selfhosted_network_operations/)

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

Reddit Programming

Quake Shareware, a CD-ROM just a little too full - Fabien Sanglard
https://www.reddit.com/r/programming/comments/1vtih22/quake_shareware_a_cdrom_just_a_little_too_full/

submitted by /u/NXGZ (https://www.reddit.com/user/NXGZ)
[link] (https://fabiensanglard.net/quake_shareware_cd/index.html) [comments] (https://www.reddit.com/r/programming/comments/1vtih22/quake_shareware_a_cdrom_just_a_little_too_full/)

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

Reddit Programming

A study of privacy-related data collected by Android apps
https://www.reddit.com/r/programming/comments/1vtfeqw/a_study_of_privacyrelated_data_collected_by/

submitted by /u/throwaway16830261 (https://www.reddit.com/user/throwaway16830261)
[link] (https://link.springer.com/article/10.1007/s10515-025-00589-3) [comments] (https://www.reddit.com/r/programming/comments/1vtfeqw/a_study_of_privacyrelated_data_collected_by/)

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

Reddit Programming

flex: 1 and flex: 1 1 auto are not interchangeable when the parent has no definite height
https://www.reddit.com/r/programming/comments/1vtbrzy/flex_1_and_flex_1_1_auto_are_not_interchangeable/

<!-- SC_OFF -->Short version, so you do not have to click: flex: 1 expands to flex: 1 1 0%. That 0% is a percentage basis and resolves against the parent's height. A panel that is height: auto under a max-height cap has no definite height, so the percentage has nothing to resolve against and the child contributes zero. flex: 1 1 auto fixes it, because the basis becomes the content's own height. The reason it took me an evening: Chromium quietly does what you meant, and the engine that broke it was WKWebView. Every test was green because Playwright ships its own WebKit build rather than the system one. I have not worked out whether the spec requires that collapse or merely permits it, so I cannot say which engine is wrong. If you know which reading applies to a max-height-capped auto-height parent, I would like to hear it. <!-- SC_ON --> submitted by /u/HolidayChard9706 (https://www.reddit.com/user/HolidayChard9706)
[link] (https://nodreview.com/blog/wkwebview-flex-collapse/) [comments] (https://www.reddit.com/r/programming/comments/1vtbrzy/flex_1_and_flex_1_1_auto_are_not_interchangeable/)

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

Reddit Programming

Curvature Beziers - Improving on a timeless recipe
https://www.reddit.com/r/programming/comments/1vskauh/curvature_beziers_improving_on_a_timeless_recipe/

submitted by /u/UnConeD (https://www.reddit.com/user/UnConeD)
[link] (https://acko.net/blog/curvature-beziers/) [comments] (https://www.reddit.com/r/programming/comments/1vskauh/curvature_beziers_improving_on_a_timeless_recipe/)

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

Reddit Programming

Your executable is a SQLite database
https://www.reddit.com/r/programming/comments/1vx81cr/your_executable_is_a_sqlite_database/

submitted by /u/segv (https://www.reddit.com/user/segv)
[link] (https://fzakaria.com/2026/08/23/your-executable-is-a-sqlite-database) [comments] (https://www.reddit.com/r/programming/comments/1vx81cr/your_executable_is_a_sqlite_database/)

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

Reddit Programming

What Zig felt like, coming from Rust
https://www.reddit.com/r/programming/comments/1vwyjg2/what_zig_felt_like_coming_from_rust/

submitted by /u/BrewedDoritos (https://www.reddit.com/user/BrewedDoritos)
[link] (https://besok.github.io/posts/what-zig-felt-like-coming-from-rust/) [comments] (https://www.reddit.com/r/programming/comments/1vwyjg2/what_zig_felt_like_coming_from_rust/)

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

Reddit Programming

Stop Using Conventional Commits
https://www.reddit.com/r/programming/comments/1vwfrbg/stop_using_conventional_commits/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://sumnerevans.com/posts/software-engineering/stop-using-conventional-commits/) [comments] (https://www.reddit.com/r/programming/comments/1vwfrbg/stop_using_conventional_commits/)

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

Reddit Programming

The unlikely Linux macro
https://www.reddit.com/r/programming/comments/1vvrbyb/the_unlikely_linux_macro/

<!-- SC_OFF -->Wrote a bit about the `unlikely` and `likely` macros in the Linux codebase. Great little exploration into tiny optimizations that everyone should know more about 😄 <!-- SC_ON --> submitted by /u/chaobang (https://www.reddit.com/user/chaobang)
[link] (https://rushed-reflections.bearblog.dev/an-unlikely-experiment/) [comments] (https://www.reddit.com/r/programming/comments/1vvrbyb/the_unlikely_linux_macro/)

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

Reddit Programming

The Pit Of Success
https://www.reddit.com/r/programming/comments/1vv78fc/the_pit_of_success/

submitted by /u/Maybe-monad (https://www.reddit.com/user/Maybe-monad)
[link] (https://youtu.be/48Rig6v-xYU?is=gA6PbvvpM-yaB-Vz) [comments] (https://www.reddit.com/r/programming/comments/1vv78fc/the_pit_of_success/)

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

Reddit Programming

Bun and Elm (: r)Are Friends · cekrem.github.io
https://www.reddit.com/r/programming/comments/1vuec8q/bun_and_elm_rare_friends_cekremgithubio/

submitted by /u/cekrem (https://www.reddit.com/user/cekrem)
[link] (https://cekrem.github.io/posts/bun-and-elm-are-friends/) [comments] (https://www.reddit.com/r/programming/comments/1vuec8q/bun_and_elm_rare_friends_cekremgithubio/)

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

Reddit Programming

The Great Android Stack Reset: Mobile System Design History
https://www.reddit.com/r/programming/comments/1vuaimm/the_great_android_stack_reset_mobile_system/

<!-- SC_OFF -->Android, the last to arrive at the declarative UI party, took its time, until finally reaching a stable solution. Here's a rundown of the major changes in the Android System Design across the eras. I was away from Android for 7 years and came home to a totally strange place. This is my attempt to make sense of what happened while I was gone - how the stack reset four times (Activities -> MVP/RxJava -> Architecture Components -> Compose) and why each lurch happened. Written for interview prep but the history stands on its own. <!-- SC_ON --> submitted by /u/Super-Performance-86 (https://www.reddit.com/user/Super-Performance-86)
[link] (https://returnzero.dev/articles/android-mobile-system-design-history) [comments] (https://www.reddit.com/r/programming/comments/1vuaimm/the_great_android_stack_reset_mobile_system/)

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

Reddit Programming

TypeScript : Migrate repo to TypeScript 7
https://www.reddit.com/r/programming/comments/1vtn0qa/typescript_migrate_repo_to_typescript_7/

submitted by /u/mariuz (https://www.reddit.com/user/mariuz)
[link] (https://github.com/microsoft/TypeScript/pull/63763) [comments] (https://www.reddit.com/r/programming/comments/1vtn0qa/typescript_migrate_repo_to_typescript_7/)

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

Reddit Programming

Git at any scale
https://www.reddit.com/r/programming/comments/1vtmejf/git_at_any_scale/

submitted by /u/FlukeHawkins (https://www.reddit.com/user/FlukeHawkins)
[link] (https://cursor.com/blog/git-at-any-scale) [comments] (https://www.reddit.com/r/programming/comments/1vtmejf/git_at_any_scale/)

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

Reddit Programming

Supply chain attack on arrayref
https://www.reddit.com/r/programming/comments/1vtm22r/supply_chain_attack_on_arrayref/

submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref/) [comments] (https://www.reddit.com/r/programming/comments/1vtm22r/supply_chain_attack_on_arrayref/)

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

Reddit Programming

Modern Computer Architecture & Organization • Jim Ledin & Maciej «MJ» Jedrzejewski • GOTO 2026
https://www.reddit.com/r/programming/comments/1vtijql/modern_computer_architecture_organization_jim/

submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/u7k1l_qkQH8?list=PLEx5khR4g7PJbSLmADahf0LOpTLifiCra) [comments] (https://www.reddit.com/r/programming/comments/1vtijql/modern_computer_architecture_organization_jim/)

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

Reddit Programming

LEMON: A universal eBPF-based volatile memory acquisition tool for modern android devices and hardened linux systems
https://www.reddit.com/r/programming/comments/1vtfxb4/lemon_a_universal_ebpfbased_volatile_memory/

submitted by /u/throwaway16830261 (https://www.reddit.com/user/throwaway16830261)
[link] (https://www.sciencedirect.com/science/article/pii/S2666281726000028) [comments] (https://www.reddit.com/r/programming/comments/1vtfxb4/lemon_a_universal_ebpfbased_volatile_memory/)

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

Reddit Programming

Reclaim the terminal
https://www.reddit.com/r/programming/comments/1vtd0tw/reclaim_the_terminal/

submitted by /u/norman-complete (https://www.reddit.com/user/norman-complete)
[link] (https://nishantjosh.dev/blogs/reclaim-the-terminal/) [comments] (https://www.reddit.com/r/programming/comments/1vtd0tw/reclaim_the_terminal/)

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

Reddit Programming

Succinct and Fast Tiny Pointer Hash Tables
https://www.reddit.com/r/programming/comments/1vtaprg/succinct_and_fast_tiny_pointer_hash_tables/

submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://arxiv.org/abs/2607.28892) [comments] (https://www.reddit.com/r/programming/comments/1vtaprg/succinct_and_fast_tiny_pointer_hash_tables/)

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

Reddit Programming

Why do we need Map and Set in JavaScript when we already have Arrays and Objects? What do they bring to the table?
https://www.reddit.com/r/programming/comments/1vsbdb9/why_do_we_need_map_and_set_in_javascript_when_we/

<!-- SC_OFF -->I'm currently learning JavaScript and recently came across the Map and Set data structures. I understand that Set stores unique values and Map stores key-value pairs, but I'm wondering what advantages they actually provide over the existing Array and Object structures. What are some practical situations where you would choose Map or Set instead of an Array or Object? I'd especially appreciate real-world examples that make the differences clear. <!-- SC_ON --> submitted by /u/hamzafullstack (https://www.reddit.com/user/hamzafullstack)
[link] (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) [comments] (https://www.reddit.com/r/programming/comments/1vsbdb9/why_do_we_need_map_and_set_in_javascript_when_we/)

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