News Nug
When good pseudorandom numbers go bad

Published: 2025-05-22 | Origin: /r/programming

Danielle Navarro discusses the challenges of computing the eigendecomposition of matrices on real-world computers, emphasizing that errors are common, as outlined in Wilkinson's analysis from 1965. She recounts a troubling experience faced by colleagues who encountered reproducibility issues while running simulations in R that involved sampling from a multivariate normal distribution. Despite using set.seed() to control the random number generator (RNG), the results varied drastically across different machines, indicating a significant failure in reproducibility. While random number generation

Qelum Accelerator – An idea from a sleepless night

Published: 2025-05-22 | Origin: /r/programming

The content emphasizes the importance of user feedback and provides guidance on various actions related to user interactions on GitHub. It includes instructions for viewing available qualifiers in documentation and explains how to block users from interacting with repositories and sending notifications. Users must be logged in to block someone, and there's a suggestion to contact GitHub support for reporting abuse. Additionally, it briefly mentions Mita Studio, an interactive AI chat platform designed for creativity and control, followed by some technical terms (CSS, ARC-X, Python)

DragonRuby Game Toolkit - Working on a Ruby primer for game devs who use Lua. Need feedback please.

Published: 2025-05-22 | Origin: /r/ruby

The content discusses the programming language Lua and its suitability for beginners in game development, particularly through the PICO8 platform. While Lua is praised for its simplicity, it has limitations that may be encountered as a developer's skills grow, prompting a recommendation to transition to Ruby. The syntax for defining functions in Lua is explained, along with a comparison to Ruby's function syntax, highlighting Ruby’s use of the `def` keyword and its feature of implicit returns, which simplifies return value handling. The text also

Show HN: Defuddle, an HTML-to-Markdown alternative to Readability

Published: 2025-05-22 | Origin: Hacker News

Defuddle is a tool designed to extract and clean up the main content from web pages by removing unnecessary elements such as comments, sidebars, headers, and footers, resulting in easily readable content. It aims to output clean HTML documents and serves as a useful input for HTML-to-Markdown converters like Turndown. Defuddle is still in development, and users should be aware that it’s a work in progress. It can be used as an alternative to Mozilla Readability, with additional requirements

Quake source port in C using only RGFW.h and Miniaudio.h (no SDL or GLFW)

Published: 2025-05-22 | Origin: /r/programming

The team values and carefully considers all feedback received. For more details on available qualifiers, users are encouraged to consult the documentation. However, there have been multiple errors reported while attempting to load the "RGFW Quake 1," prompting users to reload the page.

C3: Iterative Innovation in the C Tradition

Published: 2025-05-22 | Origin: /r/programming

C3 is a modern systems programming language that aims to enhance C while retaining its core principles. Developed by Christoffer Lernö since 2019, C3 has gained popularity since mid-2024 and is primarily a solo project. The language focuses on improving safety, ergonomics, and performance through familiar syntax and practical design. Lernö's approach emphasizes usability and iterative development, aligning C3's goals closely with those of the Odin programming language. Notably, C3 introduces an "fn"

Does Earth have two high-tide bulges on opposite sides? (2014)

Published: 2025-05-22 | Origin: Hacker News

Failed to fetch content - HTTP Status - 403

Claude 4

Published: 2025-05-22 | Origin: Hacker News

Today, new Claude models were introduced: Claude Opus 4 and Claude Sonnet 4. Claude Opus 4 is highlighted as the best coding model available, excelling in sustained performance on complex tasks and workflows. Claude Sonnet 4, an upgrade from version 3.7, enhances coding accuracy and reasoning abilities. Both models feature hybrid functionalities, offering quick responses as well as extended reasoning capabilities. These models are accessible via various plans, including options for free users, and are available

That fractal that's been up on my wall for years

Published: 2025-05-22 | Origin: Hacker News

The content discusses a personal mathematical exploration inspired by doodling in middle school, which led to the discovery of a fractal structure affectionately named "the wallflower." The author reflects on how they initially created this design by combining and copying squares on graph paper, and later realized it relates to well-known fractals like the Gosper Curve. With newfound mathematical skills, the author investigates this structure further, describing its iterative nature and how it can tile the plane. They also mention using an L-System for

Announcing TypeScript Native Previews

Published: 2025-05-22 | Origin: /r/programming

In March, a project to port the TypeScript compiler and toolset to native code was announced, achieving a 10x speed improvement for most projects through the use of Go and shared memory parallelism. The TypeScript Native Previews are now broadly available, allowing users to access a preview of the native TypeScript compiler via npm and try the new editor functionality in Visual Studio Code. The new executable, called tsgo, functions like the existing tsc tool and will eventually be renamed. Although still

Hidden Complexities of Distributed SQL

Published: 2025-05-22 | Origin: /r/programming

