Home/2021
Archive

Year 2021

2,150 articles published in 2021.

Engineering — You want...

You want...

I've been enjoying these little "You want..." style posts. Post titles like that are a little more... forceful for my normal taste, but I like the spirit of

CCChris Coyier·February 17, 2021Engineering
Frontend — Things You Can Do With CSS Today

Things You Can Do With CSS Today

Some nice coverage from Andy about CSS things that are truly new. If you haven't looked at new things in CSS in, say, a year, I'd bet pretty much all of this

CCChris Coyier·February 17, 2021Frontend
Frontend — CSS Switch-Case Conditions

CSS Switch-Case Conditions

CSS is yet to have a switch rule or conditional if, aside from the specific nature of @media queries and some deep trickery with CSS custom properties. Let’s

YEYair Even OrYair Even Or·February 17, 2021Frontend
Engineering — Introducing GitHub Campus TV!

Introducing GitHub Campus TV!

We’re thrilled to announce the launch of GitHub Campus TV! With new shows every week, tune in to hear from experts, participate in workshops, and join a community of passionate…

EHElise HollowedElise Hollowed·February 17, 2021Engineering
Databases — Benchmark (YCSB) numbers for Redis, MongoDB, Couchbase2, Yugabyte and BangDB - High Scalability -

Benchmark (YCSB) numbers for Redis, MongoDB, Couchbase2, Yugabyte and BangDB - High Scalability -

This is guest post by Sachin Sinha who is passionate about data, analytics and machine learning at scale. Author & founder of BangDB. This article is to simply report the YCSB bench test results in detail for five NoSQL databases namely Redis, MongoDB, Couchbase, Yugabyte and BangDB and compare the result side by side. I have used latest versions for each NoSQL DB and have followed the recommendat

HSHigh Scalability·February 17, 2021Databases
SRE & Ops — Faster, more efficient systems for finding and fixing regressions

Faster, more efficient systems for finding and fixing regressions

Every workday, Facebook engineers commit thousands of diffs (which is a change consisting of one or more files) into production. This code velocity allows us to rapidly ship new features, deliver bug fixes and optimizations, and run experiments. However, a natural downside to moving quickly in any industry is the risk of inadvertently causing regressions […]

MEMeta Engineering·February 17, 2021SRE & Ops
Engineering — The web didn't change; you did

The web didn't change; you did

I love this piece from Remy Sharp where he argues that the web didn’t get more complicated over the last 20 years, despite what we might think:

RRRobin RendleRobin Rendle·February 16, 2021Engineering
Performance — Netlify

Netlify

High five to Netlify for the ❥ sponsorship. Netlify is a great place to host your static (or not-so-static!) website because of the great speed, DX, pricing,

CCChris Coyier·February 16, 2021Performance
Performance — Optimizing Video For Size And Quality — Smashing Magazine

Optimizing Video For Size And Quality — Smashing Magazine

Adding video to your application can increase customer engagement and satisfaction. But the exact opposite can occur when there are issues with the video playback: video stalls are frustrating and drive customers away. In this article, Doug Sillars will walk you through the steps to optimize the video on your website to ensure fast playback and reduce stalls.

DSDoug SillarsDoug Sillars·February 15, 2021Performance
Design & UX — Things To Expect From A Smashing Workshop: Form Design Masterclass — Smashing Magazine

Things To Expect From A Smashing Workshop: Form Design Masterclass — Smashing Magazine

