Home/2024
Archive

Year 2024

1,148 articles published in 2024.

Engineering — Catching Compromised Cookies

Catching Compromised Cookies

Slack uses cookies to track session states for users on slack.com and the Slack Desktop app. The ever-present cookie banners have made cookies mainstream, but as a quick refresher, cookies are a little piece of client-side state associated with a website that is sent up to the web server on every request. Websites use this…

RSRyan Slama·June 24, 2024Engineering
Frontend — Uniting Web And Native Apps With 4 Unknown JavaScript APIs — Smashing Magazine

Uniting Web And Native Apps With 4 Unknown JavaScript APIs — Smashing Magazine

Have you heard of the Screen Orientation API? What about the Device Orientation API, Vibration API, or the Contact Picker API? Juan Diego Rodriguez is interested in these under-the-radar web features and discusses how they can be used to create more usable and robust progressive web apps if and when they gain broader support.

JDJuan Diego RodriguezJuan Diego Rodriguez·June 20, 2024Frontend
SRE & Ops — PVF: A novel metric for understanding AI systems’ vulnerability against SDCs in model parameters

PVF: A novel metric for understanding AI systems’ vulnerability against SDCs in model parameters

We’re introducing parameter vulnerability factor (PVF), a novel metric for understanding and measuring AI systems’ vulnerability against silent data corruptions (SDCs) in model parameters. PVF can be tailored to different AI models and tasks, adapted to different hardware faults, and even extended to the training phase of AI models. We’re sharing results of our own […]

CWChris Wiltz·June 19, 2024SRE & Ops
Engineering — T-Shaped vs. V-Shaped Designers — Smashing Magazine

T-Shaped vs. V-Shaped Designers — Smashing Magazine

Job openings typically cast a very restrictive frame for candidates, with long lists of expectations and requirements. But what if this narrow focus can overlook the value of “V”-shaped designers who excel by crossing boundaries, connecting dots, and innovating beyond rigid boxes?

VFVitaly FriedmanVitaly Friedman·June 19, 2024Engineering
Design & UX — Useful Email Newsletters For Designers — Smashing Magazine

Useful Email Newsletters For Designers — Smashing Magazine

Whether you want to take your user research skills to the next level, get better at UX writing, or stay up-to-date on the latest design trends, a newsletter is the perfect opportunity to get the best of the best resources delivered straight to your inbox on a regular basis. In this post, we highlight some design newsletters that you might want to consider subscribing to.

CMCosima MielkeCosima Mielke·June 17, 2024Design & UX
SRE & Ops — Advanced Rollout Techniques: Custom Strategies for Stateful Apps in Kubernetes

Advanced Rollout Techniques: Custom Strategies for Stateful Apps in Kubernetes

In a previous blog post—A Simple Kubernetes Admission Webhook—I discussed the process of creating a Kubernetes webhook without relying on Kubebuilder. At Slack, we use this webhook for various tasks, like helping us support long-lived Pods (see Supporting Long-Lived Pods), and today, I delve once more into the topic of long-lived Pods, focusing on our…

CLClément Labbe·June 15, 2024SRE & Ops
Frontend — What Are CSS Container Style Queries Good For? — Smashing Magazine

What Are CSS Container Style Queries Good For? — Smashing Magazine

What are these CSS Container Style Queries, and why should you use them? Juan Diego Rodríguez delves deeply into style queries, and not at the syntax level, but at what exactly they are solving and what sort of use cases you would find yourselves reaching for them in your work if and when they gain browser support.

JDJuan Diego RodriguezJuan Diego Rodriguez·June 14, 2024Frontend
AI & ML — Unlocking the power of unstructured data with RAG

Unlocking the power of unstructured data with RAG

Unstructured data holds valuable information about codebases, organizational best practices, and customer feedback. Here are some ways you can leverage it with RAG, or retrieval-augmented generation.

NCNicole ChoiNicole Choi·June 13, 2024AI & ML
Frontend — MLow: Meta’s low bitrate audio codec

MLow: Meta’s low bitrate audio codec

At Meta, we support real-time communication (RTC) for billions of people through our apps, including WhatsApp, Instagram, and Messenger. We are working to make RTC accessible by providing a high-quality experience for everyone – even those who might not have the fastest connections or the latest phones. As more and more people have relied on […]

CWChris Wiltz·June 13, 2024Frontend
Security — Celebrating 10 years of Project Galileo

Celebrating 10 years of Project Galileo

On its 10th anniversary, Cloudflare's Project Galileo continues to offer free security services to over 2,600 journalists and nonprofits globally, supporting human rights and democracy.

MPMatthew Prince, Alissa StarzakMatthew Prince, Alissa Starzak·June 12, 2024Security
SRE & Ops — How Meta trains large language models at scale

