Daily Edition · Page 4

THE DAILY INDEX

Technology, AI, software, security, crypto and business

ARTICLES & TUTORIALS

TLDR Web Dev

THE DAY ANUBIS SAVED OUR WEBSITES FROM A DDOS ATTACK

The ScummVM project's server infrastructure faced a DDoS attack that saturated resources and brought down their website. The attack originated from numerous IP addresses, making traditional blocking methods ineffective, and the URLs targeted were resource-intensive. Anubis is a program that filters connections and uses a proof-of-work challenge to distinguish legitimate users from bots, which ended up mitigating the attack.

MOBILE BRIDGE: MAKING WEBVIEWS FEEL NATIVE

Shopify's MobileBridge framework transforms WebViews to feel more native by addressing three core issues: performance (reducing load times by 75% through preloading), appearance (removing web elements like zooming), and integration (having seamless web-mobile communication). This hybrid approach allows Shopify to maintain development speed while still delivering a near-native experience for non-critical screens in their app (which is one of the largest complaints of cross-platform frameworks like React Native).

PART 1: HOW WE FELL OUT OF LOVE WITH NEXT.JS AND BACK IN LOVE WITH RUBY ON RAILS & INERTIA.JS

Hardcover, a book tracking app, migrated from Next.js to Ruby on Rails with Inertia.js due to issues like unclear caching, unpredictable costs, and slow development speeds in Next.js. The move to Rails and Inertia.js allowed for server-side rendering, direct database connections, and continued use of React, resulting in improved Google Pagespeed scores and faster load times. Hardcover uses Rails for backend logic and routing, while Inertia.js connects the Rails backend with the React frontend for dynamic content.

HOW RIOT GAMES IS FIGHTING THE WAR AGAINST VIDEO GAME HACKERS

Riot Games is aggressively combating video game cheaters using its kernel-level anti-cheat system, Vanguard, which grants deep access to users' computers to detect and ban thousands of cheaters daily in games like Valorant. Riot uses strategies such as using Windows' security features, fingerprinting cheaters' hardware, infiltrating cheat communities, and even publicly discrediting cheat developers. It categorizes cheaters by the types of tools they use. The company strategically slows bans to keep cheat development from advancing too quickly.

BUILDING A MORE ACCESSIBLE GITHUB CLI

GitHub is committed to making its CLI accessible to all devs, addressing the current gap in accessibility standards for terminal apps. The recent Public Preview focuses on improving the experience for users relying on screen readers, high contrast, and customizable color options. The company is rethinking prompts and progress indicators for screen readers and aligning color palettes with 4-bit colors for better user customization.

TLDR IndexPage 4