A couple of weeks ago, we organized a [Form Design Masterclass](https://smashingconf.com/online-workshops/workshops/adam-silver), an online workshop with Adam Silver alongside 81 friendly and smart people. Today, Adam Silver shares his experience and details by highlighting what you as an attendee can expect from a Smashing Workshop, and things to keep in mind when running one.

ASAdam SilverAdam Silver·February 15, 2021Design & UX
Engineering — The Devil's Albatross

The Devil's Albatross

Nils Binder talks about a technique for spacing between two elements. Picture a header on a large screen with a logo in the upper left and nav in the upper

CCChris Coyier·February 12, 2021Engineering
Security — Avoiding npm substitution attacks

Avoiding npm substitution attacks

Supply chain attacks are a reality in modern software development. Thankfully, you can reduce the attack surface by taking precautions and being thoughtful about how you manage your dependencies. We…

IZIsaac Z. SchlueterIsaac Z. Schlueter·February 12, 2021Security
SRE & Ops — Using Betas to Deploy New Features Safely - Shopify

Using Betas to Deploy New Features Safely - Shopify

For companies like Shopify that practice continuous deployment, our code is changing multiple times every day. We have to de-risk new features to ship safely and confidently without impacting the million+ merchants using our platform. Beta flags are one approach to feature development that gives us a number of notable advantages.

SEShopify Engineering·February 12, 2021SRE & Ops
Design & UX — What Saul Bass Can Teach Us About Web Design — Smashing Magazine

What Saul Bass Can Teach Us About Web Design — Smashing Magazine

Saul Bass is a graphic design legend. Responsible for title sequences in films like North by Northwest and Anatomy of a Murder, as well as a number of iconic posters and brand logos over the years. His work, in the words of Martin Scorsese, “distilled the poetry of the modern, industrialized world.” Film credits, brand logos, posters… Saul did it all, and the principles that informed his work are

FOFrederick O BrienFrederick O Brien·February 12, 2021Design & UX
Security — WordPress 5.7: Big ol' jQuery Update

WordPress 5.7: Big ol' jQuery Update

WordPress core is making the jump from jQuery 1.12.4 to jQuery 3.5.1! This is a big deal for lots of reasons — like modern features, better DX, and security

GGGeoff GrahamGeoff Graham·February 11, 2021Security
Engineering — iframe feedback

iframe feedback

What if an <iframe> had within it another <iframe> of the exact same source? Inception, as they say. Baptise Crespy does this all-important

CCChris Coyier·February 11, 2021Engineering
Frontend — Is CSS float deprecated?

Is CSS float deprecated?

An interesting conversation came up at work the other day: Should we use the CSS float property now that we have CSS Grid and Flexbox?

RRRobin RendleRobin Rendle·February 11, 2021Frontend
Frontend — Building A Web App With React, Redux And Sanity.io — Smashing Magazine

Building A Web App With React, Redux And Sanity.io — Smashing Magazine

Headless CMS is a powerful and easy way to manage content and access API. Built on React, Sanity.io is a seamless tool for flexible content management. It can be used to build simple to complex applications from the ground up. In this article, Ifeanyi Dike explains how to build a simple listing app with Sanity.io and React. The global states will be managed with Redux and the application will be s

IDIfeanyi DikeIfeanyi Dike·February 11, 2021Frontend
Engineering — How to Favicon in 2021

How to Favicon in 2021

I always appreciate someone looking into and re-evaluating the best practices of something that literally every website needs and has a complex set of

CCChris Coyier·February 10, 2021Engineering
Engineering — New global ID format coming to GraphQL

New global ID format coming to GraphQL

The GitHub GraphQL API has been publicly available for over 4 years now. Its usage has grown immensely over time, and we’ve learned a lot from running one of the…

WAWissam AbirachedWissam Abirached·February 10, 2021Engineering
Engineering — Technical Mentorship Reimagined: Time-bound and No Awkward Asks Necessary - Shopify

Technical Mentorship Reimagined: Time-bound and No Awkward Asks Necessary - Shopify

Authors: Sarah Naqvi and Steve Lounsbury Struggling with a concept and frantically trying to find the answers online? Are you thinking: I should just ping a teammate or Is this something I should already know? That’s fine, I’ll ask anyway. And then you do ask and get an answer and are feeling pretty darn proud of yourself and move forward. But wait, now I have about 25 follow-up questions. Sound f

SEShopify Engineering·February 10, 2021Engineering
Security — 2020 U.S. Election: Cybersecurity Analysis

2020 U.S. Election: Cybersecurity Analysis

As we protect many entities in the election space, we have the ability to identify, learn and analyze attack trends targeted at these sites that provide authoritative election information.

JJocelynJocelyn·February 9, 2021Security
Frontend — Nested Media Queries

Nested Media Queries

We don't have "regular" nesting in CSS. Maybe this becomes a thing someday, or something like it. That would be cool, although that pre-spec doesn't mention

CCChris Coyier·February 9, 2021Frontend
Engineering — Getting The Most Out Of Git — Smashing Magazine

Getting The Most Out Of Git — Smashing Magazine

Git has so many powerful features under the hood! From Interactive Rebase to Submodules and from the Reflog to File History, these advanced features help you become more productive and make fewer mistakes. In this article, Tobias explores some of the less known but very useful features in Git. You’ll learn how to recover deleted commits, clean up your commit history, use submodules to manage third

TGTobias GuentherTobias Guenther·February 9, 2021Engineering
Engineering — Congratulations to Cloudflare’s 2020 Partner Award Winners

Congratulations to Cloudflare’s 2020 Partner Award Winners

We are privileged to share Cloudflare’s inaugural set of Partner Awards. These Awards recognize our partner companies and representatives worldwide who stood out this past year for their investments in acquiring technical expertise in our offerings

MKMatthew, KristinaMatthew, Kristina·February 8, 2021Engineering
Frontend — SVG within CSS

SVG within CSS

Stefan Judis has a "Today I Learned" (TIL) post explaining how SVGs filters can be inlined in CSS. The idea is that CSS has the filter property which supports

CCChris Coyier·February 8, 2021Frontend