News Nug
The Four Stages of Objective-Smalltalk

Published: 2025-08-20 | Origin: /r/programming

The content discusses the challenges associated with using multiple programming languages, particularly focusing on Objective-C and its complexities when integrated with WebScript, an interpreted language part of WebObjects. WebScript resembles Objective-C closely, allowing for code compatibility and dynamic implementation of features like categories on Objective-C objects. However, it also highlights the syntactic complications that arise from Objective-C's hybrid nature. For instance, Objective-C uses special characters for strings and message sending due to constraints from C syntax. In contrast, Objective-S

DeepSeek V3.1 Base Suddenly Launched: Outperforms Claude 4 in Programming, Internet Awaits R2 and V4

Published: 2025-08-20 | Origin: /r/programming

DeepSeek has launched a new V3.1 version, which features an extended context length of 128k, an open-source model with 685 billion parameters, and support for various precision formats (BF16 to FP8). Key highlights of the update include: - **Programming Capability**: V3.1 has excelled in programming tasks, achieving a leading score of 71.6% on the Aider benchmark, outperforming other models like Claude Opus 4, with improved inference

Type-Machine

Published: 2025-08-20 | Origin: Hacker News

The content describes a PhD student's work in computer science with a focus on using Template Haskell to derive record structures and simulate structural subtyping in Haskell. They highlight the limitations of Haskell's nominal type system, particularly in managing records with many fields. The introduction of record syntax in GHC 7.4.1 improved field naming, but challenges remain regarding constraints and field manipulation. The student draws inspiration from TypeScript's structural subtyping and utility types to create a Haskell library called

China blocked all HTTPS connection abroad for 1 hour in midnight

Published: 2025-08-20 | Origin: Hacker News

On August 20, 2025, between approximately 00:34 and 01:48 Beijing Time, China's Great Firewall (GFW) interrupted all communications on TCP port 443 by injecting forged TCP RST+ACK packets. This incident led to widespread internet disruption in China, affecting connections with the global internet. The report documented the findings of this event, noting that their analysis was limited due to the short duration of the incident (about 74 minutes) and encouraged community contributions for

Copilot broke audit logs, but Microsoft won't tell customers

Published: 2025-08-20 | Origin: Hacker News

The content discusses a fully-automated admin platform with features such as tailored simulations, scenario-driven learning experiences with immediate feedback, access to a Partners Hub for Pistachio Partners, a FAQ section, and a video library for onboarding. It then shifts to an incident related to Microsoft’s AI product, Copilot, which was found to access files without leaving an audit trail, raising security and compliance concerns. The issue was reported to Microsoft, which classified it as an important vulnerability but did not notify customers

AGENTS.md – Open format for guiding coding agents

Published: 2025-08-20 | Origin: Hacker News

AGENTS.md is an open format designed to guide AI coding agents and is used by over 20,000 open-source projects. It serves as a dedicated resource for providing the necessary context and instructions for coding agents, complementing the traditional README.md files which are aimed at human contributors. While READMEs focus on project descriptions and guidelines for people, AGENTS.md contains detailed instructions like build steps and testing processes that are more relevant to coding agents. The separation of these two files aims to give agents

Tiny microbe challenges the definition of cellular life

Published: 2025-08-19 | Origin: Hacker News

Recent research led by Takuro Nakayama, an evolutionary microbiologist, has uncovered a microbe with a remarkably tiny genome, raising questions about the definition of life itself. The microbe, named Sukunaarchaeum mirabile, has only 238,000 base pairs in its DNA, which is the smallest known among archaea, a group of single-celled organisms similar to bacteria. Most notably, this microbe lacks metabolic genes and relies almost entirely on its host, a marine din

How to Draw a Space Invader

Published: 2025-08-19 | Origin: Hacker News

The article discusses the author's recent creation, the Space Invader Generator, designed for a code challenge organized by Creative Coding Amsterdam. The author shares their motivation behind the project, which stems from wanting to create something fun while exploring their 3D vector renderer, Rayven. They realized the importance of completing projects rather than getting lost in the development phase and decided to embrace a simple concept that would yield meaningful results—generating random Space Invader designs. The author initially created classic Space Invader renders and

Javadoc is getting a dark mode!

Published: 2025-08-19 | Origin: /r/programming

The content emphasizes that feedback is valued and reviewed seriously. It mentions an error encountered while loading a page, encouraging users to reload. For questions about the project, users are invited to sign up for a free GitHub account to communicate with maintainers and the community. There is a proposed enhancement to add a dark theme to javadoc-generated API documentation, featuring a button for theme selection (Light, Dark, and System Setting) with the option remembered across sessions. A link is provided to view the

D2 (text to diagram tool) now supports ASCII renders

Published: 2025-08-19 | Origin: Hacker News

