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
AI & ML — Engineering Practices for LLM Application Development

Engineering Practices for LLM Application Development

LLM engineering involves much more than just prompt design or prompt engineering. In this article, we share a set of engineering practices that helped us deliver a prototype LLM application rapidly and reliably in a recent project. We'll share techniques for automated testing and adversarial testing of LLM applications, refactoring, as well as considerations for architecting LLM applications and r

DTDavid Tan and Jessie Wang·February 13, 2024AI & ML
Career & Teams — Bringing npm registry services to GitHub Codespaces

Bringing npm registry services to GitHub Codespaces

The npm engineering team recently transitioned to using GitHub Codespaces for local development for npm registry services. This shift to Codespaces has substantially reduced the friction of our inner development loop and boosted developer productivity.

DHDi HeiDi Hei·February 13, 2024Career & Teams
Frontend — How To Center a Div

How To Center a Div

Back in the day, centering an element was one of the trickiest things in CSS. As the language has evolved, we’ve been given lots of new tools we can use… But how do we pick the best option? When do we use Flexbox, or CSS Grid, or something else? Let's dig into it.

JWJosh W. Comeau·February 13, 2024Frontend
Engineering — Cloudflare defeats patent troll Sable at trial

Cloudflare defeats patent troll Sable at trial

Last Thursday, on a clear, sunny morning in Waco, Texas, a jury returned a verdict after less than two hours of deliberation. The jury found that Cloudflare did not infringe the patent asserted against Cloudflare by patent trolls Sable IP and Sable Networks.

PNPatrick Nemeroff, Emily TerrellPatrick Nemeroff, Emily Terrell·February 12, 2024Engineering
Performance — Get started with v4 of GitHub Actions Artifacts

Get started with v4 of GitHub Actions Artifacts

We listened to your feedback and released new versions (v4) of actions/upload-artifact and actions/download-artifact. While this version of the actions to upload and download artifacts includes up to 10x performance improvements and several new features, there are also key differences from previous versions that may require updates to your workflows.

KPKonrad Pabjan, Rob HerleyKonrad Pabjan, Rob Herley·February 12, 2024Performance
Career & Teams — Meta loves Python

Meta loves Python

By now you’re already aware that Python 3.12 has been released. But did you know that several of its new features were developed by Meta? Meta engineer Pascal Hartig (@passy) is joined on the Meta Tech Podcast by Itamar Oren and Carl Meyer, two software engineers at Meta, to discuss their teams’ contributions to the […]

CWChris Wiltz·February 12, 2024Career & Teams
Frontend — How To Draw Radar Charts In Web — Smashing Magazine

How To Draw Radar Charts In Web — Smashing Magazine

A radar chart — also commonly called a spider chart — is yet another way to visualize data and make connections. Radar charts are inherently geometric, making them both a perfect fit and fun to make with CSS, thanks to the `polygon()` function. Read along as Preethi Sam demonstrates the process and sprinkles it with a pinch of JavaScript to make a handy, reusable component.

PSPreethi SamPreethi Sam·February 9, 2024Frontend