| News Nug |
|---|
|
Tony Hoare, creator of Quicksort & Null, passed away. Published: 2026-03-11 | Origin: /r/programming Tony Hoare, a renowned computer scientist and Turing Award winner, passed away at 92 on March 5, 2026. He is best known for his contributions to quicksort, ALGOL, and Hoare logic. Jim Miles reflects on his personal experiences with Hoare, highlighting their meetings in Cambridge over the past five years, during which he learned about Hoare's life and work. Miles recalls bringing a blog post summarizing Hoare's achievements to their first meeting, which sparked |
|
Kiq, terminal interface for Sidekiq Published: 2026-03-11 | Origin: /r/ruby In 2025, there was a notable resurgence in interest for terminal interfaces, driven by two new frameworks, Charm and Ratatui, that simplify the development of text user interfaces using Go or Rust. These frameworks offer a wealth of components and examples, which makes it easier to create functionality reminiscent of mainframe applications from the 70s and 80s. Although interactive terminal interfaces have become rare, the author argues that they can be more effective than web applications for many tasks, as they allow |
|
Writing my own text editor, and daily-driving it Published: 2026-03-11 | Origin: Hacker News The author expresses dissatisfaction with their current text editor, Howl, which they have used for about a decade. While Howl is lightweight and efficient, it has several shortcomings, such as a lack of ongoing development, issues with project-wide file searches, difficulties when connected via SSH, and a lack of integrated terminal support. The author has tried various alternative editors, including Helix, but none have met their needs or resonated with them. Consequently, they have been developing their own text editor over the |
|
Zig – Type Resolution Redesign and Language Changes Published: 2026-03-11 | Origin: Hacker News This page provides a curated list of recent changes to the Zig programming language's main branch for the year 2026, authored by Matthew Lugg. A significant update includes the merging of a 30,000 line pull request aimed at improving the internal type resolution logic of the Zig compiler. This enhancement not only cleans up the compiler's internal structure but also introduces user-friendly changes. Key improvements include: - The compiler's lazy analysis of type fields, meaning if a type is not initialized, the compiler |
|
U+237C ⍼ Is Azimuth Published: 2026-03-10 | Origin: Hacker News A CS PhD student at UPenn recaps an update made on Wikipedia by user Moyogo regarding the glyph ⍼, identified as "Azimut," "Richtungswinkel," or "direction angle" in a 1950 symbol catalog from the type foundry H. Berthold AG. The glyph appears consistently in Berthold’s catalogs from 1949 to 1952 but is absent in earlier publications. The student provides scans of the relevant pages and discusses how ⍼ visually |
|
Cloudflare crawl endpoint Published: 2026-03-10 | Origin: Hacker News Cloudflare has introduced new updates, including a beta feature for its Browser Rendering service that allows users to crawl an entire website with a single API call using the new /crawl endpoint. By submitting a starting URL, users can automatically discover and render pages in a headless browser, returning results in formats like HTML, Markdown, and structured JSON. This feature is beneficial for training models, building RAG pipelines, and monitoring site content. Crawl jobs operate asynchronously; users receive a job ID after submission and can |
|
How Container Images Actually Work: Layers, Configs, Manifests, Indexes, and More Published: 2026-03-10 | Origin: /r/programming The write-up aims to clarify the container image format as outlined by the OCI Image Specification and, to a lesser extent, the OCI Distribution Specification. It covers essential concepts such as image layers, configuration, manifests, indexes, image IDs, and digests, focusing on their interrelations rather than just technical descriptions. The discussion includes how commands like "docker pull nginx:alpine" can fetch different images on varying architectures and how image digests can differ across registries, while image IDs remain constant. |
|
Practical Guide to Bare Metal C++ Published: 2026-03-10 | Origin: /r/programming The content discusses the suitability of C++ for embedded and bare metal development, addressing common queries about its advantages over C. While many articles praise C++ for its enhanced features, the author notes a lack of practical guides on utilizing these advantages in embedded systems. The intent of this book is to provide clarity on implementing soft real-time systems without complex task scheduling and prioritizing interrupts, aiming to assist developers in adopting C++ in embedded environments. The target audience is professional C++ developers who wish to deepen their |
|
How many options fit into a boolean? Published: 2026-03-10 | Origin: /r/programming The author discusses their experience with "Paged Out!", a free experimental technical magazine that publishes one-page articles. After neglecting to engage with it initially, they received an invitation to contribute an article. They embraced the opportunity, combining their knowledge of Rust programming with humor to create a one-page piece. The author also shares personal updates, mentioning they will be moving from Central Europe to the Seattle area while continuing to work in AI. They reflect humorously on the timing of the move and express optimism about their |
|
SpacetimeDB: a short technical review Published: 2026-03-10 | Origin: /r/programming The database market is challenging for newcomers due to fierce competition and the difficulty of establishing a unique identity. SpacetimeDB recently released version 2.0 of their database, using an unconventional marketing strategy that includes a humorous video mocking competitors and presenting benchmarks that are misleading. While the reviewer finds this approach distasteful, they recognize some interesting ideas within the product. The reviewer notes that new database companies often mistakenly believe that superior performance alone can ensure success; in reality, sustainable offerings typically come from |
|
Agents that run while I sleep Published: 2026-03-10 | Origin: Hacker News The author discusses challenges associated with using AI, specifically tools like Claude, for code development. Despite building systems that autonomously write code, they faced uncertainty about the correctness of the output. The proliferation of AI in coding has led to quicker merge rates but increased the burden on code reviews, as teams often can't thoroughly review all changes. The issue is compounded when AI writes tests for its own code, creating a cycle of self-validation that lacks an independent perspective. This defeats the purpose of code reviews, |
|
CI should fail on your machine first Published: 2026-03-10 | Origin: /r/programming The article discusses the concept of Continuous Integration (CI), traditionally viewed as a remote process where code is pushed to platforms like GitHub Actions or Jenkins for validation. It suggests a shift to "local-first CI," which allows developers to run checks on their machines before pushing code. This approach can catch failures sooner, enhancing the feedback loop and potentially increasing developer efficiency. However, it also introduces some overhead when CI passes locally, particularly if local and remote checks diverge. While local-first CI should complement remote |
|
Launch HN: RunAnywhere (YC W26) – Faster AI Inference on Apple Silicon Published: 2026-03-10 | Origin: Hacker News RCLI is an on-device voice AI for macOS that allows users to control their Macs via voice with no need for cloud connectivity. It features a complete speech-to-text (STT), language model (LLM), and text-to-speech (TTS) pipeline, optimized for Apple Silicon, providing low latency and high performance. The system supports 38 macOS actions, local document queries, and fast indexing with support for various file formats. Key components include the MetalRT GPU inference engine designed |
|
Practical Hotwire Tutorials Galore Published: 2026-03-10 | Origin: /r/ruby The content discusses new resources for developers, including the "agentic skills pack" and the "MCP server" designed for building assistant workflows. It highlights 46 hands-on challenges for Rails developers, published biweekly since 2023, focusing on depth beyond standard documentation. A subscription on Patreon grants access to all solutions. Additionally, it presents "The Hotwire club," a valuable resource for those looking to enhance their Hotwire skills through well-crafted exercises and detailed answers. Key features and techniques highlighted |
|
I added ViewComponent & Shared Partial support to 52 Rails UI components (Rails Blocks Update) Published: 2026-03-10 | Origin: /r/ruby Failed to fetch content - HTTP Status - 403 |
|
Sit On Your Ass Web Development Published: 2026-03-10 | Origin: /r/programming The content discusses insights from "Poor Charlie's Almanack," a compilation of talks by Charlie Munger, vice-chairman of Berkshire Hathaway. Munger promotes the idea of "sit on your ass investing," which contrasts with day trading. Instead of constantly buying and selling stocks in response to market fluctuations, Munger suggests investors focus on research and preparation. This allows them to recognize and capitalize on significant opportunities when they arise, trusting their well-informed decisions and letting compounding benefits work over time. The author |
|
Rails db:seed:replant Published: 2026-03-10 | Origin: /r/ruby Failed to fetch content - HTTP Error - Failed to open TCP connection to :80 (Connection refused - connect(2) for nil port 80) |
|
Help - 403 Forbidden on tailwindcss-ruby during Fly.io deploy Published: 2026-03-10 | Origin: /r/ruby Failed to fetch content - HTTP Error - Failed to open TCP connection to :80 (Connection refused - connect(2) for nil port 80) |
|
Training a Neural Network in 16-bit Fixed Point on a 1982 BBC Micro Published: 2026-03-10 | Origin: /r/programming The article discusses the author's exploration of running a neural network on an 8-bit microcontroller, specifically the BBC Micro, and highlights that it is indeed possible. The neural network was initially implemented in BBC Basic, which was very slow, prompting the author to optimize it using a lookup table for the sigmoid function. The second stage involved porting the code to 6502 assembly language, which improved performance. The author addresses challenges related to performing floating-point math in 8-bit registers by using a fixed |
|
What it costs to run 1M image search in production Published: 2026-03-10 | Origin: /r/programming Giorgi Kenchadze's article discusses the complexities and costs involved in building an image search infrastructure for a production workload of 1 million images and thousands of users. It outlines a two-step pipeline: at insert time, images are uploaded to S3, processed through a vision model (such as CLIP or OpenCLIP), converted into vectors, and stored in a vector database along with metadata. During search time, user queries are also embedded into vectors, and the closest matches are identified |