Daily Edition · Page 4

THE DAILY INDEX

Technology, AI, software, security, crypto and business

ARTICLES & TUTORIALS

TLDR Web Dev

THE “MOST HATED” CSS FEATURE: COS() AND SIN()

CSS trigonometric functions, specifically `cos()` and `sin()`, were identified as the "Most Hated Feature" in the State of CSS 2025 survey. This article explains these functions by relating them to the unit circle and Cartesian coordinates, explaining how they can be used to calculate positions in circular and wavy layouts. The article then shows how `cos()` and `sin()` can be used to create damped oscillatory animations.

LOW- AND MID-TIER MOBILE FOR THE REAL WORLD

It can be good to use real-world low- and mid-tier mobile devices for web performance testing in 2025, rather than relying solely on Chrome DevTools' emulated settings. This dev recommends the Samsung Galaxy A15 5G ($199) for low-tier testing and the Samsung Galaxy A54 5G ($450) for mid-tier testing, based on their global market penetration, representative hardware capabilities, long software support, and reasonable pricing.

ANTHROPIC ECONOMIC INDEX REPORT: UNEVEN GEOGRAPHIC AND ENTERPRISE AI ADOPTION

Anthropic's Economic Index report shows that AI adoption is following historical patterns of technological diffusion, with usage concentrated in wealthy regions and specific enterprise applications, though at an unprecedented speed. The report found that 40% of US employees now use AI at work (up from 20% in 2023), with high-income countries like Singapore and Canada showing 4.6x and 2.9x expected usage rates, respectively, while emerging economies like India and Nigeria lag significantly behind. Enterprise API usage shows businesses primarily deploying AI for automation tasks (77% of cases).

HOW RUBY EXECUTES JIT CODE: THE HIDDEN MECHANICS BEHIND THE MAGIC

This article explains the inner workings of Ruby's JIT (Just-In-Time) compilers. JIT-compiled machine code lives alongside the original bytecode in Ruby's Instruction Sequences (ISEQs), with Ruby deciding which to execute based on call frequency. Methods must be called 25+ times to be profiled and 30+ times to be compiled to native code. When JIT code's assumptions are violated, Ruby "de-optimizes" by falling back to the interpreter to guarantee correctness.

TLDR IndexPage 4