News Nug
GitDroid: A third party Android app manager for apps uploaded to GitHub releases

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

The content emphasizes the importance of user feedback, stating that all input is carefully considered. It also mentions the existence of documentation for available qualifiers. Additionally, it introduces a third-party Android app manager designed for managing apps uploaded to GitHub releases, effectively serving as an app store for those applications.

Strings Just Got Faster

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

In JDK 25, Oracle enhanced the performance of the String class, making the String::hashCode function mostly constant foldable. This improvement significantly boosts performance, particularly when using Strings as keys in a static unmodifiable Map. An example of this is demonstrated with a Map of native calls, where the keys are method call names and the values are MethodHandles for invoking system calls. The new performance enhancements allow for constant folding in both key lookups and values, yielding over 8x improvements in

Fast(er) regular expression engines in Ruby

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

The content highlights the challenges faced by SerpApi in extracting data from complex modern websites, often resorting to traditional regular expressions (regex) for tasks like extracting embedded JavaScript data. It explores alternative regex engines that may enhance performance over the default Ruby engine, Onigmo, which has limitations regarding scan time. Among the alternatives discussed are: 1. **RE2:** Developed by Google, designed for safety against ReDoS attacks, and boasts efficient performance with well-maintained Ruby bindings. 2

Old Soviet Venus descent craft nearing Earth reentry

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

Cosmos 482, a former Soviet satellite launched in 1972 as part of a failed Venus probe mission, is gaining attention as it prepares to reenter Earth's atmosphere. The satellite contains a lander module designed for Venus, which may survive reentry into Earth's atmosphere due to its sturdy construction. Satellite tracker Marco Langbroek estimates a reentry date around May 10, 2024, with a possible variation of a few days. Ralf Vandebergh, another tracker, has captured

Show HN: I built a synthesizer based on 3D physics

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

It seems like you might be referring to a specific topic, story, or concept named "Anukari," but there isn't enough context provided in your message for a summary. Could you please elaborate or provide more details about "Anukari"? This will help me give you a more accurate summary.

Bifurcate the Problem Space

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

In a recent newsletter, Hillel Wayne emphasizes the importance of asking broad questions to improve debugging skills, a technique reminiscent of Stuart Halloway's concept of "carving the world in half" from his 2015 talk, which promotes the idea of bifurcating the problem space. This involves conducting tests that eliminate numerous potential root causes, similar to starting a game of 20 questions by asking broad types of questions (e.g., "Is it a man or a woman?").

Create your own graphics library in C++

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

This guide provides a quick overview of creating a graphics library for a custom operating system in C++. It emphasizes the need for a VGA/VBE driver to interact with the framebuffer for drawing graphics. Key components include creating two files, GUI.cpp and GUI.hpp, and establishing a namespace called GUI which houses structures for graphical elements like points, rectangles, circles, and buffers. The guide suggests initializing basic functions such as clear, get_pixel, and put_pixel and demonstrates how to implement essential features, beginning with

Microsoft inserts ads for Copilot into the docs

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

The content emphasizes that all feedback is carefully considered and taken seriously. It advises users to refer to the documentation for a list of available qualifiers. Additionally, it notes that there appears to be an unsolicited advertisement for Copilor included in the documentation.

What I've learned from jj

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

The author shares their experience of using the Jujutsu version control system, highlighting how it has transformed their approach to working with code, especially after nearly two decades of using git. While the author appreciates git's strengths, they acknowledge its complexity and steep learning curve. Jujutsu addresses these issues by providing a safer and more flexible workflow, treating everything as a "change" rather than just snapshots or commits. This system unifies several concepts from git, such as the working copy and the stash,

Reflecting on a Year of Gamedev in Zig

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

Benjamin G. Thompson reflects on his year of experience programming a puzzle game in Zig, sharing insights that extend beyond just game development to the broader Zig community. He notes a lack of extensive insights from long-term Zig users and aims to provide valuable lessons for those considering significant projects with the language. Thompson highlights the helpfulness of the Zig Discord community, where many beginner questions about the language are quickly answered. He shares an example of troubleshooting a game crash that occurred when transferring a binary between computers, emphasizing the

Bloom Filters

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

