reddit_programming | Technologies

Telegram-канал reddit_programming - Reddit Programming

251

I will send you newest post from subreddit /r/programming

Subscribe to a channel

Reddit Programming

Built a terminal-style website
https://www.reddit.com/r/programming/comments/1hp94mb/built_a_terminalstyle_website/

submitted by /u/fizzner (https://www.reddit.com/user/fizzner)
[link] (https://github.com/micahkepe/term-website) [comments] (https://www.reddit.com/r/programming/comments/1hp94mb/built_a_terminalstyle_website/)

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

Reddit Programming

Fish 4.0: The Fish Of Theseus (C++ to Rust rewrite summary)
https://www.reddit.com/r/programming/comments/1hp8dhb/fish_40_the_fish_of_theseus_c_to_rust_rewrite/

submitted by /u/eugay (https://www.reddit.com/user/eugay)
[link] (https://fishshell.com/blog/rustport/) [comments] (https://www.reddit.com/r/programming/comments/1hp8dhb/fish_40_the_fish_of_theseus_c_to_rust_rewrite/)

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

Reddit Programming

I Deployed the Same App on DigitalOcean and Hetzner! | Cheap vs Expensive VPS!
https://www.reddit.com/r/programming/comments/1hovw0a/i_deployed_the_same_app_on_digitalocean_and/

<!-- SC_OFF -->DigitalOcean has been my go-to for purchasing VPS for the past few years. However, recently, some cheaper cloud providers, particularly Hetzner, have been getting a lot of attention! In their cheapest plan, you can get 2 cores, 4 GB RAM, 40 GB SSD, and 20 TB bandwidth for just $4/month! ![Hetzner Pricing SS](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3x55o2e1jtllcd86yl1w.png) To get something similar on DigitalOcean, you’d need to pay $24/month! Now on paper, it sounds like a great deal! and seems like a no-brainer to switch to Hetzner. But is there a catch? Is it as good as everyone claims? How much traffic can Hetzner’s cheapest plan handle compared to something like DigitalOcean? To find out, I deployed the same app on both platforms in the same region, compared their performance, and shared my findings in this video: https://youtu.be/mrDXF-Y9T50 If you’re in a hurry, here’s the result 👇 Virtual Users Digital Ocean Hetzner 50 593.4ms 575.99 100 754.84ms 626.04 250 1.4s+ 950.23 500 6s 1.8s Cost $6/month $4/month <!-- SC_ON --> submitted by /u/devarifhossain (https://www.reddit.com/user/devarifhossain)
[link] (https://youtu.be/mrDXF-Y9T50) [comments] (https://www.reddit.com/r/programming/comments/1hovw0a/i_deployed_the_same_app_on_digitalocean_and/)

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

Reddit Programming

Difference between PHP getenv and $_ENV: beware of the subtleties!
https://www.reddit.com/r/programming/comments/1hou9mp/difference_between_php_getenv_and_env_beware_of/

<!-- SC_OFF -->Environment variables play a crucial role in modern development, especially for managing sensitive data like API keys or environment-specific configurations. In PHP, there are two primary ways to access these variables: the getenv function and the $_ENV superglobal. While they may seem interchangeable, they behave differently and can cause issues if not used correctly. <!-- SC_ON --> submitted by /u/noweh95 (https://www.reddit.com/user/noweh95)
[link] (julien_schmitt/difference-between-php-getenv-and-env-beware-of-the-subtleties-50b5f17fc90b" rel="nofollow">https://medium.com/@julien_schmitt/difference-between-php-getenv-and-env-beware-of-the-subtleties-50b5f17fc90b) [comments] (https://www.reddit.com/r/programming/comments/1hou9mp/difference_between_php_getenv_and_env_beware_of/)

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

Reddit Programming

Not so modern C++
https://www.reddit.com/r/programming/comments/1hot45m/not_so_modern_c/

submitted by /u/EightLines_03 (https://www.reddit.com/user/EightLines_03)
[link] (https://www.polymonster.co.uk/blog/not-so-modern-cpp) [comments] (https://www.reddit.com/r/programming/comments/1hot45m/not_so_modern_c/)

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

Reddit Programming

Let's celebrate the New Year with fireworks! Only 60 lines of pure JavaScript
https://www.reddit.com/r/programming/comments/1holkg0/lets_celebrate_the_new_year_with_fireworks_only/

submitted by /u/swe129 (https://www.reddit.com/user/swe129)
[link] (https://slicker.me/javascript/fireworks.htm) [comments] (https://www.reddit.com/r/programming/comments/1holkg0/lets_celebrate_the_new_year_with_fireworks_only/)

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

Reddit Programming

Seergdb v2.5 released for Linux.
https://www.reddit.com/r/programming/comments/1hoiqcg/seergdb_v25_released_for_linux/

submitted by /u/epasveer (https://www.reddit.com/user/epasveer)
[link] (https://github.com/epasveer/seer/releases/tag/v2.5) [comments] (https://www.reddit.com/r/programming/comments/1hoiqcg/seergdb_v25_released_for_linux/)

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

Reddit Programming

That's not an abstraction
https://www.reddit.com/r/programming/comments/1hoa5zw/thats_not_an_abstraction/

submitted by /u/Hamza12700 (https://www.reddit.com/user/Hamza12700)
[link] (https://fhur.me/posts/2024/thats-not-an-abstraction) [comments] (https://www.reddit.com/r/programming/comments/1hoa5zw/thats_not_an_abstraction/)

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

Reddit Programming

Every Tip I Know For Shipping Products That Match The Spec
https://www.reddit.com/r/programming/comments/1ho81mx/every_tip_i_know_for_shipping_products_that_match/

submitted by /u/Dry-Background-4732 (https://www.reddit.com/user/Dry-Background-4732)
[link] (https://www.amirsharif.com/every-tip-i-know-for-shipping-products-that-match-the-spec) [comments] (https://www.reddit.com/r/programming/comments/1ho81mx/every_tip_i_know_for_shipping_products_that_match/)

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

Reddit Programming

How to Secure Webhooks?
https://www.reddit.com/r/programming/comments/1ho6m94/how_to_secure_webhooks/

submitted by /u/scalablethread (https://www.reddit.com/user/scalablethread)
[link] (https://newsletter.scalablethread.com/p/how-to-secure-the-webhooks) [comments] (https://www.reddit.com/r/programming/comments/1ho6m94/how_to_secure_webhooks/)

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

Reddit Programming

What I learned in my 4 years of open source development.
https://www.reddit.com/r/programming/comments/1ho29ue/what_i_learned_in_my_4_years_of_open_source/

submitted by /u/im_the_tea_drinker_ (https://www.reddit.com/user/im_the_tea_drinker_)
[link] (https://blog.michaelrbparker.com/post/3) [comments] (https://www.reddit.com/r/programming/comments/1ho29ue/what_i_learned_in_my_4_years_of_open_source/)

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

Reddit Programming

Making a simple HTTP webserver in C
https://www.reddit.com/r/programming/comments/1hnupmg/making_a_simple_http_webserver_in_c/

submitted by /u/guest271314 (https://www.reddit.com/user/guest271314)
[link] (https://bruinsslot.jp/post/simple-http-webserver-in-c/) [comments] (https://www.reddit.com/r/programming/comments/1hnupmg/making_a_simple_http_webserver_in_c/)

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

Reddit Programming

Everything you ever wanted to know about “hello, world” but were afraid to ask [pdf]
https://www.reddit.com/r/programming/comments/1hnru90/everything_you_ever_wanted_to_know_about_hello/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://people.freebsd.org/~brooks/talks/asiabsdcon2017-helloworld/helloworld.pdf) [comments] (https://www.reddit.com/r/programming/comments/1hnru90/everything_you_ever_wanted_to_know_about_hello/)

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

Reddit Programming

Sub-pixel distance transform
https://www.reddit.com/r/programming/comments/1hnrt08/subpixel_distance_transform/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://acko.net/blog/subpixel-distance-transform/) [comments] (https://www.reddit.com/r/programming/comments/1hnrt08/subpixel_distance_transform/)

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

Reddit Programming

Axum-style Magic Handler Functions in Go, Part 2
https://www.reddit.com/r/programming/comments/1hnrsqw/axumstyle_magic_handler_functions_in_go_part_2/

submitted by /u/kubuzetto (https://www.reddit.com/user/kubuzetto)
[link] (https://kubuzetto.github.io/posts/go-axum-handlers-pt2/) [comments] (https://www.reddit.com/r/programming/comments/1hnrsqw/axumstyle_magic_handler_functions_in_go_part_2/)

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

Reddit Programming

How to use AI to brainstorming your application architecture
https://www.reddit.com/r/programming/comments/1hp8y3v/how_to_use_ai_to_brainstorming_your_application/

submitted by /u/bobaburger (https://www.reddit.com/user/bobaburger)
[link] (https://docs.chatuml.com/blog/build-your-own-startup-with-chatuml) [comments] (https://www.reddit.com/r/programming/comments/1hp8y3v/how_to_use_ai_to_brainstorming_your_application/)

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

Reddit Programming

[YT-X] Browse YouTube from the terminal; yt-dlp wrapper
https://www.reddit.com/r/programming/comments/1hp5rro/ytx_browse_youtube_from_the_terminal_ytdlp_wrapper/

submitted by /u/BenX855 (https://www.reddit.com/user/BenX855)
[link] (https://github.com/Benexl/yt-x) [comments] (https://www.reddit.com/r/programming/comments/1hp5rro/ytx_browse_youtube_from_the_terminal_ytdlp_wrapper/)

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

Reddit Programming

BSD kqueue is a mountain of technical debt
https://www.reddit.com/r/programming/comments/1houx9r/bsd_kqueue_is_a_mountain_of_technical_debt/

submitted by /u/flat_earth_worm (https://www.reddit.com/user/flat_earth_worm)
[link] (https://ariadne.space/2021/06/06/actually-bsd-kqueue-is-a-mountain-of-technical-debt/) [comments] (https://www.reddit.com/r/programming/comments/1houx9r/bsd_kqueue_is_a_mountain_of_technical_debt/)

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

Reddit Programming

What is a thing every programmer should know?
https://www.reddit.com/r/programming/comments/1hotewm/what_is_a_thing_every_programmer_should_know/

<!-- SC_OFF -->In the book “97 things every programmer should know” they asked a bunch of authors for one idea/method/principle they think is important to know. There are thousands of experienced software engineers reading this subreddit, there must be a lot of great advice out there. What is yours? <!-- SC_ON --> submitted by /u/tevelee (https://www.reddit.com/user/tevelee)
[link] (https://www.oreilly.com/library/view/97-things-every/9780596809515/) [comments] (https://www.reddit.com/r/programming/comments/1hotewm/what_is_a_thing_every_programmer_should_know/)

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

Reddit Programming

Installing Rust on an external USB and keeping the installation there
https://www.reddit.com/r/programming/comments/1honbwk/installing_rust_on_an_external_usb_and_keeping/

submitted by /u/guest271314 (https://www.reddit.com/user/guest271314)
[link] (https://gist.github.com/guest271314/839df181aa050d20a2cd36b84e7bab05) [comments] (https://www.reddit.com/r/programming/comments/1honbwk/installing_rust_on_an_external_usb_and_keeping/)

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

Reddit Programming

I Made a Drop-In Wrapper For argparse That Automatically Creates a GUI Interface
https://www.reddit.com/r/programming/comments/1hoiz51/i_made_a_dropin_wrapper_for_argparse_that/

submitted by /u/passwordwork (https://www.reddit.com/user/passwordwork)
[link] (https://github.com/Sorcerio/Argparse-Interface) [comments] (https://www.reddit.com/r/programming/comments/1hoiz51/i_made_a_dropin_wrapper_for_argparse_that/)

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

Reddit Programming

%TYPE in Oracle PL/SQL with Example
https://www.reddit.com/r/programming/comments/1hoc8uf/type_in_oracle_plsql_with_example/

submitted by /u/apexysatish (https://www.reddit.com/user/apexysatish)
[link] (https://www.javainhand.com/2024/12/type-in-oracle-plsql-with-example.html) [comments] (https://www.reddit.com/r/programming/comments/1hoc8uf/type_in_oracle_plsql_with_example/)

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

Reddit Programming

Lost Lessons from 8-Bit BASIC
https://www.reddit.com/r/programming/comments/1ho8619/lost_lessons_from_8bit_basic/

submitted by /u/flat_earth_worm (https://www.reddit.com/user/flat_earth_worm)
[link] (https://prog21.dadgum.com/198.html) [comments] (https://www.reddit.com/r/programming/comments/1ho8619/lost_lessons_from_8bit_basic/)

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

Reddit Programming

Based on GitHub data, I created an interactive map showing the number of programmers per million inhabitants worldwide.
https://www.reddit.com/r/programming/comments/1ho6p75/based_on_github_data_i_created_an_interactive_map/

submitted by /u/alucinario (https://www.reddit.com/user/alucinario)
[link] (https://vazquez-borsetti.github.io/developers-map/) [comments] (https://www.reddit.com/r/programming/comments/1ho6p75/based_on_github_data_i_created_an_interactive_map/)

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

Reddit Programming

I made a NES emulator
https://www.reddit.com/r/programming/comments/1ho5tal/i_made_a_nes_emulator/

submitted by /u/Franco1274 (https://www.reddit.com/user/Franco1274)
[link] (https://github.com/Franco1262/CalascioNES) [comments] (https://www.reddit.com/r/programming/comments/1ho5tal/i_made_a_nes_emulator/)

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

Reddit Programming

Reverse Engineering The Stream Deck Plus · Den Delimarsky
https://www.reddit.com/r/programming/comments/1hnz3p9/reverse_engineering_the_stream_deck_plus_den/

submitted by /u/FoxInTheRedBox (https://www.reddit.com/user/FoxInTheRedBox)
[link] (https://den.dev/blog/reverse-engineer-stream-deck-plus/) [comments] (https://www.reddit.com/r/programming/comments/1hnz3p9/reverse_engineering_the_stream_deck_plus_den/)

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

Reddit Programming

CobolCraft: A Minecraft server written in COBOL
https://www.reddit.com/r/programming/comments/1hnruge/cobolcraft_a_minecraft_server_written_in_cobol/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://github.com/meyfa/CobolCraft) [comments] (https://www.reddit.com/r/programming/comments/1hnruge/cobolcraft_a_minecraft_server_written_in_cobol/)

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

Reddit Programming

Debugging memory corruption: Who wrote ‘2’ into my stack?
https://www.reddit.com/r/programming/comments/1hnrtn1/debugging_memory_corruption_who_wrote_2_into_my/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://unity.com/blog/engine-platform/debugging-memory-debugging-memory-corruption-who-wrote-2-into-my-stack-who-the-hell) [comments] (https://www.reddit.com/r/programming/comments/1hnrtn1/debugging_memory_corruption_who_wrote_2_into_my/)

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

Reddit Programming

Write a Shell in C
https://www.reddit.com/r/programming/comments/1hnrsrg/write_a_shell_in_c/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://brennan.io/2015/01/16/write-a-shell-in-c/) [comments] (https://www.reddit.com/r/programming/comments/1hnrsrg/write_a_shell_in_c/)

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

Reddit Programming

Invariants: Computation and Applications [pdf]
https://www.reddit.com/r/programming/comments/1hnrs8t/invariants_computation_and_applications_pdf/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://arxiv.org/abs/2412.13306) [comments] (https://www.reddit.com/r/programming/comments/1hnrs8t/invariants_computation_and_applications_pdf/)

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