reddit_programming | Technologies

Telegram-канал reddit_programming - Reddit Programming

214

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

Subscribe to a channel

Reddit Programming

Adaptive Programming Systems for Humans and AI
https://www.reddit.com/r/programming/comments/1nibk9s/adaptive_programming_systems_for_humans_and_ai/

<!-- SC_OFF -->Just like buildings, software must be built to evolve. My new article explores the challenges that arise when humans and AI collaborate on programming and how we can mitigate these issues to create a more resilient ecosystem. https://gfrison.com/2025/adaptive-programming-systems <!-- SC_ON --> submitted by /u/gfrison (https://www.reddit.com/user/gfrison)
[link] (https://gfrison.com/2025/adaptive-programming-systems) [comments] (https://www.reddit.com/r/programming/comments/1nibk9s/adaptive_programming_systems_for_humans_and_ai/)

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

Reddit Programming

Highlights from Git 2.51
https://www.reddit.com/r/programming/comments/1nhw9wf/highlights_from_git_251/

submitted by /u/initcommit (https://www.reddit.com/user/initcommit)
[link] (https://github.blog/open-source/git/highlights-from-git-2-51/) [comments] (https://www.reddit.com/r/programming/comments/1nhw9wf/highlights_from_git_251/)

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

Reddit Programming

Analyzing the memory ordering models of the Apple M1
https://www.reddit.com/r/programming/comments/1nhw8mn/analyzing_the_memory_ordering_models_of_the_apple/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.sciencedirect.com/science/article/pii/S1383762124000390) [comments] (https://www.reddit.com/r/programming/comments/1nhw8mn/analyzing_the_memory_ordering_models_of_the_apple/)

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

Reddit Programming

Infinite Relations
https://www.reddit.com/r/programming/comments/1nhw64v/infinite_relations/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://buttondown.com/jaffray/archive/infinite-relations/) [comments] (https://www.reddit.com/r/programming/comments/1nhw64v/infinite_relations/)

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

Reddit Programming

The pirate-based logic of Rust shared references
https://www.reddit.com/r/programming/comments/1nhw5s3/the_piratebased_logic_of_rust_shared_references/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (http://ais523.me.uk/blog/logic-of-shared-references.html) [comments] (https://www.reddit.com/r/programming/comments/1nhw5s3/the_piratebased_logic_of_rust_shared_references/)

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

Reddit Programming

Smalltalk and Lambda Calculus
https://www.reddit.com/r/programming/comments/1nhw59d/smalltalk_and_lambda_calculus/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://blog.ielliott.io/smalltalk-and-lambda-calculus) [comments] (https://www.reddit.com/r/programming/comments/1nhw59d/smalltalk_and_lambda_calculus/)

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

Reddit Programming

The E Language
https://www.reddit.com/r/programming/comments/1nhw4ml/the_e_language/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (http://erights.org/elang/index.html) [comments] (https://www.reddit.com/r/programming/comments/1nhw4ml/the_e_language/)

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

Reddit Programming

Hosting a website on a disposable vape
https://www.reddit.com/r/programming/comments/1nhs5ti/hosting_a_website_on_a_disposable_vape/

submitted by /u/iamkeyur (https://www.reddit.com/user/iamkeyur)
[link] (https://bogdanthegeek.github.io/blog/projects/vapeserver/) [comments] (https://www.reddit.com/r/programming/comments/1nhs5ti/hosting_a_website_on_a_disposable_vape/)

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

Reddit Programming

Why you should care about the JDBC fetch size
https://www.reddit.com/r/programming/comments/1nhjby7/why_you_should_care_about_the_jdbc_fetch_size/

submitted by /u/Active-Fuel-49 (https://www.reddit.com/user/Active-Fuel-49)
[link] (https://in.relation.to/2025/01/24/jdbc-fetch-size/) [comments] (https://www.reddit.com/r/programming/comments/1nhjby7/why_you_should_care_about_the_jdbc_fetch_size/)

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

Reddit Programming

Built a High-Performance Key-Value Datastore in Pure Java
https://www.reddit.com/r/programming/comments/1nhdu6k/built_a_highperformance_keyvalue_datastore_in/

<!-- SC_OFF -->Hello everyone, I am excited to share a small milestone, it's the project I have been working in my free time during weekends since past 2 years. DataStore4J a key value datastore entirely written in Java, inspired by Google's LevelDB (https://github.com/theuntamed839/DataStore4J), its still under development. I’ve published some benchmarks results (https://github.com/theuntamed839/DataStore4J/blob/main/BenchMark/readme.md) The performance is on par with LevelDB, and for comparison I also included Facebook's RocksDB (which is a different beast altogether) I’ve also written some documentation on the internals of the DB (https://github.com/theuntamed839/DataStore4J/wiki) The aim was to get it to a good comparable performance level with levelDB. Lots of learning from this project, from database internals to Java's concurrency, to using JMH for benchmarks and Jimfs for testing.
I’m the sole developer on this, so I’m sure I’ve misused Java in places, missed edge cases, or even obvious bugs. I'd love to hear any feedback, and issues from those who've tried it out. Thank you all. <!-- SC_ON --> submitted by /u/theuntamed000 (https://www.reddit.com/user/theuntamed000)
[link] (https://github.com/theuntamed839/DataStore4J) [comments] (https://www.reddit.com/r/programming/comments/1nhdu6k/built_a_highperformance_keyvalue_datastore_in/)

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

Reddit Programming

built fasterpc bc i was frustrated with the usual distributed service comms, no more rest apis, or heavy MQs
https://www.reddit.com/r/programming/comments/1nh45ba/built_fasterpc_bc_i_was_frustrated_with_the_usual/

<!-- SC_OFF -->hey everyone, been working on this for a while and finally ready to share - built fasterpc bc i was frustrated with the usual distributed service comm where everything's either polling rest endpoints or dealing with heavyweight message broker infrastructures. tbh most people skip MQs entirely and just use basic http calls. basically it's bidirectional json rpc over websockets that lets python methods on different machines call each other with the same syntax as local function calls. sounds simple but the architectural implications are significant for distributed systems. runs on any websocket-capable server - docker containers, node.js processes, ruby on rails apps, whatever. the problem i was solving: building my AI OS (Bodega) with 80+ concurrent processes across multiple machines, and traditional ipc approaches had issues: --rest apis = constant polling + request/response latency overhead + managing http status codes --MQ = architectural overkill for direct sync service communication -existing rpc solutions = either too heavyweight (grpc) or missing bidirectional capabilities what makes fasterpc cooler: --both client and server can expose callable methods via simple class inheritance --automatic connection pooling with configurable exponential backoff retry logic --language-agnostic protocol (python ↔ node.js ↔ go ↔ rust seamlessly) --sustained 19+ calls/second with 100% success rate in production (can definitely optimize further) --binary data transfer support with custom serialization handlers --built-in connection health monitoring and automatic reconnection i use it wiht Bodega for currently handling shit load concurrent req with distributed worker services: odf text extractors, fft audio processors, image upscaling models, voice transcription engines, ocr pipelines, sentiment analysis workers, translation services, content recommendation engines. they're specialized microservices that need to comm sync without the overhead of http request cycles or async message passing complexity. handles stuffslike this off the shelf-- like connection drops, load balancing across worker instances, request timeouts, custom data serialization for complex objects. repo: https://github.com/SRSWTI/fasterpc examples directory has complete multi-service examples with different lang. honestly think this fills a gap between simple http calls andd complex message brokers for distributed systems that need real-time bidirectional communication. still early stage but battle-tested in my AI OS serving production traffic. more context on the overall system: https://www.reddit.com/r/LocalLLM/comments/1najvevj/built_an_local_ai_os_you_can_talk_to_that_started/?utm_source=share&amp;utm_medium=web3x&amp;utm_name=web3xcss&amp;utm_term=1&amp;utm_content=share_button <!-- SC_ON --> submitted by /u/EmbarrassedAsk2887 (https://www.reddit.com/user/EmbarrassedAsk2887)
[link] (https://github.com/SRSWTI/fasterpc) [comments] (https://www.reddit.com/r/programming/comments/1nh45ba/built_fasterpc_bc_i_was_frustrated_with_the_usual/)

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

Reddit Programming

How to Start With Freelance Work as an Engineer
https://www.reddit.com/r/programming/comments/1nh2g7x/how_to_start_with_freelance_work_as_an_engineer/

submitted by /u/gregorojstersek (https://www.reddit.com/user/gregorojstersek)
[link] (https://www.youtube.com/watch?v=k7HzNniH-pE) [comments] (https://www.reddit.com/r/programming/comments/1nh2g7x/how_to_start_with_freelance_work_as_an_engineer/)

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

Reddit Programming

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/)

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

Reddit Programming

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

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

Reddit Programming

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/)

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

Reddit Programming

RIP pthread_cancel
https://www.reddit.com/r/programming/comments/1nhwagp/rip_pthread_cancel/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://eissing.org/icing/posts/rip_pthread_cancel/) [comments] (https://www.reddit.com/r/programming/comments/1nhwagp/rip_pthread_cancel/)

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

Reddit Programming

Writing an operating system kernel from scratch
https://www.reddit.com/r/programming/comments/1nhw8tv/writing_an_operating_system_kernel_from_scratch/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://popovicu.com/posts/writing-an-operating-system-kernel-from-scratch/) [comments] (https://www.reddit.com/r/programming/comments/1nhw8tv/writing_an_operating_system_kernel_from_scratch/)

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

Reddit Programming

PythonBPF – Writing eBPF Programs in Pure Python
https://www.reddit.com/r/programming/comments/1nhw6x9/pythonbpf_writing_ebpf_programs_in_pure_python/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://xeon.me/gnome/pythonbpf/) [comments] (https://www.reddit.com/r/programming/comments/1nhw6x9/pythonbpf_writing_ebpf_programs_in_pure_python/)

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

Reddit Programming

Rendezvous Hashing Explained
https://www.reddit.com/r/programming/comments/1nhw5x1/rendezvous_hashing_explained/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://randorithms.com/2020/12/26/rendezvous-hashing.html) [comments] (https://www.reddit.com/r/programming/comments/1nhw5x1/rendezvous_hashing_explained/)

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

Reddit Programming

Protecting Rust against supply chain attacks
https://www.reddit.com/r/programming/comments/1nhw5qd/protecting_rust_against_supply_chain_attacks/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://kerkour.com/rust-supply-chain-attacks) [comments] (https://www.reddit.com/r/programming/comments/1nhw5qd/protecting_rust_against_supply_chain_attacks/)

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

Reddit Programming

React Won by Default – And It's Killing Frontend Innovation
https://www.reddit.com/r/programming/comments/1nhw51a/react_won_by_default_and_its_killing_frontend/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.lorenstew.art/blog/react-won-by-default/) [comments] (https://www.reddit.com/r/programming/comments/1nhw51a/react_won_by_default_and_its_killing_frontend/)

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

Reddit Programming

Algebraic Types are not Scary, Actually
https://www.reddit.com/r/programming/comments/1nhw43z/algebraic_types_are_not_scary_actually/

submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://blog.aiono.dev/posts/algebraic-types-are-not-scary,-actually.html) [comments] (https://www.reddit.com/r/programming/comments/1nhw43z/algebraic_types_are_not_scary_actually/)

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

Reddit Programming

Rye Tables vs Python/Pandas: A Different Way to Wrangle Data
https://www.reddit.com/r/programming/comments/1nhjk44/rye_tables_vs_pythonpandas_a_different_way_to/

submitted by /u/symbolicard (https://www.reddit.com/user/symbolicard)
[link] (https://ryelang.org/blog/posts/comparing_tables_to_python/) [comments] (https://www.reddit.com/r/programming/comments/1nhjk44/rye_tables_vs_pythonpandas_a_different_way_to/)

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

Reddit Programming

Write Code With Less Legal Risk | Legal Expert MCP Server
https://www.reddit.com/r/programming/comments/1nhek3s/write_code_with_less_legal_risk_legal_expert_mcp/

<!-- SC_OFF -->Hello everyone, As a software engineer I’ve often noticed devs run into the same issue: they don’t know the legal landscape when creating a new app or business idea. I faced this problem many times. Since I used to be an attorney, I consolidated my knowledge into a legal expert MCP server. It exposes these prompts: legal_landscape_discovery comprehensive_privacy_audit ai_ethics_and_compliance_scan intellectual_property_and_oss_audit market_and_customer_compliance_audit website_and_app_legal_disclosure_check security_legal_alignment_check risk_analysis_framework legal_expert_prompts_catalog It’s the first version, but I wanted to share. I’m not here to self-promote. I just wanted to create something that will help other devs. if you’re interested, let me know and I’ll DM you the GitHub repo. Feel free to fork or extend it. (Works with VS Code GitHub Copilot and Cursor as slash commands with arguments. There’s currently a bug with MCP prompts in Claude code.) Necessary Disclaimer: This MCP server produces informational analyses only. It is not legal advice, I take no responsibility for any legal or compliance consequences, and you use it entirely at your own risk given the inherent limitations and hallucinations of LLMs. <!-- SC_ON --> submitted by /u/DimWebDev (https://www.reddit.com/user/DimWebDev)
[link] (https://github.com/DimWebDev/legal_expert_mcp_server) [comments] (https://www.reddit.com/r/programming/comments/1nhek3s/write_code_with_less_legal_risk_legal_expert_mcp/)

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

Reddit Programming

So You Want to Host Your Own LLM? Don’t.
https://www.reddit.com/r/programming/comments/1nh8td5/so_you_want_to_host_your_own_llm_dont/

submitted by /u/myusuf3 (https://www.reddit.com/user/myusuf3)
[link] (https://mahdiyusuf.com/so-you-want-to-host-your-own-llm-dont/) [comments] (https://www.reddit.com/r/programming/comments/1nh8td5/so_you_want_to_host_your_own_llm_dont/)

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

Reddit Programming

A Dumb Introduction to z3. Exploring the world of constraint solvers with very simple examples.
https://www.reddit.com/r/programming/comments/1nh38nn/a_dumb_introduction_to_z3_exploring_the_world_of/

submitted by /u/M1M1R0N (https://www.reddit.com/user/M1M1R0N)
[link] (https://asibahi.github.io/thoughts/a-gentle-introduction-to-z3/) [comments] (https://www.reddit.com/r/programming/comments/1nh38nn/a_dumb_introduction_to_z3_exploring_the_world_of/)

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

Reddit Programming

Java is 30 Years Old // Here’s Why It’s Still Winning
https://www.reddit.com/r/programming/comments/1ngyt86/java_is_30_years_old_heres_why_its_still_winning/

submitted by /u/BlueGoliath (https://www.reddit.com/user/BlueGoliath)
[link] (https://www.youtube.com/watch?v=spJwsa4KFrU&amp;t) [comments] (https://www.reddit.com/r/programming/comments/1ngyt86/java_is_30_years_old_heres_why_its_still_winning/)

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

Reddit Programming

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&amp;t=1s) [comments] (https://www.reddit.com/r/programming/comments/1ngwm1p/nytril_a_programming_language_and_a_markup/)

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

Reddit Programming

Why Event-Driven Systems are Hard?
https://www.reddit.com/r/programming/comments/1ngwj0l/why_eventdriven_systems_are_hard/

submitted by /u/scalablethread (https://www.reddit.com/user/scalablethread)
[link] (https://newsletter.scalablethread.com/p/why-event-driven-systems-are-hard) [comments] (https://www.reddit.com/r/programming/comments/1ngwj0l/why_eventdriven_systems_are_hard/)

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

Reddit Programming

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/)

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