News Nug
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

Run an LLM model from the command line with Ruby

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

The content emphasizes that user feedback is appreciated and taken seriously. It provides guidance to refer to the documentation for available qualifiers and mentions the use of the Gemma3 model through Ollama in a Ruby script for chat functionality. The message invites users to report issues or contribute to the project, while also noting that there was an error loading the page, suggesting a reload.

Your Images Are (Probably) Oversized

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

The content discusses the importance of properly setting the sizes attribute on <img/> tags or the NextJS <Image/> component, particularly for images used in landing pages. It emphasizes that not setting the sizes attribute can lead to serving unnecessarily large images, wasting bandwidth and resources, especially since many users won't benefit from high-resolution images on smaller screens. The article illustrates this issue by using an example of a hero image on a landing page, where an image is optimized for a large screen but may not be suitable

A Tour of eBPF in the Linux Kernel: Observability, Security and Networking

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

eBPF (Extended Berkeley Packet Filter) is a powerful tool designed for building systems and operating clusters, addressing limitations of traditional methods like agents, iptables, and kernel modules. It allows for the execution of small verified programs within the Linux kernel, enhancing observability, security, and networking without the risks associated with custom kernel modules. Originally developed from the Berkeley Packet Filter for packet filtering, modern eBPF lets users write functions in a restricted form of C or Rust, which are then compiled

SQL Is for Data, Not for Logic

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

The debate over whether to implement logic in databases (using views, procedures, and functions) or in application code continues, though there's a trend towards keeping logic within the application. The author prefers treating the database as a simple data store, arguing that SQL is not well-suited for rich business logic due to its limitations, such as difficulty in handling object-oriented concepts and less expressiveness compared to mainstream programming languages. While modern CI/CD systems simplify application deployments, database deployments often have stricter requirements. There

Scaling through crisis: how infrastructure handled 1B messages in a single day

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

At the Shift Conference in Zadar, Infobip Senior Software Engineer Josip Antoliš shared the company's journey of growth and resilience, highlighting how a decade of challenges reshaped their technology infrastructure. His presentation, titled “10 Billion Messages in a Day, How We Built the Infrastructure That Delivers,” took a narrative approach, illustrating pivotal moments of failure that led to stronger systems rather than merely listing technical details. Antoliš emphasized that Infobip's evolution involved turning crises into opportunities, developing

The Forklift Certified License

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

The author expresses a contrarian view on computer science practices, specifically mentioning their choice to create a personalized software license, which is humorously likened to the commonly advised practice of developing one's own cryptography. Currently, this license is applied to their project Synth Printer, which has recently migrated from GitHub to a smaller platform called git.gay. The author critiques the phenomenon of supply chain attacks within software management, illustrating this with a fictional conversation about a neglected JavaScript library, YALP, that

Redox in your pocket -Redox OS on Pixel 3 (native, using u-boot)

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

The author shares their experience at RustConf 2025 in Seattle, where they engaged with Jeremy Soller from Redox and System76, discussing EFI and bootloaders. They explored the possibility of running Redox OS on their smartphone, similar to their work with PostmarketOS Linux, and confirmed it was indeed feasible. The blog post aims to document the process for developers to replicate and enhance. It emphasizes the importance of U-Boot for booting, mentioning resources like the PostmarketOS wiki

PHP Almost Generics: Guided Journey Through the Official Compile-Time Proposal

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

For over a decade, PHP developers have debated the inclusion of generics in the language, a feature that enhances code reusability and type safety in languages like Java and C#. In 2025, a significant development occurred with the introduction of a compile-time generics proposal (RFC) that promises to integrate generics into PHP without sacrificing performance or backward compatibility. In response to this, the author explored the topic extensively, culminating in a blog series and a book. The blog series consists of

Delete FROM users WHERE location = 'Iran';

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

The author, an Iranian software engineer, shares humorous and frustrating experiences related to being from Iran while navigating online platforms. They recount how they developed and published an open-source project called EyesGuard on the Microsoft Store, only to have it removed along with their developer account, likely due to sanctions. Despite attempts to seek support, they received no explanations. Similarly, Notion deleted all user data for those in Iran, citing sanctions, and would not restore it even if the user relocated. Currently, the author

Gamebooks and graph theory (2019)

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

The content discusses the concept of game books, which are read interactively, allowing readers to make choices that direct their reading path. The author reflects on analyzing the Lone Wolf series of game books, which has been digitized legally. They highlight how these books can be represented as directed graph networks, making it possible to apply network algorithms to extract insights. The analysis covers 28 books in the Lone Wolf series, revealing trends: from the third series onward, the narratives contain no cycles and the shortest

Nine Things I Learned in Ninety Years

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

The provided content appears to be a snippet of a PDF file encoded in the PDF format. It contains various objects, including metadata, streams, and cross-reference information which are part of a structured document outlined in a manner adhering to the PDF specification. The data consists of binary-encoded graphics and text elements within streams, but it is partially truncated and does not provide meaningful readable content or context. Therefore, no specific summary or analysis can be derived beyond the technical structure of the PDF content itself.

The Ruby community has a DHH problem

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

David Celis has published an article addressing concerns about DHH, the creator of Rails, whose recent remarks have raised alarm within the Ruby community. DHH’s blog post expresses discontent with London, asserting that it is now predominantly comprised of non-"native Brits," a term he uses to refer to White British individuals. He expresses admiration for Tommy Robinson, a controversial figure associated with far-right movements, and refers to rally participants as "normal, peaceful Brits" protesting a so-called “demographic nightmare

X server implementation for SIXEL-featured terminals (2010-2014)

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

The content emphasizes that all feedback is read and taken seriously. It mentions the availability of qualifiers in documentation and describes an X server implementation for SIXEL-featured terminals, based on @pelya's Xsdl kdrive server. Additionally, it notes that an error occurred while loading a page, prompting users to reload it.

Fall Foliage Map 2025

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

The content provides information on tracking fall foliage color across the United States, with a focus on the timing and intensity of autumn colors. It includes a color report that categorizes foliage from "Little to No Color" to "Past Peak Color," with an estimated peak timing listed for September 2, 2025, and ongoing updates based on numerous reports. The timing of fall foliage is influenced by two main factors: daylight and temperature, leading to earlier color changes in northern and higher-elevation trees

Imagining a Language without Booleans

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

The content discusses a hypothetical programming language that resembles Rust but features a different semantics for the `if` statement. In this language, an `if` statement without an `else` produces an `Option<T>` type, where the result is `Some` if the condition is true and `None` if false. This generalized `if` can be used with operations valid only when the condition is true or with functions like `filter_map`. The `else` component provides a default value for the `

Paper2Agent: Stanford Reimagining Research Papers as Interactive AI Agents

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

arXivLabs is a platform for collaborators to create and share new features on the arXiv website, emphasizing values such as openness, community, excellence, and user data privacy. Both individuals and organizations involved in arXivLabs must align with these principles. Interested in contributing a project to benefit the arXiv community can find more information about arXivLabs. Additionally, users can subscribe to status notifications through email or Slack for operational updates.