News Nug
More than you wanted to know about how Game Boy cartridges work

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

Allison Parrish shares her journey in creating a Game Boy cartridge from scratch, aiming to understand their functionality and utilize the PIO features of the RP2040 microcontroller. After years of research and design, she has made her bootleg Game Boy cartridge design publicly available. Her post consolidates information on building custom Game Boy cartridges, targeting readers with a basic understanding of digital memory, microprocessors, and hexadecimal and binary systems. While she doesn't present new research, her goal is to make existing knowledge

Android Earthquake Alerts: A global system for early warning

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

The content discusses the commitment to fostering a diverse research environment at Google, focusing on advancements in computer science through both fundamental and applied research. It highlights initiatives such as open-sourcing projects, sharing ideas with the academic community, and making tools and datasets accessible to promote collaboration. Additionally, it underscores the importance of meaningful engagement with university faculty and participation in research events for progress. A specific project described is the development of a system that utilizes aggregated data from Android smartphones to detect earthquakes and deliver early warnings, helping

It's really time tech workers start talking about unionizing - Rumors of heavy layoffs at Amazon, targeting high-senior devs

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

The TWC is a coalition focused on fostering an inclusive and equitable tech industry by empowering workers through self-organization and education. Composed of workers, labor and community organizers, and supporters, the organization emphasizes solidarity with movements for social justice, workers' rights, and economic inclusion. It is structured democratically, operates on a volunteer basis, and is led by workers. Individuals are encouraged to participate by joining or starting local chapters. The content also mentions events and a blog, along with recent news regarding

Losing language features: some stories about disjoint unions

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

You have been chosen to complete a CAPTCHA to verify your requests. Please finish it and click the button. Additionally, the content includes a copyright notice for Dreamwidth Studios, LLC, covering the years 2009-2025.

OSS Rebuild: open-source, Rebuilt to Last

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

OSS Rebuild is a new initiative aimed at enhancing trust in open source package ecosystems by reproducing upstream artifacts, particularly in response to rising supply chain attacks targeting widely-used dependencies. The project includes automation to create declarative build definitions for Python, JavaScript/TypeScript, and Rust packages, and provides SLSA Provenance for thousands of packages, meeting SLSA Build Level 3 standards without requiring intervention from publishers. It offers tools for building observability and verification, allowing security teams to integrate

Using LLMs and MCP to Debug PostgreSQL Performance in Rails

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

Failed to fetch content - HTTP Status - 403

RailsConf Nostalgia: Remembering ActiveResource

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

At the final RailsConf in July 2025, a nostalgic atmosphere prevailed as attendees reflected on the Ruby on Rails journey. Highlights included Robby Russell's talk on "The Rails Features We Loved, Lost, and Laughed At," which sparked discussions about ActiveResource, an API wrapper that offered an ActiveRecord-like experience for RESTful services. ActiveResource facilitated CRUD operations and supported various authentication methods, enabling developers to treat API resources similarly to ActiveRecord models. However, it was removed from Rails

We maintain HarfBuzz, the text shaping engine used in Chrome, Firefox, Android, and more — Ask us anything (or tell us what confused you)

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

HarfBuzz is a text shaping engine that primarily supports OpenType and Apple Advanced Typography. It is widely used across various platforms and applications, including Android, web browsers (like Chrome and Firefox), design software (like Adobe and Figma), and game engines (like Godot and Unreal Engine). The developers emphasize the importance of user feedback, noting that every piece of feedback is read and considered seriously. For additional resources, users can visit their website for documentation, bug reports, mailing lists, and

What makes SQL special

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

The content discusses a book on building a SQL-enabled database server and highlights the significance of SQL as a database communication interface. SQL has become the dominant language for databases over the last 50 years due to its foundation in the relational model introduced in the 1970s, which allows users to query data without detailed knowledge of its physical storage. SQL utilizes set theory concepts to define databases and operations, where tables (relations) consist of rows (tuples). Although navigational databases were common before SQL,

Whodunit Chronicles 0.1.0 "Zero Hour" Released

Published: 2025-07-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)

A Friendly Introduction to SVG • Josh W. Comeau

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

SVGs (Scalable Vector Graphics) are a powerful and versatile tool for web developers, offering a range of possibilities for creating visuals directly in the browser. Despite their potential, SVGs can seem daunting due to their depth and complexity. This blog post aims to clarify the fundamentals of SVGs, making it accessible for those familiar with web development but without prior experience in SVGs. At its core, SVG is an XML-based image format, unlike traditional binary formats like .jpg or .gif. This

