Idiomatic Lisp and the nbody benchmark
https://www.reddit.com/r/programming/comments/1sb5xqx/idiomatic_lisp_and_the_nbody_benchmark/
submitted by /u/self (https://www.reddit.com/user/self)
[link] (https://www.stylewarning.com/posts/nbody/) [comments] (https://www.reddit.com/r/programming/comments/1sb5xqx/idiomatic_lisp_and_the_nbody_benchmark/)
https://www.reddit.com/r/programming/comments/1sb5xqx/idiomatic_lisp_and_the_nbody_benchmark/
submitted by /u/self (https://www.reddit.com/user/self)
[link] (https://www.stylewarning.com/posts/nbody/) [comments] (https://www.reddit.com/r/programming/comments/1sb5xqx/idiomatic_lisp_and_the_nbody_benchmark/)
Engineering a Better Java Build Tool
https://www.reddit.com/r/programming/comments/1sb6e05/engineering_a_better_java_build_tool/
submitted by /u/lihaoyi (https://www.reddit.com/user/lihaoyi)
[link] (https://www.youtube.com/watch?v=OtsJ902k458) [comments] (https://www.reddit.com/r/programming/comments/1sb6e05/engineering_a_better_java_build_tool/)
https://www.reddit.com/r/programming/comments/1sb6e05/engineering_a_better_java_build_tool/
submitted by /u/lihaoyi (https://www.reddit.com/user/lihaoyi)
[link] (https://www.youtube.com/watch?v=OtsJ902k458) [comments] (https://www.reddit.com/r/programming/comments/1sb6e05/engineering_a_better_java_build_tool/)
Building DNS query tool from scratch using C
https://www.reddit.com/r/programming/comments/1sbawir/building_dns_query_tool_from_scratch_using_c/
submitted by /u/its_justme27 (https://www.reddit.com/user/its_justme27)
[link] (https://prayush.hashnode.dev/from-log-reader-to-packet-crafter-building-dns-from-scratch-in-c) [comments] (https://www.reddit.com/r/programming/comments/1sbawir/building_dns_query_tool_from_scratch_using_c/)
https://www.reddit.com/r/programming/comments/1sbawir/building_dns_query_tool_from_scratch_using_c/
submitted by /u/its_justme27 (https://www.reddit.com/user/its_justme27)
[link] (https://prayush.hashnode.dev/from-log-reader-to-packet-crafter-building-dns-from-scratch-in-c) [comments] (https://www.reddit.com/r/programming/comments/1sbawir/building_dns_query_tool_from_scratch_using_c/)
Using CEL's now() to enforce dependency cooldown periods - block packages published in the last N hours
https://www.reddit.com/r/programming/comments/1sbb7jv/using_cels_now_to_enforce_dependency_cooldown/
<!-- SC_OFF -->Supply chain attacks often rely on speed that is publish a malicious version, let automated builds pull it before detection catches up. One defense is a cooldown period : refuse any dependency published within the last N hours. CEL (Common Expression Language) doesn't expose now() by default since it's designed to be hermetic. This article actually walks through registering a custom now() function binding that returns the current UTC timestamp, using duration arithmetic to compare against package_published_at, and using the has() macro to handle packages so new they haven't been indexed yet - which is the edge case that will bite you if you miss it. <!-- SC_ON --> submitted by /u/BattleRemote3157 (https://www.reddit.com/user/BattleRemote3157)
[link] (https://safedep.io/writing-time-based-policies-in-vet-cel/) [comments] (https://www.reddit.com/r/programming/comments/1sbb7jv/using_cels_now_to_enforce_dependency_cooldown/)
https://www.reddit.com/r/programming/comments/1sbb7jv/using_cels_now_to_enforce_dependency_cooldown/
<!-- SC_OFF -->Supply chain attacks often rely on speed that is publish a malicious version, let automated builds pull it before detection catches up. One defense is a cooldown period : refuse any dependency published within the last N hours. CEL (Common Expression Language) doesn't expose now() by default since it's designed to be hermetic. This article actually walks through registering a custom now() function binding that returns the current UTC timestamp, using duration arithmetic to compare against package_published_at, and using the has() macro to handle packages so new they haven't been indexed yet - which is the edge case that will bite you if you miss it. <!-- SC_ON --> submitted by /u/BattleRemote3157 (https://www.reddit.com/user/BattleRemote3157)
[link] (https://safedep.io/writing-time-based-policies-in-vet-cel/) [comments] (https://www.reddit.com/r/programming/comments/1sbb7jv/using_cels_now_to_enforce_dependency_cooldown/)
Baby’s Second Garbage Collector
https://www.reddit.com/r/programming/comments/1sbc9yu/babys_second_garbage_collector/
submitted by /u/matheusmoreira (https://www.reddit.com/user/matheusmoreira)
[link] (https://www.matheusmoreira.com/articles/babys-second-garbage-collector) [comments] (https://www.reddit.com/r/programming/comments/1sbc9yu/babys_second_garbage_collector/)
https://www.reddit.com/r/programming/comments/1sbc9yu/babys_second_garbage_collector/
submitted by /u/matheusmoreira (https://www.reddit.com/user/matheusmoreira)
[link] (https://www.matheusmoreira.com/articles/babys-second-garbage-collector) [comments] (https://www.reddit.com/r/programming/comments/1sbc9yu/babys_second_garbage_collector/)
I implemented Raft, a KV store, and a sharded system in Go (MIT 6.5840)
https://www.reddit.com/r/programming/comments/1sbdk50/i_implemented_raft_a_kv_store_and_a_sharded/
<!-- SC_OFF -->I recently completed the labs from MIT 6.5840 Distributed Systems and implemented everything in Go, including: Raft consensus algorithm A replicated Key/Value store A sharded KV system with dynamic reconfiguration The implementation focuses a lot on concurrency and failure handling: goroutines for RPC handling and background tasks channels for coordination between Raft and the state machine dealing with unreliable networks (dropped / delayed / out-of-order RPCs) Some interesting challenges: ensuring commitIndex never goes backward under out-of-order RPC responses handling retries safely with client/request IDs (idempotency) keeping deduplication state consistent across snapshots and shard transfers I wrote a detailed README explaining both the design and the tricky edge cases I encountered. <!-- SC_ON --> submitted by /u/am0123 (https://www.reddit.com/user/am0123)
[link] (https://github.com/abdellani/mit-6.5840-labs) [comments] (https://www.reddit.com/r/programming/comments/1sbdk50/i_implemented_raft_a_kv_store_and_a_sharded/)
https://www.reddit.com/r/programming/comments/1sbdk50/i_implemented_raft_a_kv_store_and_a_sharded/
<!-- SC_OFF -->I recently completed the labs from MIT 6.5840 Distributed Systems and implemented everything in Go, including: Raft consensus algorithm A replicated Key/Value store A sharded KV system with dynamic reconfiguration The implementation focuses a lot on concurrency and failure handling: goroutines for RPC handling and background tasks channels for coordination between Raft and the state machine dealing with unreliable networks (dropped / delayed / out-of-order RPCs) Some interesting challenges: ensuring commitIndex never goes backward under out-of-order RPC responses handling retries safely with client/request IDs (idempotency) keeping deduplication state consistent across snapshots and shard transfers I wrote a detailed README explaining both the design and the tricky edge cases I encountered. <!-- SC_ON --> submitted by /u/am0123 (https://www.reddit.com/user/am0123)
[link] (https://github.com/abdellani/mit-6.5840-labs) [comments] (https://www.reddit.com/r/programming/comments/1sbdk50/i_implemented_raft_a_kv_store_and_a_sharded/)
Where is every byte?
https://www.reddit.com/r/programming/comments/1sbggsw/where_is_every_byte/
submitted by /u/andreiross (https://www.reddit.com/user/andreiross)
[link] (https://frn.sh/smaps/) [comments] (https://www.reddit.com/r/programming/comments/1sbggsw/where_is_every_byte/)
https://www.reddit.com/r/programming/comments/1sbggsw/where_is_every_byte/
submitted by /u/andreiross (https://www.reddit.com/user/andreiross)
[link] (https://frn.sh/smaps/) [comments] (https://www.reddit.com/r/programming/comments/1sbggsw/where_is_every_byte/)
How Microsoft Vaporized a Trillion Dollars
https://www.reddit.com/r/programming/comments/1sbir8j/how_microsoft_vaporized_a_trillion_dollars/
submitted by /u/Aaronontheweb (https://www.reddit.com/user/Aaronontheweb)
[link] (https://isolveproblems.substack.com/p/how-microsoft-vaporized-a-trillion) [comments] (https://www.reddit.com/r/programming/comments/1sbir8j/how_microsoft_vaporized_a_trillion_dollars/)
https://www.reddit.com/r/programming/comments/1sbir8j/how_microsoft_vaporized_a_trillion_dollars/
submitted by /u/Aaronontheweb (https://www.reddit.com/user/Aaronontheweb)
[link] (https://isolveproblems.substack.com/p/how-microsoft-vaporized-a-trillion) [comments] (https://www.reddit.com/r/programming/comments/1sbir8j/how_microsoft_vaporized_a_trillion_dollars/)
Someone is actively publishing malicious packages targeting the Strapi plugin ecosystem right now
https://www.reddit.com/r/programming/comments/1sbkx3b/someone_is_actively_publishing_malicious_packages/
<!-- SC_OFF -->strapi-plugin-events dropped on npm today. Three files. Looks like a legitimate community Strapi plugin - version 3.6.8, named to blend in with real plugins like strapi-plugin-comments and strapi-plugin-upload. On npm install it runs an 11-phase attack with zero user interaction: Steals all .env files, JWT secrets, database credentials Dumps Redis keys, Docker and Kubernetes secrets, private keys Opens a 5-minute live C2 session for arbitrary shell command execution The publisher account kekylf12 on npm is actively pushing multiple malicious packages right now and all targeting the Strapi ecosystem. Check the account: npmjs.com/~kekylf12 (http://npmjs.com/~kekylf12) If you work with Strapi or have any community plugins installed that aren't scoped under strapi/ - audit your dependencies now. Legitimate Strapi plugins are always scoped. Anything unscoped claiming to be a Strapi plugin is a red flag. Full technical breakdown with IoCs is in the blog. <!-- SC_ON --> submitted by /u/BattleRemote3157 (https://www.reddit.com/user/BattleRemote3157)
[link] (https://safedep.io/malicious-npm-strapi-plugin-events-c2-agent/) [comments] (https://www.reddit.com/r/programming/comments/1sbkx3b/someone_is_actively_publishing_malicious_packages/)
https://www.reddit.com/r/programming/comments/1sbkx3b/someone_is_actively_publishing_malicious_packages/
<!-- SC_OFF -->strapi-plugin-events dropped on npm today. Three files. Looks like a legitimate community Strapi plugin - version 3.6.8, named to blend in with real plugins like strapi-plugin-comments and strapi-plugin-upload. On npm install it runs an 11-phase attack with zero user interaction: Steals all .env files, JWT secrets, database credentials Dumps Redis keys, Docker and Kubernetes secrets, private keys Opens a 5-minute live C2 session for arbitrary shell command execution The publisher account kekylf12 on npm is actively pushing multiple malicious packages right now and all targeting the Strapi ecosystem. Check the account: npmjs.com/~kekylf12 (http://npmjs.com/~kekylf12) If you work with Strapi or have any community plugins installed that aren't scoped under strapi/ - audit your dependencies now. Legitimate Strapi plugins are always scoped. Anything unscoped claiming to be a Strapi plugin is a red flag. Full technical breakdown with IoCs is in the blog. <!-- SC_ON --> submitted by /u/BattleRemote3157 (https://www.reddit.com/user/BattleRemote3157)
[link] (https://safedep.io/malicious-npm-strapi-plugin-events-c2-agent/) [comments] (https://www.reddit.com/r/programming/comments/1sbkx3b/someone_is_actively_publishing_malicious_packages/)
Are web apps really slower than native? It’s a defaults problem, not a speed problem
https://www.reddit.com/r/programming/comments/1sblmfz/are_web_apps_really_slower_than_native_its_a/
submitted by /u/zappygami (https://www.reddit.com/user/zappygami)
[link] (https://atfzl.com/are-web-apps-really-slower-than-native/) [comments] (https://www.reddit.com/r/programming/comments/1sblmfz/are_web_apps_really_slower_than_native_its_a/)
https://www.reddit.com/r/programming/comments/1sblmfz/are_web_apps_really_slower_than_native_its_a/
submitted by /u/zappygami (https://www.reddit.com/user/zappygami)
[link] (https://atfzl.com/are-web-apps-really-slower-than-native/) [comments] (https://www.reddit.com/r/programming/comments/1sblmfz/are_web_apps_really_slower_than_native_its_a/)
Domain-Driven Design: Lean Aggregates
https://www.reddit.com/r/programming/comments/1scjod7/domaindriven_design_lean_aggregates/
<!-- SC_OFF -->In DDD, an aggregate is a consistency boundary, not just a container for related data. If you find yourself loading massive object graphs for simple updates, you might be falling into a common trap. <!-- SC_ON --> submitted by /u/deniskyashif (https://www.reddit.com/user/deniskyashif)
[link] (https://deniskyashif.com/2026/04/04/domain-driven-design-lean-aggregates/) [comments] (https://www.reddit.com/r/programming/comments/1scjod7/domaindriven_design_lean_aggregates/)
https://www.reddit.com/r/programming/comments/1scjod7/domaindriven_design_lean_aggregates/
<!-- SC_OFF -->In DDD, an aggregate is a consistency boundary, not just a container for related data. If you find yourself loading massive object graphs for simple updates, you might be falling into a common trap. <!-- SC_ON --> submitted by /u/deniskyashif (https://www.reddit.com/user/deniskyashif)
[link] (https://deniskyashif.com/2026/04/04/domain-driven-design-lean-aggregates/) [comments] (https://www.reddit.com/r/programming/comments/1scjod7/domaindriven_design_lean_aggregates/)
Good APIs Age Slowly
https://www.reddit.com/r/programming/comments/1scqae7/good_apis_age_slowly/
submitted by /u/SpecialistLady (https://www.reddit.com/user/SpecialistLady)
[link] (https://yusufaytas.com/good-apis-age-slowly/) [comments] (https://www.reddit.com/r/programming/comments/1scqae7/good_apis_age_slowly/)
https://www.reddit.com/r/programming/comments/1scqae7/good_apis_age_slowly/
submitted by /u/SpecialistLady (https://www.reddit.com/user/SpecialistLady)
[link] (https://yusufaytas.com/good-apis-age-slowly/) [comments] (https://www.reddit.com/r/programming/comments/1scqae7/good_apis_age_slowly/)
Negative 2000 Lines Of Code
https://www.reddit.com/r/programming/comments/1scsgu5/negative_2000_lines_of_code/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://www.folklore.org/Negative_2000_Lines_Of_Code.html) [comments] (https://www.reddit.com/r/programming/comments/1scsgu5/negative_2000_lines_of_code/)
https://www.reddit.com/r/programming/comments/1scsgu5/negative_2000_lines_of_code/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://www.folklore.org/Negative_2000_Lines_Of_Code.html) [comments] (https://www.reddit.com/r/programming/comments/1scsgu5/negative_2000_lines_of_code/)
FRACTRAN: A Simple Universal Programming Language for Arithmetic
https://www.reddit.com/r/programming/comments/1scxso7/fractran_a_simple_universal_programming_language/
submitted by /u/DataBaeBee (https://www.reddit.com/user/DataBaeBee)
[link] (https://leetarxiv.substack.com/p/fractran-a-simple-universal-programming) [comments] (https://www.reddit.com/r/programming/comments/1scxso7/fractran_a_simple_universal_programming_language/)
https://www.reddit.com/r/programming/comments/1scxso7/fractran_a_simple_universal_programming_language/
submitted by /u/DataBaeBee (https://www.reddit.com/user/DataBaeBee)
[link] (https://leetarxiv.substack.com/p/fractran-a-simple-universal-programming) [comments] (https://www.reddit.com/r/programming/comments/1scxso7/fractran_a_simple_universal_programming_language/)
Parallelizing Cellular Automata with WebGPU Compute Shaders
https://www.reddit.com/r/programming/comments/1sd7m34/parallelizing_cellular_automata_with_webgpu/
submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://vectrx.substack.com/p/webgpu-cellular-automata) [comments] (https://www.reddit.com/r/programming/comments/1sd7m34/parallelizing_cellular_automata_with_webgpu/)
https://www.reddit.com/r/programming/comments/1sd7m34/parallelizing_cellular_automata_with_webgpu/
submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://vectrx.substack.com/p/webgpu-cellular-automata) [comments] (https://www.reddit.com/r/programming/comments/1sd7m34/parallelizing_cellular_automata_with_webgpu/)
Faster ES|QL aggregations (2–3×) using Swiss-style hash tables
https://www.reddit.com/r/programming/comments/1sddp2g/faster_esql_aggregations_23_using_swissstyle_hash/
submitted by /u/chegar999 (https://www.reddit.com/user/chegar999)
[link] (https://www.elastic.co/search-labs/blog/esql-swiss-hash-stats) [comments] (https://www.reddit.com/r/programming/comments/1sddp2g/faster_esql_aggregations_23_using_swissstyle_hash/)
https://www.reddit.com/r/programming/comments/1sddp2g/faster_esql_aggregations_23_using_swissstyle_hash/
submitted by /u/chegar999 (https://www.reddit.com/user/chegar999)
[link] (https://www.elastic.co/search-labs/blog/esql-swiss-hash-stats) [comments] (https://www.reddit.com/r/programming/comments/1sddp2g/faster_esql_aggregations_23_using_swissstyle_hash/)
A whole boss fight in 256 bytes
https://www.reddit.com/r/programming/comments/1sde1vx/a_whole_boss_fight_in_256_bytes/
<!-- SC_OFF -->Technical write up for "Endbot" 256 bytes MSDOS program with plot, sync, sound, and payoff. Released April 4th at Revision Demoparty 2026. <!-- SC_ON --> submitted by /u/Hell__Mood (https://www.reddit.com/user/Hell__Mood)
[link] (https://hellmood.111mb.de//A_whole_boss_fight_in_256_bytes.html) [comments] (https://www.reddit.com/r/programming/comments/1sde1vx/a_whole_boss_fight_in_256_bytes/)
https://www.reddit.com/r/programming/comments/1sde1vx/a_whole_boss_fight_in_256_bytes/
<!-- SC_OFF -->Technical write up for "Endbot" 256 bytes MSDOS program with plot, sync, sound, and payoff. Released April 4th at Revision Demoparty 2026. <!-- SC_ON --> submitted by /u/Hell__Mood (https://www.reddit.com/user/Hell__Mood)
[link] (https://hellmood.111mb.de//A_whole_boss_fight_in_256_bytes.html) [comments] (https://www.reddit.com/r/programming/comments/1sde1vx/a_whole_boss_fight_in_256_bytes/)
Creating a Physics Engine in C - YouTube
https://www.reddit.com/r/programming/comments/1sdirt2/creating_a_physics_engine_in_c_youtube/
<!-- SC_OFF -->This is a little thing I cooked up today. I should be catching up on assignments, but I had this project on the back burner and decided to finally commit to it. Here it is, hope you guys enjoy! In the future, I plan to go far more in-depth on physics concepts and teach them through programming, if anyone wants to see that, let me know. <!-- SC_ON --> submitted by /u/nerdy_guy420 (https://www.reddit.com/user/nerdy_guy420)
[link] (https://youtu.be/khJm2A03MEI) [comments] (https://www.reddit.com/r/programming/comments/1sdirt2/creating_a_physics_engine_in_c_youtube/)
https://www.reddit.com/r/programming/comments/1sdirt2/creating_a_physics_engine_in_c_youtube/
<!-- SC_OFF -->This is a little thing I cooked up today. I should be catching up on assignments, but I had this project on the back burner and decided to finally commit to it. Here it is, hope you guys enjoy! In the future, I plan to go far more in-depth on physics concepts and teach them through programming, if anyone wants to see that, let me know. <!-- SC_ON --> submitted by /u/nerdy_guy420 (https://www.reddit.com/user/nerdy_guy420)
[link] (https://youtu.be/khJm2A03MEI) [comments] (https://www.reddit.com/r/programming/comments/1sdirt2/creating_a_physics_engine_in_c_youtube/)
Anomaly detection with nothing but Welford's algorithm and a KV store
https://www.reddit.com/r/programming/comments/1sdlb99/anomaly_detection_with_nothing_but_welfords/
submitted by /u/uriwa (https://www.reddit.com/user/uriwa)
[link] (https://uriv.me/blog/anomaly-detection-with-welford-and-kv) [comments] (https://www.reddit.com/r/programming/comments/1sdlb99/anomaly_detection_with_nothing_but_welfords/)
https://www.reddit.com/r/programming/comments/1sdlb99/anomaly_detection_with_nothing_but_welfords/
submitted by /u/uriwa (https://www.reddit.com/user/uriwa)
[link] (https://uriv.me/blog/anomaly-detection-with-welford-and-kv) [comments] (https://www.reddit.com/r/programming/comments/1sdlb99/anomaly_detection_with_nothing_but_welfords/)
Media scraper Gallery-dl is moving to Codeberg after receiving a DMCA notice, claiming that its circumvention.
https://www.reddit.com/r/programming/comments/1sdnq0f/media_scraper_gallerydl_is_moving_to_codeberg/
submitted by /u/TheTwelveYearOld (https://www.reddit.com/user/TheTwelveYearOld)
[link] (https://github.com/mikf/gallery-dl/discussions/9304) [comments] (https://www.reddit.com/r/programming/comments/1sdnq0f/media_scraper_gallerydl_is_moving_to_codeberg/)
https://www.reddit.com/r/programming/comments/1sdnq0f/media_scraper_gallerydl_is_moving_to_codeberg/
submitted by /u/TheTwelveYearOld (https://www.reddit.com/user/TheTwelveYearOld)
[link] (https://github.com/mikf/gallery-dl/discussions/9304) [comments] (https://www.reddit.com/r/programming/comments/1sdnq0f/media_scraper_gallerydl_is_moving_to_codeberg/)
How Linux executes binaries: ELF and dynamic linking explained
https://www.reddit.com/r/programming/comments/1sdp20m/how_linux_executes_binaries_elf_and_dynamic/
<!-- SC_OFF -->After 25 years working with Linux internals I wrote this article. It's a deep dive into how Linux executes binaries, focusing on ELF internals and dynamic linking. Covers GOT/PLT, relocations, and what actually happens at runtime (memory mappings, syscalls, dynamic loader). Happy to discuss or clarify any part. <!-- SC_ON --> submitted by /u/Solid-Film-818 (https://www.reddit.com/user/Solid-Film-818)
[link] (https://fmdlc.github.io/tty0/Linux_ELF_Dynamic_linking_EN.html) [comments] (https://www.reddit.com/r/programming/comments/1sdp20m/how_linux_executes_binaries_elf_and_dynamic/)
https://www.reddit.com/r/programming/comments/1sdp20m/how_linux_executes_binaries_elf_and_dynamic/
<!-- SC_OFF -->After 25 years working with Linux internals I wrote this article. It's a deep dive into how Linux executes binaries, focusing on ELF internals and dynamic linking. Covers GOT/PLT, relocations, and what actually happens at runtime (memory mappings, syscalls, dynamic loader). Happy to discuss or clarify any part. <!-- SC_ON --> submitted by /u/Solid-Film-818 (https://www.reddit.com/user/Solid-Film-818)
[link] (https://fmdlc.github.io/tty0/Linux_ELF_Dynamic_linking_EN.html) [comments] (https://www.reddit.com/r/programming/comments/1sdp20m/how_linux_executes_binaries_elf_and_dynamic/)