Reddit Programming
201 subscribers
1.22K photos
126K links
I will send you newest post from subreddit /r/programming
Download Telegram
I have devised a factorization algorithm.The source is written in C and uses the GMP and ECM libraries. Would anyone with a decent computer like to test this?
https://www.reddit.com/r/programming/comments/1rf4cjr/i_have_devised_a_factorization_algorithmthe/

<!-- SC_OFF -->I have devised a factorization algorithm that: Given M, a number to be factored, From M, generates an N of the order of magnitude of M^2. Starts the complete factorization of N using trial division, H_special, ECM, and Pollard–Rho. Each time it finds a new factor, it updates the current factorization. At each TIMEOUT expiration, it checks whether a given value S is valid. If S is valid, it is sent to the main program via. The main program checks whether S produces a factorization of M; otherwise, it generates another N and restarts. The source is written in C and uses the GMP and ECM libraries. ECM uses B1 = 50000, 250000, 1000000, with 200 curves for each B1, for a total of 600 ECM curves, with standard GMP-ECM parameters and a timeout of 1800 seconds. Optimal case: N is factored in a few seconds S is valid S produces a factorization of M Would anyone with a decent computer like to test this? lepore_factorization_nr_00 https://github.com/Piunosei/lepore_factorization_nr_00 <!-- SC_ON --> submitted by /u/Acrobatic_Tadpole724 (https://www.reddit.com/user/Acrobatic_Tadpole724)
[link] (https://github.com/Piunosei/lepore_factorization_nr_00) [comments] (https://www.reddit.com/r/programming/comments/1rf4cjr/i_have_devised_a_factorization_algorithmthe/)
Open vs Closed Loop: A Benchmarking Crime
https://www.reddit.com/r/programming/comments/1rfjr3w/open_vs_closed_loop_a_benchmarking_crime/

<!-- SC_OFF -->This post explains in relatively simple terms what an open loop benchmark is and why it can be vital to get this right. I am hardly the first person to write about this topic, but I suspect that I am not the only one who hadn't thought about the details of their benchmarking setup enough. <!-- SC_ON --> submitted by /u/curly_droid (https://www.reddit.com/user/curly_droid)
[link] (https://notpeerreviewed.com/blog/tail-latency/) [comments] (https://www.reddit.com/r/programming/comments/1rfjr3w/open_vs_closed_loop_a_benchmarking_crime/)
Rust in Production: JetBrains
https://www.reddit.com/r/programming/comments/1rfl42t/rust_in_production_jetbrains/

<!-- SC_OFF -->This interview explores JetBrains’ strategy for supporting the Rust Foundation and collaborating around shared tooling like rust-analyzer, the rationale behind launching RustRover, and how user adoption data shapes priorities such as debugging, async Rust workflows, and test tooling (including cargo nextest). <!-- SC_ON --> submitted by /u/Hefty-Necessary7621 (https://www.reddit.com/user/Hefty-Necessary7621)
[link] (https://serokell.io/blog/rust-in-production-jetbrains) [comments] (https://www.reddit.com/r/programming/comments/1rfl42t/rust_in_production_jetbrains/)
Docker, Traefik, and SSE streaming: A post-mortem on building a managed hosting platform
https://www.reddit.com/r/programming/comments/1rg4li5/docker_traefik_and_sse_streaming_a_postmortem_on/

<!-- SC_OFF -->I built a managed hosting platform in two weeks while working a full-time job. ClawHosters now has 50 paying customers and 25 trials. All from Reddit posts. Zero marketing spend. This post covers everything that went wrong: • Docker symlinks breaking updates • SSE streaming through Traefik (way harder than expected) • Why containers hit memory limits constantly • The 2 AM Telegram alerts when customer instances crash Rails 8, PostgreSQL, Sidekiq, Hetzner Cloud API. No Kubernetes. One server. If you're thinking about building infrastructure products, this might save you some pain. <!-- SC_ON --> submitted by /u/yixn_io (https://www.reddit.com/user/yixn_io)
[link] (https://clawhosters.com/blog/posts/building-managed-hosting-platform-tech-deep-dive) [comments] (https://www.reddit.com/r/programming/comments/1rg4li5/docker_traefik_and_sse_streaming_a_postmortem_on/)