Complete silence is always hallucinated as "ترجمة نانسي قنقر" in Arabic

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

The content discusses user feedback on a speech recognition model called Whisper, focusing on issues related to generating silence in audio files. When running a completely silent WAV file through the Whisper model, it consistently outputs the same phrase in Arabic: "ترجمة نانسي قنقر," indicating potential hallucination by the model. The content also touches on various model behaviors, noting that the newer v3 model may lack audio descriptions, leading to hallucinations during silence, while older models sometimes produced random outputs. Users

AI comes up with bizarre physics experiments, but they work

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

The content describes the Laser Interferometer Gravitational-Wave Observatory (LIGO), a groundbreaking facility designed to detect gravitational waves, which are ripples in space-time caused by astronomical events like black hole collisions. LIGO includes two detectors located in Hanford, Washington, and Livingston, Louisiana, that utilize highly sensitive laser beams to measure tiny changes in length caused by passing gravitational waves. The construction of LIGO spanned over 20 years, starting in 1994, culminating in the first

Jujutsu for busy devs

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

Jujutsu (jj) is a version control system that offers a simpler mental model and command-line interface than Git, yet maintains, or even enhances, its power and expressiveness. It allows for features like stacked-diff workflows, seamless rebases, and ephemeral revisions, and operates on Git as a backend. Users can adopt Jujutsu non-destructively with a single command and revert to Git if necessary. To get started, users should install the jj command line tool, set up authors

Uv: Running a script with dependencies

Published: 2025-07-21 | Origin: Hacker News

A Python script is designed for standalone execution using the command `python <script>.py`. The `uv` tool assists in managing script dependencies automatically, eliminating the need for manual environment management. Python environments, typically virtual ones, isolate packages for individual scripts. If a script has no dependencies, it can be executed with `uv run`, and it can take arguments or read from standard input. When running scripts within a project that has a `pyproject.toml` file, `uv` installs the

stdio(3) change: FILE is now opaque

Published: 2025-07-21 | Origin: /r/programming

The OpenBSD Journal reports that in the -current development branch, the struct underlying the stdio(3) FILE type has become opaque, resulting in major library version updates across the system. This change affects multiple components, including libcrypto, libtls, libssl, and the profiling subsystem. Users who typically build from source are advised to perform a snapshot upgrade to manage these updates effectively.

Why Lexing and Parsing Should Be Separate

Published: 2025-07-21 | Origin: /r/programming

The content emphasizes the importance of feedback and input, directing users to documentation for available qualifiers. It discusses the distinction between lexing and parsing, suggesting that simpler tasks should use faster algorithms while more complex tasks may require slower ones. The author shares a personal experience of moving away from a Parsing Expression Grammar (PEG) due to poor error messages that hindered debugging. There are arguments related to language implementation phases, especially for larger languages, advocating for consistent handling of location information in lexers. The discussion includes

GitHub is "Pausing Command Palette Deprecation"

Published: 2025-07-21 | Origin: /r/programming

The content discusses user feedback regarding GitHub's Command Palette feature, which allows keyboard-driven navigation and enhances productivity and accessibility. Users expressed concern over GitHub's plans to remove the Command Palette due to low adoption rates, arguing that its concealment behind a "feature preview" flag hindered its visibility and use. They highlighted its importance, especially for users with motor impairments, as it simplifies navigation. In response to the feedback, GitHub has paused the planned deprecation of the Command Palette, acknowledging

What went wrong inside recalled Anker PowerCore 10000 power banks?

Published: 2025-07-21 | Origin: Hacker News

The text begins with a generic passage often used as a placeholder, followed by a focus on lithium-ion batteries that are widely used in devices like smartphones and electric vehicles. It notes that the average American owns nine such devices, highlighting potential risks associated with these batteries, particularly when quality issues arise, as they can lead to overheating and fires. A recent recall by Anker of over one million PowerCore 10000 power banks due to battery overheating is mentioned, although specific reasons for the recall have not been

eslint-config-prettier Compromised: How npm Package with 30 Million Downloads Spread Malware

Published: 2025-07-21 | Origin: /r/programming

A significant supply chain attack targeting popular npm packages, including eslint-config-prettier, was uncovered due to a compromise of maintainer JounQin's npm account via phishing. The attackers published six malware-laced versions of eslint-config-prettier and three additional packages, which collectively have approximately 78 million weekly downloads. The account had access to packages with around 180 million weekly downloads. Following the disclosure of suspicious versions in a GitHub issue, it was confirmed that a malicious install script had