Techreport blog

Engineering Insights & Guides

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

11,844 articles
Performance — A good day to trie-hard: saving compute 1% at a time

A good day to trie-hard: saving compute 1% at a time

Pingora handles 35M+ requests per second, so saving a few microseconds per request can translate to thousands of dollars saved on computing costs. In this post, we share how we freed up over 500 CPU cores by optimizing one function and announce trie-hard, the open source crate that we created to do it.

KGKevin GuthrieKevin Guthrie·September 10, 2024Performance
Frontend — Anchor Positioning Quirks

Anchor Positioning Quirks

I am thrilled to say, that from this week onwards, the CSS-Tricks Almanac has an entry for each property, function, and at-rule related to the new Anchor

JDJuan Diego RodríguezJuan Diego Rodríguez·September 10, 2024Frontend
Design & UX — Sanding UI

Sanding UI

Jim hit a snag while working on a form. Placing labels next to inputs is trivial with flexbox, sure, but what happened in Jim's case was a bit of

GGGeoff GrahamGeoff Graham·September 10, 2024Design & UX
SRE & Ops — Simulator-based reinforcement learning for data center cooling optimization

Simulator-based reinforcement learning for data center cooling optimization

We’re sharing more about the role that reinforcement learning plays in helping us optimize our data centers’ environmental controls. Our reinforcement learning-based approach has helped us reduce energy consumption and water usage across various weather conditions in our data centers. Meta is revamping its new data center design to optimize for artificial intelligence and the […]

CWChris Wiltz·September 10, 2024SRE & Ops
AI & ML — Why Anticipatory Design Isn’t Working For Businesses — Smashing Magazine

Why Anticipatory Design Isn’t Working For Businesses — Smashing Magazine

Anticipatory design, powered by Artificial Intelligence (AI), Machine learning (ML), and Big Data (BD), promises to transform user experiences by predicting and fulfilling needs before users even express them. While this proactive approach seems revolutionary, many businesses struggle to meet the high expectations it sets. Joana Cerejo delves into the challenges of anticipatory design, highlights

JCJoana CerejoJoana Cerejo·September 10, 2024AI & ML
Engineering — Quick Hit #17

Quick Hit #17

"Wrapping the <label> around the <input> is fine, and is sufficient for conformance on its own, however adding explicit association with for and

JDJuan Diego RodríguezJuan Diego Rodríguez·September 9, 2024Engineering
Frontend — The Undeniable Utility Of CSS :has

The Undeniable Utility Of CSS :has

Of all the latest and greatest CSS features, the “:has” pseudo-class wasn’t exactly at the top of my wishlist. Once I started using it, however, I kept discovering incredible things I could do with it. It’s now become a core part of my toolkit! In this blog post, I'll show you some practical real-world problems I solved using “:has”, as well as some wild experiments that blew my mind!

JWJosh W. Comeau·September 9, 2024Frontend