News Nug
Speed Up Your Rails Testing Workflow with Local CI

Published: 2025-11-24 | Origin: /r/ruby

Rails 8.1 introduces a new feature called local continuous integration (CI) that enables developers to run tests quickly on their own machines, reducing reliance on external CI services like GitHub Actions. This enhancement addresses common frustrations with slow CI processes and the time wasted switching between tasks. Local CI allows developers to define the necessary steps for testing, ensuring that applications can be deployed confidently and efficiently. While third-party CI services are popular due to their low cost and free tiers, they often require significant setup and

Sha1-Hulud The Second Comming - Postman, Zapier, PostHog all compromised via NPM

Published: 2025-11-24 | Origin: /r/programming

The content discusses a software security tool designed to enhance the security of the software development lifecycle, emphasizing functions such as managing security postures, achieving cloud visibility, and automating application protection, threat detection, and response. It then describes an alarming scenario where alerts of malware, specifically a self-replicating npm worm called Shai Hulud, flood the triage queue. Shai Hulud, named after the mythical sandworms from "Dune," targets developer environments, exfiltrating secrets like

Show HN: Mu – The Micro Network

Published: 2025-11-24 | Origin: Hacker News

The content emphasizes the importance of user feedback, stating that all input is taken seriously. It introduces "The Micro Network," highlighting the need to rebuild digital services that prioritize user well-being over profit, contrasting it with "big tech" practices that promote addictive behaviors. The network will operate on a membership basis, providing a sustainable, ad-free, and algorithm-free experience with a direct channel to the development team. Subscribers pay a flat monthly fee to support the platform rather than for additional features. Users are invited

A bug fixing journey when writing a C++ Code Search Engine: std::string is not that simple

Published: 2025-11-24 | Origin: /r/programming

The author shares their experience implementing Coogle, a C++ search engine designed to locate function signatures in large codebases, especially those that include both C and modern C++ features. Inspired by Hoogle, a Haskell function search engine, the author initially focused on supporting simple types like `int` and `char`. However, they encountered an issue when trying to search for `std::string` signatures. Despite having many such functions in the test codebase, Coogle couldn't find any results.

How many HTTP requests/second can a Single Machine handle?

Published: 2025-11-24 | Origin: /r/programming

The content discusses testing the performance limits of a simple application setup to determine how many HTTP requests per second a single machine can handle. The architecture consists of a single instance of an application and database, all managed by an automated Python script. The application generates 1,250,000 random rows in a database table and includes a simple security feature requiring a secret key for all requests. Testing was conducted on four DigitalOcean machines, each with 2 CPUs and 2 GB of memory, over short and

TLS Handshake Latency: When Your Load Balancer Becomes a Bottleneck

Published: 2025-11-24 | Origin: /r/programming

After optimizing backend services, databases, and API responses, users still experience slow page loads due to excessive connection establishment times during peak traffic—specifically related to TLS handshake saturation. While many view TLS as minimal overhead, it involves significant CPU-intensive cryptographic operations performed by load balancers. Under normal conditions, a TLS handshake takes about 20-30ms, but during traffic peaks, it can spike to 5 seconds due to queues forming when new requests outpace the load balancer's fixed number

Celebrate fire preventers, not just firefighters. The stories you praise shape your culture. Choose heroes who build systems, not chaos.

Published: 2025-11-24 | Origin: /r/programming

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

Quake Engine Indicators

Published: 2025-11-24 | Origin: Hacker News

The content discusses a bug encountered in the netcode of Chocolate Quake where starting two clients on the same machine causes the second client to render the first client immobile, signified by an indicator resembling an unplugged Ethernet cable. While investigating, the author discovered various indicators within game files, including TURTLE and RAM. The TURTLE indicator appears when the framerate drops below 10 fps, likely intended for internal use by developers at id Software to identify performance issues. It can be togg

RuBee

Published: 2025-11-24 | Origin: Hacker News

The content discusses a specialized monitoring device used in Department of Energy (DoE) facilities to prevent employees from accidentally bringing cell phones into secure areas. This device plays an audio message ("government cell phone detected") when it identifies a tag, despite most phones being personal devices. The text highlights the absurdity and inefficiency of using such an expensive, specialized system for a simple issue. The author expresses a fascination with obscure wireless networking protocols, mentioning RuBee, developed by Visible Assets Inc., founded by John

The Cloudflare outage was a good thing

Published: 2025-11-24 | Origin: Hacker News

