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

Zip file cracking
https://www.reddit.com/r/programming/comments/1o9pe9u/zip_file_cracking/

<!-- SC_OFF -->Hi everyone! I have a really frustrating problem. An old colleague of mine thought that it would be funny to encrypt one of our old zip files. He is not willing to share the password, the only information I know is that it is a hexadecimal color code. I tried a few thing, but I just can't crack it. Unfortunately I am very stubborn and I don't like to give up. So I really need some help with it. If you have any specific tips, or know a way please tell me. If you message me, I can share the file. Me and my other colleagues offer 12 USD to anyone who can crack it. Thanks :) <!-- SC_ON --> submitted by /u/Frosty-Letterhead-37 (https://www.reddit.com/user/Frosty-Letterhead-37)
[link] (http://en.wikipedia.org/wiki/john_the_ripper) [comments] (https://www.reddit.com/r/programming/comments/1o9pe9u/zip_file_cracking/)

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

Reddit Programming

Migrating from AWS to Hetzner
https://www.reddit.com/r/programming/comments/1o970qc/migrating_from_aws_to_hetzner/

submitted by /u/cheerfulboy (https://www.reddit.com/user/cheerfulboy)
[link] (https://digitalsociety.coop/posts/migrating-to-hetzner-cloud/) [comments] (https://www.reddit.com/r/programming/comments/1o970qc/migrating_from_aws_to_hetzner/)

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

Reddit Programming

Lobsters community interview about programming, math, distractions, time management and computing for fun
https://www.reddit.com/r/programming/comments/1o8ze7r/lobsters_community_interview_about_programming/

submitted by /u/fpcoder (https://www.reddit.com/user/fpcoder)
[link] (https://lobste.rs/s/kltoas/lobsters_interview_with_susam) [comments] (https://www.reddit.com/r/programming/comments/1o8ze7r/lobsters_community_interview_about_programming/)

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

Reddit Programming

Nival has released the source code for "Blitzkrieg 2" to the public
https://www.reddit.com/r/programming/comments/1o8ylmx/nival_has_released_the_source_code_for_blitzkrieg/

submitted by /u/r_retrohacking_mod2 (https://www.reddit.com/user/r_retrohacking_mod2)
[link] (https://wnhub.io/news/other/item-48930) [comments] (https://www.reddit.com/r/programming/comments/1o8ylmx/nival_has_released_the_source_code_for_blitzkrieg/)

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

Reddit Programming

From Zero to Your First eBPF Program (Hands-On Tutorial)
https://www.reddit.com/r/programming/comments/1o7ekau/from_zero_to_your_first_ebpf_program_handson/

submitted by /u/iximiuz (https://www.reddit.com/user/iximiuz)
[link] (https://labs.iximiuz.com/tutorials/my-first-ebpf-program-5120140e) [comments] (https://www.reddit.com/r/programming/comments/1o7ekau/from_zero_to_your_first_ebpf_program_handson/)

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

Reddit Programming

Tech Lead is Becoming One of the Most Important Roles in Tech Due to GenAI
https://www.reddit.com/r/programming/comments/1o7ndf2/tech_lead_is_becoming_one_of_the_most_important/

submitted by /u/gregorojstersek (https://www.reddit.com/user/gregorojstersek)
[link] (https://newsletter.eng-leadership.com/p/tech-lead-is-becoming-one-of-the) [comments] (https://www.reddit.com/r/programming/comments/1o7ndf2/tech_lead_is_becoming_one_of_the_most_important/)

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

Reddit Programming

Crystal 1.18.0 is released!
https://www.reddit.com/r/programming/comments/1o7ckrv/crystal_1180_is_released/

submitted by /u/sdogruyol (https://www.reddit.com/user/sdogruyol)
[link] (https://crystal-lang.org/2025/10/14/1.18.0-released/) [comments] (https://www.reddit.com/r/programming/comments/1o7ckrv/crystal_1180_is_released/)

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

Reddit Programming

Unpacking Cloudflare Workers CPU Performance Benchmarks
https://www.reddit.com/r/programming/comments/1o7nads/unpacking_cloudflare_workers_cpu_performance/

<!-- SC_OFF -->Cloudflare addressed benchmarks that showed Workers slower than Vercel in CPU-heavy tasks. They traced the gap to V8 tuning, scheduling, and inefficiencies in libraries and adapters. Fixes included better isolate scheduling, memory tuning, and optimizations to OpenNext and JSON.parse. They also pushed upstream improvements to V8 and Node.js. As a result, Workers now perform on par with Vercel in most tests and much closer in the remaining ones, while Cloudflare continues to refine performance. <!-- SC_ON --> submitted by /u/Happy_Junket_9540 (https://www.reddit.com/user/Happy_Junket_9540)
[link] (https://blog.cloudflare.com/unpacking-cloudflare-workers-cpu-performance-benchmarks/) [comments] (https://www.reddit.com/r/programming/comments/1o7nads/unpacking_cloudflare_workers_cpu_performance/)

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

Reddit Programming

Construí en una noche una app para seguir mis postulaciones de trabajo. Se llama jobGetsJob y quiero feedback real
https://www.reddit.com/r/programming/comments/1o711py/constru%C3%AD_en_una_noche_una_app_para_seguir_mis/

<!-- SC_OFF -->Anoche me pintó el bichito de construir algo rápido.
Tenía una idea que venía dando vueltas hace rato, y dije: “bueno, basta de pensarlo, lo hago”. Así que en una sola noche armé jobGetsJob, una app para seguir todas las postulaciones laborales y tener tu búsqueda de trabajo ordenada como si fuera un proyecto. La idea es simple, casi obvia: conseguir trabajo también es un trabajo, y si uno puede organizar su código, ¿por qué no organizar sus postulaciones igual? No es más que un MVP, una primera versión, algo para probar si realmente hace falta.
Por eso lo subí online y quiero feedback real, sin filtro.
¿Te parece útil? ¿Le falta algo? ¿Lo usarías si estás buscando laburo? Podés entrar y probarlo acá 👇 https://jobgetsjob.vercel.app/ <!-- SC_ON --> submitted by /u/fertejo20 (https://www.reddit.com/user/fertejo20)
[link] (https://jobgetsjob.vercel.app/) [comments] (https://www.reddit.com/r/programming/comments/1o711py/constru%C3%AD_en_una_noche_una_app_para_seguir_mis/)

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

Reddit Programming

How Modern Compilers Optimize Code A Walkthrough
https://www.reddit.com/r/programming/comments/1o722wo/how_modern_compilers_optimize_code_a_walkthrough/

submitted by /u/CockroachFair4921 (https://www.reddit.com/user/CockroachFair4921)
[link] (https://www.yourquorum.com/question/how-modern-compilers-optimize-code-a-walkthrough?utm_source=reddit_sh&amp;utm_medium=social_sh&amp;utm_campaign=reddit_sh) [comments] (https://www.reddit.com/r/programming/comments/1o722wo/how_modern_compilers_optimize_code_a_walkthrough/)

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

Reddit Programming

From autonomous agents to Human-assisted QA, AI Testing Tools in 2025
https://www.reddit.com/r/programming/comments/1o6si9q/from_autonomous_agents_to_humanassisted_qa_ai/

submitted by /u/cheerfulboy (https://www.reddit.com/user/cheerfulboy)
[link] (https://hashnode.com/blog/ai-testing-tools-2025) [comments] (https://www.reddit.com/r/programming/comments/1o6si9q/from_autonomous_agents_to_humanassisted_qa_ai/)

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

Reddit Programming

Cap'n Web: A new RPC system for browsers and web servers
https://www.reddit.com/r/programming/comments/1o6qg6y/capn_web_a_new_rpc_system_for_browsers_and_web/

submitted by /u/Happy_Junket_9540 (https://www.reddit.com/user/Happy_Junket_9540)
[link] (https://blog.cloudflare.com/capnweb-javascript-rpc-library/) [comments] (https://www.reddit.com/r/programming/comments/1o6qg6y/capn_web_a_new_rpc_system_for_browsers_and_web/)

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

Reddit Programming

Simpler Build Tools with Functional and Object Oriented Programming, Scala Workshop 2025
https://www.reddit.com/r/programming/comments/1o6n8lv/simpler_build_tools_with_functional_and_object/

submitted by /u/lihaoyi (https://www.reddit.com/user/lihaoyi)
[link] (https://www.youtube.com/watch?v=tNsz_dGCsVs) [comments] (https://www.reddit.com/r/programming/comments/1o6n8lv/simpler_build_tools_with_functional_and_object/)

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

Reddit Programming

Reflecting on the first 6 months of a rewrite (Text Editor)
https://www.reddit.com/r/programming/comments/1o6m0jc/reflecting_on_the_first_6_months_of_a_rewrite/

submitted by /u/levodelellis (https://www.reddit.com/user/levodelellis)
[link] (https://bold-edit.com/devlog/six-months-rewrite.html) [comments] (https://www.reddit.com/r/programming/comments/1o6m0jc/reflecting_on_the_first_6_months_of_a_rewrite/)

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

Reddit Programming

Introducing Reactive Programming for Go
https://www.reddit.com/r/programming/comments/1o6ieoy/introducing_reactive_programming_for_go/

<!-- SC_OFF -->Start writing declarative pipelines: observable := ro.Pipe( ro.RangeWithInterval(0, 10, 1*time.Second), ro.Filter(func(x int) bool { return x%2 == 0 }), ro.Map(func(x int) string { return fmt.Sprintf("even-%d", x) }), ) <!-- SC_ON --> submitted by /u/samuelberthe (https://www.reddit.com/user/samuelberthe)
[link] (https://github.com/samber/ro) [comments] (https://www.reddit.com/r/programming/comments/1o6ieoy/introducing_reactive_programming_for_go/)

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

Reddit Programming

Same-document view transitions have become Baseline Newly available
https://www.reddit.com/r/programming/comments/1o9bf34/samedocument_view_transitions_have_become/

submitted by /u/feross (https://www.reddit.com/user/feross)
[link] (https://web.dev/blog/same-document-view-transitions-are-now-baseline-newly-available?hl=en) [comments] (https://www.reddit.com/r/programming/comments/1o9bf34/samedocument_view_transitions_have_become/)

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

Reddit Programming

Encapsulation Without private: A Case for Interface-Based Design
https://www.reddit.com/r/programming/comments/1o934q9/encapsulation_without_private_a_case_for/

submitted by /u/EgregorAmeriki (https://www.reddit.com/user/EgregorAmeriki)
[link] (galiullinnikolai/encapsulation-without-private-a-case-for-interface-based-design-2d651fa73a27" rel="nofollow">https://medium.com/@galiullinnikolai/encapsulation-without-private-a-case-for-interface-based-design-2d651fa73a27) [comments] (https://www.reddit.com/r/programming/comments/1o934q9/encapsulation_without_private_a_case_for/)

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

Reddit Programming

Dialogs that work everywhere – dealing with the timeout
https://www.reddit.com/r/programming/comments/1o8z31v/dialogs_that_work_everywhere_dealing_with_the/

<!-- SC_OFF -->Miniterface (https://github.com/CZ-NIC/mininterface) is a toolkit that makes dialogs that work everywhere, as a desktop, terminal, or a browser app. Recently, I've added a timeout feature that auto-confirms the dialog in few seconds. As the library guarantees the dialogs work the same way everywhere, this was technically challenging, take a look at the techniques used for each interface. GUI (tkinter) I feared this will be the most challenging, but in the contrary! Simply calling the countdown method, while decreasing the time to zero worked. In the method, we use the tkinter after to set another timeout self.after_id = self.adaptor.after(1000, self.countdown, count - 1) and changed the button text self.button.config(text=f"{self.orig} ({count})"). When countdown is at the end, we click the button via self.button.invoke(). The moment user defocuses the button, we stop the counting down. self.button.bind("", lambda e: self.cancel() if e.widget.focus_get() else None) Do you see the focus_get? This is to make sure another widget in the app has received the focus, we don't want to stop the counting down on changing the window focus via Alt+tab. https://github.com/CZ-NIC/mininterface/blob/main/mininterface/_tk_interface/timeout.py TUI (textual) The TUI interface is realized via the textual (https://textual.textualize.io/) framework. On init, we create an async task asyncio.create_task(self.countdown(timeout)), in which there is a mere while loop. The self.countdown method here is called only once. while count > 0: await asyncio.sleep(1) count -= 1 self.button.label = f"{self.orig} ({count})" As soon as while ends, we invoke the button (here, the invocation is called 'press') via self.button.press(). https://github.com/CZ-NIC/mininterface/blob/main/mininterface/_textual_interface/timeout.py text interface The fallback text interface uses a mere built-in input(). Implementing counting down here was surprisingly the most challenging task. As we need to stop down counting on a keypress (as other UIs do), we cannot use the normal input but meddle with the select or msvcrt packages (depending on the Linux/Win platform). The counting is realized via threading, we print out a dot for every second. It is printed only if input_started is false, no key was hit. if not input_started.is_set(): print(".", end='', flush=True) The code is the lengthiest: https://github.com/CZ-NIC/mininterface/blob/main/mininterface/_text_interface/timeout.py Conclusion Now, the programmer can use the timeout feature on every platform, terminal, browser, without actually dealing with the internal implementation – threading, asyncio, or mainloop. This code runs everywhere: from mininterface import run m = run() print(m.confirm("Is that alright?"), timeout=10) # True/False <!-- SC_ON --> submitted by /u/the-e2rd (https://www.reddit.com/user/the-e2rd)
[link] (https://cz-nic.github.io/mininterface/Mininterface/#mininterface.Mininterface.confirm) [comments] (https://www.reddit.com/r/programming/comments/1o8z31v/dialogs_that_work_everywhere_dealing_with_the/)

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

Reddit Programming

Best practices to kill your team proactivity
https://www.reddit.com/r/programming/comments/1o8u2m3/best_practices_to_kill_your_team_proactivity/

submitted by /u/dymissy (https://www.reddit.com/user/dymissy)
[link] (https://leadthroughmistakes.substack.com/p/best-practices-to-kill-your-team) [comments] (https://www.reddit.com/r/programming/comments/1o8u2m3/best_practices_to_kill_your_team_proactivity/)

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

Reddit Programming

Leading Multi-Year Projects as a Tech Lead
https://www.reddit.com/r/programming/comments/1o7cq7u/leading_multiyear_projects_as_a_tech_lead/

submitted by /u/thehustlingengineer (https://www.reddit.com/user/thehustlingengineer)
[link] (https://open.substack.com/pub/thehustlingengineer/p/how-to-keep-a-team-engaged-on-long?r=yznlc&amp;utm_medium=ios) [comments] (https://www.reddit.com/r/programming/comments/1o7cq7u/leading_multiyear_projects_as_a_tech_lead/)

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

Reddit Programming

Bending Emacs - Episode 03: Git clone (the lazy way)
https://www.reddit.com/r/programming/comments/1o7do4p/bending_emacs_episode_03_git_clone_the_lazy_way/

<!-- SC_OFF -->Here's a video with the latest iteration of my expedited git clone flow. While my flow is Emacs-specific, I'd be curious to see flows from other editors. <!-- SC_ON --> submitted by /u/xenodium (https://www.reddit.com/user/xenodium)
[link] (https://www.youtube.com/watch?v=oYHlH9NWraM) [comments] (https://www.reddit.com/r/programming/comments/1o7do4p/bending_emacs_episode_03_git_clone_the_lazy_way/)

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

Reddit Programming

Complete Guide to HTTP Caching | A technical SEO perspective
https://www.reddit.com/r/programming/comments/1o78hfj/complete_guide_to_http_caching_a_technical_seo/

submitted by /u/kixxauth (https://www.reddit.com/user/kixxauth)
[link] (https://www.jonoalderson.com/performance/http-caching/) [comments] (https://www.reddit.com/r/programming/comments/1o78hfj/complete_guide_to_http_caching_a_technical_seo/)

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

Reddit Programming

Reverse Engineering iWork (So You Don't Have To)
https://www.reddit.com/r/programming/comments/1o78acf/reverse_engineering_iwork_so_you_dont_have_to/

submitted by /u/AndrewMD5 (https://www.reddit.com/user/AndrewMD5)
[link] (https://andrews.substack.com/p/reverse-engineering-iwork) [comments] (https://www.reddit.com/r/programming/comments/1o78acf/reverse_engineering_iwork_so_you_dont_have_to/)

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

Reddit Programming

I am a programmer, not a rubber-stamp that approves Copilot generated code
https://www.reddit.com/r/programming/comments/1o729o1/i_am_a_programmer_not_a_rubberstamp_that_approves/

submitted by /u/pyeri (https://www.reddit.com/user/pyeri)
[link] (https://prahladyeri.github.io/blog/2025/10/i-am-a-programmer.html) [comments] (https://www.reddit.com/r/programming/comments/1o729o1/i_am_a_programmer_not_a_rubberstamp_that_approves/)

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

Reddit Programming

What’s the most cost-efficient way to run a persistent WebSocket API with auto-scaling and real-time traffic?
https://www.reddit.com/r/programming/comments/1o71amc/whats_the_most_costefficient_way_to_run_a/

<!-- SC_OFF -->I’ve been working on a real-time backend in Go (Gin) that bridges VS Code extensions and mobile clients via WebSocket connections.
The API handles device pairing, authentication, and real-time messaging — acting as a discovery and message broker service between desktop and mobile. Current Architecture Language: Go 1.21 Platform: Google Cloud Platform (auto-scaling instance group) Load Balancer: GCP HTTP(S) LB with sticky sessions (CLIENT_IP affinity) Database: Firestore (NoSQL, auto-scaling) Concurrency: ~200 sockets per instance, up to 3 000 total Scaling Trigger: 75 % CPU utilization Cost Range: $27 – $60 / month Design: Fill-then-spill auto-scaling, in-memory message broker per instance TLS: Google-managed SSL certificates The setup performs well — instances scale automatically, sticky sessions maintain WebSocket persistence, and Firestore handles durable state.
But I’m exploring whether a single Hetzner CPX server could handle the same load more cost-efficiently without losing too much reliability. Programming & Architecture Questions For those who’ve built similar real-time Go or WebSocket systems: How do you decide when to scale out (multi-instance) versus scale up (single powerful node) for concurrent Go services? Have you found Hetzner or similar bare-metal providers more cost-effective for steady WebSocket workloads? Each instance in my design maintains its own message broker and token cache; Firestore stores persistent data. Sticky sessions avoid cross-node coordination — are there hidden scaling pitfalls in this approach? Would adding Redis Pub/Sub or a lightweight state bus actually improve reliability, or just increase complexity and cost? For long-lived WebSockets, has anyone found Kubernetes or Cloud Run cheaper in practice than manually managed VMs? I’m mainly trying to balance cost, reliability, and architectural simplicity as the system scales. <!-- SC_ON --> submitted by /u/vscoderCopilot (https://www.reddit.com/user/vscoderCopilot)
[link] (https://github.com/emirbaycan/vscoder-copilot) [comments] (https://www.reddit.com/r/programming/comments/1o71amc/whats_the_most_costefficient_way_to_run_a/)

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

Reddit Programming

How Clean Commits Make PR Reviews Easier
https://www.reddit.com/r/programming/comments/1o6rbo1/how_clean_commits_make_pr_reviews_easier/

<!-- SC_OFF -->It's no secret that reviewing pull requests is time consuming, and incredibly important. Speeding up reviews, and enabling higher quality reviews, should therefore be a crucial skill for all developers. However, I find the vast majority of PRs to be incredibly unfriendly to reviewers. In this (anujbiyani/ai-development-how-clean-commits-make-pr-reviews-easier-ec33f57eda70?source=friends_link&amp;sk=4f1308bb6693f47236fb0da87bef3454" rel="nofollow">https://medium.com/@anujbiyani/ai-development-how-clean-commits-make-pr-reviews-easier-ec33f57eda70?source=friends_link&amp;sk=4f1308bb6693f47236fb0da87bef3454) post I wrote about some git commands that will help you craft PRs that are much easier to review. With a bit of practice it ends up being fairly quick to execute on, and your whole team will thank you. <!-- SC_ON --> submitted by /u/fogeyman (https://www.reddit.com/user/fogeyman)
[link] (anujbiyani/ai-development-how-clean-commits-make-pr-reviews-easier-ec33f57eda70?source=friends_link&amp;sk=4f1308bb6693f47236fb0da87bef3454" rel="nofollow">https://medium.com/@anujbiyani/ai-development-how-clean-commits-make-pr-reviews-easier-ec33f57eda70?source=friends_link&amp;sk=4f1308bb6693f47236fb0da87bef3454) [comments] (https://www.reddit.com/r/programming/comments/1o6rbo1/how_clean_commits_make_pr_reviews_easier/)

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

Reddit Programming

Bots are executing our analytics JavaScript | Bring back old-school access logging
https://www.reddit.com/r/programming/comments/1o6nh2n/bots_are_executing_our_analytics_javascript_bring/

submitted by /u/kixxauth (https://www.reddit.com/user/kixxauth)
[link] (https://neugierig.org/software/blog/2025/09/access-log.html) [comments] (https://www.reddit.com/r/programming/comments/1o6nh2n/bots_are_executing_our_analytics_javascript_bring/)

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

Reddit Programming

Why your boss isn't worried about AI - "can't you just turn it off?"
https://www.reddit.com/r/programming/comments/1o6n17u/why_your_boss_isnt_worried_about_ai_cant_you_just/

submitted by /u/Beyarkay (https://www.reddit.com/user/Beyarkay)
[link] (https://boydkane.com/essays/boss) [comments] (https://www.reddit.com/r/programming/comments/1o6n17u/why_your_boss_isnt_worried_about_ai_cant_you_just/)

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

Reddit Programming

Tritium | Ideas on Glitching in Rust
https://www.reddit.com/r/programming/comments/1o6kzd0/tritium_ideas_on_glitching_in_rust/

submitted by /u/urandomd (https://www.reddit.com/user/urandomd)
[link] (https://tritium.legal/blog/glitch) [comments] (https://www.reddit.com/r/programming/comments/1o6kzd0/tritium_ideas_on_glitching_in_rust/)

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

Reddit Programming

reCAPTCHA migration to Google Cloud by the end of 2025: what do you need to do
https://www.reddit.com/r/programming/comments/1o6gkyj/recaptcha_migration_to_google_cloud_by_the_end_of/

submitted by /u/ribtoks (https://www.reddit.com/user/ribtoks)
[link] (https://privatecaptcha.com/blog/recaptcha-migration-to-google-cloud-2025/) [comments] (https://www.reddit.com/r/programming/comments/1o6gkyj/recaptcha_migration_to_google_cloud_by_the_end_of/)

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