| News Nug |
|---|
|
Rails 8.2 lets retry_on read the error when calculating wait time Published: 2026-04-05 | Origin: /r/ruby Rails 8.2 introduces an enhancement to Active Job's retry_on functionality by allowing the wait: proc to accept a second argument: the exception. Previously, this proc only received the execution count, which meant that responses from remote APIs, like a Retry-After header, could not be utilized effectively. This led teams to create cumbersome workarounds to handle retry delays. With the new change, when a job is retried, the proc can now access both the execution count and the exception. |
|
FRACTRAN: A Simple Universal Programming Language for Arithmetic Published: 2026-04-05 | Origin: /r/programming The content promotes a subscription service for coding implementations of academic papers, focusing on the 1987 paper "FRACTRAN: A Simple Universal Programming Language for Arithmetic" by John Conway. Fractran is introduced as a unique computing architecture where logic operates through the multiplication of fractions instead of traditional Turing machine methods. It utilizes prime numbers for input and output, allowing for computations that can be expressed through arithmetic operations. A Fractran program consists of a finite list of fractions and three basic instructions |
|
Docker Images and Their Layers Explained Published: 2026-04-05 | Origin: /r/programming The article explains Docker's image layer model, which enhances build speed and disk space efficiency. A Docker image is made up of multiple read-only layers created by instructions in a Dockerfile, such as ADD, COPY, and RUN, each representing modifications to the filesystem. These images are stored as JSON objects containing metadata and an ordered list of layers, identifiable by unique digests known as Content Addressable IDs introduced in Docker 1.10. This model allows multiple images to reference the same layer, optimizing |
|
What if the browser built the UI for you? Published: 2026-04-05 | Origin: Hacker News The article discusses the current state of frontend development, highlighting the advancements in AI and LLMs that can generate user interfaces. Despite these advancements, many SaaS products still rely on individually crafted React applications, leading to redundant efforts across the industry. The author proposes a novel approach: what if the browser could autonomously generate the UI? This concept builds on existing ideas like server-driven UI and Google's Natively Adaptive Interfaces, but notes that these solutions still centralize control with the service rather than allowing for |
|
My experience with SurrealDB starting with v0.3 in February 2023, all the way up to v3 in 2026 Published: 2026-04-05 | Origin: /r/programming The author shares their experience migrating from MongoDB to SurrealDB for their personal blog and open-source forum platform over the past year. They began using SurrealDB in February 2023, prior to the full release of version 1, and later upgraded to version 3, mainly due to the introduction of embedded Node.js runtime support, which simplifies setup and portability. The author highlights their initial appeal to SurrealDB, contrasting it with their previous unfavorable experience with relational databases during university and the |
|
Introduction to Computer Music (2009) [pdf] Published: 2026-04-05 | Origin: Hacker News The content provided appears to be a fragment of a PDF file encoded in a binary format, which includes object definitions, streams, and encoded image data. It includes metadata such as the PDF version (1.5) and various object attributes like image dimensions and color space. Due to its binary encoding, the content cannot be summarized in a meaningful way, as it lacks context or readable textual information. |
|
Why the heck are we still using Markdown?? Published: 2026-04-05 | Origin: /r/programming The author expresses a mix of joy and frustration regarding markdown, particularly CommonMark, which they appreciate for its clarity and simplicity in typesetting documents. They highlight the common misconception that HTML is a programming language, contrasting it with the reality that HTML is merely a markup language. The author critiques markdown's design, noting that while it is intended to be minimal and easy to use, its unclear specifications lead to confusion and feature creep. They emphasize that markdown's flexibility can hinder users, creating unexpected outcomes and inconsist |
|
Good APIs Age Slowly Published: 2026-04-05 | Origin: /r/programming The author reflects on the complexities of API design, suggesting that visually appealing APIs can lead to significant maintenance issues over time. They argue that a robust API is one that endures changes in usage, requirements, and implementation, rather than one that simply appears clean during initial reviews. The initial simplicity and satisfaction from the API can mask potential problems that arise when it's used in various real-world scenarios by different teams. As dependencies form unexpectedly, challenges emerge, highlighting that the core issue with APIs often lies in defining |
|
AWS engineer reports PostgreSQL perf halved by Linux 7.0, fix may not be easy Published: 2026-04-05 | Origin: Hacker News Michael Larabel is the founder and principal author of Phoronix.com, established in 2004, with a mission to enhance the Linux hardware experience. He has authored over 20,000 articles on various topics related to Linux hardware support, performance, and graphics drivers. Larabel is also the lead developer of several benchmarking tools including the Phoronix Test Suite. Phoronix Premium offers an ad-free experience and additional features to support the site's operations. Users can also contribute through donations. The |
|
German implementation of eIDAS will require an Apple/Google account to function Published: 2026-04-04 | Origin: Hacker News The Wallet Unit ensures authentication through multiple identification methods, including a Personal Identification Document (PID), linked via a public/private key pair. When a PID is issued, the Wallet Backend (WB) confirms to the Payment Processor (PP) that the keys linked to the PID are secured by an authentication method that meets specific security standards per ISO/IEC 18045. For high-assurance electronic identification, the authentication of wallet users must comply with the criteria established in EU regulation 2015/1502. |
|
Domain-Driven Design: Lean Aggregates Published: 2026-04-04 | Origin: /r/programming The article discusses a common antipattern in Domain-Driven Design (DDD) regarding the modeling of domain objects. It highlights the tendency to focus on the contents of domain objects (such as a Project's tasks and team members) rather than their behaviors, leading to bloated aggregates. As the system grows, this can cause significant issues, such as performance bottlenecks and an unwieldy "God class." The author advocates for maintaining lean aggregates, suggesting that entities only need to share data that must |
|
How many products does Microsoft have named 'Copilot'? Published: 2026-04-04 | Origin: Hacker News A few weeks ago, the author attempted to explain Microsoft Copilot but found the term's usage confusing, as it now applies to at least 75 different products, features, and tools. This includes apps, platforms, and even a category of laptops, all sharing the 'Copilot' name. The author sought to compile a comprehensive list but found no single source that encompassed everything, not even Microsoft's own documentation. They created a visualization categorizing these various uses of 'Copilot' and encouraging |
|
LLM Wiki – example of an "idea file" Published: 2026-04-04 | Origin: Hacker News The content discusses a novel approach to building personal knowledge bases using Large Language Models (LLMs). Traditional methods rely on retrieval-augmented generation (RAG), where LLMs access and piece together information from uploaded documents every time a query is made, leading to a lack of accumulated knowledge. In contrast, the proposed method involves creating a persistent wiki—a structured, interlinked collection of markdown files that the LLM continuously updates. When new sources are added, the LLM not only indexes them but |
|
Show HN: A game where you build a GPU Published: 2026-04-04 | Origin: Hacker News Of course! Please provide the content you'd like me to summarize. |
|
ruby-dag - a small lib to build DAG-based workflows Published: 2026-04-04 | Origin: /r/ruby Failed to fetch content - HTTP Error - Failed to open TCP connection to :80 (Connection refused - connect(2) for nil port 80) |
|
LÖVE: 2D Game Framework for Lua Published: 2026-04-04 | Origin: Hacker News LÖVE is an open-source framework designed for creating 2D games in Lua, supported on multiple platforms including Windows, macOS, Linux, Android, and iOS. Feedback from users is valued and taken seriously. Development occurs on the 'main' branch, which is not stable, while branches for released versions contain fixes for upcoming patches. Releases are tagged, with binary downloads available on GitHub, and experimental changes can be found in a separate repository. Unstable/nightly builds are also |
|
Examples are the best documentation Published: 2026-04-04 | Origin: /r/programming The author expresses frustration with technical documentation, finding that it rarely includes simple examples that would be sufficient for understanding. They note that formal documentation often caters to users who have extensive knowledge of the ecosystem, which can be challenging for developers who frequently switch between different projects, languages, and frameworks. An example from the Python 3 documentation illustrates this point, as the details provided require significant prior knowledge. The author highlights clojuredocs.org as a valuable resource in the Clojure community that features community-con |
|
Your Code is Worthless Published: 2026-04-04 | Origin: /r/programming The individual is a Principal Software Engineer with a strong passion for technology and automation, showing a keen interest in understanding how systems operate. |
|
Gold overtakes U.S. Treasuries as the largest foreign reserve asset Published: 2026-04-04 | Origin: Hacker News In 2026, gold has surpassed U.S. Treasuries to become the world's largest foreign reserve asset, with central banks holding nearly $4 trillion worth. This shift, driven by record gold purchases and a price surge above $4,500 per ounce in 2025, has resulted in official gold reserves reaching approximately 36,000 metric tons. Consequently, the value of gold now exceeds that of foreign-held U.S. Treasuries. |
|
Delve removed from Y Combinator Published: 2026-04-04 | Origin: Hacker News Failed to fetch content - HTTP Status - 404 |