News Nug
Hanami and loading code, faster

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

The article discusses the author's upcoming talk at the SF Ruby Conference, focusing on improving application development speed by minimizing code loading in Ruby. The author explores Hanami, a web framework, to understand its approach to code loading. In Ruby, constants are globally accessible singletons, meaning every time a constant is defined, Ruby loads and evaluates related code, which contributes to slow application boot times. The key to enhancing development speed is to reduce the amount of code loaded upfront. By deferring the loading of

Rubygems.org AWS Root Access Event – September 2025

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

Ruby Central has published a post-incident review regarding a security event involving AWS root access that occurred in September 2025. The incident was initially highlighted in a blog post on September 30th, raising concerns that a former maintainer still had access to the RubyGems.org production environment despite the revocation of administrative access for several accounts. The review outlines the investigation's findings, emphasizing that while there was no evidence of harm to user data or operations, the presence of unrevoked credentials and

The Write Stuff: Concurrent Write Transactions in SQLite

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

The article discusses SQLite's main limitation regarding write concurrency, highlighting that it allows for unlimited readers but only a single writer at any given moment due to its Write-Ahead-Log (WAL) journaling mode. This results in serialized write operations, which can lead to delays during the fsync operation essential for data durability. In contrast, database engines with server components can manage concurrent writes more efficiently by batching them together. The author also mentions that they are developing a new concurrency model aimed at improving

A small number of samples can poison LLMs of any size

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

A joint study by the UK AI Security Institute and the Alan Turing Institute found that only 250 malicious documents can create a "backdoor" vulnerability in large language models, regardless of the model's size or the volume of training data. This challenges the assumption that attackers need a significant percentage of training data to execute data-poisoning attacks, suggesting instead that a small, fixed amount can suffice. The study specifically focused on a narrow type of backdoor that produces gibberish, considered low-risk

Interviewing Intel's Chief Architect of x86 Cores

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

In a recent discussion at the Intel Tech Tour 2025 in Phoenix, Arizona, Stephen Robinson, the Lead Architect for x86 Cores at Intel, shared insights on the company's upcoming Panther Lake and Clearwater Forest CPUs. In the conversation, he highlighted the significant developments from the previous Crestmont architecture to the new Skymont architecture. Key improvements include enhancing the out-of-order execution depth by approximately 50%, increasing load ports from two to three, and doubling vector hardware from two FMAs to four

Show HN: I've built a tiny hand-held keyboard

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

The content discusses the process of creating a one-handed chorded keyboard (referred to as a keyer) and emphasizes the importance of user feedback. It mentions a troubleshooting note about errors loading the page and points out resources such as documentation for qualifiers. The keyer project involves building a structural framework using copper wire to hold key switches, contrasting traditional devices that use external casings. Detailed initial steps for constructing the keyer include forming a metal scaffolding, creating a ground loop with wire, and solder

Copper-Engine: a new 3D game engine made to empower indie Devs around the world

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

Copper-Engine is an open-source 3D game engine developed by Kris Hass, focusing on solid performance and user satisfaction. Its current capabilities include creating simple games through a C# scripting engine, a robust 3D renderer, and an entity component system (ECS), all supported by a professional-level editor, Copper-Editor. The first public release, version 0.3 (codename Themélio), outlines the engine's state, future plans, and community-building efforts. Key features

Rainer Grimm (of modernescpp fame) has passed away

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

Rainer passed away on October 6, 2025, due to pneumonia, choosing to forgo life-sustaining measures. Despite his battle with ALS, he remained energetic and dedicated to his goals: sharing his C++ expertise through his blog and mentoring program, and raising awareness and funds for ALS research. He recently participated in a charity run that raised over €6,000 for ALS, and he actively supported donations through his books. Rainer’s initiative, Cippi, continues to attend

Why we need SIMD

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

Daniel Lemire’s blog post discusses the necessity of SIMD (Single Instruction, Multiple Data) instructions, providing a brief history of CPU architecture and SIMD's development in the x86 platform. The term SIMD was introduced in 1966 as part of Flynn's Taxonomy, which categorizes computer architectures. Early discussions on parallelism stemmed from Gene Amdahl's 1968 letter, which highlighted the limitations on overall program speedup due to non-parallelizable serial parts, encapsulated in “

