Reddit Programming
191 subscribers
1.22K photos
127K links
I will send you newest post from subreddit /r/programming
Download Telegram
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/)
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/)
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/)
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/)
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/)