| News Nug |
|---|
|
ETH Zurich and EPFL to release a LLM developed on public infrastructure Published: 2025-07-11 | Origin: Hacker News Failed to fetch content - HTTP Status - 404 |
|
jank is C++ Published: 2025-07-11 | Origin: Hacker News The author discusses the progress made in enhancing C++ interoperability using the jank tool in a recent quarter. Initially, in April, jank could not access C++. Now, thanks to individual sponsors and support from Clojurists Together, as well as contributions from Vassil Vassilev and Lang Hames in Clang and LLVM, significant advancements have been achieved. Key improvements include the implementation of manual memory management using `cpp/new` and `cpp/delete`, leveraging jank's garbage collection |
|
I built a vector-value database in pure C: libvictor + victordb (daemon) — AMA / Feedback welcome Published: 2025-07-11 | Origin: /r/programming The content emphasizes the importance of user feedback, stating that all input is taken seriously. It mentions various software development kits (SDKs) available for different programming languages, including C++, Python, Golang, C#, and a .NET SDK for interoperation between C and C#. The .NET SDK has exceeded 1,000 downloads on NuGet, reflecting community trust. Additionally, there are several instances of loading errors mentioned with no further details provided. |
|
Switching to Claude Code and VSCode Inside Docker Published: 2025-07-11 | Origin: Hacker News The author recently transitioned from their old AI coding setup to using Claude Code in Docker with VSCode's "Dev Container" feature. They discuss their motivations for the switch, particularly frustrations with their previous tool, Cursor, which had recently changed its pricing model and faced performance issues such as slow response times. Despite previously being satisfied with a monthly plan, the inadequacy of Cursor's rate limits led the author to reevaluate their options. Consequently, they opted for a $20 subscription to Claude, which they |
|
Fsyncgate: errors on fsync are unrecoverable Published: 2025-07-11 | Origin: /r/programming The archived "fsyncgate" email thread discusses a data corruption issue encountered by a user involving PostgreSQL and a storage error. The key takeaway is that PostgreSQL should "PANIC" when it receives an EIO (input/output error) from fsync(), rather than retrying it, especially on Linux systems. The thread outlines how PostgreSQL's handling of the fsync() EIO caused a checkpoint to succeed despite an underlying write failure, leading to data loss. The retry cleared the error |
|
Active Agent with Justin Bowen - Episode 03 of The Ruby AI Podcast Published: 2025-07-11 | Origin: /r/ruby The Ruby AI Podcast focuses on the intersection of Ruby programming and artificial intelligence, featuring expert insights and interviews. In a recent episode, hosts Valentino Stoll and Joe Leo welcomed Ruby veteran Justin Bowen, who introduced Active Agent—a Rails-native framework designed to integrate LLMs, vector search, and business logic into the MVC architecture. The discussion also covered practical aspects of deploying AI, including the importance of defining ground-truth datasets, evaluation harnesses, and maintaining production quality to avoid AI hallucinations. The |
|
Not So Fast: AI Coding Tools Can Actually Reduce Productivity Published: 2025-07-11 | Origin: /r/programming A fireside chat will take place in San Francisco on July 16, featuring primary authors of a paper discussing AI coding tools. Despite the ongoing hype about these tools being able to assist startups and non-programmers, a study by METR conducted in spring 2025 reveals that experienced developers working on mature projects experienced a 19% decrease in productivity when using AI tools. The study's participants initially believed their productivity had increased by 20%, highlighting a discrepancy between perception and reality. While the findings |
|
Forget Borrow Checkers: C3 Solved Memory Lifetimes With Scopes Published: 2025-07-11 | Origin: /r/programming The post discusses memory management techniques in modern programming, focusing on the C3 language's new default, the Temp allocator, which uses memory allocation regions or arenas. The Temp allocator strikes a balance between the simplicity of garbage collection and manual memory management, helping to reduce memory leaks, improve performance, and simplify code. It distinguishes between stack allocations (compact and automatic) and heap allocations (larger and customizable). Traditional memory management methods like RAII, reference counting, and garbage collection have their trade-offs, |
|
Australia is introducing age checks for search engines like Google Published: 2025-07-11 | Origin: Hacker News Starting December 27, 2023, Google and Microsoft will be required to implement age-assurance technology for logged-in users in Australia as part of a new regulation aimed at preventing children's access to harmful content such as pornography. This mandate follows rules introduced in June that compel tech companies to verify user ages. Experts have expressed concerns that this change could compromise privacy and may not effectively protect young users. Lisa Given, a professor specializing in age-assurance technology, noted the unprecedented nature of such regulations globally and |
|
Chrome's hidden X-Browser-Validation header reverse engineered Published: 2025-07-11 | Origin: Hacker News The text discusses the analysis of Chrome's private `x-browser-validation` header, which is thought to serve as an integrity signal to verify user agents and detect spoofing attempts. The author outlines a method for reverse engineering this header, stating that it involves concatenating two strings, hashing the data with SHA-1, and base64 encoding the result. The process is described in detail, including steps to access Chrome's source code using IDA, specifically focusing on a master routine that constructs the `X |
|
Rails API Throttling: Handling Multiple Endpoints with Different Limits Published: 2025-07-11 | Origin: /r/ruby The content discusses the importance of respecting rate limits when integrating with external APIs, particularly when different endpoints have varying limits. It proposes creating a robust throttling system to manage this complexity, using Redis for distributed rate limiting. The article outlines the creation of a rate limiter class that tracks request counts within specified time windows and raises exceptions when limits are exceeded. A configuration class is introduced to centralize rate limit definitions for ease of maintenance. An HTTP client is developed that automatically checks rate limits before making requests and handles |
|
Grok: Searching X for "From:Elonmusk (Israel or Palestine or Hamas or Gaza)" Published: 2025-07-11 | Origin: Hacker News On July 11, 2025, a user discovered that Grok 4 sometimes searches for Elon Musk's opinions before answering controversial questions. This was shared by Jeremy Howard and other users. The user created a SuperGrok account and tested it with the prompt, "Who do you support in the Israel vs. Palestine conflict? One word answer." Grok responded by searching for Musk's stance, ultimately generating "Israel" as its answer. The user's exploration revealed the search process Grok undert |
|
Rejigs: Making Regular Expressions Human-Readable Published: 2025-07-10 | Origin: /r/programming Rejigs is a C# library designed to simplify the creation and maintenance of regular expressions, which can often be difficult to read and understand. Traditional regex patterns, like those used for email validation, can be complex and challenging to modify. Rejigs changes this by allowing developers to build regex patterns using intuitive, English-like methods, making them more readable and easier to maintain. With Rejigs, developers can construct expressions incrementally, benefiting from clear intent and documentation within the code. The |
|
Practical Bitwise Tricks in Everyday Code (Opinioned) Published: 2025-07-10 | Origin: /r/programming The content discusses the use of bitwise operations in programming, particularly emphasizing their readability and practicality. The author expresses a preference for clear code over complex bitwise tricks, using the example of swapping two variables with XOR as a case where bitwise operations may look appealing but ultimately complicate understanding without performance benefits. The article highlights a common optimization—using bitwise shifts for multiplication and division by powers of two—as a legitimate micro-optimization, though it advocates for using standard operators for clarity in most situations. |
|
Show HN: Pangolin – Open source alternative to Cloudflare Tunnels Published: 2025-07-10 | Origin: Hacker News Pangolin is a self-hosted tunneled reverse proxy server designed to securely connect private resources on distributed networks, offering identity and access control features. It enables organizations to create encrypted tunnels that facilitate access to remote services without needing to open ports, making it suitable for environments with restrictive firewalls. The server acts as a central hub for isolated networks. Key features include: - A dashboard UI for resource management. - Domain configuration to connect private sites and expose various resources. - Use case examples include bypass |
|
Measuring the Impact of AI on Experienced Open-Source Developer Productivity Published: 2025-07-10 | Origin: /r/programming A randomized controlled trial (RCT) was conducted to assess the impact of early-2025 AI tools on the productivity of experienced open-source developers working on their own repositories. The findings revealed that the use of AI tools actually slowed developers down, taking 19% longer to complete tasks compared to when they did not use these tools. This study serves as an early snapshot of AI capabilities, and the researchers plan to continue employing this methodology to evaluate how AI might accelerate research and development in the future. The |
|
FOKS: The Federated Open Key Service Published: 2025-07-10 | Origin: /r/programming FOKS offers a secure, end-to-end encrypted Git hosting service, ensuring that your data is encrypted on your device before transmission, making it safe even if the server is compromised. It supports both self-hosting and external hosting through a federated model. FOKS employs modern PQ-secure public-key cryptography to protect against quantum attacks. Internally, it uses an encrypted key-value store, where clients encrypt data before upload and decrypt it upon retrieval, supporting various data types. FOK |
|
How to prevent name collisions when naming your Ruby classes Published: 2025-07-10 | Origin: /r/ruby The content discusses the issue of creating a custom class named `Integer` in Ruby, which leads to a `NoMethodError` due to a conflict with Ruby's built-in `Integer` class. When trying to instantiate objects using `Integer.new`, Ruby mistakenly calls the `new` method on its own `Integer` class instead of the custom one, resulting in the error. To avoid this conflict, the recommended solution is to wrap the custom `Integer` class in a module (e.g., |
|
Show HN: Open source alternative to Perplexity Comet Published: 2025-07-10 | Origin: Hacker News Of course! Please provide the content you'd like me to summarize. |
|
bitchat Technical Whitepaper -- "bitchat is a decentralized, peer-to-peer messaging application that operates over Bluetooth Low Energy (BLE) mesh networks. . . . This whitepaper details the technical architecture, protocols, and privacy mechanisms that enable secure, decentralized communication." Published: 2025-07-10 | Origin: /r/programming The content emphasizes that all feedback is valued and taken seriously. It also points out that additional qualifiers can be found in their documentation, and suggests reloading the page due to an error that occurred while loading. |