| News Nug |
|---|
|
Florent Beaurain: Optimizing Rails Tests at Doctolib Scale (podcast) Published: 2025-10-07 | Origin: /r/ruby On Rails is a podcast that focuses on the technical challenges faced by Rails developers, sharing solutions and architectural decisions from the community. In a recent episode hosted by Robby Russell, Florent Beaurain, a senior engineer at Doctolib, discusses the management of one of Europe’s largest Rails monoliths, which consists of over 3 million lines of code and about 400 engineers. The conversation highlights how Doctolib addressed significant performance issues within their extensive test suite, managing |
|
I pushed Python to 20,000 requests sent/second. Here's the code and kernel tuning I used. Published: 2025-10-07 | Origin: /r/programming The article discusses a successful attempt to send 20,000 requests per second from a single Python application, challenging the common belief that Python lacks the performance for such high-throughput tasks. The author combined an asynchronous Python script with a Rust-based library, rnet, which leverages the Rust library wreq, to achieve this performance. The rnet library offers improved TLS configuration, helping to bypass Web Application Firewalls (WAFs) that could hinder standard Python clients. The script employs asyncio to |
|
So, you want to stack rank your developers? Published: 2025-10-07 | Origin: /r/programming The text discusses the challenges of evaluating software developers using intelligence tools, specifically criticizing the desire for a simple metric to identify the "worst developer." It highlights the complexity of software development and the inadequacy of methods like stack ranking, which can lead to negative consequences such as gaming the system and knowledge hoarding. In the current economic climate, pressure on engineering leaders to justify expenses has increased, making the appeal of stack ranking attractive for making difficult headcount decisions. However, the author argues that such methods |
|
The (software) quality without a name Published: 2025-10-07 | Origin: /r/programming Christopher Alexander's "The Timeless Way of Building," published in 1979, is a seminal work in architectural theory that explores the patterns that create emotionally resonant and harmonious spaces. It introduces the concept of "quality-without-a-name," which describes the intangible essence that makes certain buildings and places feel alive. Alexander emphasizes that this quality can be intentionally designed rather than left to chance, advocating for the use of timeless design patterns that have been effective throughout history and across cultures. The book's insights |
|
Learning a foreign language–before you're born Published: 2025-10-07 | Origin: Hacker News A study led by researchers at the Université de Montréal has discovered that a fetus can begin to recognize a foreign language before birth. Prenatal exposure to a foreign language can rewire the language-processing networks in a newborn's brain, allowing them to process that language alongside their mother tongue. The research, published in *Communications Biology*, involved 60 native French-speaking pregnant women who played recordings of stories in French and either German or Hebrew to their babies in the womb. The choice of these specific languages |
|
Pdoc – Generate API documentation for Python projects Published: 2025-10-07 | Origin: Hacker News Pdoc is an automatic API documentation generator for Python projects that mirrors the module hierarchy without needing configuration. It supports type annotations, allows for cross-linking between identifiers, includes a live-reloading web server, and recognizes both numpydoc and Google-style docstrings. |
|
Fly.io Twitter got hacked Published: 2025-10-07 | Origin: /r/programming A Twitter account has been hacked and is posting about cryptocurrency scams. The attack seems targeted, with the fraudulent website closely resembling the official one, and it occurred during non-working hours. The team is investigating whether any other aspects of their platform, "fly," were compromised and is optimistic that the breach is limited. They confirmed that the incident was quickly identified, and no actual assets were at risk. Further details will be shared when the security team finalizes their investigation. Overall, they are relieved that the |
|
The least amount of CSS for a decent looking site (2023) Published: 2025-10-06 | Origin: Hacker News The article discusses the common issue of over-engineering CSS solutions, which can complicate web design and lead to problems. Kevin Powell emphasizes that a simple approach can yield a decent-looking responsive website with minimal CSS. Starting with basic HTML can result in a responsive layout, although images may cause overflow issues. To improve aesthetics, he suggests changing the default font to a system UI font for better universal appeal and increasing the font size and line-height for readability. Additionally, enabling a color scheme based on user |
|
Buckle Up, There’s a New Gem Server in Town: gem.coop Published: 2025-10-06 | Origin: /r/ruby In a recent post on Fullstack Ruby, Jared White discusses exciting developments in the Ruby community amidst ongoing drama. He highlights the introduction of a new community-driven gem server by The Gem Cooperative, which mirrors existing gems from rubygems.org. This new server allows Ruby developers to utilize multiple sources for gems, enhancing flexibility in their projects. The Gem Cooperative is composed of former contributors to RubyGems who were removed during a takeover. White encourages developers to update their Gemfiles to support this initiative, emphasizing |
|
Apps SDK Published: 2025-10-06 | Origin: Hacker News The framework for building apps for ChatGPT includes several key components: designing native conversational flows, ensuring quality and safety compliance, and prioritizing SDK use cases. It involves creating and configuring a Managed Cloud Platform (MCP) server and learning how to deploy it. Developers are encouraged to enhance app discovery with rich metadata, while also addressing security and privacy considerations. Additionally, it covers troubleshooting issues related to Apps SDK applications. |
|
buffalo::buffalo::buffalo Published: 2025-10-06 | Origin: /r/programming The post discusses a surprising realization that a famous grammatically correct sentence can be implemented in C++. This topic emerged during a conversation at CppCon 2025 about Clang’s -Wdtor-name error. The author is intrigued by the concept and seeks to understand how the Abstract Syntax Tree (AST) of different code snippets can be equivalent, as shown through tests using Clang, which produce the same AST for two different pieces of code. The author reflects on the idea of "injected class |
|
Show HN: A Digital Twin of my coffee roaster that runs in the browser Published: 2025-10-06 | Origin: Hacker News This content describes a data-driven digital twin of a Kaleido M1 sample roaster that simulates roaster and bean dynamics. Users can interact with the virtual roaster, which defaults to Ethiopian Guji beans, specific ambient temperature, preheat settings, and drum speed. The demo allows for bean mass adjustments, charging the roaster, and modifications to heater power and fan speed during roasting, all while monitoring real-time temperature curves and rate of rise. The creator offers to make a Digital Twin for |
|
OpenZL: An open source format-aware compression framework Published: 2025-10-06 | Origin: Hacker News OpenZL is a new data compression framework that provides lossless compression for structured data, achieving performance comparable to specialized compressors. It does this by utilizing a configurable sequence of transformations to reveal hidden order in the data, allowing for more effective compression. Despite employing different transformation methods for various file types, all OpenZL files can be decompressed using a single universal decompressor. The development of OpenZL is motivated by the limitations of existing frameworks like Zstandard, which, while improving over time, |
|
Solution designs should only be a few pages Published: 2025-10-06 | Origin: /r/programming The text discusses the criticisms architects face regarding the creation of extensive solution design documents that often become unwieldy and are seldom read. These documents can be excessively long, filled with sections that are either copied from other sources or marked as "not applicable," leading to disengagement from those tasked with completing them. The author advocates for more concise solution designs that prioritize essential information needed by the technical audience responsible for implementation. The key suggestion is to simplify these documents, keeping them lean while allowing for additional details as |
|
Top 20 Most Famous Companies' Websites Built with Ruby on Rails Published: 2025-10-06 | Origin: /r/ruby The content discusses the enduring popularity and benefits of Ruby on Rails (RoR) in web development. Created in 2004, RoR emphasizes elegant design and programming best practices, making it a favored framework for developing scalable and maintainable applications. As of September 2025, RoR continues to power significant websites, including e-commerce and social platforms, due to its development speed and reduced time-to-market compared to frameworks like Node.js and Django. RoR's strengths lie in its extensive ecosystem of |
|
A beginner's guide to deploying LLMs with AMD on Windows using PyTorch Published: 2025-10-06 | Origin: Hacker News To deploy advanced AI models locally using an AMD GPU or APU, a capable Windows PC with PyTorch is sufficient. The AMD ROCm platform is now compatible with PyTorch, allowing for efficient AI inference on AMD Radeon RX 7000 and 9000 series GPUs, as well as certain AMD Ryzen AI APUs. Developers can set up and execute Large Language Models (LLMs) without prior experience in deep learning frameworks. For setup, users need Windows 11 and the appropriate PyTorch |
|
Reflections on 2 Years Running Developer Relations Published: 2025-10-06 | Origin: Hacker News After two years at Dagster managing developer marketing, the author reflects on their insights regarding Developer Relations (DevRel). They note a recent surge in interest in DevRel roles, driven by the challenges of standing out in the competitive AI and LLM landscape. The author emphasizes that simply hiring DevRel isn't a comprehensive solution and suggests a deeper understanding of its purpose is necessary. When they first joined Dagster, the absence of a clear goal for the DevRel team led to confusion about its mission and effectiveness |
|
Chess.com Regional Pricing: A Case Study Published: 2025-10-06 | Origin: /r/programming Businesses aim to maximize profits by strategically pricing their products. Setting prices too low can result in lost profits, while high prices may exclude potential customers. Therefore, finding an optimal price that balances profitability and demand is essential. Global businesses, in particular, must consider regional pricing, adjusting prices according to each country's purchasing power, taxes, and tariffs to avoid mispricing that can lead to reduced profits. Many online services, including Netflix and Spotify, utilize regional pricing strategies. In the case of Chess.com, |
|
Short Ruby Newsletter Edition 151 Published: 2025-10-06 | Origin: /r/ruby The content features several announcements related to developments in the Ruby programming community, including launches, discounts, and events. Highlights include: 1. **Launches**: - **Navigator**: A lightweight web server for multi-tenant applications by Sam Ruby, offering features such as on-demand process management and regional routing. - **DevvMe**: A platform to showcase and connect developers, prelaunched by Gustavo Valenzuela. - **Decoded Rails**: A newsletter launched by Omar |
|
The little Random that could Published: 2025-10-06 | Origin: /r/ruby The author discusses the often-overlooked `Random` module in the Ruby standard library, describing it as an invaluable tool for web application development, particularly when it comes to creating deterministic and testable environments. Unlike `SecureRandom`, which is tied to the operating system's entropy source and thus non-deterministic, `Random` uses the Mersenne twister algorithm to generate a sequence of pseudorandom numbers based on a seed. This makes `Random` particularly useful for applications that require repeat |