Bloom filters were created to efficiently determine set membership using a probabilistic method that minimizes time and space for rejecting non-members. Proposed by Burton Bloom in a 1970 paper, the data structure acts as a cache that is particularly effective when most queries return negative results. It allows for fast operations with minimal space usage, albeit with a possibility of false positives. A Bloom filter consists of an array of bits and a fixed number of hash functions. It supports two main operations: inserting an item, where bits

Functional HTML — overreacted

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

The content discusses a conceptual approach to enhancing HTML by introducing features that allow for the definition of custom HTML tags through JavaScript functions. The author suggests this feature would enable the server to serialize custom tags into HTML based on the returned values of these functions. Key enhancements proposed include allowing attributes to be passed to these tags and supporting object parameters instead of just strings, facilitating grouped data. While traditional HTML doesn't support objects, the author imaginatively proposes serializing this new HTML structure into a JSON tree, which

Colibri: The Fully Declarative And Turing-Complete Language Lurking Inside Swift’s Type System

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

The article introduces Colibri, a language that utilizes type declarations to convey logic, behavior, and relationships within Swift's type system. It adheres to Language Oriented Programming principles, where each module defines its own instructions through Domain Specific Languages (DSL), emphasizing a fully declarative programming paradigm. This approach allows programmers to focus on "what" a program should do rather than "how" to do it, which can lead to faster development and reduced risk of errors in software projects. The article provides examples

Lispcalc: A Lisp-like calculator interpreter written in Ruby

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

This content describes a Lisp-like calculator interpreter developed in Ruby, inspired by Clojure and the Casio fx-85GT CW calculator. The interpreter enables mathematical calculations using Lisp syntax and utilizes Ruby's BigDecimal for high-precision floating point arithmetic. It is designed for use with the eval method and is released under the MIT license. Feedback from users is taken seriously, and documentation for all available features is available.

I built a pixel art editor after playing Octopath Traveler II

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

The author plans to include frame-by-frame animation support in the next version of their project and encourages users to provide feedback. They invite supporters to give a star on GitHub, which they would appreciate. A live demo of the project is available at a specified link, and the project's GitHub repository is also provided. Additionally, a user questions the choice of using Netlify for hosting instead of GitHub Pages, suggesting that Netlify may incur costs for a static page and asking if there are plans for

Quebec refuses to reinvest in Lion Electric (busses); US factory auction

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

The Quebec government is reconsidering its financial support for Lion Electric Company, which produces electric school buses and trucks, amid the company's ongoing financial difficulties. Economy Minister Christine Fréchette announced that the government decided against further public funding, citing a need for the private sector to take a more active role. Lion Electric, which sought creditor protection in December, was once seen as a key player in Quebec's electric vehicle ambitions but is now facing significant challenges. The government's shift in focus may also be influenced by

Chrome Origin Trial: Device Bound Session Credentials

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

The content discusses a new web feature called Device Bound Session Credentials (DBSC), which is designed to enhance session security by preventing cookie theft and session hijacking. DBSC is currently available for testing in Chrome 135 as an Origin Trial. Cookies are essential for user authentication, but they are vulnerable to attacks where attackers steal cookies to hijack sessions. DBSC addresses this issue by binding authenticated sessions to specific devices, reducing the risk of exfiltrated cookies being misused on other devices. It

Third party cookies must be removed

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

Of course! Please provide the content you'd like summarized, and I'll be happy to help.

Felix86: Run x86-64 programs on RISC-V Linux

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

In April, significant advancements were made with the introduction of felix86, a new x86-64 userspace emulator designed for RISC-V devices. Focused on delivering good performance for gaming, felix86 is still in early development, but some games are already fully functional. This post serves as an introductory overview of the emulator.

Anubis saved our websites from a DDoS attack

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

The author is part of the ScummVM project, responsible for maintaining its server infrastructure, which includes the website, wiki, and forums. Recently, they noticed increasing load alerts on their MariaDB server, likely caused by a surge in visitors. While the situation initially didn't seem severe, it escalated and ultimately led to the website crashing. Investigating the server logs, the author found roughly 35,000 simultaneous IPs accessing resource-intensive URLs on the wiki, making it impractical to block them