1 Bit is all we need: Binary Normalized Neural Networks
https://www.reddit.com/r/programming/comments/1nqxo66/1_bit_is_all_we_need_binary_normalized_neural/
submitted by /u/GarethX (https://www.reddit.com/user/GarethX)
[link] (https://arxiv.org/html/2509.07025v1) [comments] (https://www.reddit.com/r/programming/comments/1nqxo66/1_bit_is_all_we_need_binary_normalized_neural/)
https://www.reddit.com/r/programming/comments/1nqxo66/1_bit_is_all_we_need_binary_normalized_neural/
submitted by /u/GarethX (https://www.reddit.com/user/GarethX)
[link] (https://arxiv.org/html/2509.07025v1) [comments] (https://www.reddit.com/r/programming/comments/1nqxo66/1_bit_is_all_we_need_binary_normalized_neural/)
Mastering Convolutional Neural Networks for Audio
https://www.reddit.com/r/programming/comments/1nr4fb9/mastering_convolutional_neural_networks_for_audio/
<!-- SC_OFF -->Here is a deep-dive blog that covers everything: pooling, dropout, batch normalization, how CNNs actually see audio, mel spectrograms, and of course the results from my own model. Read the full blog here:
Mastering CNNs for Audio: The Full Story of How I Built (https://medium.com/@tanmay.bansal20/mastering-cnns-for-audio-the-full-story-of-how-i-built-sunoai-c97617e59a31?sk=3f247a6c4e8b3af303fb130644aa108b)a model with 88% accuracy And if you’re more into visuals, here are feature maps, waveforms, spectrograms, everything down to the last detail:
https://sunoai.tanmay.space (https://sunoai.tanmay.space/) <!-- SC_ON --> submitted by /u/Tanmay__13 (https://www.reddit.com/user/Tanmay__13)
[link] (https://medium.com/@tanmay.bansal20/mastering-cnns-for-audio-the-full-story-of-how-i-built-sunoai-c97617e59a31?sk=3f247a6c4e8b3af303fb130644aa108b) [comments] (https://www.reddit.com/r/programming/comments/1nr4fb9/mastering_convolutional_neural_networks_for_audio/)
https://www.reddit.com/r/programming/comments/1nr4fb9/mastering_convolutional_neural_networks_for_audio/
<!-- SC_OFF -->Here is a deep-dive blog that covers everything: pooling, dropout, batch normalization, how CNNs actually see audio, mel spectrograms, and of course the results from my own model. Read the full blog here:
Mastering CNNs for Audio: The Full Story of How I Built (https://medium.com/@tanmay.bansal20/mastering-cnns-for-audio-the-full-story-of-how-i-built-sunoai-c97617e59a31?sk=3f247a6c4e8b3af303fb130644aa108b)a model with 88% accuracy And if you’re more into visuals, here are feature maps, waveforms, spectrograms, everything down to the last detail:
https://sunoai.tanmay.space (https://sunoai.tanmay.space/) <!-- SC_ON --> submitted by /u/Tanmay__13 (https://www.reddit.com/user/Tanmay__13)
[link] (https://medium.com/@tanmay.bansal20/mastering-cnns-for-audio-the-full-story-of-how-i-built-sunoai-c97617e59a31?sk=3f247a6c4e8b3af303fb130644aa108b) [comments] (https://www.reddit.com/r/programming/comments/1nr4fb9/mastering_convolutional_neural_networks_for_audio/)
Our plan for a more secure npm supply chain
https://www.reddit.com/r/programming/comments/1nr6ouy/our_plan_for_a_more_secure_npm_supply_chain/
submitted by /u/beyphy (https://www.reddit.com/user/beyphy)
[link] (https://github.blog/security/supply-chain-security/our-plan-for-a-more-secure-npm-supply-chain/) [comments] (https://www.reddit.com/r/programming/comments/1nr6ouy/our_plan_for_a_more_secure_npm_supply_chain/)
https://www.reddit.com/r/programming/comments/1nr6ouy/our_plan_for_a_more_secure_npm_supply_chain/
submitted by /u/beyphy (https://www.reddit.com/user/beyphy)
[link] (https://github.blog/security/supply-chain-security/our-plan-for-a-more-secure-npm-supply-chain/) [comments] (https://www.reddit.com/r/programming/comments/1nr6ouy/our_plan_for_a_more_secure_npm_supply_chain/)
How Kafka Really Works
https://www.reddit.com/r/programming/comments/1nr6zhk/how_kafka_really_works/
submitted by /u/sh_tomer (https://www.reddit.com/user/sh_tomer)
[link] (https://newsletter.systemdesign.one/p/how-kafka-works) [comments] (https://www.reddit.com/r/programming/comments/1nr6zhk/how_kafka_really_works/)
https://www.reddit.com/r/programming/comments/1nr6zhk/how_kafka_really_works/
submitted by /u/sh_tomer (https://www.reddit.com/user/sh_tomer)
[link] (https://newsletter.systemdesign.one/p/how-kafka-works) [comments] (https://www.reddit.com/r/programming/comments/1nr6zhk/how_kafka_really_works/)
Simple Supply-Chain Attack Guardrails for npm, pnpm, and Yarn
https://www.reddit.com/r/programming/comments/1nr7am5/simple_supplychain_attack_guardrails_for_npm_pnpm/
submitted by /u/coinspect (https://www.reddit.com/user/coinspect)
[link] (https://www.coinspect.com/blog/supply-chain-guardrails) [comments] (https://www.reddit.com/r/programming/comments/1nr7am5/simple_supplychain_attack_guardrails_for_npm_pnpm/)
https://www.reddit.com/r/programming/comments/1nr7am5/simple_supplychain_attack_guardrails_for_npm_pnpm/
submitted by /u/coinspect (https://www.reddit.com/user/coinspect)
[link] (https://www.coinspect.com/blog/supply-chain-guardrails) [comments] (https://www.reddit.com/r/programming/comments/1nr7am5/simple_supplychain_attack_guardrails_for_npm_pnpm/)
Australia might restrict GitHub over damage to kids, internet laughs
https://www.reddit.com/r/programming/comments/1nr7zh5/australia_might_restrict_github_over_damage_to/
submitted by /u/BillWilberforce (https://www.reddit.com/user/BillWilberforce)
[link] (https://cybernews.com/news/australia-github-age-restriction-kids-protection/) [comments] (https://www.reddit.com/r/programming/comments/1nr7zh5/australia_might_restrict_github_over_damage_to/)
https://www.reddit.com/r/programming/comments/1nr7zh5/australia_might_restrict_github_over_damage_to/
submitted by /u/BillWilberforce (https://www.reddit.com/user/BillWilberforce)
[link] (https://cybernews.com/news/australia-github-age-restriction-kids-protection/) [comments] (https://www.reddit.com/r/programming/comments/1nr7zh5/australia_might_restrict_github_over_damage_to/)
OpenAPI 3.2.0 released: Evolving with Modern API Patterns
https://www.reddit.com/r/programming/comments/1nr9hnj/openapi_320_released_evolving_with_modern_api/
submitted by /u/AntonOkolelov (https://www.reddit.com/user/AntonOkolelov)
[link] (https://medium.com/@okoanton/openapi-3-2-0-evolving-with-modern-api-patterns-9977972e9381) [comments] (https://www.reddit.com/r/programming/comments/1nr9hnj/openapi_320_released_evolving_with_modern_api/)
https://www.reddit.com/r/programming/comments/1nr9hnj/openapi_320_released_evolving_with_modern_api/
submitted by /u/AntonOkolelov (https://www.reddit.com/user/AntonOkolelov)
[link] (https://medium.com/@okoanton/openapi-3-2-0-evolving-with-modern-api-patterns-9977972e9381) [comments] (https://www.reddit.com/r/programming/comments/1nr9hnj/openapi_320_released_evolving_with_modern_api/)
The most efficient way to do nothing [RPCS3]
https://www.reddit.com/r/programming/comments/1nra28r/the_most_efficient_way_to_do_nothing_rpcs3/
submitted by /u/Whatcookie_ (https://www.reddit.com/user/Whatcookie_)
[link] (https://youtu.be/3dkN-6TJNHs?si=z9APqOY5Mk0RDwhG) [comments] (https://www.reddit.com/r/programming/comments/1nra28r/the_most_efficient_way_to_do_nothing_rpcs3/)
https://www.reddit.com/r/programming/comments/1nra28r/the_most_efficient_way_to_do_nothing_rpcs3/
submitted by /u/Whatcookie_ (https://www.reddit.com/user/Whatcookie_)
[link] (https://youtu.be/3dkN-6TJNHs?si=z9APqOY5Mk0RDwhG) [comments] (https://www.reddit.com/r/programming/comments/1nra28r/the_most_efficient_way_to_do_nothing_rpcs3/)
Dial-a-Precision Prime Search with 100% Recall
https://www.reddit.com/r/programming/comments/1nra46w/dialaprecision_prime_search_with_100_recall/
<!-- SC_OFF --> Abstract This is a recall-perfect pipeline for prime number searches that lets you dial the precision with two knobs: a scale-aware wheel sieve bound B(n) and the number of Miller–Rabin bases k. Step 1 is a high-recall prefilter (the “Purple Stripe”: numbers n where n mod 6 is 1 or 5). Step 2 adds anti-helices (a wheel built from small primes) whose filtering strength grows with the number n being tested. Step 3 runs a short chain of one-sided tests (they never reject a true prime), ending with a few MR bases. The result: recall is 100% by design, and precision jumps to 97–99% with just 2–3 MR bases and can be pushed arbitrarily close to 100%. 1. The Core Idea Beyond 3, every prime number is of the form 6k +/- 1. We call this the purple stripe. Composites on this stripe appear when a number is a multiple of a small prime (like 5, 7, 11, etc.). The density of prime numbers decreases as numbers get larger (it’s about 1 / ln(n)). To maintain high precision, the wheel’s filtering strength must increase with n by excluding multiples of more small primes. This isn’t new number theory; it’s a clean engineering approach that combines wheel sieves with the Prime Number Theorem to give you precise control over the trade-off between precision and computational cost. For more go to the above link to medium. <!-- SC_ON --> submitted by /u/caprazli (https://www.reddit.com/user/caprazli)
[link] (https://medium.com/@caprazli/dial-a-precision-prime-search-with-100-percent-recall-4c9ad30bd3c9) [comments] (https://www.reddit.com/r/programming/comments/1nra46w/dialaprecision_prime_search_with_100_recall/)
https://www.reddit.com/r/programming/comments/1nra46w/dialaprecision_prime_search_with_100_recall/
<!-- SC_OFF --> Abstract This is a recall-perfect pipeline for prime number searches that lets you dial the precision with two knobs: a scale-aware wheel sieve bound B(n) and the number of Miller–Rabin bases k. Step 1 is a high-recall prefilter (the “Purple Stripe”: numbers n where n mod 6 is 1 or 5). Step 2 adds anti-helices (a wheel built from small primes) whose filtering strength grows with the number n being tested. Step 3 runs a short chain of one-sided tests (they never reject a true prime), ending with a few MR bases. The result: recall is 100% by design, and precision jumps to 97–99% with just 2–3 MR bases and can be pushed arbitrarily close to 100%. 1. The Core Idea Beyond 3, every prime number is of the form 6k +/- 1. We call this the purple stripe. Composites on this stripe appear when a number is a multiple of a small prime (like 5, 7, 11, etc.). The density of prime numbers decreases as numbers get larger (it’s about 1 / ln(n)). To maintain high precision, the wheel’s filtering strength must increase with n by excluding multiples of more small primes. This isn’t new number theory; it’s a clean engineering approach that combines wheel sieves with the Prime Number Theorem to give you precise control over the trade-off between precision and computational cost. For more go to the above link to medium. <!-- SC_ON --> submitted by /u/caprazli (https://www.reddit.com/user/caprazli)
[link] (https://medium.com/@caprazli/dial-a-precision-prime-search-with-100-percent-recall-4c9ad30bd3c9) [comments] (https://www.reddit.com/r/programming/comments/1nra46w/dialaprecision_prime_search_with_100_recall/)
Ruby Central executes hostile takeover of the RubyGems github organisation and code repositories
https://www.reddit.com/r/programming/comments/1nrbh25/ruby_central_executes_hostile_takeover_of_the/
submitted by /u/ivosaurus (https://www.reddit.com/user/ivosaurus)
[link] (https://joel.drapper.me/p/rubygems-takeover/) [comments] (https://www.reddit.com/r/programming/comments/1nrbh25/ruby_central_executes_hostile_takeover_of_the/)
https://www.reddit.com/r/programming/comments/1nrbh25/ruby_central_executes_hostile_takeover_of_the/
submitted by /u/ivosaurus (https://www.reddit.com/user/ivosaurus)
[link] (https://joel.drapper.me/p/rubygems-takeover/) [comments] (https://www.reddit.com/r/programming/comments/1nrbh25/ruby_central_executes_hostile_takeover_of_the/)
From Full stack to Full Team stack
https://www.reddit.com/r/programming/comments/1nrd0os/from_full_stack_to_full_team_stack/
<!-- SC_OFF -->Hello fellow gladiators, I conducted deep research for a comparative analysis of the software engineering environment from 2000 to 2025 and the report is in the Google Drive. But I want to discuss the current software engineering environment. I've been absent from the software engineering scene for 4 years now, and I returned, and the amount of my shock at how it has become so notoriously difficult is like a gladiator's arena. A software engineer not only needs to be full-stack, but **full-team stack (**I hope this term not be used in hiring); front-end with at least two or three frameworks "mastery" (React, Angular, Vue.js...) for JavaScript, and frameworks for CSS too with UI/UX knowledge and experience With backend three or four mastery (C/C++, Python, Java, C#, NodeJS, now Rust ...) with each one of the languages needing mastery of one or two frameworks that each have. Need to have Cloud mastery too (AWS, Azure, Google Cloud...), DevOps Docker, Kubernetes, CI/CD are the most basic tools, even to be called a software engineer at the entry-level. databases at least one or two SQL and two NoSQL: (SQL server, MySQL ,PL/SQL, MongoDB, Redis, Cassandra...) Quality and test assurance MLOps also with all that ML/AI/DL "fundamental knowledge" (TensorFlow, Keras,nlp...) Maybe Networking knowledge with Cisco professional certificate aimed for at least mid-seniority Here is an example, this is for an entry-level A Bachelor’s DegreeSuccessful engineer in this role have majored in computer science and related fieldsGPA above 3.7
A Few Related Skills and Experiences(This is an entry-level role, and experience in every one of these areas is not required - training is provided on all core platforms, tools, and technologies you will need to know! But the following skills/experience are awesome to have, and will help get your career off to a running start:):
Part-time/Full-time/summer job/internship experience is a must
Experience with open-source web development
Experience with web-based programming languages (JavaScript, HTML, etc.)
Project-level experience with at least one JavaScript-based project
Experience with Cloud Computing Programs, Google Cloud Platform, AWS, Azure, etc.
Experience with OOP and procedural programming methodologies
Understanding of software development life-cycles and best practices
Knowledge of standard-compliant HTML, CSS, and Javascript
Database experience (MySQL, Google BigQuery)
Experience with CCS Frameworks (Bootstrap, Foundation, Intuit, etc.)
Experience with JS Frameworks (JQuery, React, Vue, Backbone, etc.)
Experience with Git Version control (or other version control software)
Experience with package management and Task Runners (NPM, Yarn, Gulp, Grunt)
Experience with browser testing using built-in developer tools
Familiarity with TensorFlow and Machine Learning
Experience with NodeJS
Experience with SaaS monitoring software such as DataDog
Experience with data management using data pipeline tools
Previous agency experience
Any of these Signature of our Traits!
You’re passionate about web/software development -
"you even find yourself spending your free time tinkering and learning new technologies!"(Should the canditat breath too? Or inhale and exhale assembly code?)
You’re comfortable with both object-oriented and procedural programming methodologies
You’re committed to delivering high-quality projects for clients
You enjoy variety, and like the challenge of working on multiple projects
You’re comfortable working both independently and as part of a team
You take direction well, but aren’t afraid to take initiative and make decisions
You see yourself as a problem-solver, and face challenges with a can-do mindset
You put the customer and their goals first
https://www.reddit.com/r/programming/comments/1nrd0os/from_full_stack_to_full_team_stack/
<!-- SC_OFF -->Hello fellow gladiators, I conducted deep research for a comparative analysis of the software engineering environment from 2000 to 2025 and the report is in the Google Drive. But I want to discuss the current software engineering environment. I've been absent from the software engineering scene for 4 years now, and I returned, and the amount of my shock at how it has become so notoriously difficult is like a gladiator's arena. A software engineer not only needs to be full-stack, but **full-team stack (**I hope this term not be used in hiring); front-end with at least two or three frameworks "mastery" (React, Angular, Vue.js...) for JavaScript, and frameworks for CSS too with UI/UX knowledge and experience With backend three or four mastery (C/C++, Python, Java, C#, NodeJS, now Rust ...) with each one of the languages needing mastery of one or two frameworks that each have. Need to have Cloud mastery too (AWS, Azure, Google Cloud...), DevOps Docker, Kubernetes, CI/CD are the most basic tools, even to be called a software engineer at the entry-level. databases at least one or two SQL and two NoSQL: (SQL server, MySQL ,PL/SQL, MongoDB, Redis, Cassandra...) Quality and test assurance MLOps also with all that ML/AI/DL "fundamental knowledge" (TensorFlow, Keras,nlp...) Maybe Networking knowledge with Cisco professional certificate aimed for at least mid-seniority Here is an example, this is for an entry-level A Bachelor’s DegreeSuccessful engineer in this role have majored in computer science and related fieldsGPA above 3.7
A Few Related Skills and Experiences(This is an entry-level role, and experience in every one of these areas is not required - training is provided on all core platforms, tools, and technologies you will need to know! But the following skills/experience are awesome to have, and will help get your career off to a running start:):
Part-time/Full-time/summer job/internship experience is a must
Experience with open-source web development
Experience with web-based programming languages (JavaScript, HTML, etc.)
Project-level experience with at least one JavaScript-based project
Experience with Cloud Computing Programs, Google Cloud Platform, AWS, Azure, etc.
Experience with OOP and procedural programming methodologies
Understanding of software development life-cycles and best practices
Knowledge of standard-compliant HTML, CSS, and Javascript
Database experience (MySQL, Google BigQuery)
Experience with CCS Frameworks (Bootstrap, Foundation, Intuit, etc.)
Experience with JS Frameworks (JQuery, React, Vue, Backbone, etc.)
Experience with Git Version control (or other version control software)
Experience with package management and Task Runners (NPM, Yarn, Gulp, Grunt)
Experience with browser testing using built-in developer tools
Familiarity with TensorFlow and Machine Learning
Experience with NodeJS
Experience with SaaS monitoring software such as DataDog
Experience with data management using data pipeline tools
Previous agency experience
Any of these Signature of our Traits!
You’re passionate about web/software development -
"you even find yourself spending your free time tinkering and learning new technologies!"(Should the canditat breath too? Or inhale and exhale assembly code?)
You’re comfortable with both object-oriented and procedural programming methodologies
You’re committed to delivering high-quality projects for clients
You enjoy variety, and like the challenge of working on multiple projects
You’re comfortable working both independently and as part of a team
You take direction well, but aren’t afraid to take initiative and make decisions
You see yourself as a problem-solver, and face challenges with a can-do mindset
You put the customer and their goals first
You have an interest in the web and stay up-to-date on new and developing technologies
You are a professional, dependable, and independent worker with a solid work ethic
You’re self-motivated, thrive on challenges, and enjoy getting things done
You have an eye for detail and dedication to high-quality work
You have an exceptional level of follow-through
You possess excellent time/project management skills
You work with a sense of urgency and can consistently meet deadlines
You are an outstanding communicator and possess strong interpersonal skills
You are a lifelong learner who loves to grow and stretch outside of your comfort zone, and are always looking to improve your skills (After all those skills that the candidat have I am sure he will not need any advancement as entry level, after this the candidat will be senior directly) So a software engineer needs to be full-stack + Designer UI/UX+ Cloud architect + DevOps + Databases administrator + MLOPS + maybe network engineer + Quality assurance engineer + cyberOps as a plus. All of those have previously had a dedicated engineer to work full-time on in a team, except the new MLOps, now the companies want all in one person and say, "you can and you will use AI, and when the task fails with severe security unseen bug or general architecture breakdown, the human is to blame!" No wonder there is senior burnout, and if we keep cutting entry-level jobs, there will be no more quality future engineers and the software industry will suffer, bringing with it all other industries due to a lack of software engineers. It's like wanting a doctor who is brain, heart, bones... surgeon, also every organ in the body doctor, also at the same time a pharmacist, biologist... because all have the same common root. What is this madness? Companies greed? And worst of all, probably students who still in universities will change their majors because of the amount of skills needed with open source experience and the hostility in the work environment if they get a job, and current graduates will regret the effort and the hard work they made to have a degree in computer science in the first place, and just work in another domain. This will cut the new graduates and newcomers to software engineering, and the catastrophe will happen, degrade software quality for all of us and software is used almost in all industries from agriculture to cars and airplanes to medical machines, and we will not have the quality or number of engineers who will maintain our industries and ecosystem because there is not enough new ones to land a job in first place and have an experience and most worst of all the passion for programming will vanish from all the rest of us! Also, maybe in 2-5 years, if all continues like this, we will say software engineering has peaked by 2025, then went downhill fast. <!-- SC_ON --> submitted by /u/maher1717 (https://www.reddit.com/user/maher1717)
[link] (https://drive.google.com/file/d/1pL5zdu_AGWxueRJcOzs7_zaLHlDnmTrt/view?usp=sharing) [comments] (https://www.reddit.com/r/programming/comments/1nrd0os/from_full_stack_to_full_team_stack/)
You are a professional, dependable, and independent worker with a solid work ethic
You’re self-motivated, thrive on challenges, and enjoy getting things done
You have an eye for detail and dedication to high-quality work
You have an exceptional level of follow-through
You possess excellent time/project management skills
You work with a sense of urgency and can consistently meet deadlines
You are an outstanding communicator and possess strong interpersonal skills
You are a lifelong learner who loves to grow and stretch outside of your comfort zone, and are always looking to improve your skills (After all those skills that the candidat have I am sure he will not need any advancement as entry level, after this the candidat will be senior directly) So a software engineer needs to be full-stack + Designer UI/UX+ Cloud architect + DevOps + Databases administrator + MLOPS + maybe network engineer + Quality assurance engineer + cyberOps as a plus. All of those have previously had a dedicated engineer to work full-time on in a team, except the new MLOps, now the companies want all in one person and say, "you can and you will use AI, and when the task fails with severe security unseen bug or general architecture breakdown, the human is to blame!" No wonder there is senior burnout, and if we keep cutting entry-level jobs, there will be no more quality future engineers and the software industry will suffer, bringing with it all other industries due to a lack of software engineers. It's like wanting a doctor who is brain, heart, bones... surgeon, also every organ in the body doctor, also at the same time a pharmacist, biologist... because all have the same common root. What is this madness? Companies greed? And worst of all, probably students who still in universities will change their majors because of the amount of skills needed with open source experience and the hostility in the work environment if they get a job, and current graduates will regret the effort and the hard work they made to have a degree in computer science in the first place, and just work in another domain. This will cut the new graduates and newcomers to software engineering, and the catastrophe will happen, degrade software quality for all of us and software is used almost in all industries from agriculture to cars and airplanes to medical machines, and we will not have the quality or number of engineers who will maintain our industries and ecosystem because there is not enough new ones to land a job in first place and have an experience and most worst of all the passion for programming will vanish from all the rest of us! Also, maybe in 2-5 years, if all continues like this, we will say software engineering has peaked by 2025, then went downhill fast. <!-- SC_ON --> submitted by /u/maher1717 (https://www.reddit.com/user/maher1717)
[link] (https://drive.google.com/file/d/1pL5zdu_AGWxueRJcOzs7_zaLHlDnmTrt/view?usp=sharing) [comments] (https://www.reddit.com/r/programming/comments/1nrd0os/from_full_stack_to_full_team_stack/)
Let's talk about alignment, sizing and packing in Zig, C, Rust and... Go?
https://www.reddit.com/r/programming/comments/1nrdhf2/lets_talk_about_alignment_sizing_and_packing_in/
submitted by /u/BlueGoliath (https://www.reddit.com/user/BlueGoliath)
[link] (https://www.youtube.com/watch?v=bRuqMwYC-mg&t=219s) [comments] (https://www.reddit.com/r/programming/comments/1nrdhf2/lets_talk_about_alignment_sizing_and_packing_in/)
https://www.reddit.com/r/programming/comments/1nrdhf2/lets_talk_about_alignment_sizing_and_packing_in/
submitted by /u/BlueGoliath (https://www.reddit.com/user/BlueGoliath)
[link] (https://www.youtube.com/watch?v=bRuqMwYC-mg&t=219s) [comments] (https://www.reddit.com/r/programming/comments/1nrdhf2/lets_talk_about_alignment_sizing_and_packing_in/)
Translating a Fortran F-16 Simulator to Unity3D
https://www.reddit.com/r/programming/comments/1nreolg/translating_a_fortran_f16_simulator_to_unity3d/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://vazgriz.com/762/f-16-flight-sim-in-unity-3d/) [comments] (https://www.reddit.com/r/programming/comments/1nreolg/translating_a_fortran_f16_simulator_to_unity3d/)
https://www.reddit.com/r/programming/comments/1nreolg/translating_a_fortran_f16_simulator_to_unity3d/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://vazgriz.com/762/f-16-flight-sim-in-unity-3d/) [comments] (https://www.reddit.com/r/programming/comments/1nreolg/translating_a_fortran_f16_simulator_to_unity3d/)
Turning Billions of Strings into Integers Every Second Without Collisions
https://www.reddit.com/r/programming/comments/1nreor8/turning_billions_of_strings_into_integers_every/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://jazco.dev/2025/09/26/interning/) [comments] (https://www.reddit.com/r/programming/comments/1nreor8/turning_billions_of_strings_into_integers_every/)
https://www.reddit.com/r/programming/comments/1nreor8/turning_billions_of_strings_into_integers_every/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://jazco.dev/2025/09/26/interning/) [comments] (https://www.reddit.com/r/programming/comments/1nreor8/turning_billions_of_strings_into_integers_every/)
[ Removed by Reddit ]
https://www.reddit.com/r/programming/comments/1nrep5e/removed_by_reddit/
<!-- SC_OFF -->[ Removed by Reddit on account of violating the content policy (https://www.reddit.com/help/contentpolicy). ] <!-- SC_ON --> submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.reddit.com/r/programming/comments/1nrep5e/removed_by_reddit/) [comments] (https://www.reddit.com/r/programming/comments/1nrep5e/removed_by_reddit/)
https://www.reddit.com/r/programming/comments/1nrep5e/removed_by_reddit/
<!-- SC_OFF -->[ Removed by Reddit on account of violating the content policy (https://www.reddit.com/help/contentpolicy). ] <!-- SC_ON --> submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.reddit.com/r/programming/comments/1nrep5e/removed_by_reddit/) [comments] (https://www.reddit.com/r/programming/comments/1nrep5e/removed_by_reddit/)
Video in which I go over physics, asset rendering, and AABB collision detection for my own indie Custom C++ 2D Game Engine
https://www.reddit.com/r/programming/comments/1nrojl7/video_in_which_i_go_over_physics_asset_rendering/
<!-- SC_OFF -->This is a devlog that follows an update to a previous feature that I added to my game Galatic Inc. It involves its own gravity system, its own rendering system, as well it's own click detection and collision resolution. The following is a link to the github for the project: https://github.com/NateTheGrappler This is the a download of the actual game: https://natethecoder.itch.io/galatic-inc <!-- SC_ON --> submitted by /u/CommercialStrike9439 (https://www.reddit.com/user/CommercialStrike9439)
[link] (https://youtu.be/wygFRa5g--I?si=CSp7h8qTATBjdSZD) [comments] (https://www.reddit.com/r/programming/comments/1nrojl7/video_in_which_i_go_over_physics_asset_rendering/)
https://www.reddit.com/r/programming/comments/1nrojl7/video_in_which_i_go_over_physics_asset_rendering/
<!-- SC_OFF -->This is a devlog that follows an update to a previous feature that I added to my game Galatic Inc. It involves its own gravity system, its own rendering system, as well it's own click detection and collision resolution. The following is a link to the github for the project: https://github.com/NateTheGrappler This is the a download of the actual game: https://natethecoder.itch.io/galatic-inc <!-- SC_ON --> submitted by /u/CommercialStrike9439 (https://www.reddit.com/user/CommercialStrike9439)
[link] (https://youtu.be/wygFRa5g--I?si=CSp7h8qTATBjdSZD) [comments] (https://www.reddit.com/r/programming/comments/1nrojl7/video_in_which_i_go_over_physics_asset_rendering/)
PostgreSQL 18 Released — pgbench Results Show It’s the Fastest Yet
https://www.reddit.com/r/programming/comments/1nrw3p3/postgresql_18_released_pgbench_results_show_its/
<!-- SC_OFF -->I just published a benchmark comparison across PG versions 12–18 using pgbench mix tests: https://pgbench.github.io/mix/ PG18 leads in every metric: 3,057 TPS — highest throughput 5.232 ms latency — lowest response time 183,431 transactions — most processed This is synthetic, but it’s a strong signal for transactional workloads. Would love feedback from anyone testing PG18 in production—any surprises or regressions? <!-- SC_ON --> submitted by /u/OzkanSoftware (https://www.reddit.com/user/OzkanSoftware)
[link] (https://pgbench.github.io/mix/) [comments] (https://www.reddit.com/r/programming/comments/1nrw3p3/postgresql_18_released_pgbench_results_show_its/)
https://www.reddit.com/r/programming/comments/1nrw3p3/postgresql_18_released_pgbench_results_show_its/
<!-- SC_OFF -->I just published a benchmark comparison across PG versions 12–18 using pgbench mix tests: https://pgbench.github.io/mix/ PG18 leads in every metric: 3,057 TPS — highest throughput 5.232 ms latency — lowest response time 183,431 transactions — most processed This is synthetic, but it’s a strong signal for transactional workloads. Would love feedback from anyone testing PG18 in production—any surprises or regressions? <!-- SC_ON --> submitted by /u/OzkanSoftware (https://www.reddit.com/user/OzkanSoftware)
[link] (https://pgbench.github.io/mix/) [comments] (https://www.reddit.com/r/programming/comments/1nrw3p3/postgresql_18_released_pgbench_results_show_its/)
Strategy Pattern in Java
https://www.reddit.com/r/programming/comments/1nsmj8j/strategy_pattern_in_java/
submitted by /u/mstrbeton (https://www.reddit.com/user/mstrbeton)
[link] (https://www.youtube.com/watch?v=0o5nuoIbZyU) [comments] (https://www.reddit.com/r/programming/comments/1nsmj8j/strategy_pattern_in_java/)
https://www.reddit.com/r/programming/comments/1nsmj8j/strategy_pattern_in_java/
submitted by /u/mstrbeton (https://www.reddit.com/user/mstrbeton)
[link] (https://www.youtube.com/watch?v=0o5nuoIbZyU) [comments] (https://www.reddit.com/r/programming/comments/1nsmj8j/strategy_pattern_in_java/)
<!-- SC_OFF -->Dear r/programming (https://www.reddit.com/r/programming) community, I'd like to discuss my solution to a common challenge many teams encounter. These teams work on their projects using PostgreSQL for the database layer. Their tests take too long because they run database migrations many times. If we have many tests each needing a new PostgreSQL database with a complex schema, these ways of running tests tend to be slow: Running migrations before each test (the more complex the schema, the longer it takes) Using transaction rollbacks (this does not work with some things in PostgreSQL) One database shared among all the tests (interference among tests) In one production system I worked on, we had to wait 15-20 minutes for CI to run the test unit tests that required isolated databases. Using A Template Database from PostgreSQL PostgreSQL has a powerful feature for addressing this problem: template databases. Instead of running migrations for each test database, we create a template database with all the migrations once. Create a clone of this template database very fast (29ms on average, regardless of the schema's complexity). Give each test an isolated database. Go implementation with SOLID principles I used the idea above to create pgdbtemplate. This Go library demonstrates how to apply some key engineering concepts. Dependency Injection & Open/Closed Principle // Core library depends on interfaces, not implementations. type ConnectionProvider interface { Connect(ctx context.Context, databaseName string) (DatabaseConnection, error) GetNoRowsSentinel() error } type MigrationRunner interface { RunMigrations(ctx context.Context, conn DatabaseConnection) error } That lets the connection provider implementations pgdbtemplate-pgx and pgdbtemplate-pq be separate from the core library code. It enables the library to work with various database setups. Tested like this: func TestUserRepository(t *testing.T) { // Template setup is done one time in TestMain! testDB, testDBName, err := templateManager.CreateTestDatabase(ctx) defer testDB.Close() defer templateManager.DropTestDatabase(ctx, testDBName) // Each test gets a clone of the isolated database. repo := NewUserRepository(testDB) // Do a test with features of the actual database... } How fast were these tests? Were they faster? In the table below, the new way was more than twice as fast with complex schemas, which had the largest speed savings: (Note that in practice, larger schemas took somewhat less time, making the difference even more favourable): Scenario Was Traditional Was Using a Template How much faster? Simple schema (1 table) ~29ms ~28ms Very little Complex schema (5+ tables) ~43ms ~29ms 50% more speed! 200 test databases ~9.2 sec ~5.8 sec 37% speed increase Memory used Baseline 17% less less resources needed Technical aspects beyond Go The core library is designed to be independent of the driver used. Additionally, it is compatible with various PostgreSQL drivers: pgx and pq Template databases are a PostgreSQL feature, not language-specific. The approach can be implemented in various programming languages, including Python, Java, and C#. The scaling benefits apply to any test suite with database requirements. Has this idea worked in the real world? This has been used with very large setups in the real world. Complex systems were billing and contracting. It has been tested with 100% test coverage. The library has been compared to similar open-source Go projects. Github: github.com/andrei-polukhin/pgdbtemplate (https://github.com/andrei-polukhin/pgdbtemplate) The concept of template databases for testing is something every PostgreSQL team should consider, regardless of their primary programming language. Thanks for reading, and I look forward to your feedback! <!-- SC_ON --> submitted by /u/Individual_Tutor_647 (https://www.reddit.com/user/Individual_Tutor_647)