News Nug
GitHub - LukaJCB/ts-mls: A MLS library for TypeScript

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

The content discusses a TypeScript implementation of Messaging Layer Security (RFC 9420, MLS), emphasizing immutability and type safety. This project is designed to work in browsers, Node.js, or serverless environments and incorporates Post Quantum public-key algorithms. It has a single dependency, @hpke/core, but additional libraries may be needed for specific cipher suites, such as @noble/curves for the MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed

What Microchip doesn't (officially) tell you about the VSC8512

Published: 2025-07-04 | Origin: Hacker News

In part 3 of the LATENTRED series, the author updates on the project's development of an open source 1U managed Ethernet switch, focusing on the line card's PHY. They opted for the VSC8512 PHY due to its QSGMII interface which requires fewer pins and is believed to have an open datasheet. However, the author encountered issues when they discovered that critical information, such as how to adjust the SERDES TX equalizer settings, is available only in a confidential

Wrote a Guide on Docker for Beginners with a FastAPI Project

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

Docker helps ensure that machine learning projects and software run consistently across different environments by packaging all necessary components—code, dependencies, and environment—together. This eliminates common issues like "it works on my machine," where software behaves differently on other systems due to variations in programming languages, library versions, or settings. For example, if a project is developed in an older version of Python and someone tries to run it on a newer version, it may break due to deprecated features. Docker avoids these problems by

Nvidia is full of shit

Published: 2025-07-04 | Origin: Hacker News

NVIDIA is facing significant backlash following the problematic launch of its RTX 50 series, with multiple issues arising. Scalper bots are buying up GPUs before they reach consumers, and reports suggest that NVIDIA may be intentionally limiting stock to inflate perceived demand. Additionally, there are serious concerns about faulty hardware, including power connectors melting and GPUs leaving the factory with missing processing units. The company has also been criticized for increasingly deceptive marketing practices and deteriorating driver quality, a previously praised aspect of their products. To make

Being too ambitious is a clever form of self-sabotage

Published: 2025-07-04 | Origin: Hacker News

The passage discusses the tension between the idealized vision of creative work in one's imagination and the reality of bringing that vision to life. Before creation begins, the work exists perfectly in the creator's mind, embodying pure potential. However, once the creator attempts to actualize this vision, the perfect version is lost. This process is framed as a kind of "murder" of the impossible in favor of the possible. The author points out that humans uniquely experience suffering due to their imaginative capabilities, creating

What is GitOps: A Full Example with Code

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

GitOps is a methodology that utilizes Git as the single source of truth for code, infrastructure, configuration, and deployment processes. By ensuring that any changes in the repository are automatically reflected in the system, it emphasizes the importance of continuous deployment and Infrastructure as Code (IaC). The content outlines a simple evolution of a blog website from standard DevOps practices to full GitOps implementation. Initially, the blog uses basic Continuous Integration (CI) where developers push code, which is automatically tested and built through Git

How to Incapacitate Google Tag Manager and Why You Should (2022)

Published: 2025-07-04 | Origin: Hacker News

The text discusses the negative implications of Google Tag Manager (GTM) for online privacy and ethics. It argues that rejecting corporate surveillance practices now leads to penalties, highlighting the need for resistance. GTM is described as a powerful tool that conceals invasive tracking scripts, allowing for greater surveillance under the guise of privacy improvements. Google is reportedly shifting its focus from third-party to first-party cookies in order to bypass content-blocking measures, raising concerns about the increasing difficulty of safeguarding user privacy. The connection between

Ship tools as standalone static binaries

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

OpenAI is transitioning from TypeScript to Rust for rebuilding Codex, highlighting the benefits of using compiled languages for creating standalone tools. The primary advantage of distributing tools as static binaries is not speed, but the elimination of the need for users to install a complete toolchain, thereby reducing the chances of shipping faulty code. Citing examples like the Google Cloud CLI, which has had issues when written in Python, the text emphasizes the difficulties smaller teams face without a compiler. Tools in interpreted languages require proper development

EverQuest

Published: 2025-07-04 | Origin: Hacker News

The content discusses the dynamics of innovation and success in the MMORPG (Massively Multiplayer Online Role-Playing Game) industry during the late 1990s, focusing on the contrast between early pioneers like Ultima Online and the later success of EverQuest. While Ultima Online demonstrated the potential for a persistent online fantasy world, it was EverQuest that capitalized on this concept and achieved massive popularity and profitability. EverQuest benefited from observing Ultima Online's missteps and was able to refine its approach accordingly

Mini NASes marry NVMe to Intel's efficient chip

Published: 2025-07-04 | Origin: Hacker News

The author is rebuilding their homelab by transitioning from a large 24U rack to a mini rack, primarily because their data storage needs have decreased significantly from 120 TB to a target of around 6 TB. This change is driven by no longer needing extensive storage after moving a YouTube channel to a studio. The author has explored three new mini NAS devices released in the past year, which utilize Intel N100/N150 chips and feature various M.2 NVMe SSD slots and 2

Epanet-JS