Cloudflare, a major CDN provider, experienced a significant outage that affected numerous popular apps and web services for several hours. The outage was triggered by a problematic configuration file that caused widespread failures across Cloudflare's operations. This incident highlights the growing centralization of the internet, as it increasingly relies on a few key providers, leading to vulnerabilities. The interruption impacted not only online services but also everyday activities, illustrating a lack of resilience in systems dependent on constant internet access. While the internet was initially designed for

We stopped roadmap work for a week and fixed 189 bugs

Published: 2025-11-24 | Origin: Hacker News

The author describes their experiences during a "fixit week" at their organization, where around 45 software engineers halt regular work to focus solely on fixing small bugs and enhancing developer productivity. This quarterly event is marked by a unique set of rules: no bug should take longer than two days to fix, and the focus is on minor end-user issues. A points system and leaderboard add a competitive element, with rewards like T-shirts for various achievements. The author expresses a deep passion for improving products at both

Ask HN: Hearing aid wearers, what's hot?

Published: 2025-11-24 | Origin: Hacker News

The content discusses the use of "Active Ambient" In-Ear Monitors (IEMs) as a solution for individuals with moderate hearing loss who enjoy music and need assistance in challenging environments like meetings. These IEMs feature high-fidelity microphones that amplify ambient sounds and blend them with a monitor mix, allowing users to customize their hearing experience using an app. The author recommends the ASI Audio 3DME, noting its advantages like hearing protection, monitoring, and enhancement. However, it

µcad: New open source programming language that can generate 2D sketches and 3D

Published: 2025-11-23 | Origin: Hacker News

Microcad (µcad) is an emerging open-source programming language designed for creating 2D sketches and 3D objects. The project is in its early stages but is becoming more stable, with weekly code updates. The blog aims to keep users informed about the latest developments. Recent activities include resolving Issue #289, successfully creating a Spirograph decoration, and sharing live coding videos featuring Lego bricks and gears.

Fran Sans – font inspired by San Francisco light rail displays

Published: 2025-11-23 | Origin: Hacker News

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

Ruby Was Ready From The Start

Published: 2025-11-23 | Origin: /r/ruby

Failed to fetch content - HTTP Status - 403

Native Secure Enclave backed SSH keys on macOS

Published: 2025-11-23 | Origin: Hacker News

The content discusses the capabilities of MacOS Tahoe, which can now generate SSH keys backed by the secure enclave, effectively replacing third-party solutions like Secretive. There is a shared library, `/usr/lib/ssh-keychain.dylib`, that has traditionally supported smartcard integration but now also implements the `SecurityKeyProvider` interface. This allows for direct loading of keys from the secure enclave and interaction with FIDO2 devices like Yubikeys. To create a secure enclave-backed key that requires

How revenue decisions shape technical debt

Published: 2025-11-23 | Origin: /r/programming

The article discusses the concept of technical debt, highlighting that it often stems from upstream commercial decisions that prioritize short-term gains over long-term architectural quality. While taking on technical debt can provide temporary benefits, consistently opting for immediate wins leads to rising operational costs, missed delivery deadlines, and team burnout. The author, drawing on his experience in engineering leadership, introduces the notion of "revenue debt," which captures the tension between appearing financially stable and dealing with increased operational complexities and risks. The article aims to provide

Looking for partnership to create multiple micro-SaaS (trial and error, no attachment)

Published: 2025-11-23 | Origin: /r/programming

O conteúdo sugere que podemos mudar nossas vidas e impactar positivamente o mundo ao nosso redor, promovendo uma atitude otimista e energizante.

Visualizing recursive merge sort with a recursive sequence diagram

Published: 2025-11-23 | Origin: /r/programming

The content discusses various Ilograph diagrams that depict different system architectures and setups. It includes a diagram of the Ilograph Serverless back-end on AWS, highlighting elements such as request dependencies, DNS, code organization, and authentication. Another diagram represents a containerized distributed load testing system on AWS. Additionally, it features Stack Overflow's on-premises system architecture from 2016-2019, adapted from Nick Craver's posts. There is a mention of SAML 2.0 availability

No, LLVM can't fix your code

Published: 2025-11-23 | Origin: /r/programming

The speaker discusses their experience optimizing a RISC-V emulator to achieve an impressive performance of 550 million instructions per second through interpretation. They reflect on their journey in compiler development, particularly emphasizing the utility of two data structures: arenas and StringMaps. Arenas allow efficient bulk memory allocation, which is beneficial in compiler phases where memory isn't released incrementally. StringMaps facilitate efficient string management by using a hashmap for string indices, leading to reduced payloads and faster comparisons, akin to string interning. The