| News Nug |
|---|
|
Why Developers are Moving Away from Stack Overflow? Published: 2026-01-07 | Origin: /r/programming The blog post from Final Round AI discusses the decline of Stack Overflow, which began with 3,749 questions in 2008 and has now dwindled to 3,862 questions after 17 years. Once a leading platform for programmers, Stack Overflow saw a drastic drop in questions from a peak of 200,000 monthly to nearly zero around late 2022, coinciding with the rise of AI tools like ChatGPT and GitHub Copilot. Founded by Jeff Atwood and Joel |
|
Ruby Array Pack Bleed Published: 2026-01-07 | Origin: /r/ruby With the release of Ruby 4.0.0, a security vulnerability was discovered in the `Array#pack` method that allows for out-of-bounds memory reads. Although this memory disclosure issue is serious, it is rarely exploitable in real-world applications since attackers would typically not control the method's arguments. The vulnerability affects Ruby versions 4.0.0 and earlier, potentially back to version 1.6.7 from 2002. The `pack` method converts array elements |
|
CPU Counters on Apple Silicon: article + tool Published: 2026-01-07 | Origin: Hacker News The author discusses developing a tool to access Performance Monitoring Unit (PMU) counters on Apple Silicon processors (M1, M2, and later). PMU counters track microarchitectural events such as executed instructions and cache misses, providing insights into application performance. The author references an existing tool, poop, developed by Andrew Kelly, which was intended to fetch CPU counters on Apple Silicon. However, an enhancement for this tool was rejected, prompting the author to create their own fork for accessing predefined PMU |
|
An Introduction to Ruby Parsing with Prism Published: 2026-01-07 | Origin: /r/ruby Matheus Richard discusses the new Ruby parser, Prism, detailing its advantages over the previous parser, parse.y, which was specifically designed for CRuby. This led to issues with compatibility and lag in tools and libraries for other Ruby implementations, such as JRuby and TruffleRuby. Prism aims to be the universal parser for all Ruby implementations and tools, solving these compatibility issues. Richard introduces the concept of building a transpiler, demonstrating how to convert Ruby code into Emoruby using Prism. He mentions |
|
Changes to Android Open Source Project Published: 2026-01-07 | Origin: Hacker News Starting in 2026, the Android operating system will align with a trunk stable development model that ensures platform stability for the ecosystem. Source code for AOSP will be published in Q2 and Q4 of each year. Contributors are encouraged to use the android-latest-release branch for building, as it will always point to the latest AOSP release, rather than the aosp-main branch. Additional details can be found in the section on Changes to AOSP. |
|
The Psychology of Bad Code Published: 2026-01-07 | Origin: /r/programming In a blog series titled "SheHacksPurple," Tanya Janca discusses problematic developer behaviors that contribute to insecure software and presents behavioral economic interventions to address these issues. The series expands on her conference talk, "Threat Modeling Developer Behavior: The Psychology of Bad Code." Janca poses the question of whether insecure coding is due to factors beyond laziness or malice, suggesting that developers might simply be set up to fail. Her personal curiosity about decision-making, influenced by her experiences and interests in logic and |
|
Sandboxes: a technical breakdown of containers, gVisor, microVMs, and Wasm Published: 2026-01-07 | Origin: /r/programming Failed to fetch content - HTTP Status - 429 |
|
On the slow death of scaling Published: 2026-01-07 | Origin: Hacker News Failed to fetch content - HTTP Status - 403 |
|
Microsoft probably killed my Snapdragon Dev Kit Published: 2026-01-07 | Origin: Hacker News In October 2024, the author began using a Snapdragon Dev Kit featuring a Qualcomm Snapdragon X Elite ARM64 CPU, which performed impressively with Windows 11 for ARM. After a year of reliable use without issues, the situation changed in early December when a Windows 11 security update (KB5068861) failed to install, leading to multiple attempts and troubleshooting steps that were unsuccessful. After pausing updates due to widespread reports of the issue, the author re-enabled them, only to encounter the |
|
We recreated Steve Jobs's 1975 Atari horoscope program Published: 2026-01-07 | Origin: Hacker News Failed to fetch content - HTTP Status - 403 |
|
Electronic nose for indoor mold detection and identification Published: 2026-01-07 | Origin: Hacker News Failed to fetch content - HTTP Status - 403 |
|
Show HN: SMTP Tunnel – A SOCKS5 proxy disguised as email traffic to bypass DPI Published: 2026-01-07 | Origin: Hacker News The text emphasizes the importance of user feedback and outlines the capabilities of a high-speed covert tunnel designed to disguise TCP traffic as SMTP email to evade Deep Packet Inspection (DPI) firewalls. It mentions the installation process for the tool, including configuring a SOCKS5 proxy. Users are encouraged to refer to the documentation for technical details and security analysis. The project is intended for educational and authorized use only, highlighting the need for responsible use in compliance with laws. The creators express a commitment to internet freedom |
|
Statistical Methods for Reliable Benchmarks Published: 2026-01-06 | Origin: /r/programming On January 6, 2026, Modestas Valauskas discusses the importance of proper benchmarking techniques for performance-sensitive code, specifically within the Dart programming language. He criticizes common practices that rely on simplistic methods, such as measuring the average time, which can lead to misleading conclusions due to outliers like garbage collection pauses. Valauskas emphasizes the use of statistical techniques that provide a clearer picture of performance, advocating for the use of the median as a primary metric in his `benchmark |
|
Oral microbiome sequencing after taking probiotics Published: 2026-01-06 | Origin: Hacker News A friend recommended BioGaia Prodentis, an online DTC oral probiotic marketed for oral health, available for under $20 for a month's supply. BioGaia is a Swedish company with over 30 years of experience in selling probiotics, having developed several strains of Limosilactobacillus reuteri primarily for gut and oral health. The company has a market cap of around $1 billion and has produced over 250 clinical studies indicating various benefits, including their gut probiotic |
|
A 30B Qwen model walks into a Raspberry Pi and runs in real time Published: 2026-01-06 | Origin: Hacker News The ByteShape Team's January 5, 2026 release focuses on optimizing the Qwen3-30B-A3B-Instruct-2507 model for improved performance on specific devices, balancing speed and quality in output responses. The team employs Shapelearn, a bitlength learning method, to select weight datatypes that enhance tokens per second (TPS) and maintain high output quality while ensuring the model fits within memory constraints. They emphasize that reducing the model size is secondary to achieving a favorable speed |
|
Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone Published: 2026-01-06 | Origin: Hacker News The content emphasizes the importance of user feedback and encourages readers to consult documentation for available qualifiers. It introduces a guide for coding on-the-go using smartphones through a method dubbed "Doom Coding," which allows users to write code via terminal on their phones from anywhere with an internet connection. The author shares a personal experience of coding remotely while traveling in Taiwan, highlighting tools like Tailscale, Termius, and Claude Code for effective mobile coding. The guide includes installation links and setup instructions, suggesting users set |
|
PostgreSQL Scripting Tips Published: 2026-01-06 | Origin: /r/programming The author, a Principal Software Engineer in Seattle with experience at companies like Rvvup, Ripple, Braintree/PayPal, and ThoughtWorks, discusses their work on pgledger, a double-entry ledger implementation in PostgreSQL. They emphasize the importance of writing example scripts in pure SQL due to pgledger’s function calls producing random identifiers, which complicates static SQL statement creation. They highlight the utility of the `\gset` command to execute SQL statements and store results in local variables for follow |
|
The Monty Hall Problem, a side-by-side simulation Published: 2026-01-06 | Origin: /r/programming The author discovered an interesting Monty Hall game simulation and decided to create their own version to compare outcomes when switching vs. not switching doors in the game. They built a side-by-side simulation to run both scenarios repeatedly, expecting the win percentages to converge to 66.7% when switching and 33.3% when not switching. The simulation allows users to start or stop the game, adjust the speed, and view cumulative statistics. The author also provides access to the code for the simulation. |
|
The PERFECT Code Review: How to Reduce Cognitive Load While Improving Quality Published: 2026-01-06 | Origin: /r/programming The content presents a guide on improving the code review process by emphasizing its importance and introducing the acronym "PERFECT," which stands for principles that can enhance the efficiency and effectiveness of code reviews. Code reviews can often feel overwhelming due to their cognitive demands and ambiguity, leading to procrastination or superficial approvals. To maximize the value of reviews and mitigate reviewer fatigue, the PERFECT principles focus on essential aspects like business logic, reliability, and readability, while minimizing subjective opinions. Code reviews serve to ensure that code |
|
Testing distributed systems via deterministic simulation (writing a "hypervisor" for Raft, network, and disk faults) Published: 2026-01-06 | Origin: /r/programming Octopii is a distributed systems kernel developed in Rust that focuses on providing the essential building blocks for creating replicated, crash-resistant services. It differs from conventional frameworks by abstracting complexities related to time, storage, networking, and randomness, facilitating both reliable production deployments and rigorous deterministic testing. Key features of Octopii include: - Implementation of custom logic through the StateMachineTrait. - A two-phase commit system that enhances crash resistance by ensuring only committed entries are visible during recovery, thus preventing partial |