News Nug
Research found indentation depth correlates with cyclomatic complexity. A language-agnostic approach to measuring code complexity

Published: 2026-01-03 | Origin: /r/programming

The abstract discusses the challenges maintainers face when assessing code revisions, particularly distinguishing between simple and complex changes of similar size. While lines of code (LOC) is a straightforward method for ranking revisions, it doesn't account for the complexity of changes. Traditional complexity metrics like Halstead’s and McCabe’s are difficult to apply across different programming languages. The authors propose a language-independent method based on the statistical moments of code indentation as a lightweight metric to assess complexity. Their findings indicate that using variance and summation

How Uber Shows Millions of Drivers Location In Realtime

Published: 2026-01-03 | Origin: /r/programming

In the 4th episode of the "Behind The Screen" series, the author discusses Uber's backend system for managing real-time location events, as detailed in the Uber Engineering Blog. Initially, Uber used a polling mechanism where the mobile app continuously requested location updates from the server, leading to high server resource usage, faster battery drain, and increased cold start times. This inefficient system resulted in 80% of backend requests being related to location polling. To address these issues, Uber developed RAMEN (

IQuest-Coder: A new open-source code model beats Claude Sonnet 4.5 and GPT 5.1 [pdf]

Published: 2026-01-03 | Origin: Hacker News

Failed to fetch content - HTTP Status - 503

Adventure 751 (1980)

Published: 2026-01-03 | Origin: Hacker News

The content discusses two main topics: the revival of the Adventure 751 game and the history of the Analog Computer Laboratory at the University of Arizona. 1. **Adventure 751 Game**: A nostalgic reference to the early 80s adventure game, "Adventure 751," associated with the CompuServe service. This game, a variation of Crowther/Woods Adventure, was popular and has been sought after since the 90s when CompuServe shut down its gaming section. Arthur O’

A Basic Just-In-Time Compiler (2015)

Published: 2026-01-03 | Origin: Hacker News

The article discusses a programming challenge from the /r/dailyprogrammer subreddit, where participants were tasked with writing a program to process a recurrence relation. Given an initial term and a sequence of operations (limited to addition, subtraction, multiplication, and division), the goal was to compute the next terms in the sequence. The author opted to create an x86-64 Just-In-Time (JIT) compiler instead of a traditional interpreter, converting operations into native machine code for direct hardware execution. The update

2026 will be my year of the Linux desktop

Published: 2026-01-03 | Origin: Hacker News

The author expresses their decision to embrace Linux as their primary operating system in 2026, having not used Windows for over three months. Frustrated with Windows 11, which they find increasingly intolerable due to poor user experience and features, they view the improvements in Linux desktop environments as compelling enough to switch. The author plans to convert their SSDs to btrfs drives on Fedora and use Bazzite or SteamOS on their handheld devices. They believe that the decline of Windows makes Linux

Show HN: Website that plays the lottery every second

Published: 2026-01-03 | Origin: Hacker News

Failed to fetch content - HTTP Status - 403

The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks (2018)

Published: 2026-01-02 | Origin: Hacker News

arXivLabs is a framework for developing and sharing new features on the arXiv website, promoting collaboration among individuals and organizations that align with arXiv’s values of openness, community, excellence, and user data privacy. Those interested in contributing ideas for projects that benefit the arXiv community are encouraged to learn more about arXivLabs. Additionally, there is a mention of arXiv's operational status.

The creator of Claude Code's Claude setup

Published: 2026-01-02 | Origin: Hacker News

Failed to fetch content - HTTP Error - HTTP redirects too deep

I charged $18k for a Static HTML Page (2019)

Published: 2026-01-02 | Origin: Hacker News

The author, who previously worked as a contractor on various short-term projects, preferred quick gigs that allowed for high rates and flexibility. A large company urgently contacted them for a project after their developer left unexpectedly. The job was appealing as it aligned with the author's expertise and offered good pay. After negotiating a rate, they received project instructions that required them to work exclusively with this company for timely delivery. The project involved creating an HTML page with some animations and videos, which they estimated would take a day but

Daft Punk Easter Egg in the BPM Tempo of Harder, Better, Faster, Stronger?

Published: 2026-01-02 | Origin: Hacker News

