News Nug
Is ruby really dead?

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

The author proposes a theory that the psychological concept of "imprinting," where young animals form attachments to their first moving encounter, can also apply to programmers and their initial programming languages. Many novice programmers feel a strong connection to Ruby, which is often seen as a language that makes programming truly resonate. The author, who first learned programming with Java and later found a deeper connection with JavaScript and OCaml, shared their experience of learning Ruby later in their career. Unlike the early enthusiasts, they viewed Ruby

Valve reveals it’s the architect behind a push to bring Windows games to Arm

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

Valve is working to enable Windows games to run on Arm architecture, potentially transforming gaming on mobile devices and other Arm-based hardware. In an exclusive interview, Valve discusses this initiative, highlighting that their technology could allow PC games to be played on devices like smartphones without waiting for developers to port them. The article compares Valve's advancements to its Steam Frame technology, which could also facilitate gaming on future devices. Currently, tools like Proton and the emulator Fex are enabling some Windows games to run on Linux-based phones

Paged Out

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

Paged Out! is a free, experimental technical magazine that focuses on programming, hacking, security, retro and modern computers, electronics, and related topics. It is created by and for the community, functioning on a not-for-profit basis, aiming to remain free for download, sharing, and printing. Printed issues are available at events and through print-on-demand bookstores. As of October 2025, the magazine has released several issues, with Issue #7 being titled "Best kind of readme."

Amazon launches Trainium3

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

Amazon Web Services (AWS) unveiled its new AI training chip, Trainium3, at the AWS re:Invent 2025 conference. The Trainium3 chip, built using advanced 3-nanometer technology, provides significant improvements in performance for AI training and inference, boasting over four times the speed and memory compared to the previous generation. The new UltraServer system can connect thousands of these chips, enabling applications to access up to 1 million Trainium3 chips—ten times more than its

IBM CEO says there is 'no way' spending on AI data centers will pay off

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

AI companies are heavily investing in data centers as they pursue artificial general intelligence (AGI), but concerns about the financial viability of these investments are growing. IBM CEO Arvind Krishna noted on the "Decoder" podcast that it's unlikely these companies will recoup their capital expenditures (capex) on data centers. He mentioned that constructing a data center with one gigawatt capacity costs about $80 billion. Therefore, if a company commits to building 20 to 30 gigawatts, the costs could

Anthropic acquires Bun

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

Bun has been acquired by Anthropic, which intends to use Bun as the infrastructure for its AI coding products, including Claude Code and Claude Agent SDK. If Bun encounters issues, it would directly affect these products, creating an incentive for Anthropic to maintain its quality. The creator of Bun began the project out of frustration with slow development cycles while building a browser-based voxel game. He initially worked on porting esbuild's JSX and TypeScript transpiler, achieving significant speed improvements over existing tools.

Progress on TypeScript 7 - December 2025

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

The TypeScript team has been working on "Project Corsa," a significant effort to port the TypeScript compiler and language service to native code, aimed at improving performance, memory usage, and parallelism. This initiative, leading to TypeScript 7.0, has shown substantial progress and now includes fast, stable, and user-friendly native previews available in the Visual Studio Code Marketplace. Key features such as auto-imports, find-all-references, and renaming have been reimplemented and are functional

Desugarging the Relationship Between Concrete and Abstract Syntax

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

The content discusses the transition from parsing syntax into a Concrete Syntax Tree (CST) to the next step of desugaring, which involves removing syntactic sugar and mapping the CST onto an Abstract Syntax Tree (AST). Desugaring helps eliminate unnecessary syntax (like | or =) from the compiler's focus, making it easier for later passes by emphasizing what's semantically important. While it may seem cumbersome, using separate ASTs is beneficial, especially because certain constructs like let expressions are not represented in the

OpenAI declares 'code red' as Google catches up in AI race

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

Google's urgent response to OpenAI's ChatGPT is yielding positive results, indicating a shift in the competitive AI landscape. OpenAI's CEO, Sam Altman, has called for a "code red" to enhance ChatGPT, acknowledging that their lead over competitors like Google and Anthropic is diminishing. This includes postponing other projects to concentrate on improvements such as speed, reliability, and personalization of ChatGPT. Altman has implemented daily meetings for the team focused on these enhancements and is facilitating team transfers

Keeping Documentation Up-To-Date via Automated Screenshot Generation Implemented with Ruby!

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

Keeping documentation up to date is challenging, especially when product changes affect multiple sections, such as screenshots. Outdated screenshots are a common issue because not all changes prompt corresponding documentation updates. To mitigate this, it is beneficial to automate screenshot updates. By setting up automatic generation of screenshots, users can quickly update documentation to reflect changes in the application's appearance with a single command. Automating screenshot generation is similar to automating tests, as both aim to identify and rectify issues before they reach end-users. While Ub

