| News Nug |
|---|
|
Show HN: Ten years of running every day, visualized Published: 2025-07-10 | Origin: Hacker News The author, Adrien Friggeri, began running in his late twenties but struggled with consistency until a turning point in July 2015. After a series of consecutive runs, he managed to maintain a daily running streak that has lasted for ten years. Over this period, he has experienced running in diverse locations across all seven continents, often facing various challenges, including injuries and extreme weather. Running has significantly impacted his life, offering valuable lessons and adventures. He expresses gratitude for the support of his wife |
|
Functional Functions - A Comprehensive Proposal Overviewing Blocks, Nested Functions, and Lambdas for C Published: 2025-07-10 | Origin: /r/programming The content discusses various methods used in different compilers to bundle functions with data and transport this information to the caller, including Nested Functions (GCC), Blocks (Clang), Wide Function Pointers (Borland), and Lambdas (C++). It highlights the trade-offs of these approaches while proposing a solution to enhance this functionality in C. An initial release introduces a more accessible overview of these concepts, referencing a previous writeup from 2021 that predates certain developments such as Heap-based |
|
Announcing egui 0.32.0 - an easy-to-use cross-platform GUI for Rust Published: 2025-07-10 | Origin: /r/programming The content discusses the latest updates to egui, an immediate mode GUI for Rust that operates on both web and native platforms, sponsored by Rerun. The major new feature introduced is "egui::Atom," which allows for the integration of images and text in various widgets, enhancing the flexibility of the layout engine. Atoms can be used to create more complex widgets, such as buttons, checkboxes, and radio buttons, which now support mixed content and simplification of layout math. An ` |
|
What is Realtalk’s relationship to AI? (2024) Published: 2025-07-10 | Origin: Hacker News Dynamicland is an independent nonprofit research lab dedicated to promoting universal literacy through a humane and dynamic medium. Its mission involves creating innovative computing environments that support educational and community institutions. One of its significant initiatives, Realtalk, allows people to collaboratively explore computational models using physical materials in a real-world setting. From 2017 until the onset of Covid, Dynamicland operated a community workspace in Oakland, California, fostering a culture of communal computing through workshops and projects that leveraged the unique environment. The organization is now |
|
Rails Dashboards that scale – with SQL and dry-struct Published: 2025-07-10 | Origin: /r/ruby The text discusses the advantages of using SQL and DryStructs for generating reports and dashboards in a Ruby application, particularly in the context of ActiveRecord. While ActiveRecord is effective for basic CRUD operations and offers some aggregation methods, it falls short for complex reporting needs. Common Table Expressions (CTEs) in raw SQL are highlighted as a powerful solution for transforming operational data into a report-ready format. The content outlines how Zipline users can track message readership and task completion across teams, demonstrating this with an |
|
Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser Published: 2025-07-10 | Origin: Hacker News The content describes an AI tool that generates commands for video and audio editing, which users can execute directly in their web browsers. Examples of commands include trimming the first 20 seconds of a video, extracting audio as an MP3 file, and mixing audio from an MP3 into a video while maintaining the video's length. |
|
We stopped relying on bloom filters and now sort our ClickHouse primary key on a resource fingerprint. It cut our log query scans to 0.85% of blocks. Published: 2025-07-10 | Origin: /r/programming The content describes a significant optimization made to the log-query scanning process in ClickHouse, where the scanning of data blocks was reduced from nearly 100% to less than 1%. This was achieved by reorganizing log storage through a method that generates a deterministic "resource fingerprint" (a hash of relevant identifiers) for each log source. By sorting logs based on this fingerprint, logs from the same pod or service are stored contiguously, allowing ClickHouse to efficiently skip irrelevant blocks during queries. |
|
Smarter Use of Stimulus’ Action Parameters Published: 2025-07-10 | Origin: /r/ruby The article discusses how to set up a typical text editor using a Stimulus controller, focusing on settings such as theme, line numbers, and font size. Instead of creating separate methods for each setting (like updateTheme or setLineNumbers), it suggests using a more maintainable approach by implementing a single `updateSetting` method. This method utilizes Stimulus’ action parameters to handle updates, allowing for a more streamlined and reusable code structure. The setup begins with the HTML and progresses to the JavaScript |
|
A Century of Quantum Mechanics Published: 2025-07-10 | Origin: Hacker News CERN is a research organization focused on exploring the fundamental structure of particles that constitute the universe, utilizing the world's largest scientific instruments. Their mission involves conducting fundamental research, contributing to society, conducting environmentally responsible studies, fostering international collaboration, and inspiring education. Key achievements include significant discoveries like the Higgs boson and advancements in particle physics. CERN's research encompasses a wide range of topics, including antimatter, dark matter, and cosmic rays, while also promoting knowledge sharing and engaging the global scientific community. |
|
The underground cathedral protecting Tokyo from floods (2018) Published: 2025-07-10 | Origin: Hacker News Tokyo has developed a sophisticated flood defense system, including dams, levees, and the Metropolitan Area Outer Underground Discharge Channel (MAOUDC), a network of tunnels and chambers designed to protect the city from flooding. Water management expert Cecilia Tortajada describes her experience visiting the impressive underground water tank and highlights Tokyo's effective strategies for coping with severe weather. However, the city's future flood resilience is uncertain due to climate change and shifting rainfall patterns, as Tokyo is already vulnerable because of its geographic location and |
|
You ever looked at a JSON file and thought, "this should run"? Now it does. Published: 2025-07-10 | Origin: /r/programming The content promotes a unique programming language called JPL (JSON Programming Language) that uses JSON syntax for coding. It emphasizes the unconventional and playful nature of this language, warning those who are apprehensive of curly braces and brackets to proceed with caution. Users are encouraged to explore examples, run scripts, and import libraries while embracing the chaotic creativity of coding in JPL. The language is released under the MIT License and is described as a tool for adventurous programmers who enjoy working with JSON. The message ends with |
|
German court rules Meta tracking technology violates European privacy laws Published: 2025-07-10 | Origin: Hacker News A German court has ruled that Meta (formerly Facebook) must pay €5,000 ($5,900) to a user for embedding tracking technology on third-party websites without consent, violating the EU's General Data Protection Regulation (GDPR). The Leipzig Regional Court stated that Meta's tracking pixels collect data from users who have not logged into Facebook or Instagram, thereby identifying them. This ruling sets a precedent for other users to sue without needing to demonstrate specific damages, potentially leading to large class action lawsuits against |
|
A Virginia public library is fighting off a takeover by private equity Published: 2025-07-10 | Origin: Hacker News The Samuels Public Library in Front Royal, Virginia, has navigated significant challenges, including attempts by a local anti-LGBTQ group to remove certain children's books and a threatened takeover by the private equity firm Library Systems & Services (LS&S). Despite having its funding cut by local officials in alignment with the book banners, the community rallied to protect the library, resulting in LS&S withdrawing its bid to manage the library. Founded in 1799, Samuels is the second oldest library in Virginia and |
|
Significant drop in code quality after recent update Published: 2025-07-10 | Origin: /r/programming After a recent update to Cursor, users have observed a decline in the quality of code suggestions, noting that the outputs are now basic, sloppy, and sometimes incorrect. Concerns were raised about the AI seemingly providing the first idea without adequately considering the prompt's context. Users have questioned whether this issue is widespread or if there are any fixes. Some users have also reported similar experiences with other models, such as Claude 4 Sonnet, which produced poor outputs even for straightforward tasks. It was suggested that |
|
MCP-B: A Protocol for AI Browser Automation Published: 2025-07-09 | Origin: Hacker News Of course! Please provide the content you'd like me to summarize. |
|
A Typology of Canadianisms Published: 2025-07-09 | Origin: Hacker News The structure for entering words in the updated dictionary follows the principles from DCHP-2, although the format has changed. Each entry consists of meanings, which are the smallest unit, assigned to one of six Types of Canadianisms, or labeled as “Non-Canadian” if they do not fit these categories. The six types are: 1. **Type 1**: Canadianisms that originated in Canada, with examples like "garburator" and terms such as "hang a l |
|
Show HN: MCP server for searching and downloading documents from Anna's Archive Published: 2025-07-09 | Origin: Hacker News The content emphasizes that all user feedback is valued and taken seriously. It discusses an MCP server designed for searching and downloading documents from Anna's Archive, which is a repository for documents available under permissive licenses, like Creative Commons and public domain works. The platform does not support the illegal acquisition of copyrighted materials and encourages users to respect intellectual property rights. Additionally, users are instructed to download the necessary binary from GitHub and configure their MCP client accordingly, mentioning specifics for those using Claude Desktop. The document also |
|
Vertical Text Processing Published: 2025-07-09 | Origin: /r/programming The paper proposes introducing support for vertical text in C++, addressing the current lack of standard support for this writing orientation in programming. While most coding is done left-to-right and top-to-bottom, many scripts, particularly East Asian ones, can be written vertically. The authors argue that vertical coding has significant advantages, including better alignment with the orientation of modern ultrawide monitors, which have become increasingly wider without corresponding height increases. This allows for longer lines of code to be displayed without horizontal scrolling, reducing strain |
|
Official Azure MCP exploited to leak keyVault secrets Published: 2025-07-09 | Origin: /r/programming Sure! Please provide the content you'd like me to summarize. |
|
Biomni: A General-Purpose Biomedical AI Agent Published: 2025-07-09 | Origin: Hacker News Biomni is a versatile biomedical AI agent aimed at enhancing research productivity in various biomedical fields. It utilizes advanced large language model reasoning combined with retrieval-augmented planning and code execution for autonomous research task management. Users can set up the software using a script and install the Biomni package, configuring their API keys in their bash profile. Biomni is an open-science initiative encouraging community contributions, with a guide available for those interested in aiding its development. The project aims to create a shared library |