A practical step-by-step guide to debugging a real C bug with GDB
https://www.reddit.com/r/programming/comments/1rvfzrj/a_practical_stepbystep_guide_to_debugging_a_real/
<!-- SC_OFF -->A practical guide on using GDB to debug a real C bug step by step. The article focuses on an actual debugging workflow rather than just listing commands, so it should be helpful for beginners and for anyone who wants to get more comfortable debugging C or C++ programs in a real scenario. It covers things like: * setting breakpoints * stepping through code * inspecting variables * understanding where things go wrong Do checkout the article. Feedbacks are very much appreciated. <!-- SC_ON --> submitted by /u/abhijith1203 (https://www.reddit.com/user/abhijith1203)
[link] (https://levelup.gitconnected.com/how-to-use-gdb-to-debug-a-real-c-bug-step-by-step-86a9cde406a1) [comments] (https://www.reddit.com/r/programming/comments/1rvfzrj/a_practical_stepbystep_guide_to_debugging_a_real/)
https://www.reddit.com/r/programming/comments/1rvfzrj/a_practical_stepbystep_guide_to_debugging_a_real/
<!-- SC_OFF -->A practical guide on using GDB to debug a real C bug step by step. The article focuses on an actual debugging workflow rather than just listing commands, so it should be helpful for beginners and for anyone who wants to get more comfortable debugging C or C++ programs in a real scenario. It covers things like: * setting breakpoints * stepping through code * inspecting variables * understanding where things go wrong Do checkout the article. Feedbacks are very much appreciated. <!-- SC_ON --> submitted by /u/abhijith1203 (https://www.reddit.com/user/abhijith1203)
[link] (https://levelup.gitconnected.com/how-to-use-gdb-to-debug-a-real-c-bug-step-by-step-86a9cde406a1) [comments] (https://www.reddit.com/r/programming/comments/1rvfzrj/a_practical_stepbystep_guide_to_debugging_a_real/)
Programming GPUs with CUDA: A Simple Explanation
https://www.reddit.com/r/programming/comments/1rvgwwm/programming_gpus_with_cuda_a_simple_explanation/
submitted by /u/RelevantEmergency707 (https://www.reddit.com/user/RelevantEmergency707)
[link] (https://youtu.be/SVaC2ECMZXs?si=qRvI8BL2kTOkp8gV) [comments] (https://www.reddit.com/r/programming/comments/1rvgwwm/programming_gpus_with_cuda_a_simple_explanation/)
https://www.reddit.com/r/programming/comments/1rvgwwm/programming_gpus_with_cuda_a_simple_explanation/
submitted by /u/RelevantEmergency707 (https://www.reddit.com/user/RelevantEmergency707)
[link] (https://youtu.be/SVaC2ECMZXs?si=qRvI8BL2kTOkp8gV) [comments] (https://www.reddit.com/r/programming/comments/1rvgwwm/programming_gpus_with_cuda_a_simple_explanation/)
Keeping Secrets Out of Logs
https://www.reddit.com/r/programming/comments/1rvjgvc/keeping_secrets_out_of_logs/
submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://allan.reyes.sh/posts/keeping-secrets-out-of-logs/) [comments] (https://www.reddit.com/r/programming/comments/1rvjgvc/keeping_secrets_out_of_logs/)
https://www.reddit.com/r/programming/comments/1rvjgvc/keeping_secrets_out_of_logs/
submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://allan.reyes.sh/posts/keeping-secrets-out-of-logs/) [comments] (https://www.reddit.com/r/programming/comments/1rvjgvc/keeping_secrets_out_of_logs/)
Demystifying and Improving Lazy Promotion in Cache Eviction
https://www.reddit.com/r/programming/comments/1rvkrly/demystifying_and_improving_lazy_promotion_in/
submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://www.pdl.cmu.edu/PDL-FTP/Storage/vldb26_lazyPromotion_abs.shtml) [comments] (https://www.reddit.com/r/programming/comments/1rvkrly/demystifying_and_improving_lazy_promotion_in/)
https://www.reddit.com/r/programming/comments/1rvkrly/demystifying_and_improving_lazy_promotion_in/
submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://www.pdl.cmu.edu/PDL-FTP/Storage/vldb26_lazyPromotion_abs.shtml) [comments] (https://www.reddit.com/r/programming/comments/1rvkrly/demystifying_and_improving_lazy_promotion_in/)
OTel-Native by Design - Backends That Export to Any Observability Stack
https://www.reddit.com/r/programming/comments/1rw1dfc/otelnative_by_design_backends_that_export_to_any/
submitted by /u/silksong_when (https://www.reddit.com/user/silksong_when)
[link] (https://signoz.io/blog/otel-native-by-design/) [comments] (https://www.reddit.com/r/programming/comments/1rw1dfc/otelnative_by_design_backends_that_export_to_any/)
https://www.reddit.com/r/programming/comments/1rw1dfc/otelnative_by_design_backends_that_export_to_any/
submitted by /u/silksong_when (https://www.reddit.com/user/silksong_when)
[link] (https://signoz.io/blog/otel-native-by-design/) [comments] (https://www.reddit.com/r/programming/comments/1rw1dfc/otelnative_by_design_backends_that_export_to_any/)
Java 26 released today!
https://www.reddit.com/r/programming/comments/1rw6lkv/java_26_released_today/
submitted by /u/davidalayachew (https://www.reddit.com/user/davidalayachew)
[link] (https://jdk.java.net/26/) [comments] (https://www.reddit.com/r/programming/comments/1rw6lkv/java_26_released_today/)
https://www.reddit.com/r/programming/comments/1rw6lkv/java_26_released_today/
submitted by /u/davidalayachew (https://www.reddit.com/user/davidalayachew)
[link] (https://jdk.java.net/26/) [comments] (https://www.reddit.com/r/programming/comments/1rw6lkv/java_26_released_today/)
A sufficiently detailed spec is code
https://www.reddit.com/r/programming/comments/1rw7r3r/a_sufficiently_detailed_spec_is_code/
submitted by /u/Tekmo (https://www.reddit.com/user/Tekmo)
[link] (https://haskellforall.com/2026/03/a-sufficiently-detailed-spec-is-code) [comments] (https://www.reddit.com/r/programming/comments/1rw7r3r/a_sufficiently_detailed_spec_is_code/)
https://www.reddit.com/r/programming/comments/1rw7r3r/a_sufficiently_detailed_spec_is_code/
submitted by /u/Tekmo (https://www.reddit.com/user/Tekmo)
[link] (https://haskellforall.com/2026/03/a-sufficiently-detailed-spec-is-code) [comments] (https://www.reddit.com/r/programming/comments/1rw7r3r/a_sufficiently_detailed_spec_is_code/)
What is Infrastructure from Code?
https://www.reddit.com/r/programming/comments/1rw8jij/what_is_infrastructure_from_code/
submitted by /u/GlitteringPenalty210 (https://www.reddit.com/user/GlitteringPenalty210)
[link] (https://encore.dev/blog/what-is-infrastructure-from-code) [comments] (https://www.reddit.com/r/programming/comments/1rw8jij/what_is_infrastructure_from_code/)
https://www.reddit.com/r/programming/comments/1rw8jij/what_is_infrastructure_from_code/
submitted by /u/GlitteringPenalty210 (https://www.reddit.com/user/GlitteringPenalty210)
[link] (https://encore.dev/blog/what-is-infrastructure-from-code) [comments] (https://www.reddit.com/r/programming/comments/1rw8jij/what_is_infrastructure_from_code/)
Integrated Gauges: Lessons Learned Monitoring Seastar's IO Stack
https://www.reddit.com/r/programming/comments/1rwak05/integrated_gauges_lessons_learned_monitoring/
<!-- SC_OFF -->Many performance metrics and system parameters are inherently volatile or fluctuate rapidly. When using a monitoring system that periodically “scrapes” (polls) a target for its current metric value, the collected data point is merely a snapshot of the system’s state at that precise moment. It doesn’t reveal much about what’s actually happening in that area. Sometimes it’s possible to overcome this problem by accumulating those values somehow – for example, by using histograms or exporting a derived monotonically increasing counter. This article suggests yet another way to extend this approach for a broader set of frequently changing parameters. <!-- SC_ON --> submitted by /u/swdevtest (https://www.reddit.com/user/swdevtest)
[link] (https://www.scylladb.com/2026/03/17/integrated-gauges-lessons-learned-monitoring-seastars-io-stack/) [comments] (https://www.reddit.com/r/programming/comments/1rwak05/integrated_gauges_lessons_learned_monitoring/)
https://www.reddit.com/r/programming/comments/1rwak05/integrated_gauges_lessons_learned_monitoring/
<!-- SC_OFF -->Many performance metrics and system parameters are inherently volatile or fluctuate rapidly. When using a monitoring system that periodically “scrapes” (polls) a target for its current metric value, the collected data point is merely a snapshot of the system’s state at that precise moment. It doesn’t reveal much about what’s actually happening in that area. Sometimes it’s possible to overcome this problem by accumulating those values somehow – for example, by using histograms or exporting a derived monotonically increasing counter. This article suggests yet another way to extend this approach for a broader set of frequently changing parameters. <!-- SC_ON --> submitted by /u/swdevtest (https://www.reddit.com/user/swdevtest)
[link] (https://www.scylladb.com/2026/03/17/integrated-gauges-lessons-learned-monitoring-seastars-io-stack/) [comments] (https://www.reddit.com/r/programming/comments/1rwak05/integrated_gauges_lessons_learned_monitoring/)
Testing Super Mario Using a Behavior Model Autonomously – Finding Real Bugs
https://www.reddit.com/r/programming/comments/1rwd2tr/testing_super_mario_using_a_behavior_model/
<!-- SC_OFF -->Learn how a behavior model combined with autonomous testing helped us find interesting bugs in our reference Super Mario game implementation. The model validates every frame during exploration, but when it disagrees with the game, which one is wrong? This is bidirectional testing: the model tests the game, and the game tests the model. The process uncovered several real engine bugs, including a teleport bug in Level 4 where Mario gets snapped across the screen due to overlapping collision boxes. All code is open source: https://github.com/testflows/Examples/tree/v3.0/SuperMario. <!-- SC_ON --> submitted by /u/vzakaznikov (https://www.reddit.com/user/vzakaznikov)
[link] (https://testflows.com/blog/testing-super-mario-using-a-behavior-model-autonomously-part2/) [comments] (https://www.reddit.com/r/programming/comments/1rwd2tr/testing_super_mario_using_a_behavior_model/)
https://www.reddit.com/r/programming/comments/1rwd2tr/testing_super_mario_using_a_behavior_model/
<!-- SC_OFF -->Learn how a behavior model combined with autonomous testing helped us find interesting bugs in our reference Super Mario game implementation. The model validates every frame during exploration, but when it disagrees with the game, which one is wrong? This is bidirectional testing: the model tests the game, and the game tests the model. The process uncovered several real engine bugs, including a teleport bug in Level 4 where Mario gets snapped across the screen due to overlapping collision boxes. All code is open source: https://github.com/testflows/Examples/tree/v3.0/SuperMario. <!-- SC_ON --> submitted by /u/vzakaznikov (https://www.reddit.com/user/vzakaznikov)
[link] (https://testflows.com/blog/testing-super-mario-using-a-behavior-model-autonomously-part2/) [comments] (https://www.reddit.com/r/programming/comments/1rwd2tr/testing_super_mario_using_a_behavior_model/)
Maintainable Podcast: Joel Oliveira: Predictability Is a Maintainability Feature
https://www.reddit.com/r/programming/comments/1rwdv3g/maintainable_podcast_joel_oliveira_predictability/
submitted by /u/robbyrussell (https://www.reddit.com/user/robbyrussell)
[link] (https://maintainable.fm/episodes/joel-oliveira-predictability-is-a-maintainability-feature) [comments] (https://www.reddit.com/r/programming/comments/1rwdv3g/maintainable_podcast_joel_oliveira_predictability/)
https://www.reddit.com/r/programming/comments/1rwdv3g/maintainable_podcast_joel_oliveira_predictability/
submitted by /u/robbyrussell (https://www.reddit.com/user/robbyrussell)
[link] (https://maintainable.fm/episodes/joel-oliveira-predictability-is-a-maintainability-feature) [comments] (https://www.reddit.com/r/programming/comments/1rwdv3g/maintainable_podcast_joel_oliveira_predictability/)
Writing an operating system kernel from scratch
https://www.reddit.com/r/programming/comments/1rwgokp/writing_an_operating_system_kernel_from_scratch/
submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://popovicu.com/posts/writing-an-operating-system-kernel-from-scratch/) [comments] (https://www.reddit.com/r/programming/comments/1rwgokp/writing_an_operating_system_kernel_from_scratch/)
https://www.reddit.com/r/programming/comments/1rwgokp/writing_an_operating_system_kernel_from_scratch/
submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://popovicu.com/posts/writing-an-operating-system-kernel-from-scratch/) [comments] (https://www.reddit.com/r/programming/comments/1rwgokp/writing_an_operating_system_kernel_from_scratch/)
Java 26 is here, and with it a solid foundation for the future
https://www.reddit.com/r/programming/comments/1rwhbea/java_26_is_here_and_with_it_a_solid_foundation/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://hanno.codes/2026/03/17/java-26-is-here/) [comments] (https://www.reddit.com/r/programming/comments/1rwhbea/java_26_is_here_and_with_it_a_solid_foundation/)
https://www.reddit.com/r/programming/comments/1rwhbea/java_26_is_here_and_with_it_a_solid_foundation/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://hanno.codes/2026/03/17/java-26-is-here/) [comments] (https://www.reddit.com/r/programming/comments/1rwhbea/java_26_is_here_and_with_it_a_solid_foundation/)
Finding a CPU Design Bug in the Xbox 360
https://www.reddit.com/r/programming/comments/1rwhdaw/finding_a_cpu_design_bug_in_the_xbox_360/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://randomascii.wordpress.com/2018/01/07/finding-a-cpu-design-bug-in-the-xbox-360/) [comments] (https://www.reddit.com/r/programming/comments/1rwhdaw/finding_a_cpu_design_bug_in_the_xbox_360/)
https://www.reddit.com/r/programming/comments/1rwhdaw/finding_a_cpu_design_bug_in_the_xbox_360/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://randomascii.wordpress.com/2018/01/07/finding-a-cpu-design-bug-in-the-xbox-360/) [comments] (https://www.reddit.com/r/programming/comments/1rwhdaw/finding_a_cpu_design_bug_in_the_xbox_360/)
Building a Shell
https://www.reddit.com/r/programming/comments/1rwhey4/building_a_shell/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://healeycodes.com/building-a-shell) [comments] (https://www.reddit.com/r/programming/comments/1rwhey4/building_a_shell/)
https://www.reddit.com/r/programming/comments/1rwhey4/building_a_shell/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://healeycodes.com/building-a-shell) [comments] (https://www.reddit.com/r/programming/comments/1rwhey4/building_a_shell/)
Efficient sparse computations using linear algebra aware compilers
https://www.reddit.com/r/programming/comments/1rwhf6h/efficient_sparse_computations_using_linear/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.osti.gov/biblio/3013883) [comments] (https://www.reddit.com/r/programming/comments/1rwhf6h/efficient_sparse_computations_using_linear/)
https://www.reddit.com/r/programming/comments/1rwhf6h/efficient_sparse_computations_using_linear/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.osti.gov/biblio/3013883) [comments] (https://www.reddit.com/r/programming/comments/1rwhf6h/efficient_sparse_computations_using_linear/)
Jepsen: MariaDB Galera Cluster 12.1.2
https://www.reddit.com/r/programming/comments/1rwhfhr/jepsen_mariadb_galera_cluster_1212/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://jepsen.io/analyses/mariadb-galera-cluster-12.1.2) [comments] (https://www.reddit.com/r/programming/comments/1rwhfhr/jepsen_mariadb_galera_cluster_1212/)
https://www.reddit.com/r/programming/comments/1rwhfhr/jepsen_mariadb_galera_cluster_1212/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://jepsen.io/analyses/mariadb-galera-cluster-12.1.2) [comments] (https://www.reddit.com/r/programming/comments/1rwhfhr/jepsen_mariadb_galera_cluster_1212/)
syntaqlite: high-fidelity devtools that SQLite deserves
https://www.reddit.com/r/programming/comments/1rwhfwl/syntaqlite_highfidelity_devtools_that_sqlite/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://lalitm.com/post/syntaqlite/) [comments] (https://www.reddit.com/r/programming/comments/1rwhfwl/syntaqlite_highfidelity_devtools_that_sqlite/)
https://www.reddit.com/r/programming/comments/1rwhfwl/syntaqlite_highfidelity_devtools_that_sqlite/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://lalitm.com/post/syntaqlite/) [comments] (https://www.reddit.com/r/programming/comments/1rwhfwl/syntaqlite_highfidelity_devtools_that_sqlite/)
yes, all longest regex matches in linear time is possible
https://www.reddit.com/r/programming/comments/1rwhg5o/yes_all_longest_regex_matches_in_linear_time_is/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://iev.ee/blog/all-longest-regex-matches-in-linear-time/) [comments] (https://www.reddit.com/r/programming/comments/1rwhg5o/yes_all_longest_regex_matches_in_linear_time_is/)
https://www.reddit.com/r/programming/comments/1rwhg5o/yes_all_longest_regex_matches_in_linear_time_is/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://iev.ee/blog/all-longest-regex-matches-in-linear-time/) [comments] (https://www.reddit.com/r/programming/comments/1rwhg5o/yes_all_longest_regex_matches_in_linear_time_is/)
Python 3.15’s JIT is now back on track
https://www.reddit.com/r/programming/comments/1rwhhrv/python_315s_jit_is_now_back_on_track/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://fidget-spinner.github.io/posts/jit-on-track.html) [comments] (https://www.reddit.com/r/programming/comments/1rwhhrv/python_315s_jit_is_now_back_on_track/)
https://www.reddit.com/r/programming/comments/1rwhhrv/python_315s_jit_is_now_back_on_track/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://fidget-spinner.github.io/posts/jit-on-track.html) [comments] (https://www.reddit.com/r/programming/comments/1rwhhrv/python_315s_jit_is_now_back_on_track/)
The Paxos algorithm, when presented in plain English, is very simple
https://www.reddit.com/r/programming/comments/1rwhiih/the_paxos_algorithm_when_presented_in_plain/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.mydistributed.systems/2021/04/paxos.html) [comments] (https://www.reddit.com/r/programming/comments/1rwhiih/the_paxos_algorithm_when_presented_in_plain/)
https://www.reddit.com/r/programming/comments/1rwhiih/the_paxos_algorithm_when_presented_in_plain/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.mydistributed.systems/2021/04/paxos.html) [comments] (https://www.reddit.com/r/programming/comments/1rwhiih/the_paxos_algorithm_when_presented_in_plain/)