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

Pwnd Blaster: Hacking your PC using your speaker without ever touching it
https://www.reddit.com/r/programming/comments/1vc25gi/pwnd_blaster_hacking_your_pc_using_your_speaker/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://blog.nns.ee/2026/06/03/katana-badusb/) [comments] (https://www.reddit.com/r/programming/comments/1vc25gi/pwnd_blaster_hacking_your_pc_using_your_speaker/)

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

Reddit Programming

Canvas path animations: Animating anything along a curve with Canvas + SVG
https://www.reddit.com/r/programming/comments/1vbogt3/canvas_path_animations_animating_anything_along_a/

submitted by /u/ykadosh (https://www.reddit.com/user/ykadosh)
[link] (https://yoavik.com/posts/canvas-path-animation) [comments] (https://www.reddit.com/r/programming/comments/1vbogt3/canvas_path_animations_animating_anything_along_a/)

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

Reddit Programming

JEP 401: Value Objects And JEP 539: Strict Field Initialization Merged Into JDK
https://www.reddit.com/r/programming/comments/1vbocji/jep_401_value_objects_and_jep_539_strict_field/

submitted by /u/joemwangi (https://www.reddit.com/user/joemwangi)
[link] (https://github.com/openjdk/jdk/commit/cc278dbb8a1ca0754d5842708b9029441055d361) [comments] (https://www.reddit.com/r/programming/comments/1vbocji/jep_401_value_objects_and_jep_539_strict_field/)

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

Reddit Programming

Manual reification on the JVM
https://www.reddit.com/r/programming/comments/1vb18kc/manual_reification_on_the_jvm/

submitted by /u/farnoy (https://www.reddit.com/user/farnoy)
[link] (https://farnoy.dev/posts/manual-reification-on-the-jvm) [comments] (https://www.reddit.com/r/programming/comments/1vb18kc/manual_reification_on_the_jvm/)

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

Reddit Programming

What Every Programmer Should Know About Twists of Elliptic Curves
https://www.reddit.com/r/programming/comments/1vax1q4/what_every_programmer_should_know_about_twists_of/

submitted by /u/DataBaeBee (https://www.reddit.com/user/DataBaeBee)
[link] (https://leetarxiv.substack.com/p/twists-of-elliptic-curves) [comments] (https://www.reddit.com/r/programming/comments/1vax1q4/what_every_programmer_should_know_about_twists_of/)

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

Reddit Programming

Your Recursion Is Lying to You
https://www.reddit.com/r/programming/comments/1v99xvl/your_recursion_is_lying_to_you/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://blog.gaborkoos.com/posts/2026-05-09-Your-Recursion-Is-Lying-to-You/) [comments] (https://www.reddit.com/r/programming/comments/1v99xvl/your_recursion_is_lying_to_you/)

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

Reddit Programming

Inside Zig's Incremental Compilation
https://www.reddit.com/r/programming/comments/1v93h07/inside_zigs_incremental_compilation/

submitted by /u/f311a (https://www.reddit.com/user/f311a)
[link] (https://mlugg.co.uk/posts/incremental-compilation-internals/) [comments] (https://www.reddit.com/r/programming/comments/1v93h07/inside_zigs_incremental_compilation/)

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

Reddit Programming

Finding bugs in Raft implementations
https://www.reddit.com/r/programming/comments/1v90kmd/finding_bugs_in_raft_implementations/

submitted by /u/f311a (https://www.reddit.com/user/f311a)
[link] (https://antithesis.com/blog/2026/finding-bugs-in-raft-implementations/) [comments] (https://www.reddit.com/r/programming/comments/1v90kmd/finding_bugs_in_raft_implementations/)

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

Reddit Programming

Vendor-agnostic ML inference on production edge devices
https://www.reddit.com/r/programming/comments/1v8wl5t/vendoragnostic_ml_inference_on_production_edge/

<!-- SC_OFF -->I work on PostSlate, a video editing tool, and this comes out of our own work. We run ML models on-device, face detection and embedding among other things, which means we can't assume anything about the user's GPU. NVIDIA discrete, AMD, Intel integrated, Apple Silicon, all of it. That rules out CUDA immediately, we needed one backend that runs everywhere. We landed on ncnn's Vulkan backend. Numbers on a 4070, fp16: ArcFace R50 (face embedding): 30 ms on ONNX CPU → 3 ms on ncnn Vulkan SCRFD (face detection): 25 ms → 2.5 ms Model size: ArcFace 174 MB (ONNX fp32) → 87 MB (ncnn fp16 weight storage) Of course the real speedup comes from offloading compute to the GPU, but this wouldn't be possible without the power of Vulkan. The speed wasn't even the deciding factor, it's that Vulkan drivers already exist on every machine we ship to. This means that we don't have to force the user to download a specific runtime and no vendor-specific installs. Full writeup with the rest of the numbers: https://getpostslate.com/blog/faster-local-inference <!-- SC_ON --> submitted by /u/ppchaos (https://www.reddit.com/user/ppchaos)
[link] (https://getpostslate.com/blog/faster-local-inference) [comments] (https://www.reddit.com/r/programming/comments/1v8wl5t/vendoragnostic_ml_inference_on_production_edge/)

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

Reddit Programming

Pollard's P-1 Factoring Algorithm in Plain C
https://www.reddit.com/r/programming/comments/1v8dy8c/pollards_p1_factoring_algorithm_in_plain_c/

submitted by /u/DataBaeBee (https://www.reddit.com/user/DataBaeBee)
[link] (https://leetarxiv.substack.com/p/pollards-p-1-factoring-algorithm) [comments] (https://www.reddit.com/r/programming/comments/1v8dy8c/pollards_p1_factoring_algorithm_in_plain_c/)

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

Reddit Programming

How we make Luau fast
https://www.reddit.com/r/programming/comments/1v85isn/how_we_make_luau_fast/

submitted by /u/_Sharp_ (https://www.reddit.com/user/_Sharp_)
[link] (https://luau.org/performance/) [comments] (https://www.reddit.com/r/programming/comments/1v85isn/how_we_make_luau_fast/)

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

Reddit Programming

Let the Browser Do the Math or: How I Learned to Stop Worrying and Love the DOM
https://www.reddit.com/r/programming/comments/1v833kp/let_the_browser_do_the_math_or_how_i_learned_to/

submitted by /u/oalders (https://www.reddit.com/user/oalders)
[link] (https://www.olafalders.com/2026/07/27/designing-social-cards-in-html/) [comments] (https://www.reddit.com/r/programming/comments/1v833kp/let_the_browser_do_the_math_or_how_i_learned_to/)

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

Reddit Programming

Approximating Softmax for FPGAs with Taylor Series and Pade Approximants in Python
https://www.reddit.com/r/programming/comments/1v7yygj/approximating_softmax_for_fpgas_with_taylor/

submitted by /u/DataBaeBee (https://www.reddit.com/user/DataBaeBee)
[link] (https://leetarxiv.substack.com/p/approximating-softmax-for-fpgas) [comments] (https://www.reddit.com/r/programming/comments/1v7yygj/approximating_softmax_for_fpgas_with_taylor/)

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

Reddit Programming

Modeling Facts and Reactions with Domain Events
https://www.reddit.com/r/programming/comments/1v6xuqc/modeling_facts_and_reactions_with_domain_events/

submitted by /u/deniskyashif (https://www.reddit.com/user/deniskyashif)
[link] (https://deniskyashif.com/2026/07/25/modeling-facts-and-reactions-with-domain-events/) [comments] (https://www.reddit.com/r/programming/comments/1v6xuqc/modeling_facts_and_reactions_with_domain_events/)

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

Reddit Programming

Seed7 version 2026-07-11 released
https://www.reddit.com/r/programming/comments/1uzapht/seed7_version_20260711_released/

<!-- SC_OFF -->Seed7 is a GPL licensed open source programming language. It is given away for free and nobody from the development team gets any money from it. <!-- SC_ON --> submitted by /u/ThomasMertes (https://www.reddit.com/user/ThomasMertes)
[link] (https://www.reddit.com/r/seed7/comments/1uvbc5a/seed7_version_20260711_released_on_github_and_sf/) [comments] (https://www.reddit.com/r/programming/comments/1uzapht/seed7_version_20260711_released/)

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

Reddit Programming

On Type Inference
https://www.reddit.com/r/programming/comments/1vbp0vm/on_type_inference/

submitted by /u/radekmie (https://www.reddit.com/user/radekmie)
[link] (https://radekmie.dev/blog/on-type-inference/) [comments] (https://www.reddit.com/r/programming/comments/1vbp0vm/on_type_inference/)

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

Reddit Programming

Methinks it is a weasel
https://www.reddit.com/r/programming/comments/1vbofod/methinks_it_is_a_weasel/

submitted by /u/_fourzerofour (https://www.reddit.com/user/_fourzerofour)
[link] (https://diatone.net/methinks) [comments] (https://www.reddit.com/r/programming/comments/1vbofod/methinks_it_is_a_weasel/)

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

Reddit Programming

The Mystery on DuckLake: A Time-Travelling Whodunit Story
https://www.reddit.com/r/programming/comments/1vb8u5y/the_mystery_on_ducklake_a_timetravelling_whodunit/

submitted by /u/pdoherty926 (https://www.reddit.com/user/pdoherty926)
[link] (https://peterdohertys.website/blog-posts/the-mystery-on-duck-lake.html) [comments] (https://www.reddit.com/r/programming/comments/1vb8u5y/the_mystery_on_ducklake_a_timetravelling_whodunit/)

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

Reddit Programming

Stacked pull requests are now in public preview - GitHub Changelog
https://www.reddit.com/r/programming/comments/1vayhxm/stacked_pull_requests_are_now_in_public_preview/

submitted by /u/tomzorzhu (https://www.reddit.com/user/tomzorzhu)
[link] (https://github.blog/changelog/2026-07-30-stacked-pull-requests-are-now-in-public-preview/) [comments] (https://www.reddit.com/r/programming/comments/1vayhxm/stacked_pull_requests_are_now_in_public_preview/)

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

Reddit Programming

Detection-as-Code in One GitHub Action with RSigma
https://www.reddit.com/r/programming/comments/1v9a099/detectionascode_in_one_github_action_with_rsigma/

submitted by /u/Happycodeine (https://www.reddit.com/user/Happycodeine)
[link] (https://mostafa.dev/detection-as-code-in-one-github-action-with-rsigma-0ebfb4c857fa?source=friends_link&amp;sk=3bfa053c8011acf6b14caf57d50a783e) [comments] (https://www.reddit.com/r/programming/comments/1v9a099/detectionascode_in_one_github_action_with_rsigma/)

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

Reddit Programming

The Elevator Glitch: How One Function Destroyed Public Lobbies in CoD4
https://www.reddit.com/r/programming/comments/1v94mgb/the_elevator_glitch_how_one_function_destroyed/

<!-- SC_OFF -->Walk with me inside one of the most influential game's code and discover the secret of elevators! Turns out the bug comes down to a single line buried in the engine's collision code. Went through the decompiled source (thanks to KisakCOD) and traced the whole thing back. Let me know your thoughts! ✨ <!-- SC_ON --> submitted by /u/Rex109 (https://www.reddit.com/user/Rex109)
[link] (https://www.youtube.com/watch?v=U0kAwjFuxoo) [comments] (https://www.reddit.com/r/programming/comments/1v94mgb/the_elevator_glitch_how_one_function_destroyed/)

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

Reddit Programming

A shell colon does nothing. Use it anyway. | Filip Roséen
https://www.reddit.com/r/programming/comments/1v90z1b/a_shell_colon_does_nothing_use_it_anyway_filip/

submitted by /u/f311a (https://www.reddit.com/user/f311a)
[link] (https://refp.se/articles/your-shell-and-the-magic-colon) [comments] (https://www.reddit.com/r/programming/comments/1v90z1b/a_shell_colon_does_nothing_use_it_anyway_filip/)

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

Reddit Programming

Dependency Cultures - Richard Feldman
https://www.reddit.com/r/programming/comments/1v8ynjn/dependency_cultures_richard_feldman/

<!-- SC_OFF -->Excellent talk by Richard Feldman about how different programming communities approach dependencies. <!-- SC_ON --> submitted by /u/isaacvando (https://www.reddit.com/user/isaacvando)
[link] (https://youtu.be/E82ly38YEEQ) [comments] (https://www.reddit.com/r/programming/comments/1v8ynjn/dependency_cultures_richard_feldman/)

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

Reddit Programming

Microsoft lays out a buffet of Windows goodies for JavaScript Developers
https://www.reddit.com/r/programming/comments/1v8ojyf/microsoft_lays_out_a_buffet_of_windows_goodies/

submitted by /u/stronghup (https://www.reddit.com/user/stronghup)
[link] (https://www.theregister.com/devops/2026/07/27/microsoft-lays-out-a-buffet-of-windows-goodies-for-javascript-developers/5279244) [comments] (https://www.reddit.com/r/programming/comments/1v8ojyf/microsoft_lays_out_a_buffet_of_windows_goodies/)

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

Reddit Programming

I created my own programming language-please rate it !!!
https://www.reddit.com/r/programming/comments/1v85rqi/i_created_my_own_programming_languageplease_rate/

submitted by /u/Must_officiall (https://www.reddit.com/user/Must_officiall)
[link] (https://github.com/must-lang) [comments] (https://www.reddit.com/r/programming/comments/1v85rqi/i_created_my_own_programming_languageplease_rate/)

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

Reddit Programming

Building a Fast Lock-Free Queue in Modern C++ From Scratch
https://www.reddit.com/r/programming/comments/1v83ukz/building_a_fast_lockfree_queue_in_modern_c_from/

submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://blog.jaysmito.dev/blog/04-fast-lockfree-queues/) [comments] (https://www.reddit.com/r/programming/comments/1v83ukz/building_a_fast_lockfree_queue_in_modern_c_from/)

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

Reddit Programming

Writing arenas in Rust from scratch
https://www.reddit.com/r/programming/comments/1v80d8d/writing_arenas_in_rust_from_scratch/

submitted by /u/f311a (https://www.reddit.com/user/f311a)
[link] (https://rushter.com/blog/rust-memory-arenas/) [comments] (https://www.reddit.com/r/programming/comments/1v80d8d/writing_arenas_in_rust_from_scratch/)

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

Reddit Programming

A simple clustering algorithm for lists
https://www.reddit.com/r/programming/comments/1v7tjg5/a_simple_clustering_algorithm_for_lists/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://cassidoo.co/post/clustering-tiles/) [comments] (https://www.reddit.com/r/programming/comments/1v7tjg5/a_simple_clustering_algorithm_for_lists/)

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

Reddit Programming

Introducing Triton: DirectX 11 driver for QEMU
https://www.reddit.com/r/programming/comments/1v6ijz9/introducing_triton_directx_11_driver_for_qemu/

submitted by /u/NXGZ (https://www.reddit.com/user/NXGZ)
[link] (https://blog.getutm.app/2026/introducing-triton-directx-11-driver-for-qemu/) [comments] (https://www.reddit.com/r/programming/comments/1v6ijz9/introducing_triton_directx_11_driver_for_qemu/)

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

Reddit Programming

Maintaining the code of the man who wrote "How To Write Unmaintainable Code"
https://www.reddit.com/r/programming/comments/1uzadz5/maintaining_the_code_of_the_man_who_wrote_how_to/

<!-- SC_OFF -->Today I accidentally became the maintainer of software that was already almost three decades old: reviving a 1990s Java utility to keep the last PAD submitter alive in 2026. I was looking for a way to submit my AI app RiverScript to old desktop software directories and ended up digging through the long-forgotten world of PAD files. There was one problem. The only batch submission tool I could find was a Java application that first appeared in the late 1990s. The last release was in 2017. It was written by Roedy Green of Canadian Mind Products (https://mindprod.com/) – a software developer who passed away in 2023. He spent decades writing and freely distributing Java utilities, and maintaining the widely-read Java Glossary (https://mindprod.com/jgloss/jgloss.html). Roedy Green also wrote How To Write Unmaintainable Code (https://github.com/droogans/unmaintainable-code) – a famous satirical guide about writing code nobody can maintain. So, Roedy, today the code you wrote almost three decades ago was maintained. The tool still did exactly what it was supposed to do. Thank you. It just had absolutely no idea the modern web existed. It happily produced URLs like http://https://riverscript.com instead of https://riverscript.com (https://riverscript.com/), disabled SNI globally (which was probably a perfectly reasonable workaround at some point), and couldn't cope with the fact that almost every website now redirects HTTP to HTTPS. So I dug through the legacy Java code, fixed the compatibility issues, and got it working again. I used it to submit my app to several software directories, then published the revived version on GitHub so anyone who still needs it can use it too. Maybe nobody will ever need it again. Maybe someone will. Either way, I'm happy this old thing works again. So today, the code of the man who wrote "How To Write Unmaintainable Code" is still being maintained even after he was gone. P.S. The public repository for Mini PAD Submitter 26.3 Revived – 2026 Community Fix (https://github.com/lexvalo/mini-pad-submitter-revived) is available and open to everyone. P.P.S. At the request of redditors, I also added support for using custom submission directories. In Roedy's original program, the list of 66 directories was hardcoded, and quite a few of them no longer exist. So I added a sites.txt file next to the application in the dist folder, where you can edit the list yourself – remove the ones that no longer exist and add new ones. The application simply reads the list from that file now, so you don't have to recompile anything. <!-- SC_ON --> submitted by /u/Odd-Flamingo-6211 (https://www.reddit.com/user/Odd-Flamingo-6211)
[link] (https://github.com/lexvalo/mini-pad-submitter-revived) [comments] (https://www.reddit.com/r/programming/comments/1uzadz5/maintaining_the_code_of_the_man_who_wrote_how_to/)

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