News Nug
We should revisit literate programming in the agent era

Published: 2026-03-08 | Origin: Hacker News

Literate programming is a concept that integrates code with prose, allowing readers to understand a codebase as a narrative. While intriguing, the practical application of literate programming can be cumbersome, as it requires maintaining both code and accompanying prose, which limits its adoption. Historically, it has found use in data science, particularly with Jupyter notebooks where explanations and results coexist. Emacs Org Mode also supports this through its org-babel package, but its complexity makes it a niche option for larger software

Open Sores - an essay on how programmers spent decades building a culture of open collaboration, and how they're being punished for it

Published: 2026-03-08 | Origin: /r/programming

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

Two mechanisms for dynamic type checks

Published: 2026-03-08 | Origin: /r/programming

The content discusses methods for performing dynamic instance type checks in virtual machines with single inheritance. It outlines two main strategies for checking if an object of type `t` is also of a more specific type `u`. The first method involves representing the types as a directed acyclic graph (DAG) with pre-order and post-order numbering derived from a depth-first search. When an object of type `t` is created, its pre-order number is stored as a tag, allowing for efficient type checks at

Young Ruby/Puma based framework with internal cli assistant.

Published: 2026-03-08 | Origin: /r/ruby

ru.Bee is a Ruby-based web framework designed to enhance the development of modular monolith web applications. It uses Ruby and Rack, supported by Puma, to provide a clean and efficient architecture, making it ideal for developers who need a balance between simplicity and modular flexibility. With the release of version 2.0.0, ru.Bee now supports WebSocket for easy real-time application development. It enables quick API server setups, operates efficiently on low-power hardware, and has a minimal footprint.

My Homelab Setup

Published: 2026-03-08 | Origin: Hacker News

The author repurposed an old gaming PC to create a home server for data storage, backups, and self-hosted applications. Previously, the author relied on manually copying Fujifilm RAW files to external SSDs, which was cumbersome, and lacked an effective off-site backup strategy. After noticing rising hard drive prices, they purchased new hard drives and set up a homelab. Using the old gaming PC, which features previously installed components, the author installed TrueNAS Community Edition, a Linux

How Injection Keeps Breaking Real Systems

Published: 2026-03-08 | Origin: /r/programming

In February 2021, Gab, a social network, suffered a data breach where a hacker stole 70 GB of user data, including posts, messages, and passwords. The breach was caused by a SQL injection vulnerability introduced by Gab's CTO, which allowed the attacker to exploit the system's code. A follow-up attack occurred shortly after, using stolen OAuth2 tokens from the initial breach. This incident highlights the broader security issue of input handling in internet-connected systems. Every input entering a system—from

FrameBook

Published: 2026-03-08 | Origin: Hacker News

The author expresses a fondness for the first-generation MacBook from 2006, particularly for its black design, which was rare at the time. Inspired by retrofitting projects of old Macs and PCs, the author embarked on a project to upgrade an A1181 model MacBook. After purchasing several non-functional units and researching motherboards and display panels, the author disassembled the MacBooks down to their chassis, aiming to use them for testing before working with original equipment manufacturer (OEM) parts

State of WASI support for CPython: March 2026

Published: 2026-03-08 | Origin: /r/programming

The author updates on the progress of WASI support in CPython, mentioning enhancements for development ease, such as a WASI dev container in the cpython-devcontainer repository, which allows developers to work on WASI without installing the WASI SDK. This effort resulted in the inclusion of WASI instructions in the dev guide and a new CLI app, promoting broader use of containers for CPython development. The main highlight of the post is the acceptance of PEP 816, which outlines how WASI

NestJS is a bad Typescript framework

Published: 2026-03-08 | Origin: /r/programming

In this post, the author argues that NestJS, despite its popularity and robust features as a TypeScript backend framework, is not truly type-safe due to its reliance on classes and decorators, which are problematic in TypeScript. The author acknowledges the efforts of NestJS and class-validator maintainers but highlights that the framework's default setup leads to issues with data validation. Specifically, decorators in TypeScript lack typing, which allows for incorrect code to pass without warnings. This fundamental limitation prevents effective type safety within

Quantum simulates properties of the first-ever half-Möbius molecule, designed by IBM and researchers

Published: 2026-03-08 | Origin: /r/programming

Researchers from universities and IBM collaborated to create a groundbreaking molecule featuring a half-Möbius electronic topology, which had not been previously theorized. The study, published in Science, involved constructing the molecule atom-by-atom using advanced quantum-centric supercomputing that integrates quantum and classical systems. This achievement reflects the ideas of physicist Richard Feynman about engineering matter on an atomic scale and the necessity of quantum mechanics for simulating nature effectively. Typically, molecules have a "topologically trivial" ring

LLM-driven large code rewrites with relicensing are the latest AI concern

Published: 2026-03-08 | Origin: /r/programming

