| News Nug |
|---|
|
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 |
|
Don't bother parsing: Just use images for RAG Published: 2025-07-21 | Origin: Hacker News Morphik focuses on developing Retrieval-Augmented Generation (RAG) tools that enhance search capabilities over complex documents. This article discusses their approach of working with “images” of pages rather than relying on traditional Optical Character Recognition (OCR) and parsing methods. The challenges of extracting information from complex documents, such as PDFs containing charts, tables, and diagrams, are highlighted. Traditional parsing often fails to accurately retain critical information, akin to watching a movie by reading its script—much of the visual storytelling is lost |
|
AccountingBench: Evaluating LLMs on real long-horizon business tasks Published: 2025-07-21 | Origin: Hacker News Sure! Please provide the content you'd like me to summarize. |
|
TrackWeight: Turn your MacBook's trackpad into a digital weighing scale Published: 2025-07-21 | Origin: Hacker News TrackWeight is a macOS application that turns a MacBook's trackpad into a digital weighing scale by using the Force Touch pressure sensors. It leverages the Open Multi-Touch Support library developed by Takuto Nakamura to access mouse and trackpad events, enabling the application to obtain precise pressure readings. The trackpad measures weight based on the capacitance detected when a finger or conductive object touches the surface, with readings calibrated to grams. While the application is built for experimental and educational purposes and aims |
|
Issues you will face binding to C from Java. Published: 2025-07-21 | Origin: /r/programming The author discusses their interest in creating a Yu-Gi-Oh game that emulates the design of early 2000s titles, particularly "Power of Chaos: Yugi the Destiny" and "Power of Chaos: Joey the Passion," which they enjoyed playing with their father. The games feature a unique narrative style, including a lighthearted adaptation of darker themes, such as characters being sent to the "shadow realm" instead of facing dire consequences. The author expresses admiration for the visual and audio design |
|
Filter PII from free text in Ruby Published: 2025-07-21 | Origin: /r/ruby The content emphasizes the importance of user feedback and outlines a proof of concept for a tool that filters personally identifiable information (PII) from free text before it is sent to external services or APIs, like chatbots. The primary filtering mechanism utilizes regular expressions, while filtering names requires additional support from the MITIE Ruby library, which relies on a pre-trained model. The project includes a file named 'pii_filter.rb,' but this is not mandatory for its operation. Additionally, there are prompts for potential |
|
Positron – A next-generation data science IDE Published: 2025-07-21 | Origin: Hacker News To start using Positron, you can download an installer and explore user guides on various topics, including interpreter selection and Data Explorer. Common questions are addressed in the FAQs. Positron is based on Code OSS, and you can refer to the VS Code documentation for basic features like commands and source control. Join GitHub Discussions for inquiries and feedback. Positron is licensed under the Elastic License 2.0, and more information about this license and feedback/reporting bugs is available. Pos |