Techreport blog

Engineering Insights & Guides

The best problem-solving writing in software engineering — databases, performance, security, frontend and distributed systems, in one feed.

11,782 articles
Career & Teams — Let’s talk about tech internships

Let’s talk about tech internships

Are you a student developer looking to land an internship? We’ve got answers! We recently sat down with Co.Lab Co-founder Helen Huang on GitHub Campus TV to find out how…

EHElise HollowedElise Hollowed·February 24, 2021Career & Teams
Design & UX — Material Design Text Fields Are Badly Designed — Smashing Magazine

Material Design Text Fields Are Badly Designed — Smashing Magazine

Where to put the label in a web form? In the early days, we talked about left-aligned labels versus top-aligned labels. These days we talk about floating labels. Let’s explore why they aren’t a very good idea, and what to use instead. Some people assume float labels are best because Google’s Material Design uses them. But in this case, Adam Silver recommends using conventional text fields which ha

ASAdam SilverAdam Silver·February 24, 2021Design & UX
Frontend — Hiding Content Responsibly

Hiding Content Responsibly

We've covered the idea of hiding things in CSS many times here, the most recent post being Marko Ilic's "Comparing Various Ways to Hide Things in CSS" which

CCChris Coyier·February 23, 2021Frontend
Databases — PostgreSQL: How to write a trigger

PostgreSQL: How to write a trigger

UPDATED 2023: A trigger is a way to automatically respond to events. This is a tutorial on how to manage and program triggers in PostgreSQL.

HSHans-Jürgen SchönigHans-Jürgen Schönig·February 23, 2021Databases
Engineering — Open source in the 5G stack

Open source in the 5G stack

Developers know the value of openness, and increasingly policymakers are taking note. Open source and open standards approaches offer promising solutions to mounting policy problems related to digital sovereignty. One…

PCPeter CihonPeter Cihon·February 23, 2021Engineering
SRE & Ops — Mitigating the effects of silent data corruption at scale

Mitigating the effects of silent data corruption at scale

What the research is: Silent data corruption, or data errors that go undetected by the larger system, is a widespread problem for large-scale infrastructure systems. This type of corruption can propagate across the stack and manifest as application-level problems. It can also result in data loss and require months to debug and resolve. This work […]

MEMeta Engineering·February 23, 2021SRE & Ops
Frontend — Create Responsive Image Effects With CSS Gradients And aspect-ratio — Smashing Magazine

Create Responsive Image Effects With CSS Gradients And aspect-ratio — Smashing Magazine

A classic problem in CSS is maintaining the aspect ratio of images across related components, such as cards. The newly supported `aspect-ratio` property in combination with `object-fit` provides a remedy to this headache of the past! In this article, Stephanie Eckles will show you how to use these properties, in addition to creating a responsive gradient image effect for extra flair.

SEStephanie EcklesStephanie Eckles·February 23, 2021Frontend
Design & UX — Getting Deep Into Shadows

Getting Deep Into Shadows

Let’s talk shadows in web design. Shadows add texture, perspective, and emphasize the dimensions of objects. In web design, using light and shadow can add

RORob O'LearyRob O'Leary·February 22, 2021Design & UX
Engineering — What The Heck, z-index??

What The Heck, z-index??

The z-index property can be a tricky little bugger. Sometimes, no matter how much you crank up the number, the element never rises to the top! In this article, we explore stacking contexts, and see how they can thwart our efforts to use z-index. We'll also learn how to use this mechanism to our advantage.

JWJosh W. Comeau·February 22, 2021Engineering
SRE & Ops — FOQS: Scaling a distributed priority queue

FOQS: Scaling a distributed priority queue

We will be hosting a talk about our work on Scaling a Distributed Priority Queue during our virtual Systems @Scale event at 11 am PT on Wednesday, February 24, followed by a live Q&A session. Please submit any questions to [email protected] before the event. The entire Facebook ecosystem is powered by thousands of distributed systems […]

CWChris Wiltz·February 22, 2021SRE & Ops
Databases — Read Consistency with Database Replicas - Shopify

Read Consistency with Database Replicas - Shopify

At Shopify, we’ve long used database replication for redundancy and failure recovery, but only fairly recently started to explore the potential of replicas as an alternative read-only data source for applications.

SEShopify Engineering·February 22, 2021Databases