Home/2021
Archive

Year 2021

2,150 articles published in 2021.

Engineering — Email Classification

Email Classification

With the release of Slack Connect, people can now collaborate both with internal employees and external organizations in the same channel. To make this as smooth as possible, Slack does predictive email analysis to classify and recommend the best way for a user to work with people they want to collaborate with. To accomplish this,…

SHSarah Henkens·July 28, 2021Engineering
Frontend — Creating An Accessible Dialog From Scratch — Smashing Magazine

Creating An Accessible Dialog From Scratch — Smashing Magazine

Dialogs are everywhere in modern interface design (for good or for bad), and yet many of them are not accessible to assistive technologies. In this post, Kitty Giraudel is going to write a small JavaScript library for authoring accessible dialogs from the very beginning. The goal is to understand what goes into it. She’s not going to deal with styling too much, just the JavaScript part.

KGKitty GiraudelKitty Giraudel·July 28, 2021Frontend
Performance — Helping build a green Internet

Helping build a green Internet

While we didn't set out to reduce the environmental impact of the Internet, Cloudflare has always had efficiency at its core. It comes from our ongoing fight with an old nemesis: the speed of light.

MPMatthew PrinceMatthew Prince·July 27, 2021Performance
Networking — Understand and reduce your carbon impact with Cloudflare

Understand and reduce your carbon impact with Cloudflare

As part of Cloudflare’s Impact Week, we’re excited to announce a new tool: Your Carbon Impact Report, available today for all Cloudflare accounts, will outline the carbon savings of operating your Internet properties on Cloudflare’s network.

NANatasha, AnnikaNatasha, Annika·July 27, 2021Networking
Engineering — Green Hosting with Cloudflare Pages

Green Hosting with Cloudflare Pages

Cloudflare is proud to announce its collaboration with the Green Web Foundation, a not-for-profit organization with the mission of creating an Internet that one day will run on entirely renewable energy.

NNeviNevi·July 27, 2021Engineering
Frontend — CSS Logical Properties and Values

CSS Logical Properties and Values

Now that cross-browser support is at a tipping point, it's a good time to take a look at logical properties and values. If you're creating a website in

OWOllie WilliamsOllie Williams·July 27, 2021Frontend
Engineering — ES2021 Features

ES2021 Features

Hemanth HM very succinctly shows off ES2021 features. Gosh it doesn't feel like that long ago that all we could talk about is ES2015, and now that's over a

CCChris Coyier·July 27, 2021Engineering
Frontend — Global vs. Local Styling In Next.js — Smashing Magazine

Global vs. Local Styling In Next.js — Smashing Magazine

Next.js has strong opinions about how to organize JavaScript but not CSS. How can we develop patterns that encourage best CSS practices while also following the framework’s logic? The answer is surprisingly simple — to write well-structured CSS that balances global and local styling concerns. In this article, Alexander Dubovoy will build a website (a tea shop!) to demonstrate these patterns.

ADAlexander DubovoyAlexander Dubovoy·July 27, 2021Frontend
Frontend — Slinkity

Slinkity

Perhaps the #1 reason I love Astro is that it brings the JavaScript component authoring experience to the Static Site Generator world with zero JavaScript

CCChris Coyier·July 26, 2021Frontend
Frontend — Gatsby Serverless Functions And The International Space Station — Smashing Magazine

Gatsby Serverless Functions And The International Space Station — Smashing Magazine

