Home/2021
Archive

Year 2021

2,150 articles published in 2021.

Security — GitHub Advisory Database now powers npm audit

GitHub Advisory Database now powers npm audit

Today, we’re adding a proxy on top of the GitHub Advisory Database that speaks the `npm audit` protocol. This means that every version of the npm CLI that supports security audits is now talking directly to the GitHub Advisory Database.

ETEdward ThomsonEdward Thomson·October 7, 2021Security
SRE & Ops — Infrastructure Observability for Changing the Spend Curve

Infrastructure Observability for Changing the Spend Curve

Slack is an integral part of where work happens for teams across the world, and our work in the Core Development Engineering department supports engineers throughout Slack that develop, build, test, and release high-quality services to Slack’s customers. In this article, we share how teams at Slack evolved our internal tooling and made infrastructure bets.…

FCFrank Chen·October 7, 2021SRE & Ops
AI & ML — Freebie: COVID-19 Icon Set (56 Icons, AI, EPS, SVG, PNG) — Smashing Magazine

Freebie: COVID-19 Icon Set (56 Icons, AI, EPS, SVG, PNG) — Smashing Magazine

Every once in a while, we publish [freebies](https://www.smashingmagazine.com/category/freebies/) related to different occasions and themes. We hope that with this icon set, every designer will be able to find their own use case and contribute to saving lives. Free for personal and commercial use. [Get the free icon pack](https://smashingmagazine.com/provide/smashing-freebie-coronavirus-covid19.zi

ATAnton TyschenkoAnton Tyschenko·October 7, 2021AI & ML
Engineering — Websites We Like: MD Nichrome

Websites We Like: MD Nichrome

Here’s a beautiful website: it’s a type specimen for Mass-Driver’s ever-so-lovely type family MD Nichrome. There’s a ton of nifty animations and graphics

RRRobin RendleRobin Rendle·October 6, 2021Engineering
Frontend — A Guide To CSS Debugging — Smashing Magazine

A Guide To CSS Debugging — Smashing Magazine

Debugging in CSS means figuring out what might be the problem when you have unexpected layout results. Today, Stephanie Eckles will look at a few categories bugs often fit into, see how you can evaluate the situation, and explore techniques that help prevent these bugs.

SEStephanie EcklesStephanie Eckles·October 6, 2021Frontend
Engineering — Branching Strategies in Git

Branching Strategies in Git

In this article I'm going to talk about branching strategies and different types of Git branches. I’m also going to introduce you to two common branching workflows: Git Flow and GitHub Flow.

TGTobias GüntherTobias Günther·October 5, 2021Engineering
Frontend — Scroll Shadows With JavaScript

Scroll Shadows With JavaScript

Scroll shadows are when you can see a little inset shadow on elements if (and only if) you can scroll in that direction. It's just good UX. You can actually

CCChris Coyier·October 5, 2021Frontend
Frontend — Conditional Border Radius In CSS

Conditional Border Radius In CSS

Ahmad Shadeed documents a bonafide CSS trick from the Facebook CSS codebase. The idea is that when an element is the full width of the viewport, it doesn't

CCChris Coyier·October 5, 2021Frontend
Networking — More details about the October 4 outage

More details about the October 4 outage

Now that our platforms are up and running as usual after yesterday’s outage, I thought it would be worth sharing a little more detail on what happened and why — and most importantly, how we’re learning from it. This outage was triggered by the system that manages our global backbone network capacity. The backbone is […]

MEMeta Engineering·October 5, 2021Networking
Architecture — Local Testing A Serverless API (API Gateway And Lambda) — Smashing Magazine

Local Testing A Serverless API (API Gateway And Lambda) — Smashing Magazine

Have you ever struggled with testing cloud services locally? Specifically, have you ever struggled with locally testing an API that uses API Gateway and Lambda, with the Serverless framework, on AWS? In this article, Tom Hudson shares a quick overview of how easy it is to quickly set up your project to test locally before deploying to AWS.

TTomhudson·October 5, 2021Architecture
Networking — Understanding how Facebook disappeared from the Internet

Understanding how Facebook disappeared from the Internet

Today at 1651 UTC, we opened an internal incident entitled "Facebook DNS lookup returning SERVFAIL" because we were worried that something was wrong with our DNS resolver 1.1.1.1. But as we were about to post on our public status page we realized something else more serious was going on.

CCloudflare·October 4, 2021Networking
Engineering — ShopTalk Goes Video

ShopTalk Goes Video

Dave and I slapped up a little videos section of the ShopTalk website. Twelve so far! They are short-ish, between 10-20 minutes, each focused on one fairly

CCChris Coyier·October 4, 2021Engineering
Distributed — Stuff The Internet Says On Scalability For October 4th, 2021 - High Scalability -

Stuff The Internet Says On Scalability For October 4th, 2021 - High Scalability -

Hey, HighScalability is here again! The circulatory system of the internet. @tylermorganwall Love this Stuff? I need your support on Patreon to keep this stuff going. Sorry for the long gap in posting, but I’ve been building a new app. I’m looking for testers for my new iOS fitness app: Max reHIT Workout. It guides you through proven reduced-exertion high-intensity interval workouts. If that inter

HSHigh Scalability·October 4, 2021Distributed
Networking — Update about the October 4th outage

Update about the October 4th outage

To all the people and businesses around the world who depend on us, we are sorry for the inconvenience caused by today’s outage across our platforms. We’ve been working as hard as we can to restore access, and our systems are now back up and running. The underlying cause of this outage also impacted many […]

MEMeta Engineering·October 4, 2021Networking
Frontend — How To Build An Expandable Accessible Gallery — Smashing Magazine

How To Build An Expandable Accessible Gallery — Smashing Magazine

One of the use cases for using CSS Grid is to display a gallery of images, but a gallery on its own may not be that exciting. In this article, Silvestar Bistrović will be looking at how to set up a gallery that is expandable as well as accessible with a few tips and tricks along the way. Let’s get started!

SBSilvestar BistrovicSilvestar Bistrovic·October 4, 2021Frontend
Engineering — The secret to Cloudflare’s pace of Innovation

The secret to Cloudflare’s pace of Innovation

How do we get so much stuff out so quickly? That we are able to innovate — and innovate so quickly — is no happy accident. In fact, this capability has been very deliberately built into the DNA of Cloudflare.

JTJen TaylorJen Taylor·October 3, 2021Engineering
Performance — Links on React and JavaScript II

Links on React and JavaScript II

How To Use The Vite Build Tool with React — Vite is hot, in part, because it's based on esbuild and wickedly fast. It's from Evan You of Vue fame, but it's

CCChris Coyier·October 1, 2021Performance
Languages — Using the platform

Using the platform

I'm certainly not dogmatic about it, but I think if you can pull of a project with literally zero build process, it feels good while working on it and feels very good when you come back to it months/years later and can just pick up and go.

CCChris Coyier·October 1, 2021Languages
SRE & Ops — Changing the Wheels on a Moving Bus — Spotify’s Event Delivery Migration

Changing the Wheels on a Moving Bus — Spotify’s Event Delivery Migration

At Spotify, data rules all. We log a variety of data, from listening history, to results of A/B testing, to page load times so we can analyze and improve the Spotify service. We instrument and log data across every surface that is running Spotify code through a system called the Event Delivery Infrastructure (EDI). Throughout this blog post we make a distinction between the internal users of the E

FSFlavio Santos and Robert Stephenson·October 1, 2021SRE & Ops
Engineering — A Product Story: Three Lessons We Learned from Developing the Mobile App

A Product Story: Three Lessons We Learned from Developing the Mobile App

TL;DR Remember what life was like before smartphones? Remember manually having to sync your computer’s playlists with your iPod every time you added a few songs? One of Spotify’s core products, our mobile app, was designed specifically to leave all of that busywork in the past, changing how we travel with our music forever.

SESpotify Engineering·October 1, 2021Engineering
Networking — Announcing Cloudflare TV as a Service

Announcing Cloudflare TV as a Service

Today we’re excited to announce that we're making the technology we used to build Cloudflare TV available to any other business that wants to run their own 24x7 streaming network.

CCloudflare·September 30, 2021Networking
Distributed — Real-Time Communications at Scale

Real-Time Communications at Scale

We’re making it easier to build and scale real-time communications applications around open technologies, starting with WebRTC Components.

SASilverlock, AchielSilverlock, Achiel·September 30, 2021Distributed
Systems — Creating the Perfect Commit in Git

Creating the Perfect Commit in Git

A commit can be something that helps us stay on top of things. It can be a container for related changes that belong to one and only one topic, and thereby make it easier for us to understand what happened. In this post, we’re talking about what it takes to produce the "perfect" commit.

TGTobias GüntherTobias Günther·September 30, 2021Systems
Frontend — Comparing HTML Preprocessor Features

Comparing HTML Preprocessor Features

Of the languages that browsers speak, I'd wager that the very first one that developers decided needed some additional processing was HTML. Every single CMS

CCChris Coyier·September 30, 2021Frontend
Security — The fugitive in Java: Escaping to Java to escape the Chrome sandbox

The fugitive in Java: Escaping to Java to escape the Chrome sandbox

In this post, I’ll exploit a use-after-free (CVE-2021-30528) in the Chrome browser process that I reported to escape the Chrome sandbox. This is a fairly interesting bug that shows some of the subtleties involved in the interactions between C++ and Java in the Android version of Chrome.

MYMan Yue MoMan Yue Mo·September 30, 2021Security