News Nug
just nuked 120+ unused npm deps from a huge Nx monorepo

Published: 2025-09-28 | Origin: /r/programming

John James shares his experience cleaning up a large Nx monorepo with around 500 dependencies. By utilizing a tool called Knip, which is designed to identify unused dependencies while accommodating modern setups, he was able to prune approximately 120 packages. This effort not only reduced the Yarn install time by about a minute but also minimized security alert warnings, leading to an overall improvement in development efficiency. Initially, James performed a baseline scan with Knip, which flagged many dependencies as "unused." He noted that

My early years as a programmer: 1997-2002

Published: 2025-09-28 | Origin: /r/programming

The author reflects on their journey in software development as a primary source of income, expressing gratitude for the creative outlet it provides. Despite spending extensive time in front of a computer, they did not connect with programming early in life. Their initial experience was programming their TI-89 graphing calculator to store formulas for physics class, which later evolved into creating simple programs and visual outputs, fueling their enjoyment of front-end programming. Although they initially pursued a career in art, influenced by 20th-century sci-fi

[OC] Lessons learned from profiling Flink Apps

Published: 2025-09-28 | Origin: /r/programming

The writer undertook an investigation into why their Flink applications were experiencing out-of-memory (OOM) errors, initially attempting to solve the issue by increasing the heap size of Task Managers, which did not address the root cause. They found the problem-solving process rewarding, as it required deep dives into application code and experimentation. Over a span of 3-4 weeks, the author profiled over ten heap dumps to analyze Flink application behavior under varying traffic loads. Key observations included: - Flink

Spider-Man: The Movie Game dissection project - Introduction

Published: 2025-09-28 | Origin: /r/programming

The post details the author's experience in starting a dissection project for the PC port of "Spider-Man: The Movie Game." It aims to help others learn how to decompile Windows NT binaries, including identifying compiler versions and managing Visual Studio versions. The project benefits from the availability of the Japanese GameCube version's symbols and the public source code of a similar game, which streamline the decompilation process. There are also exclusive Xbox levels for Kraven The Hunter, with existing game code across all versions

A 3K-year-old copper smelting site could be key to understanding origins of iron

Published: 2025-09-28 | Origin: Hacker News

Failed to fetch content - HTTP Status - 400

Detaching GraalVM from the Java Ecosystem Train

Published: 2025-09-28 | Origin: /r/programming

Failed to fetch content - HTTP Status - 403

NJ theme park puts animatronic dinosaurs on Facebook Marketplace

Published: 2025-09-28 | Origin: Hacker News

The New Jersey theme park Field Station: Dinosaurs is set to close on November 9 and is selling its life-sized dinosaur replicas on Facebook Marketplace. Prices range from approximately $500 to $3,000, and options include a 52-foot-long Spinosaurus for $2,900 and a Hadrosaurus with eggs for $2,450. Buyers must cover deinstallation and transportation costs. The park, which moved locations in 2016 after closing in 2015 for a high school

Solving Slow Database Tests with PostgreSQL Template Databases - Go Implementation

Published: 2025-09-28 | Origin: /r/programming

The content describes a high-performance Go library designed for creating PostgreSQL test databases using template databases, ensuring rapid test execution. It emphasizes the importance of feedback from users and provides links to documentation, benchmarks, and guides for advanced usage scenarios, including custom connection providers and migration runners. The library supports features for thread safety, automatic database naming, and the organization of migration files. It stresses the importance of using individual databases for tests to prevent interference and outlines best practices for initialization and cleanup. Contributions to the project

Why I'm not rushing to take sides in the RubyGems fiasco - @searls

Published: 2025-09-28 | Origin: /r/ruby

The writer expresses frustration over a significant and ongoing Ruby drama, highlighting the one-sided nature of the public discussion surrounding it. While acknowledging that many Ruby developers feel confused and concerned due to a lack of information, the writer notes that one side (led by Andre Arko) has been vocal, while many prominent contributors have remained silent. This imbalance has left everyday developers without clear insights into the future of the Ruby ecosystem, which is currently facing instability. The author suggests that historical conflicts are influencing the current situation

When I say “alphabetical order”, I mean “alphabetical order”

Published: 2025-09-28 | Origin: Hacker News

The author recently went on a multi-day hike with their dad, and they both took photos that they organized in a shared folder. They used the same naming convention for the images, which should allow for correct sorting by date when sorted alphabetically. However, they discovered that the images were not sorting correctly on Windows, Google Drive, and various file managers, with files taken from the dad's phone not following the expected chronological order. Despite suspecting issues with how Windows and Google handled file sorting, the