Gatsby recently announced the launch of “functions”. In this article, Paul Scanlon explains how to get the current location of the International Space Station (ISS) as it orbits the Earth in real-time using [Gatsby Functions](https://www.gatsbyjs.com/docs/reference/functions/) and then display it on a 3D interactive globe using [React Three Fibre](https://github.com/pmndrs/react-three-fiber).

PSPaul ScanlonPaul Scanlon·July 26, 2021Frontend
Engineering — Welcome to Cloudflare Impact Week

Welcome to Cloudflare Impact Week

We originally conceived the idea of Impact Week as a way to highlight some of the things we were doing as a company around our environmental, social, and governance (ESG) initiatives.

MPMatthew PrinceMatthew Prince·July 25, 2021Engineering
Security — Cloudflare's Handling of an RCE Vulnerability in cdnjs

Cloudflare's Handling of an RCE Vulnerability in cdnjs

Recently, a RCE vulnerability in the way cdnjs’ backend is automatically keeping web resources up to date has been disclosed. Read about how Cloudflare handled the security incident and what will prevent similar exploits in the future.

GTGanz, Thomas CalderonGanz, Thomas Calderon·July 24, 2021Security
Engineering — AWS’s Egregious Egress

AWS’s Egregious Egress

Amazon’s says: “We strive to offer our customers the lowest possible prices, the best available selection, and the utmost convenience.” When it comes to egress, their prices are far from the lowest.

MPMatthew Prince, Nitin RaoMatthew Prince, Nitin Rao·July 23, 2021Engineering
Engineering — Empowering customers with the Bandwidth Alliance

Empowering customers with the Bandwidth Alliance

High egress costs from a Cloud limit customers choice in Cloud services. Cloudflare’s Bandwidth Alliance with our cloud partners provides an alternative to this lock-in. Our customers have benefitted from this both via discounted egress costs and choice of storage providers.

AArjunanArjunan·July 23, 2021Engineering
AI & ML — A Guide To Attracting Clients To Your Agency — Smashing Magazine

A Guide To Attracting Clients To Your Agency — Smashing Magazine

Word-of-mouth recommendation is an incredibly desirable way to win work. It requires zero marketing efforts and typically converts at a higher rate as your agency has been recommended. However, you should never rely on word of mouth alone. Many web design agencies consider it a badge of honor that they win work exclusively through word-of-mouth recommendations. In this article, Paul Boag explains

PBPaul BoagPaul Boag·July 23, 2021AI & ML
Engineering — Using Google Drive as a CMS

Using Google Drive as a CMS

We’re going to walk through the technical process of hooking into Google Drive’s API to source content on a website. We’ll examine the step-by-step

NBNathan Babcock·July 22, 2021Engineering
Architecture — Hashnode: A Blogging Platform for Developers

Hashnode: A Blogging Platform for Developers

Hashnode is a free platform for developer blogging. Say you’ve just finished an ambitious project and want to write about 10 important lessons you’ve learned as a developer during it. You should definitely blog it—I love that kind of blog post, myself. Making a jump into the technical debt of operating your own blog isn’t a small choice, but it’s important to own your own content. With Hashnode, t

CCChris Coyier·July 22, 2021Architecture
SRE & Ops — Migrating Facebook to MySQL 8.0

Migrating Facebook to MySQL 8.0

MySQL, an open source database developed by Oracle, powers some of Facebook’s most important workloads. We actively develop new features in MySQL to support our evolving requirements. These features change many different areas of MySQL, including client connectors, storage engine, optimizer, and replication. Each new major version of MySQL requires significant time and effort to […]

CWChris Wiltz·July 22, 2021SRE & Ops
Engineering — Adding Time To Your Schedule As A Professional — Smashing Magazine

Adding Time To Your Schedule As A Professional — Smashing Magazine

Are you running a business and have too many things going on at once? Meetings, bugs, customer feedback, new clients in addition to your already tight deadlines? Let’s face it, time management is hard, and it becomes even more difficult in the trying times we are in. Here’s how tools like [Trafft](https://trafft.com) that have meeting scheduling software capabilities can be used to easily set up o

MTMatthew TalebiMatthew Talebi·July 22, 2021Engineering
Engineering — ECMAScript proposal: JSON modules

ECMAScript proposal: JSON modules

Dr. Axel Rauschmayer looks at JSON modules, which is already live in Chrome 91 (but nothing else). It looks just like an ES Modules-style import, only you

CCChris Coyier·July 21, 2021Engineering
Frontend — Color Tools And Resources — Smashing Magazine

Color Tools And Resources — Smashing Magazine

Do you need a little inspiration boost? We’ve collected some useful color tools and resources that we’ve discovered lately — to help you get the most out of your creativity. We’ve also just recently covered [CSS auditing tools](https://www.smashingmagazine.com/2021/03/css-auditing-tools/), [CSS generators](https://www.smashingmagazine.com/2021/03/css-generators/), [accessible front-end components]

CMCosima MielkeCosima Mielke·July 21, 2021Frontend
Security — DDoS attack trends for 2021 Q2

DDoS attack trends for 2021 Q2

The DDoS attack trends observed over Cloudflare’s network in 2021 Q2 paint a picture that reflects the overall global cyber threat landscape. Here are some highlights of DDoS attack trends observed in 2021 Q2.

VOVivek, OmerVivek, Omer·July 20, 2021Security
Networking — The Nine States of Design

The Nine States of Design

Here’s a really good ol’ post from way back in 2015 all about the nine states of design and how we should think all the edge cases whenever we’re building

RRRobin RendleRobin Rendle·July 20, 2021Networking
Databases — PostgreSQL zheap: Current status

PostgreSQL zheap: Current status

zheap has been designed as a new storage engine to handle UPDATE in PostgreSQL more efficiently. Read about the current status and more.

HSHans-Jürgen SchönigHans-Jürgen Schönig·July 20, 2021Databases
Engineering — Extending Anvil for Fun and Profit

Extending Anvil for Fun and Profit

Note: This article assumes some familiarity with Dagger, Anvil, and Kotlin. We use Dagger heavily in the Slack Android app for compile-time dependency injection. It’s powerful, flexible, supports basic Kotlin idioms, and allows for advanced dependency injection patterns with less boilerplate. It’s not without its sharp edges though. It slows down our builds with kapt,…

ZSZac Sweers·July 20, 2021Engineering
Engineering — How To Migrate From WordPress To A Headless CMS — Smashing Magazine

How To Migrate From WordPress To A Headless CMS — Smashing Magazine

In this article, Alba Silvente will take a look at when it makes sense to migrate from a monolithic project to a headless setup and the benefits that come with it. In addition to a step-by-step guide on how to migrate WordPress to Storyblok Headless CMS, the problems that will arise during the process and how to deal with them.

ASAlba SilventeAlba Silvente·July 20, 2021Engineering
Engineering — Images are hard.

Images are hard.

Putting images on websites is incredibly simple, yes? Actually, yes, it is. You use <img> and link it to a valid source in the src attribute and you're

CCChris Coyier·July 19, 2021Engineering
Engineering — How To Learn Stuff Quickly

How To Learn Stuff Quickly

As software developers, we're always learning new things; it's practically the whole gig! If we can learn to quickly pick up new languages/frameworks/tools, we'll become so much more effective at our job. It's sort of a superpower.

JWJosh W. Comeau·July 19, 2021Engineering
Architecture — Maintaining End-To-End Quality With Visual Testing — Smashing Magazine

Maintaining End-To-End Quality With Visual Testing — Smashing Magazine

A critical part of any developer’s workflow is definitely testing. It helps us to ensure that our project is going to maintain a high level of quality, as well as prevent any pesky bugs from getting out into the wild. By adding visual elements to your tests, you can gain more options to add meaningful ways in maintaining a high level of quality for your app. In this article, Colby Fayock explains

CFColby FayockColby Fayock·July 19, 2021Architecture
Frontend — Some Typography Links VI

Some Typography Links VI

Glitter text — whO (I learned a name for people who go by a one-word moniker like that: Mononymous) created a builder for fancy SVG-based type. It's a custom

CCChris Coyier·July 16, 2021Frontend