Go Scheduler: From Humble Beginnings to a Powerful Engine

2025-05-21
Go Scheduler: From Humble Beginnings to a Powerful Engine

This blog post delves into the evolution of Go's scheduler, tracing its journey from an inefficient single global run queue to the highly performant GMP model (Goroutine, Machine, Processor). It details the roles and mechanisms of each component in the GMP model, including goroutine creation, preemption, system call handling, and the role of netpoll in network and file I/O. Cooperative and non-cooperative preemption mechanisms are explained. By dissecting the Go runtime source code, readers gain a deeper understanding of Go's concurrency model, enabling them to write more efficient concurrent programs.

Read more
Development Scheduler

Website Data Collection and User Privacy Notice

2025-05-21
Website Data Collection and User Privacy Notice

This website uses technologies like cookies to store and/or access device information to provide the best user experience. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent may adversely affect certain features and functions. Technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network. Technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user. The technical storage or access is used exclusively for statistical purposes. The technical storage or access is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you. The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.

Read more
Misc

Shopify's Storefront Web Components: Easy Ecommerce Integration

2025-05-21
Shopify's Storefront Web Components: Easy Ecommerce Integration

Shopify has released Storefront Web Components, a set of HTML components that simplify integrating Shopify's e-commerce capabilities into any website. Display products, collections, and checkout with minimal HTML. These components handle the complexities of interacting with the Shopify Storefront API, eliminating the need for complex JavaScript. Create tailored shopping experiences with CSS and HTML, suitable for embedding within existing content or building entirely new pages.

Read more
Development Ecommerce Integration

LlamaDev: LlamaIndex's New Monorepo Management Tool

2025-05-21
LlamaDev: LlamaIndex's New Monorepo Management Tool

Maintaining LlamaIndex's monorepo of 650+ Python packages presented significant challenges. Initially using Poetry for individual projects and Pants for orchestration, scaling issues arose with build speed and cache server maintenance. To address this, the LlamaIndex team built LlamaDev, replacing Poetry with uv and handling dependency graphs and test triggering internally. LlamaDev drastically improves build speed, simplifies debugging, and enhances the developer experience, making it easier for contributors to join the project.

Read more
Development

Langfuse Launches Customizable Dashboards: Unleashing the Power of LLM Usage Data

2025-05-21
Langfuse Launches Customizable Dashboards: Unleashing the Power of LLM Usage Data

On Day 3 of Langfuse's launch, they introduced customizable dashboards: a powerful way to visualize LLM usage directly within the Langfuse UI. Whether you want to track latency trends, monitor user feedback, or correlate cost with performance, the new dashboards let you build the charts you need, right where you need them. For those preferring their own analytics stack, the same querying capabilities are available via their API. This post details the journey from product ideation to technical implementation, testing, and rollout, sharing lessons learned in building flexible, real-time insights into your LLM pipelines. By abstracting the data model, building a flexible and performant query engine and dashboard builder, Langfuse successfully delivered customizable dashboards, iterating through beta testing and user feedback to add more chart components, resizable widgets, improved tooling, and even Langfuse-managed dashboards offering valuable pre-built themes.

Read more
Development Dashboards

The Age of the Business Idiot: Tech Giants and the Illusion of AI Progress

2025-05-21
The Age of the Business Idiot: Tech Giants and the Illusion of AI Progress

This article offers a scathing critique of the prevalence of 'Business Idiots' in the tech industry. The author argues that many tech executives lack a deep understanding of their own businesses and technologies, blindly chasing short-term gains and market hype, leading to the overuse and waste of resources on technologies like AI. They treat AI as a panacea for all problems, rather than focusing on customer needs and product value. This phenomenon stems from decades of neoliberal thinking and an overemphasis on shareholder value, resulting in management detaching from reality, fixated on superficial metrics while ignoring product quality and employee well-being. The article uses numerous examples, including tech giants like Microsoft, Google, and Meta, and failed startups, to demonstrate the pervasiveness and dangers of this phenomenon. Ultimately, the author calls for a disruption of this distorted business model, advocating for a renewed focus on technological value, product quality, and employee rights.

