TLDR Web Dev

TLDR WEB DEV 2024-08-29

6 sections19 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

AUTH IS SOLVED. SECURE YOUR APP WITH FUSIONAUTH

FusionAuth is the customer authentication and authorization platform that makes developers' lives easier. Say goodbye to hidden fees and hello to comprehensive solutions without the hassle.

fusionauth.ioSponsor

02ARTICLES & TUTORIALS

RECOMMENDING FOR LONG-TERM MEMBER SATISFACTION AT NETFLIX

Netflix optimizes recommendations for long-term member satisfaction by going beyond short-term engagement metrics like clicks. It uses a contextual bandit framework where user actions, like completing a season or giving a thumbs-down, are used to define a proxy reward function. This function aims to capture long-term satisfaction and is iteratively refined through a process called reward engineering. To address the challenge of delayed feedback, Netflix predicts missing feedback using observed data and integrates it into the proxy reward function, allowing for better bandit policy updates.

netflixtechblog.com8 min read

BLOCKING=RENDER: WHY WOULD YOU DO THAT?!

The "blocking=render" attribute allows developers to explicitly mark resources as render-blocking, meaning the browser will not display the page until the resource is loaded. However, this is generally not recommended, as it can negatively impact performance. The most common use case for "blocking=render" is in client-side A/B testing, where it can prevent a jarring experience for users by making sure that the page is not rendered until all variations are ready.

csswizardry.com9 min read

HOW TO MAKE YOUR WEB PAGE FASTER BEFORE IT EVEN LOADS

Events that occur before the first byte of data is received by the browser are called pre-TTFB (Time to First Byte) events. The PerformanceNavigationTiming API captures these pre-TTFB events and provides insights into processes like DNS lookup, connection establishment, and TLS negotiation. This article explores optimization strategies for these events, such as caching, DNS configuration, and minimizing request waterfalls.

blog.sentry.io13 min read

03OPINIONS & ADVICE

THE FRAGILE FUTURE OF OPEN SOURCE

Free and open source software is facing declining industry support and being negatively affected by developer burnout. FOSS projects may experience decline or collapse as investment shifts away from traditional software and fewer people have the time or resources to contribute.

baldurbjarnason.com4 min read

04LAUNCHES & TOOLS

Sponsored

FREE API SECURITY TRAINING FOR DEVELOPERS

How well does your team know the OWASP Top 10 API Security Risks? Get everyone up to speed with Security Journey's free training program [15]. Through video lessons and hands-on sandbox exercises, learners will gain the knowledge and skills to identify, exploit, and defend against API security vulnerabilities in real-world scenarios. Get free

info.securityjourney.comSponsor

access

info.securityjourney.com

INTRODUCING THE VERCEL MARKETPLACE

Vercel has launched its Marketplace, providing developers with easy access to integrated storage solutions like Supabase, Redis, and EdgeDB.

vercel.com3 min read

RDF PROCESSING WITH N3.JS

N3.js is a powerful JavaScript library for working with RDF data. It offers features for parsing, writing, storing, and reasoning with RDF, making it a valuable tool for developers working with semantic data.

github.comGitHub repository

05MISCELLANEOUS

BUILDING POSTCARDS FOR “AIRBNB” SCALE

Airbnb's Media team developed a system to generate unique, personalized postcards for group trips. The project was complex and involved matching relevant postcards to destinations, having localized text formatting, and optimizing performance for various platforms. The team built a flexible template system, used a destination matching algorithm, and implemented an asynchronous postcard generation workflow for fast delivery.

links.tldrnewsletter.com8 min read

THE JOURNEY OF AN INTERNET PACKET: EXPLORING NETWORKS WITH TRACEROUTE

This article explains how traceroute works and how it can be used to diagnose network problems. It first explains the journey of an internet packet and how it traverses multiple routers before reaching its destination. It then introduces traceroute, which uses the Time To Live (TTL) field in IP headers to trace the path a packet takes. Traceroute identifies each router along the path by sending ICMP packets with increasing TTL values and listening for Time Exceeded Messages.

sebastianmarines.com10 min read

SCALING RAILS & POSTGRES TO MILLIONS OF USERS AT MICROSOFT: LESSONS & TAKEAWAYS

This post contains an interview with Andrew Atkinson, a PostgreSQL expert at StepChange, which discusses his experience scaling Rails applications for millions of users. Atkinson shares valuable lessons learned from his work at Microsoft, where he optimized the infrastructure for Flip, a video discussion app. He highlights the challenges of scaling a Rails application with Postgres, particularly when dealing with heavy read and write operations, and provides practical advice for developers on optimizing queries, identifying bottlenecks, and utilizing tools like PG stats and explain plans. The post encourages developers to leverage ActiveRecord's features like counter caches and sharding to improve performance and scalability.

stepchange.work44 min read