News Nug
Exploring defer in C with GCC magic (cleanup + nested functions)

Published: 2025-09-24 | Origin: /r/programming

The content appears to be a brief mention of a software or application called OSHub, specifically designed for kernel developers, with a version number of 0.8.0 and a note indicating that there are no comments yet. The copyright is stated for the year 2025.

4 years ago I wrote a snake game with perceptron and genetic algorithm on pure Ruby

Published: 2025-09-24 | Origin: /r/ruby

The content appears to be a corrupted or nonsensical data stream, likely from a file format such as a GIF. It contains a mixture of characters, symbols, and binary-like code, and does not convey a clear or coherent message or information. Key technical terms related to file formats (like "NETSCAPE2.0") are present, indicating that it might be related to image or animation data. Overall, it lacks meaningful context or substance.

The Beauty of Programming (2001)

Published: 2025-09-24 | Origin: Hacker News

Linus Torvalds reflects on his fascination with programming, describing it as a unique and engaging pursuit that resembles a complex game where one can create their own rules and outcomes. While to outsiders it may seem dull, the thrill for programmers lies in the ability to command a computer to perform tasks with precision and reliability. However, the challenge comes from the necessity to understand how to achieve desired results. Torvalds likens computer science to physics, emphasizing that while physics seeks to understand the world, programming

🎙️ Live at Rails World 2025: Turbo Offline, Hotwire Native 1.3, Kamal, and More 🚀

Published: 2025-09-24 | Origin: /r/ruby

Chris and Andrew, two Ruby enthusiasts, host a conversation from Rails World 2025 in Amsterdam, featuring guests Andy Croll and Jason Charnes. They discuss various topics related to Ruby and web development, including key updates like Turbo offline, Hotwire Native 1.3, and SQLite. The conversation also includes lighthearted moments about the conference experience, favorite talks, and plans for the final day, culminating in a museum party. The episode promises humor and engaging insights into the Ruby community.

Quadratic memory reductions for Zero-knowledge Proofs

Published: 2025-09-24 | Origin: Hacker News

The document outlines a sublinear-space zero-knowledge proof (ZKP) system implemented in Rust, which features a streaming prover that requires only O(√T) memory for commitments using KZG (BN254). It supports both evaluation and coefficient bases and includes a command-line interface (CLI) for the prover and verifier, along with tests. The implementation deviates from traditional ZKP pipelines that require O(T) memory by avoiding the need to buffer entire polynomials, instead focusing on streaming and aggregate

Baldur's Gate 3 Steam Deck – Native Version

Published: 2025-09-24 | Origin: Hacker News

After the release of Hotfix #34 for the Steam Deck, the device will install the Native version of Baldur's Gate 3. The Native version is more efficient, using less CPU and memory than the Proton version, which operates through a compatibility layer that requires additional processing power. Users can switch back to the Proton version if they encounter issues with the Native build by accessing the game’s settings on Steam. While the Steam Deck Native build exists, Larian does not provide support for Linux, meaning

Top Programming Languages 2025

Published: 2025-09-23 | Origin: Hacker News

The article by Stephen Cass discusses the implications of AI on the popularity and relevance of programming languages. It highlights this year's rankings from IEEE Spectrum, where Python continues to dominate, securing the top position in both the general and job-focused rankings. However, JavaScript has seen a significant drop from third to sixth place, which may be influenced by the rise of AI tools in coding. The article emphasizes how traditional methods of gauging language popularity—using metrics from sources like Google searches and GitHub activity—are

From Rust to reality: The hidden journey of fetch_max

Published: 2025-09-23 | Origin: Hacker News

The author discusses their experience interviewing candidates for engineering roles, particularly focusing on concurrent programming skills. They recount how a candidate using Rust surprised them by utilizing a built-in atomic operation called `fetch_max`, which isn't available in Java or C++. Intrigued by this, the author delved into why Rust has this intrinsic operation, questioning its presence without a corresponding native hardware instruction on x86-64. They embarked on an investigation to uncover the compiler transformations that enable this functionality in Rust, aiming to understand

Qwen3-VL

Published: 2025-09-23 | Origin: Hacker News

Of course! Please provide the content you would like me to summarize.

The Ruby community doesn’t have a DHH problem

Published: 2025-09-23 | Origin: /r/ruby

The response addresses a blog post discussing issues within the Ruby community, particularly related to the figure DHH (David Heinemeier Hansson). It emphasizes the community's principle of MINASWAN ("Matz is nice and so we are nice") and outlines three key behaviors aligned with this notion: refraining from assuming bad faith, interpreting comments charitably, and embracing tolerance. The author suggests that adhering to these principles leads to a different interpretation of DHH's controversial blog post, "As I