Read more
Tech

arXivLabs: Experimenting with Community Collaboration

2025-05-21
arXivLabs: Experimenting with Community Collaboration

arXivLabs is a framework for collaborating on new arXiv features, directly on the website. Individuals and organizations participating must share arXiv's values of openness, community, excellence, and user data privacy. Got an idea to improve the arXiv community? Learn more about arXivLabs.

Read more
Development

Visualizing Chromium's Include Graph: A 150MB GraphML Adventure

2025-05-21
Visualizing Chromium's Include Graph: A 150MB GraphML Adventure

This post details visualizing Chromium's massive include graph using clang-include-graph, a command-line tool. The process involved building Chromium to generate compile_commands.json, then using clang-include-graph to produce a 150MB GraphML file. This file, containing over 140,000 nodes and 1.3 million edges, was visualized with Gephi. Python scripts analyzed the graph, revealing interesting statistics like a 92-node strongly connected component responsible for 99% of the cycles. The author explores various visualization layouts and discusses the challenges of working with such a large dataset.

Read more
Development

Emperor Qianlong and Chinese Goldfish: An 18th-Century Oddity

2025-05-21
Emperor Qianlong and Chinese Goldfish: An 18th-Century Oddity

Published in 1780, *Histoire naturelle des dorades de la Chine* (Natural History of the Gilded Fish of China) was the first monograph on goldfish published in Europe. The book opens with a coloured portrait of Emperor Qianlong, followed by text from Louis-Edme Billardon de Sauvigny describing goldfish and offering “observations and anecdotes relating to the customs, manners and government of this empire.” It reflects the exotic image of the East held in the Western imagination at the time.

Read more

Signal Desktop's New Screen Security Feature Fights Back Against Microsoft Recall

2025-05-21
Signal Desktop's New Screen Security Feature Fights Back Against Microsoft Recall

Signal Desktop for Windows now includes a "Screen security" setting to prevent screenshots of Signal chats from being captured by Microsoft Recall. This setting is automatically enabled on Windows 11. Recall, a feature that takes screenshots every few seconds and stores them in a searchable database, was initially met with intense backlash and removed, only to return with adjustments. Signal's new feature uses DRM flags to block screenshots, albeit with usability trade-offs. Signal urges OS vendors to provide better developer tools to avoid privacy apps needing workarounds to protect user privacy.

Read more

LLM Function Calls Don't Scale: Code Orchestration Is Simpler, More Effective

2025-05-21
LLM Function Calls Don't Scale: Code Orchestration Is Simpler, More Effective

Feeding the full output of tool calls back into LLMs is costly and slow. This article argues that output schemas, enabling structured data retrieval, allow LLMs to orchestrate processing via generated code – a simpler and more effective approach. Traditional methods, where tool outputs are fed back to the LLM as messages for next-step determination, work well with small datasets but fail with real-world scale (e.g., large JSON blobs from Linear and Intercom MCP servers). The article proposes code execution as a fundamental data processing method, using variables as memory, and code to orchestrate multiple function calls for scalable data processing, overcoming the cost, speed, and potential data loss issues of LLMs handling large datasets. This necessitates secure, stateless AI runtime environments, currently in early development.

Read more
Development Code Orchestration

ZEUS Laser: Michigan's 2-Petawatt Powerhouse Shatters US Records

2025-05-21
ZEUS Laser: Michigan's 2-Petawatt Powerhouse Shatters US Records

The University of Michigan's ZEUS laser facility has achieved a groundbreaking milestone, reaching 2 petawatts (2 quadrillion watts) in its first official experiment, making it the most powerful laser in the U.S. While this immense power—over 100 times the global electricity output—lasts only for a fleeting 25 quintillionths of a second, its applications are vast, spanning medicine, national security, materials science, astrophysics, and more. As a user facility, ZEUS welcomes research teams from across the globe to submit proposals. The laser employs innovative techniques to generate high-energy electron beams and is poised for a landmark experiment later this year, aiming to reach zettawatt-scale pulses.