How Meta trains large language models at scale

As we continue to focus our AI research and development on solving increasingly complex problems, one of the most significant and challenging shifts we’ve experienced is the sheer scale of computation required to train large language models (LLMs). Traditionally, our AI model training has involved a training massive number of models that required a comparatively […]

CWChris Wiltz·June 12, 2024SRE & Ops
SRE & Ops — Maintaining large-scale AI capacity at Meta

Maintaining large-scale AI capacity at Meta

Meta is currently operating many data centers with GPU training clusters across the world. Our data centers are the backbone of our operations, meticulously designed to support the scaling demands of compute and storage. A year ago, however, as the industry reached a critical inflection point due to the rise of artificial intelligence (AI), we […]

CWChris Wiltz·June 12, 2024SRE & Ops
Engineering — Demystifying INP: New tools and actionable insights

Demystifying INP: New tools and actionable insights

Deep dive into Interaction to Next Paint (INP) optimization: A technical guide exploring real-world strategies used to improve INP on nextjs.org. Learn how to tackle common challenges and enhance responsiveness in your web applications.

VVercel·June 12, 2024Engineering
Performance — How we improved push processing on GitHub

How we improved push processing on GitHub

Pushing code to GitHub is one of the most fundamental interactions that developers have with GitHub every day. Read how we have significantly improved the ability of our monolith to correctly and fully process pushes from our users.

WHWill HaltomWill Haltom·June 11, 2024Performance
SRE & Ops — Unlocking the power of mixed reality devices with MobileConfig

Unlocking the power of mixed reality devices with MobileConfig

MobileConfig enables developers to centrally manage a mobile app’s configuration parameters in our data centers. Once a parameter value is changed on our central server, billions of app devices automatically fetch and apply the new value without app updates. These remotely managed configuration parameters serve various purposes such as A/B testing, feature rollout, and app […]

CWChris Wiltz·June 11, 2024SRE & Ops
SRE & Ops — Serverless Jupyter Notebooks at Meta

Serverless Jupyter Notebooks at Meta

At Meta, Bento, our internal Jupyter notebooks platform, is a popular tool that allows our engineers to mix code, text, and multimedia in a single document. Use cases run the entire spectrum from what we call “lite” workloads that involve simple prototyping to heavier and more complex machine learning workflows. However, even though the lite […]

CWChris Wiltz·June 10, 2024SRE & Ops
Frontend — Useful CSS Tips And Techniques — Smashing Magazine

Useful CSS Tips And Techniques — Smashing Magazine

The times for CSS have probably never been more exciting than today. In this quick read, we’ve got some useful CSS tips and techniques for you that you can apply to your work right away. Let’s dive deeper into self-modifying CSS variables, hanging punctuation, and more.

CMCosima MielkeCosima Mielke·June 7, 2024Frontend
Frontend — Test-Driving HTML Templates

Test-Driving HTML Templates

When building a server-side rendered web application, it is valuable to test the HTML that's generated through templates. While these can be tested through end-to-end tests running in the browser, such tests are slow and more work to maintain than unit tests. Unit tests, written in the server-side environment, can check for valid HTML, and extract elements with CSS selectors to test the details of

MVMatteo Vaccari·June 5, 2024Frontend
Distributed — Scaling Success: Key Insights And Practical Takeaways — Smashing Magazine

Scaling Success: Key Insights And Practical Takeaways — Smashing Magazine

The web is still a young platform, and we’re only now beginning to recognize what “success” looks like for large projects. In his recent Smashing book, [Success at Scale](https://www.smashingmagazine.com/printed-books/success-at-scale/), Addy Osmani presents practical case studies featuring the web’s most renowned companies and their efforts to make big changes to existing apps and sites. In this

AOAddy OsmaniAddy Osmani·June 4, 2024Distributed
SRE & Ops — Adopting OpenTelemetry for our logging pipeline

Adopting OpenTelemetry for our logging pipeline

Recently, Cloudflare's Observability team undertook an effort to migrate our existing syslog-ng backed logging infrastructure to instead being backed by OpenTelemetry Collectors. In this post, we detail the process that we undertook, and the difficulties we faced along the way

CCloudflare·June 3, 2024SRE & Ops
Frontend — CSS Length Units

CSS Length Units

A comprehensive guide covering nine types of lengths that CSS uses to size elements in terms of dimensions, space, time, and even sound.

GGGeoff GrahamGeoff Graham·June 3, 2024Frontend
Frontend — Promises From The Ground Up

Promises From The Ground Up

The “Promises” API is a surprisingly tricky part of modern JavaScript. Without the right context, it doesn’t make much sense at all! In this tutorial, you’ll build an intuition for how Promises work by getting a deeper understanding of JavaScript and its limitations.

JWJosh W. Comeau·June 3, 2024Frontend