The latest D2 release (0.7.1) introduces ASCII outputs, enabling users to save output files with a .txt extension using an ASCII renderer. This functionality can be particularly useful for creating clear diagrams in source code comments next to functions or classes. The D2 Vim extension allows users to write D2 code and replace selected text with its ASCII rendering. The default ASCII output uses Unicode for better box-drawing characters, but users can switch to standard ASCII for broader compatibility using the flag --

CRLite: Fast, private, and comprehensive certificate revocation checking in

Published: 2025-08-19 | Origin: /r/programming

Firefox has become the first and only browser to implement a fast and comprehensive certificate revocation checking system that maintains user privacy, not disclosing browsing activities even to Mozilla. As millions of TLS server certificates are issued daily, it's crucial to identify revoked certificates, which can be a security risk. Traditional methods have faced challenges, but Firefox's new mechanism, CRLite, allows it to manage revoked certificates more effectively. CRLite enables Firefox to periodically download a compact list of revoked certificates from Certificate Transparency logs,

How we exploited CodeRabbit: From simple PR to RCE and write access on 1M repos

Published: 2025-08-19 | Origin: Hacker News

The blog post from Kudelski Security Research details a security vulnerability they discovered in CodeRabbit's production servers, leading to remote code execution (RCE) privileges. This breach allowed them to leak API tokens, access a PostgreSQL database, and gain read/write access to one million code repositories, including private ones. The write-up is intended to highlight how such security issues can be exploited to help others avoid similar vulnerabilities, rather than to shame the vendor. It mentions that CodeRabbit promptly addressed these vulnerabilities

Without the futex, it's futile

Published: 2025-08-19 | Origin: /r/programming

Phil Eaton's book club is beginning a discussion on "The Art of Multiprocessor Programming, 2nd Edition," a well-regarded textbook updated in 2021. Despite the author's extensive experience in concurrent programming and interest in the topic, the reviewer expresses disappointment with the book, particularly for not covering essential concepts like futex—an advanced concurrency primitive that significantly improves performance over older locking mechanisms like System V IPC. The futex, introduced in 2002, has been widely adopted in modern

Language Models as Thespians

Published: 2025-08-19 | Origin: /r/programming

Jacob Strieb's article compares Large Language Models (LLMs) to actors, highlighting their similar motivations and behaviors. Strieb suggests that LLMs, like actors, aim to deliver persuasive performances rather than strictly accurate or consistent information. Actors prepare for their roles by exaggerating details to resonate with the audience, while LLMs generate text by mimicking patterns in language learned from training data. This means they often produce statements that sound correct but may not be factually accurate. The article emphasizes that

New Episode of Code and the Coding Coders who Code it! Episode 56 with Aji Slater

Published: 2025-08-19 | Origin: /r/ruby

New episodes are released on the first and third Tuesdays of the month, focusing on Ruby, Rails, JavaScript, and more. Each episode addresses three questions: what the hosts are working on, what challenges they're facing, and something cool to share. The spotlight is on Aji Slater, who transitioned from a circus performer with the Ringling Brothers to a software developer leading teams at ThoughtBot. He discusses his work with a complex, older Rails codebase and the difficulties presented by a uniquely

I run a full Linux desktop in Docker just because I can

Published: 2025-08-19 | Origin: Hacker News

Failed to fetch content - HTTP Error - SSL_read: unexpected eof while reading

Fix conflicts once with git rerere (5-min lab + real story)

Published: 2025-08-19 | Origin: /r/programming

Stackademic is a platform aimed at providing free coding education to programmers, developers, coders, and engineers. The guide discusses the Git feature called "git rerere," which helps manage conflicts by remembering how users resolved them previously. This feature acts like "auto complete" for conflict resolutions, saving time when the same conflict arises again. The content is designed for beginners and explains the utility of rerere in simple terms.

Study of 281 MCP plugins: 72% expose high-privilege actions; 1 in 10 fully exploitable

Published: 2025-08-19 | Origin: /r/programming

Pynt's research highlights the security risks associated with Multi-Connector Protocols (MCPs) used in AI agents, analyzing 281 MCP configurations derived from open agent frameworks and plugin stacks. MCPs connect AI agents to APIs and tools but can create hidden attack surfaces when plugins are combined, leading to vulnerabilities that traditional security measures may overlook. The study illustrates how manipulating untrusted inputs and privileged actions can trigger malicious code execution without human intervention, pointing to the increasing danger of MCPs, which now

Terminal sessions you can bookmark: Building Zellij’s web client

Published: 2025-08-19 | Origin: /r/programming

Zellij is a terminal workspace and multiplexer that allows users to keep sessions alive in the background without needing an attached terminal. The recent version introduced a built-in web client, enabling access to these sessions via a web browser. This post discusses the technology and architecture behind the Zellij Web Terminal, as well as some challenges faced during development. Zellij operates on a client/server architecture, where the client runs in the terminal and communicates with a server that maintains the session state. When Zellij starts,

im looking for good documentation for opengl/vulkan

Published: 2025-08-19 | Origin: /r/programming

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