C++26: range support for std::optional

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

The author discusses insights gained from Steve Downey's talk at CppCon 2025 about the new range API for `std::optional`, specifically `std::optional<T&>`. Initially skeptical, the author explores the unexpected utility of iterating over an `optional`, which allows for loops that execute either zero or one time. They compare this to traditional pointer semantics but highlight the range-based approach's benefits, particularly in simplifying code by avoiding manual null checks. The author cites an example from proposal

GitHub Will Prioritize Migrating to Azure Over Feature Development

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

The content welcomes subscribers to TNS (The New Stack) and informs them that they will receive daily news updates. Subscribers are encouraged to check their inbox for a confirmation email to adjust preferences and follow TNS on social media, including LinkedIn. In a separate news piece, it discusses Microsoft's increasing integration of GitHub into its organizational structure following CEO Thomas Dohmke's departure. GitHub plans to migrate its infrastructure to Azure, prioritizing this transition over new feature development due to capacity constraints in

Dear Rubyists: Shopify Isn’t Your Enemy

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

The author plans to write a post about Open Source and corporate entities, focusing on Shopify's positive engagement with Open Source communities, particularly in the Ruby ecosystem. Despite experiencing writer's block and skepticism surrounding corporate involvement in Open Source, the author believes Shopify deserves recognition for its substantial contributions. They acknowledge that their perspective may be influenced by their past employment at Shopify from 2013 to 2025, which ended due to continual disagreements with the CEO. This personal history is significant to the author's insights on Shopify

MicroPythonOS – An Android-like OS for microcontrollers

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

MicroPythonOS is a lightweight and efficient operating system tailored for microcontrollers, such as the ESP32, as well as desktop systems. It features a modern Android-like touchscreen interface, an App Store, and Over-The-Air updates, making it ideal for innovators and developers.

How to use local Docker registry in Kamal

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

The article discusses the advantages of using a local Docker registry to store and manage Docker images, instead of relying on DockerHub. Key benefits include cost savings, improved speed for image handling, enhanced security by minimizing exposure to the public internet, and reduced setup complexity when using Kamal for deployment. However, a significant drawback is that the local registry is limited to the specific Kamal installation and cannot be easily shared with coworkers. This feature requires using Kamal's main branch and Docker version 28.3

QUIC and the End of TCP Sockets: How User-Space Transport Rewrites Flow Control

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

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

Ruby 3.4 Adds Array#fetch_values for Safe Multi-Index Access

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

Ruby 3.4 introduces a new method called `Array#fetch_values`, which allows users to safely retrieve multiple elements from an array with support for default values. Previously, accessing multiple indices required handling potential nil values or multiple fetch calls, which became unwieldy, especially when different default values were needed for different indices. `Array#fetch_values` simplifies this process by allowing users to fetch multiple elements in one call while maintaining safety. It also supports dynamic default values through a block form, making

Starlink is burning up one or two satellites a day in Earth's atmosphere

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

Failed to fetch content - HTTP Status - 403

California enacts law enabling people to universally opt out of data sharing

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

California Governor Gavin Newsom recently signed a bill mandating that web browsers simplify the process for Californians to opt-out of third-party data sales. While the California Consumer Privacy Act (2018) allowed residents to send opt-out signals, it did not require browsers to make the process user-friendly. The new law, which passed the legislature on September 11, provides an easy-to-find mechanism for opting out with a single action. This legislation is the first of its kind in the U.S.,

Designing a Low Latency 10G Ethernet Core (2023)

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

On May 1, 2023, the author launched a blog series detailing their personal project to develop a low latency 10G Ethernet core for FPGA. The goal is to enhance their expertise in low latency FPGA design and high-speed Ethernet while exploring various tools and techniques. The design achieves a loopback latency of under 60 nanoseconds, comparable to commercial products. The series will focus on unique aspects of the design rather than standard practices. The author suggests resources for readers unfamiliar with Layer 1

In-Party Love, Out-Party Hate, and Affective Polarization in Twelve Democracies

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

Failed to fetch content - HTTP Status - 403