John Scalo discusses the BPM (Beats Per Minute) of Daft Punk's song "Harder, Better, Faster, Stronger," noting that while most sources list it at around 123 BPM, he believes the actual BPM is 123.45. Scalo, who has developed a BPM detection app called Tempi over the past ten years, explains that tempo detection can be complicated due to various influences like noise and performance inaccuracies. He states that most electronic music has a precise “integr

Publish on your own site, syndicate elsewhere

Published: 2026-01-02 | Origin: Hacker News

POSSE stands for "Publish (on your) Own Site, Syndicate Elsewhere," a strategy that encourages individuals to first post content on their own websites and then share copies or links on third-party platforms, allowing viewers to easily return to the original source. The practice supports maintaining current connections with friends through familiar social media platforms while prioritizing these relationships over larger technical ideals like federation. POSSE emphasizes personal relationships, suggesting that approaches combining POSSE with federated systems will likely see better user adoption.

The One-True-Way Fallacy: Why Mature Developers Don’t Worship a Single Programming Paradigm

Published: 2026-01-02 | Origin: /r/programming

The content discusses the ongoing debate in developer communities regarding the merits of different programming paradigms, such as procedural, object-oriented (OOP), functional, and event-driven programming. It argues against the notion that one paradigm can dominate others, emphasizing that each evolved to address specific challenges in software development. Procedural programming was aimed at organizing chaotic code, OOP provided modularity for larger systems, functional programming handled concurrency and data transformation, and event-driven programming facilitated asynchronous workflows. Rather than dismissing one

Was it really a Billion Dollar Mistake?

Published: 2026-01-02 | Origin: /r/programming

The text discusses the concept of null pointer dereferences, which are considered the most straightforward type of invalid memory address to detect during runtime in memory-unsafe programming languages. Despite being the least frequently occurring invalid memory access, the implementation of null pointers, introduced by Tony Hoare in 1965, has led to various issues, including errors and system crashes, and is referred to as the "Billion Dollar Mistake." However, the author argues that the financial impact attributed to this mistake is likely exaggerated

Clicks Communicator

Published: 2026-01-02 | Origin: Hacker News

The Clicks Communicator is a standalone smartphone running Android 16, designed to operate with full 5G and Wi-Fi capabilities, making it suitable as a primary phone or a complementary device to flagship models like iPhone and Galaxy. It will ship later this year, with early customers prioritized for fulfillment. The device supports a wide range of 5G, 4G LTE, and 3G/2G bands, and will be sold unlocked. Featuring a QWERTY keyboard,

Try to take my position: The best promotion advice I ever got

Published: 2026-01-02 | Origin: Hacker News

In a piece by Andrew Graham-Yooll, published on January 2, 2026, he reflects on advice from his CTO about career advancement: to take on responsibilities akin to the position you aspire to before formally receiving the title. This philosophy emphasizes the importance of proactively solving problems and demonstrating leadership qualities. Graham-Yooll shares a personal experience where a junior engineer approached him with a proposal to address a service issue—showing initiative and ownership beyond their assigned tasks. He appreciates this proactive approach

IPv6 just turned 30 and still hasn't taken over the world

Published: 2026-01-02 | Origin: Hacker News

Failed to fetch content - HTTP Status - 403

Why I switched away from Zig to C3

Published: 2026-01-02 | Origin: /r/programming

Failed to fetch content - HTTP Status - 403

We’re not concerned enough about the death of the junior-level software engineer

Published: 2026-01-02 | Origin: /r/programming

Failed to fetch content - HTTP Status - 403

Article: The Tale of Kubernetes Loadbalancer "Service" In The Agnostic World of Clouds

Published: 2026-01-02 | Origin: /r/programming

The "GlueOps Platform" requires a LoadBalancer for effective operation, but configuring it presents challenges due to varying setups needed for different cloud providers, especially with GlueKube's cloud-agnostic approach. A Kubernetes LoadBalancer Service typically interacts with a Cloud Controller Manager (CCM) to provision load balancers, which is straightforward in cloud environments with dedicated CCMs. However, this integration is limited or unavailable in some clouds without CCMs and in on-premises deployments, leading to LoadBalancer services