Just Let Me Select Text

Published: 2025-09-23 | Origin: /r/programming

The author expresses feelings of loneliness and the challenges of using dating apps like Bumble, particularly in a multilingual context. They encounter a German girl whose profile is written in German, which they cannot understand due to their language learning stagnation. The inability to select and copy text from Bumble discourages them from engaging with her profile, leading them to swipe left despite finding her attractive. They critique the design choices that render text non-selectable, arguing that such choices limit functionality, accessibility, and the fundamental nature of

Rails pluralize Just Got 4x Faster

Published: 2025-09-23 | Origin: /r/ruby

The Rails pluralize helper has been optimized for speed, achieving performance improvements of up to four times for uncountable words. This update, included in PR #55485, addresses inefficiencies in the ActiveSupport Inflector through regex caching and structural revisions. Previously, the pluralization process involved redundant checks across multiple regex patterns, leading to slower performance. The new implementation creates a single cached regex pattern using `Regexp.union()`, eliminates unnecessary inheritance from Array in the Uncountables class, and employs a

Targetting specific characters with CSS rules

Published: 2025-09-23 | Origin: /r/programming

The content discusses the limitations of CSS in applying styles to specific characters, specifically addressing the claim that you can't style every letter "E." It introduces a "secret" method to target certain characters using CSS by creating a custom font-family called "Different," which applies to specific Unicode characters like vowels. The body of the document describes how to set this up, allowing all lower-case vowels to use one font while other characters use a default font. While the initial example of styling certain characters is considered bland,

Fifty Years of Open Source Software Supply-Chain Security

Published: 2025-09-23 | Origin: /r/programming

Membership in ACM includes a subscription to Communications of the ACM (CACM), a crucial resource for staying updated on advanced computing. A historical overview highlights that software reuse, once a distant ambition, is now a reality. In 1972, the U.S. Air Force began evaluating the Honeywell Multics system for secure environments and concluded it was better than its competitors, despite not being secure. The assessment raised concerns about potential "trap doors" that could allow unauthorized access to kernel memory. Fast

Find SF parking cops

Published: 2025-09-23 | Origin: Hacker News

Failed to fetch content - HTTP Status - 403

Postgres’ Original Project Goals: The Creators Totally Nailed It

Published: 2025-09-23 | Origin: /r/programming

In her article, Elizabeth Christensen reflects on the original 1986 academic paper that introduced PostgreSQL as a platform, expressing admiration for the foresight of its creators. She highlights that the initial design goals established a foundation for PostgreSQL, which has grown to become a widely adopted database solution over the years. The paper outlines six key project goals: 1. Better support for complex objects suited for diverse business and engineering needs. 2. User extendibility for data types, operators, and access methods.

The YAML Document from Hell

Published: 2025-09-23 | Origin: /r/programming

Ruud van Asseldonk's blog post from January 11, 2023, critiques the YAML data format, arguing that its complexity undermines its goal of being user-friendly. He contrasts YAML with JSON, highlighting JSON's simplicity, which he attributes to its straightforward specification compared to YAML's intricate structure and extensive documentation. Van Asseldonk points out that while JSON has remained stable for nearly two decades, with only minor changes, YAML has undergone multiple revisions, leading to inconsistencies in parsing documents

Shopify, pulling strings at Ruby Central, forces Bundler and RubyGems takeover

Published: 2025-09-23 | Origin: /r/ruby

Ruby Central recently took control of several open-source projects, including RubyGems, without the consent of the maintainers. This takeover was first reported by Ellen on September 19. On September 9, HSBT (Hiroshi Shibata), a Ruby core member and maintainer, renamed the RubyGems GitHub to “Ruby Central,” added Marty Haught as an owner, and downgraded other maintainers' permissions. When questioned about these changes, HSBT stated he needed

Getting AI to work in complex codebases

Published: 2025-09-23 | Origin: Hacker News

The feedback received is thoroughly reviewed and considered important. Users can refer to the documentation for a complete list of available qualifiers. An error occurred while loading the page, and it suggests reloading.

Libghostty is coming

Published: 2025-09-23 | Origin: Hacker News

The author discusses the development of libghostty, an embeddable library aimed at enabling applications to integrate a modern, fast terminal emulator. The first component, libghostty-vt, is a zero-dependency library that provides an API for parsing terminal sequences and managing terminal state, derived from the successful core of Ghostty. While the Zig API is currently available for testing, the C API will be released soon, but both are in early testing and not yet ready for widespread use. The need