Techreport blog

Engineering Insights & Guides

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

11,845 articles
Frontend — Understanding the JavaScript Modulo Operator

Understanding the JavaScript Modulo Operator

One of the most commonly-misunderstood operators is Modulo (%). In this tutorial, we'll unpack exactly what this little bugger does, and learn how it can help us solve practical problems.

JWJosh W. Comeau·September 18, 2023Frontend
Security — Making Content Security Policies (CSPs) easy with Page Shield

Making Content Security Policies (CSPs) easy with Page Shield

We just deployed a number of updates to our Client-Side Security Product: Page Shield. As of today we support all major CSP directives, better suggestions, better violation reporting, Page Shield specific user role permissions, and domain insights

MTMichael TremanteMichael Tremante·September 15, 2023Security
Frontend — Revealing Images With CSS Mask Animations — Smashing Magazine

Revealing Images With CSS Mask Animations — Smashing Magazine

Let’s play with images and experiment with CSS masks. The idea is fairly simple: take a single `` tag and harness the power of CSS to accomplish complex hover transitions. Through different demos, you will see how CSS masks combined with gradients allow us to create fancy effects — with efficient, reusable code.

TATemani AfifTemani Afif·September 15, 2023Frontend
Engineering — Facilitating Inclusive Online Workshops (Part 1) — Smashing Magazine

Facilitating Inclusive Online Workshops (Part 1) — Smashing Magazine

Running a workshop can be an effective alternative to traditional, long-standing meetings. To help ensure its success, Ben Shih introduces the concept of an inclusive workshop. In Part 1 of the series, you discover the fundamentals of inclusivity and get some solid guidance on how to plan an inclusive remote workshop.

BSBen ShihBen Shih·September 13, 2023Engineering
Performance — Monitoring PostgreSQL replication

Monitoring PostgreSQL replication

How to monitor replication lag in PostgreSQL? What is replication lag? And how to best go about monitoring PostgreSQL replication in general?

HSHans-Jürgen SchönigHans-Jürgen Schönig·September 12, 2023Performance
Security — Meta Quest 2: Defense through offense

Meta Quest 2: Defense through offense

Meta’s Native Assurance team regularly performs manual code reviews as part of our ongoing commitment to improve the security posture of Meta’s products. In 2021, we discovered a vulnerability in the Meta Quest 2’s Android-based OS that never made it to production but helped us find new ways to improve the security of Meta Quest […]

CWChris Wiltz·September 12, 2023Security