News Nug
DeepGEMM: clean and efficient FP8 GEMM kernels with fine-grained scaling

Published: 2025-02-26 | Origin: Hacker News

DeepGEMM is a library for efficient FP8 General Matrix Multiplications (GEMMs), featuring fine-grained scaling and designed for use with NVIDIA Hopper tensor cores. It requires no compilation during installation, as it compiles kernels at runtime through a lightweight Just-In-Time (JIT) module. The library supports both normal and Mix-of-Experts (MoE) grouped GEMMs and relies on a simple core kernel function of approximately 300 lines of code, making it accessible for learning matrix

Material Theme has been pulled from VS Code's marketplace

Published: 2025-02-25 | Origin: Hacker News

The content discusses feedback from users regarding issues experienced with the "vsc-material-theme" extension for VS Code. Users are expressing frustration, particularly because the extension appears to automatically reinstall even after users attempt to uninstall it. Marketplace comments indicate that others are facing similar problems, leading to dissatisfaction among users. Some comments reference a potential alternative extension by "t3dotgg" and express gratitude to another user, @ahnberg, for helpful advice. Overall, there is a clear concern about the functionality and reliability

Developer's Guide to Working Abroad

Published: 2025-02-25 | Origin: /r/programming

The content emphasizes the importance of feedback and provides a comprehensive guide for securing a tech job abroad. It acknowledges the excitement and challenges of relocating for work, offering insights into critical topics such as resume preparation, job searching, salary negotiation, and understanding relocation packages. The guide suggests using specific keywords, like "relocation" along with job titles, when searching on platforms without relocation filters, such as LinkedIn, to streamline the job search process. Additionally, it includes links to articles, resources, and tools

Building and operating a pretty big storage system called S3

Published: 2025-02-25 | Origin: /r/programming

