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

Start With the Go Standard Library
https://www.reddit.com/r/programming/comments/1h8cff6/start_with_the_go_standard_library/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://matthewsanabria.dev/posts/start-with-the-go-standard-library/) [comments] (https://www.reddit.com/r/programming/comments/1h8cff6/start_with_the_go_standard_library/)

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

Reddit Programming

Lies I was told about collab editing, Part 1: Algorithms for offline editing
https://www.reddit.com/r/programming/comments/1h8cbj9/lies_i_was_told_about_collab_editing_part_1/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.moment.dev/blog/lies-i-was-told-pt-1) [comments] (https://www.reddit.com/r/programming/comments/1h8cbj9/lies_i_was_told_about_collab_editing_part_1/)

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

Reddit Programming

My snake game got to 57 bytes by just messing around and basically refactoring most of the code
https://www.reddit.com/r/programming/comments/1h89eyl/my_snake_game_got_to_57_bytes_by_just_messing/

<!-- SC_OFF -->This byte reduction was different than the others. Usually, I have an idea in mind of how to reduce a byte and I try to manipulate the code to make it work. This time I was bored so I looked at the code again just because I wanted to remove the usage of the BP register because I thought "it had potential", you can see the PR where I managed to do so without increasing the byte count here (https://github.com/donno2048/snake/pull/68), then after quite some time I realized a way to abuse this in such a way that would use another register (DX) to store some values without adding any bytes and thought it has some potential too because the DX initialization takes 3 bytes and could maybe be reduced somehow... I merged the PR as it made the game a little slower even though it didn't save any bytes because I couldn't think of a way to optimize the initialization of DX, but then I realized that the initialization of DX isn't the problem, it's the solution to another problem. The way I initialized AX up until now was with a MOV which is quite a waste to just set AX to 0, but I had to use a MOV for the LDS initialization, because the first byte of the MOV was 0xB8, but if I initialized DX there I would solve the problem and I would be able to set AX in less than 3 bytes. The problem is that MOV DX, won't have 0xB8 at the beginning so I have to use MOV AX,, but no problem, I can initialize AX to the value I want in DX and do a XCHG, but then I'm left with just one byte to set AX to 0 which is impossible (and that was the reason I didn't commit that into the original PR). But, then I realized, we can set DX to 0 with just 1 byte so that after the XCHG AX will already contain 0. I planted a CWD right between the MOV and the XCHG so that DX will be set to the MSB of the wanted value in DX which is positive so the MSB is 0. I reverted the changes made from the first PR and merged the new one (https://github.com/donno2048/snake/pull/69). BTW, this time I couldn't just use the 0x0 dummy byte as that would set DX wrongly, so I had to use LDS DI, [BX+SI+0x0] which apparently can't be parsed correctly by nasm even with -O0 because it always drops the 0x0, so I had to hardcode it. <!-- SC_ON --> submitted by /u/Perfect-Highlight964 (https://www.reddit.com/user/Perfect-Highlight964)
[link] (https://github.com/donno2048/snake) [comments] (https://www.reddit.com/r/programming/comments/1h89eyl/my_snake_game_got_to_57_bytes_by_just_messing/)

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

Reddit Programming

Why Leetcode is so popular
https://www.reddit.com/r/programming/comments/1h87eyz/why_leetcode_is_so_popular/

submitted by /u/ryanlpeterman (https://www.reddit.com/user/ryanlpeterman)
[link] (https://www.developing.dev/p/why-leetcode-is-so-popular) [comments] (https://www.reddit.com/r/programming/comments/1h87eyz/why_leetcode_is_so_popular/)

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

Reddit Programming

Understanding LLM's Prompt Engineering James Bond Style
https://www.reddit.com/r/programming/comments/1h83hst/understanding_llms_prompt_engineering_james_bond/

submitted by /u/Only_Piccolo5736 (https://www.reddit.com/user/Only_Piccolo5736)
[link] (https://pieces.app/blog/llm-prompt-engineering?utm_source=reddit&amp;utm_medium=referral&amp;utm_campaign=r13) [comments] (https://www.reddit.com/r/programming/comments/1h83hst/understanding_llms_prompt_engineering_james_bond/)

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

Reddit Programming

Designing a startup infra team
https://www.reddit.com/r/programming/comments/1h82jvs/designing_a_startup_infra_team/

submitted by /u/fosterfriendship (https://www.reddit.com/user/fosterfriendship)
[link] (https://gregmfoster.substack.com/p/designing-a-startup-infra-team) [comments] (https://www.reddit.com/r/programming/comments/1h82jvs/designing_a_startup_infra_team/)

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

Reddit Programming

Interview with Microchess creator Peter Jennings
https://www.reddit.com/r/programming/comments/1h80vz6/interview_with_microchess_creator_peter_jennings/

submitted by /u/NoSoftware3721 (https://www.reddit.com/user/NoSoftware3721)
[link] (https://spillhistorie.no/interview-with-microchess-creator-peter-jennings/) [comments] (https://www.reddit.com/r/programming/comments/1h80vz6/interview_with_microchess_creator_peter_jennings/)

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

Reddit Programming

A Map of Software Engineering Pay in US
https://www.reddit.com/r/programming/comments/1h7tt35/a_map_of_software_engineering_pay_in_us/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://www.levels.fyi/heatmap) [comments] (https://www.reddit.com/r/programming/comments/1h7tt35/a_map_of_software_engineering_pay_in_us/)

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

Reddit Programming

ML Trading Bot that uses Ranked Ensemble Learning
https://www.reddit.com/r/programming/comments/1h7s4gp/ml_trading_bot_that_uses_ranked_ensemble_learning/

submitted by /u/Inevitable-Air-1712 (https://www.reddit.com/user/Inevitable-Air-1712)
[link] (https://github.com/yeonholee50/AmpyFin) [comments] (https://www.reddit.com/r/programming/comments/1h7s4gp/ml_trading_bot_that_uses_ranked_ensemble_learning/)

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

Reddit Programming

Strong Components and Weak Components: 2024 Annual Christmas Lecture, Don Knuth
https://www.reddit.com/r/programming/comments/1h7prkn/strong_components_and_weak_components_2024_annual/

submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://www.youtube.com/watch?v=au26uZfuxVY) [comments] (https://www.reddit.com/r/programming/comments/1h7prkn/strong_components_and_weak_components_2024_annual/)

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

Reddit Programming

Thinking in Actors - Part 2 - Welcome to a world of ordered thinking
https://www.reddit.com/r/programming/comments/1h7m38m/thinking_in_actors_part_2_welcome_to_a_world_of/

submitted by /u/jeremycarterau (https://www.reddit.com/user/jeremycarterau)
[link] (https://open.substack.com/pub/jeremycarterau/p/thinking-in-actors-part-2?r=ma4m&amp;utm_campaign=post&amp;utm_medium=web) [comments] (https://www.reddit.com/r/programming/comments/1h7m38m/thinking_in_actors_part_2_welcome_to_a_world_of/)

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

Reddit Programming

Accidentally writing a fast SAT solver
https://www.reddit.com/r/programming/comments/1h7kxmm/accidentally_writing_a_fast_sat_solver/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://blog.danielh.cc/blog/sat) [comments] (https://www.reddit.com/r/programming/comments/1h7kxmm/accidentally_writing_a_fast_sat_solver/)

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

Reddit Programming

GitHub - mikebgrep/forkapi: Lightweight Rest API with admin panel which manage food recipies easily
https://www.reddit.com/r/programming/comments/1h7gi95/github_mikebgrepforkapi_lightweight_rest_api_with/

submitted by /u/Affectionate-Dog-715 (https://www.reddit.com/user/Affectionate-Dog-715)
[link] (https://github.com/mikebgrep/forkapi) [comments] (https://www.reddit.com/r/programming/comments/1h7gi95/github_mikebgrepforkapi_lightweight_rest_api_with/)

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

Reddit Programming

Agentic Dev Tools Directory for the Community [Free Listing & Access]
https://www.reddit.com/r/programming/comments/1h7fk3w/agentic_dev_tools_directory_for_the_community/

submitted by /u/kingai404 (https://www.reddit.com/user/kingai404)
[link] (https://directory.composio.dev/) [comments] (https://www.reddit.com/r/programming/comments/1h7fk3w/agentic_dev_tools_directory_for_the_community/)

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

Reddit Programming

AES-GCM and breaking it on nonce reuse
https://www.reddit.com/r/programming/comments/1h7fal8/aesgcm_and_breaking_it_on_nonce_reuse/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://frereit.de/aes_gcm/) [comments] (https://www.reddit.com/r/programming/comments/1h7fal8/aesgcm_and_breaking_it_on_nonce_reuse/)

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

Reddit Programming

Does Your Code Pass the Turkey Test?
https://www.reddit.com/r/programming/comments/1h8ccad/does_your_code_pass_the_turkey_test/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (http://www.moserware.com/2008/02/does-your-code-pass-turkey-test.html) [comments] (https://www.reddit.com/r/programming/comments/1h8ccad/does_your_code_pass_the_turkey_test/)

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

Reddit Programming

: The Dialog Element
https://www.reddit.com/r/programming/comments/1h8cbbz/dialog_the_dialog_element/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) [comments] (https://www.reddit.com/r/programming/comments/1h8cbbz/dialog_the_dialog_element/)

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

Reddit Programming

The square roots of all evil (in programming)
https://www.reddit.com/r/programming/comments/1h87ue9/the_square_roots_of_all_evil_in_programming/

submitted by /u/neilmadden (https://www.reddit.com/user/neilmadden)
[link] (https://neilmadden.blog/2024/12/03/the-square-roots-of-all-evil/) [comments] (https://www.reddit.com/r/programming/comments/1h87ue9/the_square_roots_of_all_evil_in_programming/)

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

Reddit Programming

🎙️ Call for Presentations – React Summit, June 13 & 17, 2025
https://www.reddit.com/r/programming/comments/1h84fgo/call_for_presentations_react_summit_june_13_17/

submitted by /u/GitNation (https://www.reddit.com/user/GitNation)
[link] (https://forms.gle/w7CuGXgDoyAc77Cz8) [comments] (https://www.reddit.com/r/programming/comments/1h84fgo/call_for_presentations_react_summit_june_13_17/)

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

Reddit Programming

i need help for a little project for esp8266
https://www.reddit.com/r/programming/comments/1h82xhr/i_need_help_for_a_little_project_for_esp8266/

submitted by /u/Carlojtv000 (https://www.reddit.com/user/Carlojtv000)
[link] (https://www.reddit.com/r/arduino/comments/1h81pqa/ho_bisogno_di_aiuto_per_un_progetto_per_esp8266/) [comments] (https://www.reddit.com/r/programming/comments/1h82xhr/i_need_help_for_a_little_project_for_esp8266/)

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

Reddit Programming

NANOWAR OF STEEL - HelloWorld.java (Source Code Video)
https://www.reddit.com/r/programming/comments/1h82i06/nanowar_of_steel_helloworldjava_source_code_video/

submitted by /u/turniphat (https://www.reddit.com/user/turniphat)
[link] (https://www.youtube.com/watch?v=yup8gIXxWDU) [comments] (https://www.reddit.com/r/programming/comments/1h82i06/nanowar_of_steel_helloworldjava_source_code_video/)

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

Reddit Programming

The 70% problem: Hard truths about AI-assisted coding
https://www.reddit.com/r/programming/comments/1h7xwvm/the_70_problem_hard_truths_about_aiassisted_coding/

submitted by /u/_srbhr_ (https://www.reddit.com/user/_srbhr_)
[link] (https://addyo.substack.com/p/the-70-problem-hard-truths-about) [comments] (https://www.reddit.com/r/programming/comments/1h7xwvm/the_70_problem_hard_truths_about_aiassisted_coding/)

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

Reddit Programming

React v19 – React
https://www.reddit.com/r/programming/comments/1h7tgk0/react_v19_react/

submitted by /u/Abhi_mech007 (https://www.reddit.com/user/Abhi_mech007)
[link] (https://react.dev/blog/2024/12/05/react-19) [comments] (https://www.reddit.com/r/programming/comments/1h7tgk0/react_v19_react/)

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

Reddit Programming

How to Generate Insights from PDF Files with Apryse and GPT
https://www.reddit.com/r/programming/comments/1h7pz8m/how_to_generate_insights_from_pdf_files_with/

submitted by /u/TheLostWanderer47 (https://www.reddit.com/user/TheLostWanderer47)
[link] (https://javascript.plainenglish.io/how-to-generate-insights-from-pdf-files-with-apryse-and-gpt-ecd698da3dbd) [comments] (https://www.reddit.com/r/programming/comments/1h7pz8m/how_to_generate_insights_from_pdf_files_with/)

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

Reddit Programming

Why Open Source UI Design Sucks
https://www.reddit.com/r/programming/comments/1h7muqe/why_open_source_ui_design_sucks/

submitted by /u/bizzehdee (https://www.reddit.com/user/bizzehdee)
[link] (https://www.darrenhorrocks.co.uk/why-open-source-ui-design-sucks/) [comments] (https://www.reddit.com/r/programming/comments/1h7muqe/why_open_source_ui_design_sucks/)

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

Reddit Programming

The Acton Programming Language
https://www.reddit.com/r/programming/comments/1h7kzdv/the_acton_programming_language/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://github.com/actonlang/acton) [comments] (https://www.reddit.com/r/programming/comments/1h7kzdv/the_acton_programming_language/)

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

Reddit Programming

Apparent supply chain attack Ultralytics PyPI
https://www.reddit.com/r/programming/comments/1h7jev7/apparent_supply_chain_attack_ultralytics_pypi/

submitted by /u/spareminuteforworms (https://www.reddit.com/user/spareminuteforworms)
[link] (https://github.com/ultralytics/ultralytics/issues/18027) [comments] (https://www.reddit.com/r/programming/comments/1h7jev7/apparent_supply_chain_attack_ultralytics_pypi/)

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

Reddit Programming

Merge wasm_of_ocaml by OlivierNicole · Pull Request #1724 · ocsigen/js_of_ocaml
https://www.reddit.com/r/programming/comments/1h7fmm1/merge_wasm_of_ocaml_by_oliviernicole_pull_request/

submitted by /u/yawaramin (https://www.reddit.com/user/yawaramin)
[link] (https://github.com/ocsigen/js_of_ocaml/pull/1724) [comments] (https://www.reddit.com/r/programming/comments/1h7fmm1/merge_wasm_of_ocaml_by_oliviernicole_pull_request/)

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

Reddit Programming

The EYG Language with Peter Saxton [video]
https://www.reddit.com/r/programming/comments/1h7fb9b/the_eyg_language_with_peter_saxton_video/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.youtube.com/watch?v=w7mHY7CW51o&amp;t=96s) [comments] (https://www.reddit.com/r/programming/comments/1h7fb9b/the_eyg_language_with_peter_saxton_video/)

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

Reddit Programming

"This is Just a Prototype": How Ethics Are Ignored in Software Startup-Like Environments [pdf]
https://www.reddit.com/r/programming/comments/1h7fa0f/this_is_just_a_prototype_how_ethics_are_ignored/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://jyx.jyu.fi/handle/123456789/69324) [comments] (https://www.reddit.com/r/programming/comments/1h7fa0f/this_is_just_a_prototype_how_ethics_are_ignored/)

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