Michael Larabel founded Phoronix.com in 2004 to enhance the Linux hardware experience. As the principal author, he has written over 20,000 articles on Linux hardware support, performance, and graphics drivers. He also leads the development of the Phoronix Test Suite and related benchmarking software. Phoronix Premium offers an ad-free experience and additional features while supporting site operations. Users can contribute through subscriptions or donations. The site's mission has focused on enriching the Linux hardware experience since its inception

Capt. Grace Hopper on Future Possibilities: Data, Hardware, Software, and People (1982)

Published: 2026-03-08 | Origin: /r/programming

On August 26, 2024, the National Security Agency (NSA) made a digital copy of a videotaped lecture by Rear Adm. Grace Hopper available. The lecture, titled "Future Possibilities: Data, Hardware, Software, and People," was originally given to the NSA workforce on August 19, 1982. It discusses key technological principles, leadership insights, and experiences in overcoming challenges in computer science and mathematics. Hopper's legacy continues to inspire women in STEM within the intelligence community

How I built an Arduino AVR8 emulator that runs in the browser

Published: 2026-03-08 | Origin: /r/programming

The content describes a platform that allows users to write, compile, and simulate Arduino code with real AVR8 CPU emulation and over 48 interactive electronic components, all within their browser without the need for cloud services, latency issues, or account creation. Users can access the editor without any installation, and those wanting to self-host can do so using Docker with a provided command.

Some Words on Wigglypaint

Published: 2026-03-08 | Origin: /r/programming

In December 2023, the creator launched WigglyPaint, a drawing program on Itch.io that features animated drawing tools for a live Line Boil effect. The program uses three image buffers with different randomization techniques to enhance the drawing experience, displaying them at approximately 12 frames per second for a familiar animation feel. WigglyPaint differentiates itself from other programs like Shake Art Deluxe by offering a more streamlined user experience with a limited color palette and fewer options, focusing on distinct tool

PCB devboard the size of a USB-C plug

Published: 2026-03-08 | Origin: Hacker News

The content discusses the AngstromIO, a compact development board based on the Attiny1616 MCU, which features 2 GPIOs and I2C lines. It includes a dual CH340 programming board for UPDI programming and debugging via serial communication. Additionally, a breadboard-friendly experimentation board for the CH32V003 chip is mentioned, which incorporates a 4x5 charlieplexed LED matrix. The AngstromIO is designed for space-constrained projects, while the CH32 board

BlockLike: Bridging the gap between block programming and JavaScript.

Published: 2026-03-08 | Origin: /r/programming

BlockLike.js is an educational JavaScript library that facilitates the transition from block-based to text-based programming, drawing inspiration from Scratch's concepts. Its design features a centered stage for interaction with Sprites, and code execution is paced to mirror Scratch's block code closely. Written in ES6/ES7, BlockLike.js is environment-independent and usable in any modern JavaScript context. To get started, users can utilize platforms like CodePen or replit, or set up a local environment with an index

I ported Daniel Lemire's fast_float to c99

Published: 2026-03-08 | Origin: /r/programming

The content discusses a C99 single-header port of Daniel Lemire's fast_float library, emphasizing the importance of user feedback. It provides details on parsing functions for converting strings to various numeric types (double, float, signed and unsigned 64-bit integers), with information on the expected usage of simple vs. non-simple variants of these functions. It also mentions how to build and test the library using a Makefile and CMake, including steps for fetching supplemental test data. Overall, it serves as a

MonoGame: A .NET framework for making cross-platform games

Published: 2026-03-08 | Origin: Hacker News

MonoGame is an open-source .NET framework designed for creating cross-platform games using C#. It supports a variety of platforms, including desktop PCs, consoles, and mobile devices, and has been used to develop popular games like Streets of Rage 4 and Stardew Valley. The framework serves as a re-implementation of Microsoft's discontinued XNA Framework. Key features include: - Ongoing support for various platforms and a request system for adding new ones. - Preview support for Vulkan and DirectX12 graphics in

"Warn about PyPy being unmaintained"

Published: 2026-03-08 | Origin: Hacker News

The feedback process is taken seriously, and users are encouraged to refer to the documentation for qualifiers. Concerns were raised that PyPy may no longer be actively developed, with indications of its phased-out support in numpy. A warning was added to inform users about this potential deprecation. There were issues reported regarding the website's functionality, including repeated error messages and concerns about duplicated notes. Suggestions were made to streamline the information and reduce redundancy, leading to a decision to maintain a single note in the managed

Cloud VM benchmarks 2026

Published: 2026-03-08 | Origin: Hacker News

Dimitrios Kechagias published an extensive comparison of cloud compute VM instances on February 27, 2026, highlighting significant changes in benchmarking from the previous year. Testing began in October 2025 and included 44 VM families across various regions to assess performance variations. The focus of the comparison is on generic CPU performance, evaluating cost-effectiveness in terms of performance per dollar spent, specifically on 2vCPU configurations. Unlike before, burstable instances were excluded to concentrate on more stable