Newslurp

<< Stories

Gemini custom Gems 🎁, inside Netflix’s recommendation algo ✍️, Vercel marketplace 🏬

TLDR Web Dev <dan@tldrnewsletter.com>

August 29, 11:08 am

TLDR WebDev
Gemini now has custom AI experts called "Gems" for Advanced subscribers. Some Gems include the Writing Editor, Coding Partner, and Brainstormer. 

TLDR

Together With FusionAuth

 TLDR Web Dev 2024-08-29

Auth is solved. Secure your app with FusionAuth (Sponsor)

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.

All the Features, No BS: Enjoy robust authentication, MFA, passwordless login, user management, advanced threat detection, and much more—all included.

Unmatched Scalability: Seamlessly handle 100s of millions of users and 1000s of logins per second.

Full Customization: Tailor your front end, personalize user data, and effortlessly craft unique message templates.

Run FusionAuth Anywhere:

🦵 Kick the tires: Build your own instance with Docker Compose and experience the power firsthand >>

☁️ Cloud Excellence: Achieve high performance, reliability, and data sovereignty with up to 99.99% SLA on the FusionAuth Cloud >>

🧑‍💻

Articles & Tutorials

Recommending for Long-Term Member Satisfaction at Netflix (8 minute read)

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.
blocking=render: Why would you do that?! (9 minute read)

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.
How to make your web page faster before it even loads (13 minute read)

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.
🧠

Opinions & Advice

ChatGPT: A Programmer's Productivity Boost, But with Caution (4 minute read)

ChatGPT is a valuable tool for programming, as it allows developers to produce code faster than before. However, an understanding of the underlying principles of the code produced is more important than ever.
The Fragile Future of Open Source (4 minute read)

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.
🚀

Launches & Tools

Free API security training for developers (Sponsor)

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. 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 access
New in Gemini: Custom Gems and improved image generation with Imagen 3 (4 minute read)

Gemini now has custom AI experts called "Gems" for Advanced subscribers. Some Gems include the Writing Editor, Coding Partner, and Brainstormer. Gemini also now has the Imagen 3 model, used to generate AI images, available for all users.
Introducing the Vercel Marketplace (3 minute read)

Vercel has launched its Marketplace, providing developers with easy access to integrated storage solutions like Supabase, Redis, and EdgeDB.
RDF Processing with N3.js (GitHub Repo)

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.
🎁

Miscellaneous

Building Postcards for “Airbnb” Scale (8 minute read)

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.
The journey of an internet packet: Exploring networks with traceroute (10 minute read)

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.
Scaling Rails & Postgres to Millions of Users at Microsoft: Lessons & Takeaways (44 minute read)

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.

Quick Links

Microsoft donates the Mono Project to the Wine team (2 minute read)

Microsoft has donated the Mono Project, an open source implementation of the .NET Framework, to the Wine team, and has acknowledged its significance in enabling cross-platform .NET development.
GPT Engineer (Website)

GPT Engineer allows you to build web apps, sync with GitHub, and deploy them in one click all with natural language.
What is HN working on: A structured dataset (10 minute read)

This is a structured dataset from Hacker News comments about people's personal projects with an analysis of project trends and sentiment.
State and time are the same thing (4 minute read)

Time is not a separate entity but rather can be represented by changes in observable state, with each change marking a distinct point in time.

Love TLDR? Tell your friends and get rewards!

Share your referral link below with friends to get free TLDR swag!
Track your referrals here.

Want to advertise in TLDR? 📰

If your company is interested in reaching an audience of web developers and engineering decision makers, you may want to advertise with us.

If you have any comments or feedback, just respond to this email!

Thanks for reading,
Priyam Mohanty, Jenny Xu & Ceora Ford


If you don't want to receive future editions of TLDR Web Dev, please unsubscribe from TLDR Web Dev or manage all of your TLDR newsletter subscriptions.