Read more
Tech

Devstral: Open-Source LLM Outperforms GPT-4.1-mini on Software Engineering Benchmark

2025-05-21
Devstral: Open-Source LLM Outperforms GPT-4.1-mini on Software Engineering Benchmark

Mistral AI and All Hands AI have collaborated to release Devstral, an agentic large language model (LLM) for software engineering tasks. Devstral excels on the SWE-Bench Verified benchmark, achieving a score exceeding 46.8%, more than 6% higher than previous open-source models and even surpassing GPT-4.1-mini. It tackles complex software engineering problems, such as understanding contextual relationships within large codebases and identifying subtle bugs. Devstral is lightweight, running on a single RTX 4090 or a Mac with 32GB RAM, and supports local deployment, enterprise use, and Copilot integration. The model is open-source and available via API and various download options.

Read more
Development

Collaborative Text Editing Without CRDTs or OT

2025-05-21

This blog post presents a novel approach to collaborative text editing that avoids the complexities of Conflict-free Replicated Data Types (CRDTs) and Operational Transformation (OT). The core idea is to assign globally unique IDs to each character and use "insert after" operations. The server updates its state literally based on these operations, while clients employ server reconciliation for optimistic local updates. This approach is simpler and more flexible than CRDT/OT, allowing for customized operations and features like handling rich text and access controls. An accompanying npm library, Articulated, aids in implementation.

Read more
Development collaborative editing

Windows 11's Cross-Device Resume: Say Goodbye to Interrupted Experiences

2025-05-21
Windows 11's Cross-Device Resume: Say Goodbye to Interrupted Experiences

Microsoft showcased a new cross-device resume feature for Windows 11 at Build 2025, similar to Apple's Handoff. This allows developers to seamlessly continue app usage across devices. A demo featured Spotify, letting users resume a song on their Windows PC from where they left off on their phone. WhatsApp was also shown. This feature, seemingly a successor to Project Rome, promises smoother cross-device experiences and increased app discoverability on Windows for third-party developers.

Read more
Development Cross-Device Resume

Ruby Blocks, Procs, and Lambdas: Subtle Differences in Closures

2025-05-21
Ruby Blocks, Procs, and Lambdas: Subtle Differences in Closures

This article delves into the differences between blocks, procs, and lambdas in Ruby. While all group code for execution, they differ subtly: Procs are objects, assignable and callable with methods, unlike blocks which are solely part of method call syntax; a method call allows at most one block but multiple procs; lambdas check argument counts, procs don't; and lambdas and procs handle the `return` keyword differently. The article also explains closures, the origins of the names 'proc' and 'lambda', and touches upon lambda calculus and anonymous functions.

Read more
Development

Meta Tightens Performance Reviews, Signaling More Layoffs

2025-05-21
Meta Tightens Performance Reviews, Signaling More Layoffs

Meta is raising the bar on performance reviews, increasing the percentage of employees categorized as 'below expectations' to 15-20% for mid-year evaluations, up from 12-15% last year. This follows the company's earlier layoff of nearly 4,000 employees and reflects a broader trend in tech toward stricter performance management. The move includes employees who have already left and allows for performance-based terminations. Meta's actions underscore its focus on streamlining operations and cost reduction, mirroring similar efforts at other tech giants like Microsoft and Google.

Read more

Hugging Face Launches Free MCP Course: Your Gateway to Model Context Protocol

2025-05-21
Hugging Face Launches Free MCP Course: Your Gateway to Model Context Protocol

Hugging Face has launched a free Model Context Protocol (MCP) course designed to take learners from beginner to expert. The course covers MCP theory, design, and practice, along with building applications using established MCP SDKs and frameworks. Participants can earn a certificate of completion by finishing assignments and compete in challenges. The curriculum also includes units collaborating with Hugging Face partners, providing access to the latest MCP implementations and tools. Prerequisites include a basic understanding of AI and LLMs, software development principles and APIs, and experience with at least one programming language (Python or TypeScript examples provided).