Published: 2025-07-04 | Origin: Hacker News

epanet-js is a new web application that integrates modern web mapping with the EPANET hydraulic simulation algorithm, aimed at professionals involved in planning and updating water utility systems. Created by Luke Butler and Sam Payá at Iterating, it addresses a fascinating area that the author is keen on but not very knowledgeable about. The author reminisces about their past project, Placemark, a mapping tool that was open-sourced under the permissive MIT license, which encouraged others to build upon it, including creating

Rails 8 adds ability to use multiple rate limits per controller

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

Rails 8 enhances rate limiting in Action Controller by allowing multiple configurations per controller using the `name:` parameter, unlike Rails 7.2, which was restricted to a single rate limit. The flexibility supports different strategies for various actions, such as burst control, hourly quotas, and delete protection. Each action can have tailored rate limits that function cohesively, thanks to the inclusion of the name in the cache key. This update removes the need for external gems and provides developers with fine-grained control over

MCP 2025-06-18 Spec Update: Security, Structured Output & Elicitation

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

The Model Context Protocol (MCP) has been updated to address past security vulnerabilities, with the new specification release being MCP v2025-06-18. Key updates include: 1. MCP servers are now classified as OAuth 2.0 Resource Servers. 2. Clients are required to include a resource parameter when requesting tokens, linking each token to a specific MCP server. 3. Support for structured JSON tool output has been added. 4. Servers can request user input mid-session through an elicitation

GitHub CEO says the ‘smartest’ companies will hire more software engineers not less as AI develops

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

GitHub CEO Thomas Dohmke expressed optimism about the future of software development, despite current layoffs and hiring freezes in the tech industry. In an episode of The Silicon Valley Girl Podcast, he highlighted the advancing technology that allows developers to quickly turn ideas into functioning applications. He believes that businesses will benefit from hiring more developers to leverage AI tools, like GitHub Copilot, rather than reducing teams. Dohmke argues that no-code tools are accelerators, not replacements for technical expertise, and that AI

The chemical secrets that help keep honey fresh for so long

Published: 2025-07-04 | Origin: Hacker News

Honey is a unique natural sweetener known for its impressive resistance to spoilage, allowing it to remain edible for years. While many foods can easily succumb to bacteria, fungi, and mould due to moisture and other favorable conditions, honey's stability is attributed to its chemistry and the way it's produced. Unlike typical foods, which have limited shelf lives and require preservation methods to fend off microorganisms, honey can crystallize but will not go bad in a sealed container. This resilience stems from its low moisture content,

The first time I was almost fired from Apple

Published: 2025-07-04 | Origin: Hacker News

In October 1995, the author was hired by Apple during a challenging period for the company, often referred to as "circling the drain." Despite the speculation about Apple's potential closure, they needed a graphics engineer for the QuickdrawGX project, which the author, a 31-year-old programmer from Kansas, accepted after an unusual interview process. The transition to California, along with relocating their girlfriend and two cats, was a significant change. Initially, the author felt overwhelmed by the talent and professionalism

How I wrote my own "proper" programming language

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

The content introduces a series of posts about building a programming language called Bolt, which is designed to be a Java-style concurrent object-oriented language. The author, who has no prior experience with OCaml or C++, aims to create a compiler for Bolt and emphasizes that readers can also learn along the way. The motivation for creating one's own programming language is discussed, highlighting the benefits of developing a deeper understanding of programming concepts and the commonalities among languages. The series will outline specific features of Bolt and provide

WASM Agents: AI agents running in the browser

Published: 2025-07-04 | Origin: Hacker News

The article discusses the challenges associated with the adoption of open-source agents, primarily due to the need for additional tools and frameworks to be installed. To address this, the authors introduce a blueprint for Wasm agents, which allows agents to be defined as standalone HTML files that can be opened and executed directly in a browser, eliminating the need for extra dependencies. This initiative is still experimental but aims to enable easier testing and application development. The development of the agent-factory tool also led the authors to explore

Major reversal in ocean circulation detected in the Southern Ocean

Published: 2025-07-04 | Origin: Hacker News

The ICM-CSIC has developed satellite data processing algorithms that were instrumental in detecting a significant change in the Southern Hemisphere's ocean circulation. An international research team, led by the National Oceanographic Center, has observed an unprecedented reversal in the Southern Ocean's circulation for the first time, as published in the journal PNAS. Since 2016, the study indicates a troubling increase in surface salinity between the polar and subpolar gyres, suggesting that the Southern Hemisphere's deep ocean circulation (SM

The Rise of Whatever

Published: 2025-07-04 | Origin: Hacker News

The author reflects on how computer use became less enjoyable over time, particularly focusing on the constraints imposed by systems like PayPal. In the 2000s, PayPal was the primary way to move money online in the U.S., but it operated with significant restrictions, often locking accounts and holding funds without clear recourse for users. This created frustration, especially for small businesses and individuals wanting to operate freely. The introduction of Bitcoin around 2010 appeared to offer a revolutionary alternative by allowing direct money