On July 27, 2023, a guest post by Andy Warfield, VP and distinguished engineer at Amazon S3, was published, reflecting on his experiences and insights from his keynote address at USENIX FAST '23. Warfield discusses the complexities and considerations involved in building and operating a massive storage system like S3, which is crucial in today's digital world. His career spans various aspects of computer systems, but his time at S3 has expanded his perspective to encompass technical details (like

I Went to SQL Injection Court

Published: 2025-02-25 | Origin: Hacker News

The Illinois General Assembly is currently considering a bill, sponsored by Senator Donald P. DeWitte, that would allow public bodies, such as cities and school districts, to withhold information from Freedom of Information Act (FOIA) requests by keeping it in databases. Illinois has a strong FOIA statute that grants public access to most information held by public bodies, requiring them to respond to requests within 5 days. However, the law has limitations, such as not compelling public bodies to create new records

Hard problems that reduce to document ranking

Published: 2025-02-25 | Origin: Hacker News

The author discusses two claims related to using patch diffing and document ranking for identifying N-day vulnerabilities in software security. They demonstrated at RVAsec '24 that listwise document ranking can effectively locate functions in patch diffs that address vulnerabilities specified in security advisories. This approach reframes the problem as ranking diffs by relevance to the advisory rather than requiring specialized security knowledge. The author mentions that document ranking techniques can also aid in other offensive security tasks, such as targeting fuzzing efforts and identifying potential injection

OlmOCR: Open-source tool to extract plain text from PDFs

Published: 2025-02-25 | Origin: Hacker News

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

Show HN: Tach – Visualize and untangle your Python codebase

Published: 2025-02-25 | Origin: Hacker News

Tach is an open-source Python tool designed to visualize and enforce dependencies and interfaces, inspired by modular monolith architecture. Written in Rust, it can be installed via pip, has no runtime impact, and interoperates with existing systems. The tool allows users to incrementally adopt its functionalities and provides a command-line interface (CLI) for project setup. Users can interactively configure project boundaries, monitor module imports, and visualize dependency graphs. Upon detecting violations of set dependencies, Tach generates errors and can be

Resident physicians' exam scores tied to patient survival

Published: 2025-02-25 | Origin: Hacker News

A recent study published in JAMA indicates a correlation between newly minted doctors' scores on medical board exams and patient outcomes, specifically the likelihood of patient mortality and readmission to the hospital. Unlike periodic assessments during residency, which did not show a connection to patient outcomes, the study found that higher board exam scores were associated with lower risks of patients dying within seven days of admission or being readmitted afterward. Conducted by researchers from Harvard Medical School and the American Board of Internal Medicine (ABIM), the

Hyperspace

Published: 2025-02-25 | Origin: Hacker News

The author recounts their fascination with file systems, beginning with the Macintosh's user interface in 1984, and their excitement about the Be File System during the late 1990s. Although they hoped ZFS would be adopted for macOS, Apple eventually introduced the Apple File System (APFS) at WWDC 2017. APFS, while not ZFS, brought significant improvements over HFS+, including features like point-in-time snapshots and copy-on-write clones. These clones enable efficient

Launch HN: Browser Use (YC W25) – open-source web agents

Published: 2025-02-25 | Origin: Hacker News

The content emphasizes the importance of user feedback and encourages users to engage with the platform. It provides resources like documentation and examples for making websites accessible to AI agents. Users are invited to connect their AI agents to a browser easily and share their projects on Discord. A hosted version for instant browser automation is offered, along with setup instructions using Python and Playwright. Various prompts demonstrate how AI agents can perform tasks such as managing leads in Salesforce, applying for jobs, creating documents in Google Docs, and organizing data

Cafe Maria. A functional cooking sim game played entirely in MariaDB.

Published: 2025-02-25 | Origin: /r/programming

The content discusses a proof of concept demo for a text-based, multiplayer restaurant simulation game that operates entirely within a MariaDB instance. The game allows players to manage a restaurant solo or with friends but is not a full-fledged game and is more of a fun project. It employs stored procedures and has no external components. Players can expect some playable functionality, though many features are unbalanced and limited in scope, with only three recipes available. The author advises caution when installing it due to potential security vulnerabilities and

Embedding Python in Elixir, it's Fine

Published: 2025-02-25 | Origin: /r/programming

In recent years, Elixir has been enhancing its Machine Learning and Data capabilities through the Nx (Numerical Elixir) initiative, leading to the development of various projects such as Nx, Explorer, Axon, Bumblebee, and Scholar. This effort has intentionally avoided direct dependency on Python libraries to maintain control over design decisions and to simplify integration into existing systems without the complexities of Python environments. A significant aspect promoting Elixir's adoption is Livebook, a computational notebook platform that emphasizes reproducibility, distributed

Rails at Scale: Interprocedural Sparse Conditional Type Propagation

Published: 2025-02-25 | Origin: /r/ruby

The content discusses the challenges of determining the types of variables in Ruby due to the language's dynamic nature and inheritance. It highlights issues with methods like `to_s`, which can be defined in multiple classes, making it difficult to ascertain which version is being called or what the return type of functions is. While type annotations can help clarify some of this, they do not provide full certainty, especially with features like T.unsafe that allow for type "lying," leading to an unsound type system. The

Open-Source Ada: From Gateware to Application

Published: 2025-02-25 | Origin: /r/programming

The content discusses the GNAT Academic Program (GAP) at AdaCore, focusing on hands-on learning in system programming using a fully open-source stack, which allows exploration from hardware to high-level applications. The Neorv32 Basic Input/Output System (BIOS) project, created by Stephan Nolt­ing, utilizes a VHDL-based RISC-V softcore, showcasing Ada as a robust alternative to C for open-source development. RISC-V is highlighted as a flexible and scalable open

Introducing GitHub Copilot agent mode (preview)

Published: 2025-02-25 | Origin: /r/programming

GitHub Copilot has introduced a new "agent mode" for VS Code, allowing it to function as an autonomous coding assistant. This mode can perform complex coding tasks, including analyzing codebases, making edits, and executing terminal commands. It is available for VS Code Insiders and will soon be accessible in the stable version. Users can activate the Copilot agent mode through the Edits view and leverage its capabilities to create applications, refactor code, write tests, migrate old code, generate documentation,

Evaluating modular RAG with reasoning models

Published: 2025-02-25 | Origin: Hacker News

Kapa.ai is an AI assistant that leverages Large Language Models (LLMs) to answer technical questions about products through a Retrieval-Augmented Generation (RAG) system. Maintaining an effective RAG system is challenging due to various interacting parameters, such as prompt templates and reranking methods, which require ongoing refinement and expertise. Recent advancements in reasoning models like DeepSeek-R1 and OpenAI’s o3-mini show promise, as they utilize Chain-of-Thought (CoT) prompting to tackle complex

Debugging: The Secret Emotional Gym Where Developers Forge Mental Muscle

Published: 2025-02-25 | Origin: /r/programming

The content discusses the emotional challenges and experiences that programmers face during the debugging process. It emphasizes that debugging is not solely about fixing code but also involves navigating a psychological journey that contributes to personal growth as a developer. The author, Terrance Craddock, reflects on the often overlooked emotional toll of debugging and hints at a universal emotional arc that developers experience over time. Additionally, the content promotes Mr. Plan ₿ Publication as a platform for writers to share their articles and connect with a community.

GitHub - davidesantangelo/yll: YLL is a lightweight and secure URL shortener built with Ruby on Rails. It provides a simple way to generate short links, track clicks, and optionally set expiration times or password protection for added security.

Published: 2025-02-25 | Origin: /r/ruby

YLL is a lightweight and secure URL shortener developed with Ruby on Rails, allowing users to easily create short links, track clicks, and utilize features like expiration dates and password protection. Users can generate shortened URLs through a web form and manage their links securely. The application supports deployment via Kamal and continuous deployment with GitHub Actions. YLL includes features such as password protection using Rails' has_secure_password, rate limiting to prevent abuse, and follows best practices for security and performance. It is licensed

How Core Git Developers Configure Git

Published: 2025-02-25 | Origin: /r/programming

The article discusses various `git config` settings that should potentially be default values in Git, highlighting changes that even core developers have made. The author reflects on these lesser-known settings, inspired by a previous discussion about Git’s `help.autocorrect` feature and a mailing list thread called "Spring Cleaning." In this thread, Git contributors examined which settings they felt should be changed based on their experiences and proposed a concise list of nine config settings and three aliases that could be considered for default status. The