Reddit Programming – Telegram
Reddit Programming
212 subscribers
1.22K photos
125K links
I will send you newest post from subreddit /r/programming
Download Telegram
Be An Agnostic Programmer
https://www.reddit.com/r/programming/comments/1ng1yn4/be_an_agnostic_programmer/

<!-- SC_OFF -->Hey guys! Back with another article on a topic that's been stewing in the back of my mind for a while. Please enjoy! <!-- SC_ON --> submitted by /u/The_Axolot (https://www.reddit.com/user/The_Axolot)
[link] (https://theaxolot.wordpress.com/2025/09/10/be-an-agnostic-programmer/) [comments] (https://www.reddit.com/r/programming/comments/1ng1yn4/be_an_agnostic_programmer/)
Feedbacks & Testing for Platform - Holydreamy
https://www.reddit.com/r/programming/comments/1ng6qbb/feedbacks_testing_for_platform_holydreamy/

<!-- SC_OFF -->Hey everyone 👋 I’m currently working on my app Holydreamy, and before launching it officially on the Google Play Store, I’d love to have contributions from the community. Here’s how you can help: 🔗 [Join as a tester and download the app] https://play.google.com/apps/internaltest/4700629582225365158 📝 Try it out, explore the features, and let me know what you think! 🐞 If you find any bugs or issues, your feedback will be super valuable in making Holydreamy better. I’d be incredibly thankful for your support, suggestions, and bug reports. Together, we can shape Holydreamy into something truly amazing! If this post doesn't belongs to this community, i would be thankful if you told me where i could post it. <!-- SC_ON --> submitted by /u/recallerman (https://www.reddit.com/user/recallerman)
[link] (https://dreamy.peaceonsol.com/) [comments] (https://www.reddit.com/r/programming/comments/1ng6qbb/feedbacks_testing_for_platform_holydreamy/)
TargetJS: a UI framework where time is declarative (no async/await chains)
https://www.reddit.com/r/programming/comments/1ng8xio/targetjs_a_ui_framework_where_time_is_declarative/

<!-- SC_OFF -->I’ve been building a small JavaScript UI framework called TargetJS and would love feedback from this community. It takes a fundamentally different approach to front-end development, especially when dealing with asynchronous operations and complex UI flows. The core idea is that it unifies everything—UI, state, APIs, and animations—into a single concept called "targets." Instead of using async/await or chaining promises and callbacks, the execution flow is determined by two simple postfixes: $ (Reactive): Runs every time the preceding target updates. $$ (Deferred): Runs only after the preceding targets have fully completed all their operations. This means you can write a complex sequence of events, like "add button -> animate it -> when done add another element -> animate that -> when done fetch API -> show user data" and the code reads almost like a step-by-step list, top-to-bottom. The framework handles all the asynchronous "plumbing" for you. I think it works really well for applications with a lot of animation or real-time data fetching such as games, interactive dashboards, or rich single-page apps, where managing state and async operations can become a headache. What do you think of this approach? Have you seen anything similar? Links: GitHub: https://github.com/livetrails/targetjs Website: https://targetjs.io (https://targetjs.io/) <!-- SC_ON --> submitted by /u/Various-Beautiful417 (https://www.reddit.com/user/Various-Beautiful417)
[link] (https://github.com/livetrails/targetjs) [comments] (https://www.reddit.com/r/programming/comments/1ng8xio/targetjs_a_ui_framework_where_time_is_declarative/)
I have tried AI-assisted reviews, let's look at the numbers.
https://www.reddit.com/r/programming/comments/1ngm7fa/i_have_tried_aiassisted_reviews_lets_look_at_the/

<!-- SC_OFF -->Hello there! I am the lead dev of the opensource project Lychee, and due to us being a small team, I had to switch from proper 4-eye to 2-eyes + a pair of ai-eyes. I have been using this tool for a month, so I figured it would be interesting to do an "evaluation" of its comments on my pull requests. TL;DR distribution of the AI comments: 15% were useless 13% were wrong assumptions 21% were nitpicking, 13% were thoughtful, 35% were quality improvements and 3% of those were security/critical findings. PS: post was written in the good old fashioned way. No GPT crap here. ;p Edited with the correct percentages. Thanks to u/asphais (https://www.reddit.com/u/asphais) for double checking my Maths... <!-- SC_ON --> submitted by /u/ildyria (https://www.reddit.com/user/ildyria)
[link] (https://lycheeorg.dev/2025-09-13-code-rabbit/) [comments] (https://www.reddit.com/r/programming/comments/1ngm7fa/i_have_tried_aiassisted_reviews_lets_look_at_the/)
🔐 Backup your dotfiles to GitHub Releases (with optional GPG encryption)
https://www.reddit.com/r/programming/comments/1ngn2ud/backup_your_dotfiles_to_github_releases_with/

<!-- SC_OFF -->Hey everyone, I’ve built a small open-source project that I personally use to keep my dotfiles safe, versioned, and easily restorable. Instead of syncing them to some cloud service, this noscript pushes encrypted backups to GitHub Releases. 👉 Repo: https://github.com/Xzar-x/github-release-dotfiles-backup Key features: 📦 Backup & restore with one command (backup-cloud.sh / restore-cloud.sh) 🔑 Optional GPG encryption (end-to-end secure backup) Configurable via a simple config file (backup_restore.config) 🛡️ Validations: checks dependencies, free disk space, repo privacy, etc. 🧪 Dry-run mode so you can safely test before running for real I’m curious what you all think: Would you trust GitHub Releases as a “backup cloud”? What would you improve or add (e.g. retention policy, hash integrity check, automation)? Any feedback or ideas would be super valuable 🙏 Thanks! <!-- SC_ON --> submitted by /u/Xzar-x (https://www.reddit.com/user/Xzar-x)
[link] (https://github.com/Xzar-x/github-release-dotfiles-backup) [comments] (https://www.reddit.com/r/programming/comments/1ngn2ud/backup_your_dotfiles_to_github_releases_with/)
From all truths to (ir)relevancies
https://www.reddit.com/r/programming/comments/1ngphf3/from_all_truths_to_irrelevancies/

<!-- SC_OFF -->Just posted a follow-up to my blog post on truth tables! This time, I'm introducing the "Standardized Truth Table" (STT) format. Using the STT, I've developed an algorithmic method to find and remove "irrelevant" variables from a boolean expression. The core idea is simple: if changing an input's value doesn't change the output, that input is irrelevant. This is super useful for simplifying logic and making digital circuits more efficient. <!-- SC_ON --> submitted by /u/Paddy3118 (https://www.reddit.com/user/Paddy3118)
[link] (https://paddy3118.blogspot.com/2025/09/from-all-truths-to-irrelevancies.html) [comments] (https://www.reddit.com/r/programming/comments/1ngphf3/from_all_truths_to_irrelevancies/)
BEEP-8: Running C/C++20 on an emulated ARM v4a CPU inside the browser
https://www.reddit.com/r/programming/comments/1ngrh2h/beep8_running_cc20_on_an_emulated_arm_v4a_cpu/

<!-- SC_OFF -->Hi all, I’ve been experimenting with BEEP-8, a Fantasy Console that runs entirely in the browser — but instead of a toy VM, it executes real ARM v4a machine code. Workflow: Write programs in C or C++20 Compile with gnuarm gcc into a ROM image Run it on a cycle-accurate ARM v4a emulator (4 MHz, 1 MB RAM / 1 MB ROM) implemented in JavaScript/TypeScript System highlights: Lightweight RTOS kernel with threads, timers, semaphores, IRQs (via SVC dispatch) Graphics PPU in WebGL (sprites, BG layers, single-color polygons) Sound APU emulating a Namco C30–style chip in JS Fixed 60 fps, works on PC and smartphones via browser 👉 Live demo: https://beep8.org (https://beep8.org/) 👉 Source (free & open): https://github.com/beep8/beep8-sdk I thought it was neat to see modern C++ features compiled into ARM binaries running directly inside a browser environment.
Curious to hear what this community thinks — quirky playground, useful educational tool, or something else? <!-- SC_ON --> submitted by /u/Positive_Board_8086 (https://www.reddit.com/user/Positive_Board_8086)
[link] (https://github.com/beep8/beep8-sdk) [comments] (https://www.reddit.com/r/programming/comments/1ngrh2h/beep8_running_cc20_on_an_emulated_arm_v4a_cpu/)
Nytril: A programming language and a markup language in one
https://www.reddit.com/r/programming/comments/1ngwm1p/nytril_a_programming_language_and_a_markup/

<!-- SC_OFF -->Nytril has a unique syntax that makes it easy to create complex documents from the results of your code. There are no "Write" or "Print" statements. The results of each expression simply become a part of the document. Here are some of the standout features and new concepts: global functions and namespaces Nytril allows global functions that do not belong to a class and have no 'this' pointer. They can also be defined inside of a namespace. F1(x) = x + 1; // F1 defined globally N1.F2(x) = x + 2; // F2 defined inside the namespace N1 namespace N2 { F3(x) = x + 3; // F3 defined inside the namespace N2 } namespace N2 { // N2 can be repeated F4(x) = x + 4; // F3 and F4 are now a part of N2 } readonly global functions If a global function is marked as readonly, then the function is run the first time it is called anywhere in the program, and the return value is cached. If the function is called again anywhere, the cached value from the first run is returned immediately. This is useful when loading large constant values such as images or the results of database queries or REST calls, where the intention is usually to retrieve information once and then use the same copy for many calculations. readonly Data = ComplexSlowQuery; // Run only once readonly Cost = Data.Quantity * Data.Price; // Use like a variable Affinity operator To create complex formatted text in an easy way, Nytril introduced the affinity operator. In most programming languages, two operands must be separated by a binary operator (e.g. x * y) or else there is a syntax error. In Nytril, if the compiler encounters two operands without a binary operator between them, it inserts an invisible binary 'affinity' operator and continues without error. At runtime, the type of the two operands is assessed and if an affinity exists between the two types, the operation is executed. If there is no affinity between the types, there is a runtime error. "123" "abc" ⇒ "123" + "abc" 3 meters ⇒ 3 * meters Nytril allows the programmer to add left and right affinity between objects of different types, which can create a complex sub-grammar in the language which can increase clarity. The 'each' Operator The each operator is used to call a function with a parameter once for every item in an array. The resulting expression is an array of function return values. Square(x) = x * x;
Square(each [1, 2, 3, 4]); ⇒ [1, 4, 9, 16] If a function has more than 1 parameter, the each operator can be used on more than 1 argument. This raises the dimension of the output array. Power(x, power) = x ^ power; Power(each [1, 2, 3], each [1, 2, 3]); ⇒ [[1, 4, 9], [1, 4, 9], [1, 8, 27]]; Most unary and binary operators can also be used in conjunction with the each operator to provide a very compact expression. (each [1, 2, 3]) ^ (each [1, 2, 3]) ⇒ [[1, 2, 3], [1, 4, 9], [1, 8, 27]]; Revisions A revision is a collection of properties and elements inside curly braces {} that are separated by semi-colons (;}. A property is a "name: value" pair such as TextHeight: 12 pts. An element is any other expression, including variables and values returned from function calls. The properties and elements of a revision are computed at runtime, so a revision "executes" just like a scope in a function. A revision adds elements to, and modifies the properties of, format objects in a document. A revision acts on the format object to its left, without modifying it. The combination of the left-hand operand and the right-hand revision is a new revised object that has the properties and elements of the left-hand format/revision plus any additional elements of the right-hand revision, and the added (or overridden) properties of the right-hand revision. By stacking and combining revisions, hierarchical style dictionaries can be created easily in a manner
that is similar to Cascading Style Sheets (https://en.wikipedia.org/wiki/CSS) or to the way word processors allow styles to inherit from each other and override properties. The following code creates a empty Paragraph and revises it with content and properties. The placement of properties has no effect, but the placement of elements is always in order. Paragraph {1; 2; 3; "abc"; TextColor: Colors.Blue}; ⇒ 123abc The following code creates a paragraph 'style' called Heading1 by revising the Paragraph format with several properties. It then uses the Heading1 style by revising it with a string element. Heading1 = Paragraph {TextColor: Colors.Green; TextWeight: Bold}; Heading1 {"Chapter 1"}; ⇒ Chapter 1 Revisions + arrays Special treatment is given to elements in a revision that are arrays. In this case, all of the elements of the array become elements of the revision, without changing the array. Combining this mechanism with the each operator, described above, allows for the succinct inclusion of iterated content. Paragraph { Square(each [1, 2, 3, 4, 5]); Separator: ", "; }; ⇒ 1, 4, 9, 16, 25 Revisions with if/else If statements can be used in a revision to programmatically include or exclude properties and elements from a revision based on a condition. ShowCount(count) = Paragraph { "The count is "; count; if (count > 10) " and it's too big."; else TextColor: Colors.Green; }; ShowCount(5); ShowCount(20); ⇒ The count is 5
The count is 20 and it's too big. Revisions with loops for, foreach, do and while loop statements can be used in a revision to iteratively add elements. ShowNumbers(int count) = Paragraph { Separator: ", "; for (int i = 0; i < count; ++i) for (int j = 0; j < count; ++j) i * j; // This value gets added for each pass of the inner loop }; ShowNumbers(4); ⇒ 0, 0, 0, 0, 0, 1, 2, 3, 0, 2, 4, 6, 0, 3, 6, 9 <!-- SC_ON --> submitted by /u/Impressive-Gear-4334 (https://www.reddit.com/user/Impressive-Gear-4334)
[link] (https://www.youtube.com/watch?v=equ7ASr3V_s&t=1s) [comments] (https://www.reddit.com/r/programming/comments/1ngwm1p/nytril_a_programming_language_and_a_markup/)
PostgreSQL Field Guide - The reference guide for new users
https://www.reddit.com/r/programming/comments/1ngxlws/postgresql_field_guide_the_reference_guide_for/

<!-- SC_OFF -->Many Postgres books discuss some advanced topics targeted towards the experienced users. Not the new or should we say novice user that may have just stumbled across Postgres while doing some development work or led by internal work projects directing them to seek out the open source. If this is you, this reference book will guide you on the journey and help you understand the overall concepts that will prepare you for the great advanced books on Postgres. The reference guide is divided into key sections to allow each to be used individually when you may need to quickly refresh your knowledge base and fill the gaps to guide you from implementation to deployment providing an understanding of what’s possible with PostgreSQL. <!-- SC_ON --> submitted by /u/Unlikely_Willow2842 (https://www.reddit.com/user/Unlikely_Willow2842)
[link] (https://www.barnesandnoble.com/s/postgresql%20field%20guide) [comments] (https://www.reddit.com/r/programming/comments/1ngxlws/postgresql_field_guide_the_reference_guide_for/)