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

Regex Are Not the Problem. Strings Are.
https://www.reddit.com/r/programming/comments/1sfnk1y/regex_are_not_the_problem_strings_are/

<!-- SC_OFF -->I think it is a point of view that may seem controversial but it traces a historical precedent that is quite shareable (the Joda-Time case) and how it could be applied to the world of regular expressions, a bit like the transition from manual SQL and raw strings with the advent of jOOQ. <!-- SC_ON --> submitted by /u/Mirko_ddd (https://www.reddit.com/user/Mirko_ddd)
[link] (https://mirko-ddd.medium.com/regex-are-not-the-problem-strings-are-6e8bf2b9d2db) [comments] (https://www.reddit.com/r/programming/comments/1sfnk1y/regex_are_not_the_problem_strings_are/)

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

Reddit Programming

[arXiv] Fuzzing REST APIs in Industry: Necessary Features and Open Problems
https://www.reddit.com/r/programming/comments/1sfm5e0/arxiv_fuzzing_rest_apis_in_industry_necessary/

<!-- SC_OFF -->This is a technical, academic write-up of how an open-source fuzzer for REST APIs has been introduced and started to be used at Volkswagen <!-- SC_ON --> submitted by /u/arcuri82 (https://www.reddit.com/user/arcuri82)
[link] (https://arxiv.org/abs/2604.01759) [comments] (https://www.reddit.com/r/programming/comments/1sfm5e0/arxiv_fuzzing_rest_apis_in_industry_necessary/)

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

Reddit Programming

Compare programming language and see them ranked with learnings!
https://www.reddit.com/r/programming/comments/1sflofe/compare_programming_language_and_see_them_ranked/

<!-- SC_OFF -->So I always wanted to rank programming languages and compare them on diff programming metrics. I have been learning Rust and got to compare it with various other languages just to see the differences. Also learning about complex programming concepts, such as memory efficiency and more. Love this tool to do it. I bet you will learn something new!!! <!-- SC_ON --> submitted by /u/No-Childhood-2502 (https://www.reddit.com/user/No-Childhood-2502)
[link] (https://langscompare.site/) [comments] (https://www.reddit.com/r/programming/comments/1sflofe/compare_programming_language_and_see_them_ranked/)

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

Reddit Programming

Live Life on the Edge: A Layered Strategy for Testing Data Models
https://www.reddit.com/r/programming/comments/1sevdsl/live_life_on_the_edge_a_layered_strategy_for/

submitted by /u/misterchiply (https://www.reddit.com/user/misterchiply)
[link] (https://www.chiply.dev/post-data-model-testing) [comments] (https://www.reddit.com/r/programming/comments/1sevdsl/live_life_on_the_edge_a_layered_strategy_for/)

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

Reddit Programming

C3 closes out its 0.7 era — focusing on simplicity and control before 0.8
https://www.reddit.com/r/programming/comments/1set2gu/c3_closes_out_its_07_era_focusing_on_simplicity/

<!-- SC_OFF -->C3 is trying to stay close to C in terms of control and predictability,
without piling on too much complexity This release is mostly about tightening semantics, improving inference,
and removing edge cases before moving into the 0.8 cycle. It’s less about adding features and more about making the language and standard library consistent. <!-- SC_ON --> submitted by /u/Nuoji (https://www.reddit.com/user/Nuoji)
[link] (https://c3-lang.org/blog/c3-0-7-11-the-last-v0-7/) [comments] (https://www.reddit.com/r/programming/comments/1set2gu/c3_closes_out_its_07_era_focusing_on_simplicity/)

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

Reddit Programming

Measuring Jitter: Standard Linux vs PREEMPT_RT under heavy load
https://www.reddit.com/r/programming/comments/1se3lsn/measuring_jitter_standard_linux_vs_preempt_rt/

<!-- SC_OFF --> I've been working on a Software PLC where microsecond-level execution timing is critical. To guarantee real-time performance, I tested and compared the scheduling jitter between a standard Linux kernel and a PREEMPT_RT patched kernel (Ubuntu 24.04). The Setup: A C++ task waking up every 10ms using clock_nanosleep, running for 10,000 iterations. Applied heavy system load using stress-ng (CPU 100%, Disk I/O, Context switches, Page faults). CPU governor set to 'performance'. The Results (Worst-case Jitter): Standard Linux Kernel: Extremely unpredictable. Jitter spiked up to ~650 µs when the system was under stress. PREEMPT_RT Kernel: Very stable. The worst-case jitter was strictly bounded under 70 µs. It's impressive how much stability the PREEMPT_RT patch brings to a general-purpose OS without needing a dedicated RTOS. I also learned a hard lesson about not doing File I/O inside an RT loop the hard way! 😅 Any feedback or tips on further tuning (like IRQ Affinity) would be greatly appreciated! <!-- SC_ON --> submitted by /u/Special_Ad5912 (https://www.reddit.com/user/Special_Ad5912)
[link] (https://prejudice.tistory.com/42) [comments] (https://www.reddit.com/r/programming/comments/1se3lsn/measuring_jitter_standard_linux_vs_preempt_rt/)

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

Reddit Programming

The Data Race Hiding Behind "Correct" Atomics
https://www.reddit.com/r/programming/comments/1se1ypz/the_data_race_hiding_behind_correct_atomics/

submitted by /u/devTripp (https://www.reddit.com/user/devTripp)
[link] (https://trippw.com/blog/lock-free-metrics-atomic-pointer) [comments] (https://www.reddit.com/r/programming/comments/1se1ypz/the_data_race_hiding_behind_correct_atomics/)

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

Reddit Programming

Stamp It! All Programs Must Report Their Version
https://www.reddit.com/r/programming/comments/1sdy11q/stamp_it_all_programs_must_report_their_version/

submitted by /u/SpecialistLady (https://www.reddit.com/user/SpecialistLady)
[link] (https://michael.stapelberg.ch/posts/2026-04-05-stamp-it-all-programs-must-report-their-version/) [comments] (https://www.reddit.com/r/programming/comments/1sdy11q/stamp_it_all_programs_must_report_their_version/)

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

Reddit Programming

Visualizing Graph Structures Using Go and Graphviz
https://www.reddit.com/r/programming/comments/1sdspjj/visualizing_graph_structures_using_go_and_graphviz/

submitted by /u/High-Impact-2025 (https://www.reddit.com/user/High-Impact-2025)
[link] (https://dominik.info/blog/visualizing-graphs/) [comments] (https://www.reddit.com/r/programming/comments/1sdspjj/visualizing_graph_structures_using_go_and_graphviz/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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

Reddit Programming

Hashing in C++26
https://www.reddit.com/r/programming/comments/1sfmt0l/hashing_in_c26/

submitted by /u/Krystian-Piekos (https://www.reddit.com/user/Krystian-Piekos)
[link] (https://blog.infotraining.pl/hashing-in-cpp-26) [comments] (https://www.reddit.com/r/programming/comments/1sfmt0l/hashing_in_c26/)

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

Reddit Programming

Beyond Indexes: How Open Table Formats Optimize Query Performance — Jack Vanlightly
https://www.reddit.com/r/programming/comments/1sfm3hs/beyond_indexes_how_open_table_formats_optimize/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://jack-vanlightly.com/blog/2025/10/8/beyond-indexes-how-open-table-formats-optimize-query-performance) [comments] (https://www.reddit.com/r/programming/comments/1sfm3hs/beyond_indexes_how_open_table_formats_optimize/)

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

Reddit Programming

You can't cancel a JavaScript promise (except sometimes you can)
https://www.reddit.com/r/programming/comments/1sew9fx/you_cant_cancel_a_javascript_promise_except/

submitted by /u/aardvark_lizard (https://www.reddit.com/user/aardvark_lizard)
[link] (https://www.inngest.com/blog/hanging-promises-for-control-flow) [comments] (https://www.reddit.com/r/programming/comments/1sew9fx/you_cant_cancel_a_javascript_promise_except/)

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

Reddit Programming

Jim Webber Explains Fault-tolerance, Scalability & Why Computers Are Just Confident Drunks. #DistributedSystems
https://www.reddit.com/r/programming/comments/1seuifi/jim_webber_explains_faulttolerance_scalability/

submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/Pb8brtgQYP8?list=PLEx5khR4g7PLjpaSO0XI-6euF483ORLyJ) [comments] (https://www.reddit.com/r/programming/comments/1seuifi/jim_webber_explains_faulttolerance_scalability/)

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

Reddit Programming

Parse, Don't Validate — In a Language That Doesn't Want You To · cekrem.github.io
https://www.reddit.com/r/programming/comments/1sesbjq/parse_dont_validate_in_a_language_that_doesnt/

submitted by /u/cekrem (https://www.reddit.com/user/cekrem)
[link] (https://cekrem.github.io/posts/parse-dont-validate-typescript/) [comments] (https://www.reddit.com/r/programming/comments/1sesbjq/parse_dont_validate_in_a_language_that_doesnt/)

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

Reddit Programming

I poorly estimated a year long rewrite
https://www.reddit.com/r/programming/comments/1se324q/i_poorly_estimated_a_year_long_rewrite/

submitted by /u/levodelellis (https://www.reddit.com/user/levodelellis)
[link] (https://bold-edit.com/devlog/one-year-rewrite.html) [comments] (https://www.reddit.com/r/programming/comments/1se324q/i_poorly_estimated_a_year_long_rewrite/)

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

Reddit Programming

How the Sharks Do Observability
https://www.reddit.com/r/programming/comments/1se0at6/how_the_sharks_do_observability/

submitted by /u/elizObserves (https://www.reddit.com/user/elizObserves)
[link] (https://newsletter.signoz.io/p/how-the-sharks-do-observability) [comments] (https://www.reddit.com/r/programming/comments/1se0at6/how_the_sharks_do_observability/)

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

Reddit Programming

Beyond Indexes: How Open Table Formats Optimize Query Performance
https://www.reddit.com/r/programming/comments/1sdv3kd/beyond_indexes_how_open_table_formats_optimize/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://jack-vanlightly.com/blog/2025/10/8/beyond-indexes-how-open-table-formats-optimize-query-performance) [comments] (https://www.reddit.com/r/programming/comments/1sdv3kd/beyond_indexes_how_open_table_formats_optimize/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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

Reddit Programming

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/)

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