Privacy Badger is a free browser extension made by EFF to stop spying

Published: 2025-09-28 | Origin: Hacker News

Privacy Badger is a browser extension designed to prevent advertisers and third-party trackers from secretly monitoring users' online activities. It automatically blocks any advertiser that appears to track users across multiple websites without consent, effectively making users "disappear" from their tracking. Unlike traditional ad-blockers that primarily focus on blocking ads, Privacy Badger only blocks ads that track users, encouraging better privacy practices among advertisers. It operates algorithmically, defining tracking behavior based on observed actions rather than relying on a curated list of

sorbet-typescript: Generate TypeScript types from Sorbet type definitions

Published: 2025-09-28 | Origin: /r/ruby

The content discusses a gem called Sorbet::Typescript, which exports Sorbet type definitions (T::Enum and T::Struct) into JSON metadata and TypeScript declarations. This allows front-end clients to remain synchronized with Ruby types. Developed by DocSpring for LogStruct, the gem keeps documented payload types aligned with Ruby source code, supporting the live reference at logstruct.com/docs/sorbet-types. To utilize the gem, users can add it to their application and opt to use the latest unre

A Quick Review of Haskell

Published: 2025-09-28 | Origin: /r/programming

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

about career, which one is better

Published: 2025-09-28 | Origin: /r/programming

The BS Computer Science and Linguistics program at San José State University is a collaborative offering from the Department of Computer Science and the Department of Linguistics and Language Development. It equips students with foundational knowledge in both fields, focusing on a computing-based curriculum that covers language theory, linguistics, and applied linguistics. Graduates gain skills applicable to careers in areas such as automated text analysis, machine translation, artificial intelligence, and more. The program also prepares students for advanced studies in interdisciplinary fields like computational lingu

Do not do this unless you want magic black smoke

Published: 2025-09-28 | Origin: Hacker News

You purchased a new Delta Pro solar generator and planned to connect four EcoFlow 400w rigid solar panels in series, calculating the voltage output (VoC) to be 148.4v, just under the 150v limit. However, this setup could damage the generator on cold, sunny days because solar panel voltages increase as temperatures drop. Many users have experienced issues with their solar generators due to similar setups, leading to voided warranties and dissatisfaction with customer support. To ensure safe operation

🚀 Awesome LLM Resources – Community Curated Repo

Published: 2025-09-28 | Origin: /r/programming

The content emphasizes the importance of user feedback and invites contributions to a curated list of resources related to Large Language Models (LLMs), including repositories, papers, datasets, and tools for research and development. Users are encouraged to submit valuable LLM resources through pull requests (PRs). The resources are shared under the MIT License. There are also mentions of errors in loading the page, prompting users to reload.

Learn to play Go

Published: 2025-09-27 | Origin: Hacker News

Sure! Please provide the content you'd like me to summarize.

Washi: The Japanese paper crafted to last 1000 years [video]

Published: 2025-09-27 | Origin: Hacker News

The content discusses various topics, including the traditional handmade washi paper from Japan, which has been crafted for over 1,500 years and is valued for its durability and beauty. BBC presenter Paul Carter visits Echizen to explore this art form. Other stories include the Pacific Northwest creator of popular viral videos, Rome's modernization efforts alongside ancient preservation, the impact of a former slaughterhouse district on the United Nations' home, Canadian start-ups developing wildfire forecasting tools, and financial markets anticipating US Federal Reserve interest

Handy – Free open-source speech-to-text app written in Rust

Published: 2025-09-27 | Origin: Hacker News

CJ introduces Handy, an open-source speech-to-text application that allows users to dictate text directly into any text field on their computer. Users can activate transcription using a keyboard shortcut—either by pressing and holding the keys or by a toggle method. The settings menu is simple and allows customization of key bindings. Handy ensures that users' audio remains on their local device, providing an accessible and cost-free alternative to cloud-based transcription services. The application is supported by sponsors and encourages community contributions to further its development.

On DHH’s “As I Remember London”

Published: 2025-09-27 | Origin: /r/ruby

David Heinemeier Hansson recently expressed strong opinions in a blog post about the "unite the kingdom" protests in London, which prompted a response due to the controversial nature of his views. The author relates to Hansson's affinity for London, recalling their own admiration for the city during the late '90s and early 2000s. However, they note a significant change in London’s demographics, highlighting that the percentage of native Brits has decreased dramatically from over sixty percent in 2000