| News Nug |
|---|
|
Shipmap.org Published: 2026-01-07 | Origin: Hacker News Kiln, the designer of a new map visualization of global shipping routes, is now offering high-resolution versions for sale in two styles: one colored by ship type and another in a single color on a transparent background. Interested buyers can contact [email protected] for pricing details. Users are encouraged to embed the map in their articles, provided they include a link back to Kiln. The map illustrates movements of the global merchant fleet throughout 2012, presented on a bathymetric base, along |
|
Sugar industry influenced researchers and blamed fat for CVD (2016) Published: 2026-01-07 | Origin: Hacker News A historical analysis of newly uncovered documents reveals that the sugar industry collaborated with nutrition scientists starting in the mid-1960s. Their goal was to emphasize fat and cholesterol as primary causes of coronary heart disease while downplaying the risks associated with sucrose consumption. Researchers at UC San Francisco analyzed these documents, which showed the sugar industry was aware as early as 1954 that a shift towards low-fat diets would lead to a significant increase in sugar consumption. Following a surge in media discussions about sugar's link |
|
I got paid minimum wage to solve an impossible problem (and accidentally learned why most algorithms make life worse) Published: 2026-01-07 | Origin: /r/programming The author, a Computer Science student, humorously describes their misguided attempt to optimize the task of sweeping the Albert Heijn supermarket floor. Instead of simply sweeping, they created a grid representation of the store, developed a visual editor, and wrote a C++ path optimizer using simulated annealing. This endeavor soon revealed that while one of the proposed paths (Path A) might seem shorter in distance, it was impractical due to excessive turns, highlighting the issue of optimizing for the wrong criteria. The author |
|
The Bank‑Clerk Riddle & How it Made Simon Peyton Jones "Invent" the Binary Number System as a Child Published: 2026-01-07 | Origin: /r/programming Sure, please provide the content you would like me to summarize. |
|
Experienced software developers assumed AI would save them a chunk of time. But in one experiment, their tasks took 20% longer | Fortune Published: 2026-01-07 | Origin: /r/programming Sasha Rogelberg, a reporter for Fortune, discusses a study involving 16 experienced software developers who experimented with AI tools to complete their work. The developers expected that using AI would speed up their tasks, similar to the hare in the fable, "The Tortoise and the Hare." However, the study revealed that AI actually increased their task completion time by 19%, contrary to their expectation of a 24% reduction. The researchers, Joel Becker and Nate Rush from the nonprofit MET |
|
Solving Weighted Random Sorting at Scale (O(N log N) approach) Published: 2026-01-07 | Origin: /r/programming At Microsoft, the author worked on a back-end service that routed a high volume of traffic by determining appropriate downstream destinations for requests. To manage reliability, the team monitored the success rates of these destinations, adjusting traffic allocations based on performance. In a distributed environment, a fail-over system was essential, requiring a sorted list of available services to handle potential errors from the primary choice. To avoid "starvation," where only the top-performing service receives all traffic and the performance of lower-ranked services goes un |
|
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 |