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
Frontend — npm has joined GitHub

npm has joined GitHub

With the npm acquisition complete, we’re ready to start the next chapter of npm and support the JavaScript community in a new way.

JEJeremy EplingJeremy Epling·April 15, 2020Frontend
Career & Teams — Software Release Culture at Shopify - Shopify

Software Release Culture at Shopify - Shopify

We try to find the path to those goals that our developers want to take. We want to create experiences through tooling that can make our developers feel productive, and we want to do our best to make shipping feel like a celebration and not a chore.

SEShopify Engineering·April 15, 2020Career & Teams
Frontend — Best Practices With React Hooks — Smashing Magazine

Best Practices With React Hooks — Smashing Magazine

React provides a few built-in Hooks like useState. You can also create your own Hooks to reuse stateful behavior between different components. The example below shows a counter whose state is managed using the useState() hook. Each time you click on the button, we make use of setCount() to update the value of count by 1. In this article, Adeneye David Abiodun covers the rules of React Hooks and ho

ADAdeneye David AbiodunAdeneye David Abiodun·April 15, 2020Frontend
Performance — Comparing HTTP/3 vs. HTTP/2 Performance

Comparing HTTP/3 vs. HTTP/2 Performance

We announced support for HTTP/3, the successor to HTTP/2, during Cloudflare’s birthday week last year. Our goal is and has always been to help build a better Internet. Even though HTTP/3 is still in draft status, we've seen a lot of interest from our users.

STSreeni TellakulaSreeni Tellakula·April 14, 2020Performance
Security — Sawfish phishing campaign targets GitHub users

Sawfish phishing campaign targets GitHub users

A phishing campaign targeting our customers lures GitHub users into providing their credentials (including two-factor authentication codes). Learn more about the threat and what you can do to protect yourself.

GSGitHub SIRTGitHub SIRT·April 14, 2020Security
Career & Teams — GitHub is free for teams

GitHub is free for teams

Every developer and team can now get private repositories with unlimited collaborators at no cost with GitHub Free, and we reduced prices for some of our paid plans.

NFNat FriedmanNat Friedman·April 14, 2020Career & Teams
SRE & Ops — HubSpot Migrating ZooKeeper into Kubernetes - High Scalability -

HubSpot Migrating ZooKeeper into Kubernetes - High Scalability -

We recently migrated hundreds of ZooKeeper instances from individual server instances to Kubernetes without downtime. Our approach used powerful Kubernetes features like endpoints to ease the process, so we’re sharing the high level outline of the approach for anyone who wants to follow in our footsteps. See the end for important networking prerequisites. Click to read more

FMFrancesca McCaffrey·April 14, 2020SRE & Ops
Performance — Hacklang at Slack: A Better PHP

Hacklang at Slack: A Better PHP

Slack launched in 2014 with a PHP 5 backend. Along with several other companies, we switched to HHVM in 2016 because it ran our PHP code faster. We stayed with HHVM because it offers an entirely new language: Hack (searchable as Hacklang). Hack makes our developers faster by improving productivity through better tooling. Hack began as a superset of PHP, retaining its best…

SESlack Engineering·April 14, 2020Performance
Frontend — How To Create A Particle Trail Animation In JavaScript — Smashing Magazine

How To Create A Particle Trail Animation In JavaScript — Smashing Magazine

If you are thinking about distracting visitors of your website with a fancy, glittering particle animation for a few moments, while some data is loaded in the background, all you need is some basic knowledge of CSS and JavaScript and a lightweight animation library such as anime.js. In the end, we should have the following result: Particle animations belong to the most impressive animations that e

APAnna PrenzelAnna Prenzel·April 14, 2020Frontend
Security — Cloudflare for SSH, RDP and Minecraft

Cloudflare for SSH, RDP and Minecraft

Cloudflare now covers SSH, RDP and Minecraft, offering DDoS protection and increased network performance. Spectrum pay-as-you-go now available on all paid plans.

AAchielAchiel·April 13, 2020Security
Frontend — No-Class CSS Frameworks

No-Class CSS Frameworks

I linked up Water.css not long ago as an interesting sort of CSS framework. No classes. No <h2 class="is-title">. You just use semantic HTML and get

CCChris Coyier·April 13, 2020Frontend
Frontend — CSS Variables for React Devs

CSS Variables for React Devs

CSS variables are *really* cool, and they're incredibly powerful when it comes to React! This tutorial shows how we can use them with React to create dynamic themes. We'll see how to get the most out of CSS-in-JS tools like styled-components, and how our mental frame around media queries has been wrong all along.

JWJosh W. Comeau·April 13, 2020Frontend
Frontend — Inspired Design Decisions With Herb Lubalin: Typography Can Be As Exciting As Illustration And Photography — Smashing Magazine

Inspired Design Decisions With Herb Lubalin: Typography Can Be As Exciting As Illustration And Photography — Smashing Magazine

In this eighth issue of Inspired Design Decisions, Andy Clarke will explain how learning about American graphic designer and typographer Herb Lubalin has transformed his approach to typography on the web. How can we combine elements to develop powerful headers and calls to action? How do we use pre-formatted HTML text, and the text element in SVG for precise control over type? How can we optimise

ACAndy ClarkeAndy Clarke·April 13, 2020Frontend