News Nug
Graphics programming like it’s 2000 – An esoteric introduction to PlayStation 2 graphics – Part 1

Published: 2025-04-11 | Origin: /r/programming

Maister's Graphics Adventures focuses on low-level graphics programming, exploring interesting topics in engine development. The author reflects on the complexities of graphics programming in 2025 by reminiscing about the year 2000, anticipating the launch of a successful game console. They introduce a hypothetical development environment where programmers create a "Hello Triangle" program, which involves interfacing directly with hardware registers rather than using high-level APIs. The process involves preparing data packets that the graphics chip can interpret, utilizing commands like GIF

Linus Torvalds built Git in 10 days - and never imagined it would last 20 years

Published: 2025-04-11 | Origin: /r/programming

Many programmers today are accustomed to using Git and platforms like GitHub and GitLab, thanks to Linus Torvalds' initiative to create a superior version control system (VCS). Prior to Git, the programming landscape featured primitive source control systems such as RCS, CVS, and SVN, which were often cumbersome. In 2000, Torvalds experimented with BitKeeper, a proprietary VCS that helped streamline Linux's code management but became problematic due to changing licensing terms that prioritized the company's

Allow ActualDbSchema gem working on projects without git

Published: 2025-04-11 | Origin: /r/ruby

Failed to fetch content - HTTP Error - Failed to open TCP connection to :80 (Connection refused - connect(2) for nil port 80)

Tauri vs. Electron Benchmark: ~58% Less Memory, ~96% Smaller Bundle – Our Findings and Why We Chose Tauri

Published: 2025-04-11 | Origin: /r/programming

The content discusses the choice between Tauri and Electron for building cross-platform applications, specifically in the context of Hopp's remote control app aimed at enhancing low-latency remote pair programming. The author emphasizes that selecting the right framework is crucial for delivering the best user experience and notes that both Tauri and Electron have significant architectural differences that influence development and performance. The post clarifies that while Tauri is often described as a "lighter Electron" or requiring Rust knowledge, these points don't encompass the

OpenSSH 10 relies on standards for quantum-safe key exchange

Published: 2025-04-11 | Origin: /r/programming

The recently released version 10 of OpenSSH eliminates the outdated DSA signature algorithm and adopts new, post-quantum standards. The DSA algorithm has been deprecated since 2015, and now it is entirely removed from the codebase. OpenSSH also discontinues the use of "classic" Diffie-Hellman key exchange, opting instead for ellipsis-based and quantum-safe key exchange algorithms. The new standard for key exchange is MLKEM-768, which is faster and N

Oracle: Preparing for Post Quantum Cryptography

Published: 2025-04-11 | Origin: /r/programming

Failed to fetch content - HTTP Status - 403

Default styles for h1 elements are changing

Published: 2025-04-11 | Origin: Hacker News

The content serves as a web technology reference for developers, covering essential topics such as structuring web content with HTML, styling with CSS, scripting, building web applications, developing browser extensions, and ensuring accessibility. It emphasizes the need for developers to stay updated with changes in default user agent (UA) styles for nested section headings, as recent browser updates could lead to unexpected results. The HTML specification's outline algorithm assigns implicit semantic heading levels based on the nesting of sectioning elements, which has caused confusion among

A port of Mbed-TLS for the Classic Macintosh OS 7/8/9

Published: 2025-04-11 | Origin: Hacker News

The content discusses a port of Mbed-TLS for Classic Macintosh OS 7/8/9, designed to compile under Metrowerks Codewarrior Pro 4. The port allows for HTTPS functionality, which is essential for a project aimed at creating a vintage Instagram clone for digital cameras. This basic app can perform GET requests and display results, including debug information. The project files are available in a compressed Archive.sit file, which includes everything needed for compilation, although not the entire Polar

Nvidia on NixOS WSL – Ollama up 24/7 on your gaming PC

Published: 2025-04-11 | Origin: Hacker News

The author has been experimenting with running large language models (LLMs) in their homelab without the need for a dedicated GPU or slow CPU processing. They chose to run NixOS with WSL on their gaming PC for its long-term convenience, including automated updates and quick rebuilding of the OS if needed. After facing challenges during setup, the author found solutions, particularly for automating the startup of WSL. They used a GitHub post for guidance, which works for Ubuntu but required adjustments

Neutrinos' maximum possible mass shrinks further

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

