News Nug
'Source available' is not open source (and that's okay)

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

The recent dispute between David Heinemeier Hansson (DHH), creator of Ruby on Rails, and Matt Mullenweg, founder of WordPress, has reignited discussions on open source sustainability. DHH launched a kanban tool called Fizzy, labeled as open source, but critics highlighted that its O'Saasy license prevents the development of competing SaaS versions, which contradicts the Open Source Initiative's definition. DHH dismissed these concerns, while Mullenweg argued that ignoring the established

The end of the kernel Rust experiment

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

A discussion took place on December 10, 2025, involving several users commenting on a headline related to an experiment, which had been described as successful. One user joked that it seemed like clickbait, while another, an editor, expressed regret for the headline's unintended double meaning, clarifying that it wasn't his intention. The conversation references Phoronix, suggesting a playful competitiveness in framing headlines. Overall, the comments reveal a lighthearted exchange about communication in a professional context.

Post-transformer inference: 224× compression of Llama-70B with improved accuracy

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

This paper presents a novel method for removing transformers from inference processes while maintaining or enhancing downstream accuracy. It demonstrates that a 70-billion-parameter Llama-3.3-70B model can be substituted with a 256-dimensional meaning field derived from its internal activation layers. The method utilizes a lightweight compressor (AN1), achieving a 224× reduction in size and a +1.81 percentage point increase in accuracy across classification tasks, with a notable +3.25 pp improvement on low-resource

std::move doesn't move anything: A deep dive into Value Categories

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

The passage discusses a common issue in C++ programming related to move semantics and exception safety, particularly when using `std::vector`. It explains that if a type's move constructor is not marked with the `noexcept` keyword, the compiler opts to perform copying instead of moving during operations like vector reallocation, which can lead to performance inefficiencies. This precaution is taken to ensure the "strong exception guarantee," meaning that if an exception occurs during reallocation, the original vector remains intact. The text

When a small open-source tool suddenly blows up, the experience is nothing like people imagine

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

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

Django: what’s new in 6.0

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

Django 6.0 has been released, marking a new cycle for the popular Python web framework, which is now 20 years old. The release includes various new features, some of which the author contributed to. A tool called django-upgrade is available for users upgrading from Django 5.2 or earlier, which helps automatically update code and address deprecation warnings. The major highlight of this release is the introduction of "partials," defined by the new `{% partialdef %}` and `{

My favourite small hash table

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

The author discusses a specific hash table design known as Robin Hood open-addressing using linear probing and a power-of-two table size. The design integrates several properties for efficiency: each table slot can either be empty or hold a key/value pair stored as a 64-bit integer, where the low 32 bits represent the key and the high 32 bits represent the value. This allows for the use of the value 0 to denote an empty slot, eliminating the need for special values for tombstones.

How well do you really understand C++ type deduction?

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

The post discusses the use of the `auto` keyword in C++ for type deduction, presenting a series of coding examples for readers to determine the deduced types. Readers are encouraged to identify cases where the code might not compile, and the examples increase in complexity. Topics covered include basic assignments, handling of references and CV-qualifiers, advanced concepts like forwarding references and lambda expressions, and the challenges of type deduction with lambda captures and structured binding. The author provides resources for further exploration, invites readers

Australia begins enforcing world-first teen social media ban

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

Failed to fetch content - HTTP Status - 401

Solving the n+1 Problem in Postgres with psycopg and pydantic

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

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

If you're going to vibe code, why not do it in C?

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

Stephen Ramsay expresses his passion for programming and his disdain for "vibe coding," which he feels detracts from the joy and satisfaction of the coding process. He reflects on his two-decade teaching career, emphasizing his pride in transforming non-programmers into programmers. Ramsay likens programming to solving a complex crossword puzzle that brings joy when completed, but feels that vibe coding diminishes that experience, making him feel as though he hasn't truly accomplished anything. He acknowledges the challenges of understanding programming at a

PeerTube is recognized as a digital public good by Digital Public Goods Alliance

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

PeerTube is an open-source platform for hosting and sharing videos and live streams, developed by Framasoft and licensed under AGPL-3.0. It is available in various languages and has support from several institutions, including the French Ministry of National Education and various universities. The platform is evaluated annually for compliance with the DPG Standard, and recent evaluations show positive results. The last update on PeerTube's status as a DPG was documented on October 7, 2025, by reviewer

Using a piece tree to implement a lazy-loading text editor, and where this idea comes from originally

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

Fresh utilizes a piece tree, or piece table, for text storage, a concept developed in the early 1970s by J. Strother Moore and Bob Boyer in their "77-Editor." This method focuses on structure-sharing to optimize text editing without modifying original files, which was crucial for early systems with limited RAM. Charles Simonyi later adapted the idea at Xerox PARC for the Bravo editor and subsequently for Microsoft Word. In 2018, VS Code implemented piece tables to replace

Badge System Evolution: Building From Simple to Scalable (Part 1)

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

The content discusses the importance of gamification, particularly through badge systems, in enhancing user engagement across various platforms like learning, fitness, and productivity applications. The series starts with the basics of implementing a simple badge system focused on recording accomplishments without unnecessary complexity. Initially, badges can be hardcoded into business logic, making implementation straightforward for early-stage products. However, as applications grow, this approach reveals limitations, leading to the need for progress tracking and dynamic badge management. The first major improvement involves supporting badges that

Handsdown one of the coolest 3D websites

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

Bruno Simon, a creative developer specializing in web design, invites visitors to explore his portfolio in an interactive 3D environment. The server is currently offline, preventing score saving and the display of visitor messages, referred to as "whispers." Up to 30 messages can be left, but new ones replace old ones, and users can only submit one while adhering to a character limit and guidelines against inappropriate content. The portfolio utilizes Three.js, a library for 3D rendering, highlighting contributions from

How do you modernize a legacy tech stack without a complete rewrite?

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

The content discusses the Strangler Fig pattern, a method for incrementally migrating a legacy system to a new application by gradually replacing specific functionalities with new services. This approach allows the old system to be gradually suppressed and ultimately decommissioned, making the transition smoother for clients who can continue using the existing interface while the migration occurs. It addresses the challenges of maintaining two versions of an application and ensures minimal disruption by routing requests through a façade (proxy) that manages interactions between the new and old systems during modernization

Show HN: Gemini Pro 3 hallucinates the HN front page 10 years from now

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

Of course! Please provide the content you'd like summarized.

Ruby and the singleton pattern don't get along

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

In the article by Gregory Brown, the author discusses the challenges in implementing the Singleton design pattern in Ruby, noting that while many design patterns have elegant translations in Ruby, the Singleton pattern does not. The Singleton pattern is described as a means to create global objects that do not need explicit instantiation, typically used for single instances needed throughout an application, such as configuration data or logging systems. The author acknowledges that the Math module serves as an example of a singleton object in Ruby. Despite various methods available to

Mistral releases Devstral2 and Mistral Vibe CLI

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

Mistral AI has released Devstral 2, a next-generation open-source coding model available in two sizes: Devstral 2 (123B parameters) and Devstral Small 2 (24B parameters). Both models are designed to enhance distributed intelligence and are available under permissive licenses, with Devstral 2 under a modified MIT license and Devstral Small 2 under Apache 2.0. Devstral 2 offers state-of-the-art performance, scoring

2 years with Shape-Up, and why we switched back

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

After two years of using the Shape-Up software development methodology, Customaite decided to discontinue it due to its rigid structure not aligning with their evolving needs. Although they were attracted to Shape-Up's promise of longer focus periods and value-based prioritization to address ongoing project challenges, they ultimately found that projects often extended beyond planned sprints, leading to an accumulation of work-in-progress. Shape-Up, created by Basecamp, is characterized by 6-week development cycles followed by 2-week cooldown periods,