Read more
AI

Mitochondria: The Social Networks of Cells and Human Health

2025-05-21
Mitochondria: The Social Networks of Cells and Human Health

This article delves into the social nature of mitochondria—the powerhouses of cells—and their impact on human health. The author, drawing on personal research experiences, reveals that mitochondria not only generate energy but also maintain cellular and organismal health through communication, fusion, and information exchange, like a complex social network. Mitochondrial dysfunction is closely linked to various diseases, including diabetes, cancer, autism, and neurodegenerative disorders. The article also explores how exercise, social connection, and ketogenic diets promote mitochondrial health, thereby improving physical and mental well-being, and suggests that maintaining energy flow through the mitochondrial collective may be key to good health and a meaningful life.

Read more

Migratory Birds' Mitochondria: A Turbocharged Energy Source

2025-05-21
Migratory Birds' Mitochondria: A Turbocharged Energy Source

Two research teams independently investigated the changes in mitochondria during bird migration. Canadian researchers, through simulated migration experiments with yellow-rumped warblers, found that migrating birds had more mitochondria with a greater energy production capacity. Meanwhile, an American team used a mobile lab, the "MitoMobile," to study different subspecies of white-crowned sparrows in the wild, reaching similar conclusions: migratory sparrows possessed more numerous and efficient mitochondria. These studies highlight the crucial role of mitochondria in long-distance bird migration and demonstrate the dedication of scientists in pursuing scientific discovery.

Read more

Link-Time Optimization (LTO): The Next Level of Compiler Optimization?

2025-05-21
Link-Time Optimization (LTO): The Next Level of Compiler Optimization?

This article explores Link-Time Optimization (LTO), a technique that enhances program performance by performing optimizations during the linking stage. Traditional compilers optimize within individual files, while LTO allows for more comprehensive cross-file optimizations, such as function inlining and improved code locality. While LTO can yield significant performance improvements (e.g., a 9.2% reduction in runtime and a 20% decrease in binary size in the ProjectX project test), it also requires longer compilation and linking times and more memory. The author compares experiments on ProjectX and ffmpeg to illustrate the advantages and disadvantages of LTO and suggests trying LTO on projects not aggressively optimized for speed, concluding that ultimate performance gains depend on the specific project.

Read more

evolved.lua: A Fast and Flexible ECS Library for Lua

2025-05-21
evolved.lua: A Fast and Flexible ECS Library for Lua

evolved.lua is a fast and flexible Entity-Component-System (ECS) library for Lua. It uses an archetype-based approach for storing entities and components, employing a Structure of Arrays (SoA) for efficient iteration and processing. The library supports queries, deferred operations, batch operations, and features like an entity builder for streamlined complex system creation. Install via luarocks or clone the repository; documentation includes an overview, examples, and a cheat sheet.

Read more
Development

Rediscovering Goethe: A Neglected Genius and His Profound Impact on the Modern World

2025-05-21
Rediscovering Goethe: A Neglected Genius and His Profound Impact on the Modern World

A. N. Wilson's new book, *Goethe: His Faustian Life*, revisits the largely neglected genius of Johann Wolfgang von Goethe in the English-speaking world. Goethe was not only a towering poet but also a scientist, philosopher, and statesman whose influence shaped 19th-century Germany and even touched Darwin's theory of evolution. Wilson intertwines Goethe's life with his masterpiece, *Faust*, showing how he infused his experiences into his art, creating a 'myth' of modern humanity's pursuit of knowledge and truth. The book also explores Goethe's unique scientific perspective, emphasizing holism and reverence for nature, rejecting the simplistic reduction of nature into measurable units. Goethe's insights offer valuable lessons for understanding the relationship between science and art, and humanity's place in the natural world.

Read more

Lune: A Standalone Luau Runtime

2025-05-21
Lune: A Standalone Luau Runtime