You Want Microservices, But Do You Really Need Them?

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

In May 2023, Amazon Prime Video significantly reduced its costs by 90% by shifting from a microservices architecture back to a monolith, despite Amazon Web Services (AWS) being a leading proponent of microservices. This move surprised the tech community and highlighted a growing debate around the necessity of microservices, as many teams adopt them without sufficient justification, viewing them as the standard approach to modern software development. Despite the benefits microservices offer for large-scale applications, most teams do not operate

Advanced, Overlooked Python Typing

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

The article discusses the debate around static typing in Python, questioning why one would choose Python if static typing is desired. While some argue for selecting a language with native static typing, real-world software development often limits language choices. Python's rise in popularity, particularly in machine learning, has led companies to adopt it across various domains. In these contexts, typed code can enhance maintainability, reduce type-related unit tests, and improve developer experience. Companies like Dropbox, Meta, and BlackRock have reported benefits from

[podcast] Reliability Engineering Mindset • Alex Ewerlöf & Charity Majors

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

The GOTO podcast features interviews and talks from top experts in software development, aimed at inspiring listeners and providing insights into new technologies. In a recent interview for the GOTO Book Club, Alex Ewerlöf, a Senior Staff Engineer at Volvo Cars and author of "Reliability Engineering Mindset," discusses his transition from product to reliability engineering. He highlights practical challenges in applying Google's Site Reliability Engineering (SRE) practices in everyday business contexts, stressing the gap between idealized SRE approaches and the

ruby docs gets a facelift

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

The official Ruby programming language documentation serves as a comprehensive resource for users at all experience levels. New users can begin with the Getting Started Guide. Key classes and modules for text manipulation, data structures, and utilities include String, Symbol, Array, Hash, Integer, Float, Enumerable, File, IO, Time, Regexp, Range, Exception, and Thread. The documentation also highlights Ruby's syntax, exceptions, and implicit conversions, and mentions standard libraries like Date, JSON, ERB, and

Better Ruby on Rails Logging with Semantic Logger

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

Dash0 has completed a $35 million Series A funding round to develop the first AI-native observability platform, aimed at improving logging in production environments. Logs are essential for diagnosing issues like slow pages or errors, but traditional logging methods may lack structure and flexibility for modern systems. The article introduces Semantic Logger as a better alternative to standard Rails logging, providing guidance on how to integrate it into Ruby on Rails applications. Users are advised to add the Semantic Logger to their Gemfile, install it, and use

Is this code clean? A critical look at Clean Code 2nd Edition

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

The review critiques the second edition of "Clean Code," asserting that it retains many of the same principles as the first edition, including a focus on tiny functions and a mix of data and behavior in class designs. The author reflects on their previous criticism, concluding that little has changed. Despite being a thicker book filled with side discussions and rants, the coding advice has remained largely consistent. An example from Chapter 10 addresses concerns about the usage of many small functions, discussing fears of performance issues, obsc

Gitmal - a static pages generator for Git repos

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

The content discusses Gitmal, a static page generator for Git repositories that creates static HTML pages, including files, commits, code highlighting, and markdown rendering. Users can run Gitmal in their repository directory, and it generates output in the specified directory. It also supports various code highlighting themes and can automatically regenerate static files via a post-receive hook. Examples of repository setups and performance metrics are provided, noting that using certain flags can influence generation time and file size. Feedback from users is highly valued

The Death of Software Engineering as a Profession: a short set of anecdotes

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

The author shares personal anecdotes reflecting on their early passion for programming and a conversation with a wise adult who predicted the demise of software engineering. The adult claimed that advancements in Object-Oriented Programming would render traditional coding obsolete, as future software would rely on pre-built libraries that anyone could use without deep programming knowledge. Despite this prediction, nearly 30 years later, the author finds themselves still engaged in software development, highlighting the ongoing need for problem-solving and creativity in the field. They note that while the landscape

Beej's Guide to Learning Computer Science

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

The content mentions "Brian 'Beej Jorgensen' Hall" and indicates a version number (v0.11.2) along with a copyright date of October 9, 2025. Further details or context are not provided in the text you shared.

What will enter the public domain in 2026?

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

The Public Domain Review highlights that every January 1st, new works enter the public domain, becoming free for public use. The review focuses on three major public domain categories and previews select works entering the public domain in 2026. Throughout December, they will unveil highlights in an advent-style format leading up to a special blog post on January 1st. The Public Domain Review is a UK-based Community Interest Company, funded by reader donations. They encourage support to help sustain their mission.