News Nug
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

Work-Life Balance Slows Careers (E9 Engineer, ex-Meta)

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

In the latest edition of "Path to Staff," the newsletter celebrates reaching 3,000 readers with a special guest, Philip, known for his generous act of buying coffee for everyone at Facebook. Philip shares his perspective on the myth of work-life balance, arguing that achieving significant career growth often requires trade-offs. He attributes rapid promotions during his first eight years at Microsoft to three key factors: luck, talent, and grit. While luck and talent are largely out of our control, he emphasizes that grit

The Forced Use of AI is getting out of Hand

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

The C-suite is strongly encouraging the use of AI across all functions within companies, with Microsoft leading this trend by having managers evaluate employees based on their AI usage. Other companies, like Duolingo, Shopify, and Thomson Reuters, are also incorporating AI metrics into performance reviews and emphasizing the necessity of AI skills for career advancement. There is a surge in demand to integrate AI assistants into enterprise software, resulting in numerous applications being developed—some useful, others questionable. Companies are rapidly adopting AI technologies, often

I am Tired of Talking About AI

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

The author expresses deep fatigue and frustration over the ongoing discussions about generative AI, particularly in the coding community. They note that respected individuals who were once critical of generative AI have changed their opinions, and this shift has led the author to re-evaluate their own stance. Despite considering the new perspectives of these individuals, the author finds no compelling reason to alter their own judgment against using generative AI, feeling that simply valuing others' opinions is insufficient for making personal decisions. Ultimately, the author

What's New in Ruby 3.5 Preview

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

Ruby 3.5.0 preview1 was released on April 18, 2025, offering a preview of upcoming features for the final release. Key changes include elevating Set from a standard library class to a core class, improving performance and reducing memory usage by about 33% for large sets due to a new C implementation with a custom hash table. Ruby 3.5 introduces Ractor::Port to enhance synchronization between Ractors, leading to the removal of methods such as Ractor

Why programmers suck at showing their work (and what to do instead)

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

Of course! Please provide the content you would like me to summarize.