Lune is a standalone Luau runtime written in Rust, providing an environment similar to Node.js, Deno, or Bun for other languages. It features fully asynchronous APIs, a small footprint (approx. 5MB zipped), and comprehensive support for filesystem, networking, and standard I/O. It boasts world-class documentation and offers a familiar runtime environment for Roblox developers, including a 1:1 task scheduler port. An optional library for manipulating Roblox place & model files and their instances is also included. While it can run some Roblox games, Lune's primary focus isn't full Roblox compatibility, but rather a performant, concise Luau development environment.

Read more
Development

Amazon Issues Proactive Refunds for Unverified Returns

2025-05-21
Amazon Issues Proactive Refunds for Unverified Returns

Amazon recently proactively refunded a small subset of customers whose returns hadn't been processed. An internal review revealed that these refunds were stalled due to an inability to verify the correct item had been returned. Amazon stated they should have communicated more clearly and sooner with these customers to understand the return status and facilitate resolution. Given the time elapsed, Amazon opted to prioritize customer experience and simply complete the refunds.

Read more

Sortition: A Return to Ancient Athenian Democracy?

2025-05-21
Sortition: A Return to Ancient Athenian Democracy?

This article explores the potential of replacing elections with sortition (random selection) of political representatives. Ancient Athenian democracy utilized sortition for council and jury selection, embodying the principle of rotational governance. Today, facing issues of underrepresentation in electoral systems, scholars and activists propose reviving sortition to enhance decision-making's representativeness and inclusivity. The article analyzes the experiences of citizen assemblies in Canada, Ireland, and elsewhere, acknowledging sortition's potential to improve decision quality and representation while highlighting challenges in accountability and public engagement. Ultimately, the article argues that sortition isn't a simple replacement for elections but should complement them, coupled with effective public communication mechanisms, to better achieve democratic goals.

Read more

GPS Under Siege: A Growing Threat and the Need for Urgent Action

2025-05-21

GPS is facing a significant increase in jamming and spoofing attacks, with as many as 700 daily incidents reported in 2024. This vulnerability, stemming from weak signals and lack of encryption, poses a serious threat to various sectors, including aviation, finance, and power grids. The article details a recent deadly incident linked to GPS interference. Solutions explored include easing export controls on advanced anti-jamming antennas, partnering with Europe's Galileo system, enhancing GPS signal encryption, and implementing a global augmentation system (HARS). Alternative navigation technologies like eLoran, eDME, pseudolite networks, and MagNav are also discussed as potential backups to mitigate the risks of GPS disruption and future threats.

Read more
Tech navigation

arXivLabs: Experimenting with Community Collaboration

2025-05-21
arXivLabs: Experimenting with Community Collaboration

arXivLabs is a platform enabling collaborators to develop and share new arXiv features directly on the website. Participants, both individuals and organizations, embrace arXiv's values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only partners with those who share them. Have an idea to enhance the arXiv community? Learn more about arXivLabs.

Read more
Development

Microsoft Sides with Epic Against Apple: Xbox Mobile Store Launch Blocked

2025-05-21
Microsoft Sides with Epic Against Apple: Xbox Mobile Store Launch Blocked

Microsoft has sided with Epic Games in its legal battle against Apple, claiming Apple has blocked the launch of its Xbox mobile game store. Announced last May, the store's launch has been hampered by Apple's strict App Store rules and anti-steering policies. Although a court ruling allows Microsoft to bypass the App Store for in-app purchases, Apple's anti-steering policies increase Microsoft's costs and restrict communication with users. Microsoft hopes Apple's appeal fails to ensure the long-term operation of its mobile store.

Read more

X User Notes: Remember Why You Muted Someone

2025-05-21
X User Notes: Remember Why You Muted Someone

This browser extension for x.com (formerly Twitter) helps you recall why you muted or blocked a user. It automatically logs mute/block events, saving the link and tweet you were viewing for context. It also adds a private notes field to user profiles, allowing you to add personal reminders, visible only to you. Data is stored securely in your browser's synced storage and synced across devices logged into the same profile.

Read more
Development x.com user blocking
1 2 220 221 222 224 226 227 228 596 597