The content discusses query planners, which are crucial components in databases and SQL engines that determine the most efficient execution method for a given query. The process begins with creating a logical plan from the query, which is then translated into a physical plan for execution. As organizations often store data across diverse systems, querying this scattered data can be complex. A distributed SQL engine helps by connecting to various storage systems like PostgreSQL, ClickHouse, and data lakes or analytics engines. An example illustrates querying data from two sources

ActualDbSchema new release with a githook setup bugfix

Published: 2025-05-22 | Origin: /r/ruby

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

Whippet GC notes on Guile, heuristics, and heap growth

Published: 2025-05-22 | Origin: Hacker News

The author has successfully integrated Guile with a specific Nofl-based garbage collector, highlighting its ease of use by simply updating build options. While the initial implementation has been smooth, the author is currently facing challenges related to heap sizing strategies in the Whippet system, which include fixed, growable, and adaptive (MemBalancer) approaches. The long-term goal is to implement the adaptive strategy, which allows the heap to grow and shrink according to allocation rates, but accurate tracing of heap edges is necessary

Oodle 2.9.14 and Intel 13th/14th gen CPUs: Intel's confirms it's a hardware problem

Published: 2025-05-22 | Origin: /r/programming

Intel's 13th and 14th generation CPUs, particularly desktop models, are suffering from a hardware issue related to degradation in the clock tree circuitry, leading to clock skew and increasing glitches in performance. This problem has been noted in gaming, specifically with Unreal Engine titles like Fortnite, where crash reports indicate that the issue affects certain CPUs disproportionately. While Intel has released microcode updates to mitigate the degradation, symptoms such as frequent crashes and decompression errors remain prevalent, even on machines with healthy RAM and

Things You Should Never Do, Part I

Published: 2025-05-22 | Origin: /r/programming

Joel Spolsky is a software developer based in New York City and the co-founder and CEO of Stack Overflow, the largest online community for programmers. Each month, over 40 million users engage with the platform to ask and answer questions about programming and job opportunities. Stack Overflow is also part of the Stack Exchange network, which includes over 160 Q&A sites on various topics. In addition to Stack Overflow, Joel founded Fog Creek Software, known for its influential role in the tech industry and for

Kotlin-Lsp: Kotlin Language Server and Plugin for Visual Studio Code

Published: 2025-05-22 | Origin: Hacker News

The document discusses the pre-alpha version of the Kotlin Language Server and its plugin for Visual Studio Code, which implements the Language Server Protocol (LSP) for Kotlin. It is based on the IntelliJ IDEA platform and currently supports only JVM Kotlin Gradle projects. The project is experimental, focusing on enhancing developer experience, including Java interoperability and debugging capabilities. However, it lacks stability guarantees, so it's suited for experimentation but not for critical daily use. Users are encouraged to provide feedback and can track current features

Getting a paper accepted

Published: 2025-05-22 | Origin: Hacker News

The content discusses the author's experience of submitting a research paper that was initially rejected but later accepted after making a few strategic changes. The author highlights that the majority of a paper's perceived quality is determined by its first page, which includes the title, abstract, Figure 1, and half of the introduction. They emphasize the importance of making these elements specific, memorable, and clear to hook the reader. The author notes that a dramatic increase in review scores occurred from the initial rejection (scores of

Gemini Diffusion

Published: 2025-05-22 | Origin: Hacker News

At the recent Google I/O event, Google introduced Gemini Diffusion, their first large language model (LLM) that utilizes diffusion techniques instead of traditional transformers. Unlike autoregressive models that generate text one token at a time, diffusion models create outputs by incrementally refining noise, which allows for quicker iterations and corrections. This enhances speed and performance, making Gemini Diffusion particularly effective for tasks like editing. One user reported it could generate an interactive HTML and JavaScript page at 857 tokens per second,

Show HN: Display any CSV file as a searchable, filterable, pretty HTML table

Published: 2025-05-22 | Origin: Hacker News

The content discusses a tool that converts CSV (comma-separated values) files into searchable, filterable HTML tables using JavaScript. Users can view a demo online and customize formatting for specific columns by using an array of custom functions. The text emphasizes the importance of HTML escaping to prevent security issues. Users can run the project locally or host it on GitHub Pages for free. It also describes how to embed the table using an iframe and suggests reporting any bugs encountered. The tool is released under the MIT License

Fast Allocations in Ruby 3.5

Published: 2025-05-21 | Origin: /r/ruby

In Ruby 3.5, object allocation is set to be significantly faster—up to six times quicker—compared to previous versions. The article by Aaron Patterson highlights this improvement through various benchmarks that compare the performance of positional and keyword parameters with and without the YJIT (Yet another Just-in-Time) compiler enabled. The benchmarks measure the script's execution time as the number and type of parameters passed to the `initialize` method vary, aiming to emphasize the impact of object allocation. A graph