The KATRIN experiment has significantly revised the upper limit for the mass of neutrinos, revealing that they have a mass of less than 0.45 electron volts, effectively halving the previous estimate. Neutrinos are exceptionally light, initially thought to be massless, which poses a major question in particle physics regarding their mass and why they are so light compared to other particles. Conducted in Karlsruhe, Germany, the KATRIN experiment measures the energy of electrons produced in tritium radioactive

Dial, a Rails application profiler

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

The content announces the launch of Dial, a Rails application profiler developed by Joshua Young. This tool, available on GitHub, aims to provide free, Datadog-like performance profiles, including accurate Garbage Value Load (GVL) and Garbage Collector (GC) activity insights. Dial is integrated with Vernier, a project by @jhawthorn.com. The announcement also highlights that this is a heavily interactive web application that requires JavaScript, moving beyond simple HTML interfaces. For more information about Bluesky

The Story Behind “100 Go Mistakes and How to Avoid Them”

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

The post introduces "Inner Brew," a new section for personal reflections, alongside the author's experience writing the book "100 Go Mistakes and How to Avoid Them," published in August 2022. The journey began in 2018 while the author was working in Switzerland, where they and a colleague explored Scala and Akka for a project. Struggling with the complexities of Scala and Akka, they later turned to Go, which proved easier and allowed them to achieve their goals rapidly. After moving to

PEP 750 – Template Strings has been accepted

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

This PEP introduces "template strings" (t-strings) as a new way of handling string processing in Python, expanding on the existing f-strings with a 't' prefix. Unlike f-strings, which evaluate directly to strings, t-strings evaluate to a new type called Template, allowing developers to access and process the string and its interpolated values separately before they are combined. This feature promotes safer string handling, facilitating safety checks, web templating, and the creation of domain-specific

My Own Private Binary: An Idiosyncratic Introduction to Linux Kernel Modules

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

The author recounts their experience of compressing ELF executable files, motivated by the frustration that even minimal programs exceeded 4 KB in size. After research, they successfully reduced an executable to 45 bytes, claiming it was the smallest functional ELF executable on x86 Linux. Despite positive feedback, some commenters noted that shell scripts could achieve smaller sizes, to which the author emphasized that such scripts are not true executables when excluding interpreter size. Additionally, someone suggested that using the older aout binary format could

Big Book of R

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

Oscar Baruffa has created a comprehensive collection of over 400 R-related programming books, initially started in 2020 with around 100 titles. The collection includes both free and affordable paid resources. Users can easily search for specific books on the website, and contributions from others are encouraged via GitHub or a Google Form. The site, which has recently been upgraded with the help of Fathom Data, operates under a Creative Commons license and emphasizes user privacy by using GDPR-compliant metrics. Oscar

Garfield Minus Garfield

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

The content seems to be a repetition of social media handles or mentions for G-G on Facebook and Twitter. It does not provide any additional information or context.

Why I chose Calendar Versioning for my open source project

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

Vigilant is a website monitoring application that helps users track their DNS changes, lighthouse scores, broken links, and site downtime with customizable notifications. The current version, 2025.4, uses Calendar Versioning (CalVer) rather than traditional Semantic Versioning (SemVer) for several reasons. CalVer eliminates the arbitrary major version changes associated with breaking updates, reduces pressure for significant releases, provides a clear time context for updates, and promotes regular, incremental improvements. Unlike libraries that benefit from

The Y Combinator Explained in Python

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

The Y combinator is a key concept in lambda calculus that allows for the definition of recursive functions without self-referential definitions. This article proposes a different approach to explaining the Y combinator by first outlining its essence—enabling recursion without using direct recursive definitions—before deriving the traditional Y combinator itself. The author plans to describe a variation known as the Z combinator, as Y combinator requires non-strict evaluation found in languages like Haskell. The discussion is grounded in a lecture on

Async from scratch 1: What's in a Future, anyway?

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

The content introduces a series aimed at demystifying async Rust, focusing on how it works rather than just how to use it. The series is intended for readers who have some experience with Rust, particularly with async functions and traits, but it promises to explain concepts like polling, pinning, and wakers in an accessible way. The author emphasizes the importance of understanding the `Future` trait, which defines entities that can be awaited, and highlights its complexity and significance in async programming. The series aims

PHP Core Security Audit Results

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

The PHP Foundation has completed a security audit of the PHP source code, commissioned by the Sovereign Tech Agency and conducted by Quarkslab in collaboration with the Open Source Technology Improvement Fund (OSTIF). The audit, carried out over two months in 2024, focused on the most critical components of the code due to budget constraints. It identified 27 issues, including 17 with security implications, and four vulnerabilities received CVE identifiers. The PHP development team has addressed all issues, and users