TLDR Web Dev

TLDR WEB DEV 2024-04-15

5 sections19 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

HOW ONE LINE OF CODE CAUSED A $60 MILLION LOSS

In 1990, half of AT&T's phone network went down as a result of one line of C code that contained a buggy implementation of call handling. The outage affected over a hundred thousand Americans and the company lost $60 million. This article goes over the buggy piece of code that was deployed by AT&T and how engineers fixed it.

read.engineerscodex.com4 min read

USETRANSITION – REACT

A new official React doc that explains how to animate a progress element using the new useTransition hook, which lets you update state without blocking UI.

react.dev12 min read

YOUR BACKGROUND IMAGES MIGHT BE CAUSING CLS

Cumulative Layout Shift (CLS) measures webpage instability caused by unexpected movements of elements. Background images can make CLS worse, since CLS calculations consider all page elements. To make sure that CLS isn't affected negatively by background images, developers should include width and height attributes on images and iframes.

blog.sentry.io10 min read

02OPINIONS & ADVICE

TEN YEARS AND COUNTING: MY AFFAIR WITH MICROSERVICES

Allegro, a major e-commerce platform, successfully transformed its monolithic application into a microservices architecture. Along the way, it shifted away from physical servers to a cloud-based infrastructure, which led to a much better developer experience. It also made large investments in tooling and infrastructure to reduce manual work for its engineers. Allegro made sure to allow room for experimentation, but also kept teams accountable for their architectural decisions.

blog.allegro.tech26 min read

WHY I LOST FAITH IN KAGI

Paid search engine Kagi has spread itself too thin with multiple niche projects. The product is also starting to become over-reliant on AI, which leads to inaccuracy and bias that goes against what Kagi was in the beginning.

d-shoot.net13 min read

03LAUNCHES & TOOLS

Sponsored

🆕 SENTRY INTRODUCES AI-POWERED FEATURES TO FIX ERRORS IN PRODUCTIONS

Sentry's new Autofix [13] feature understands what your users are doing when an error occurs, analyzes the error, generates a fix and even opens a pull request for your review. It's like having a junior developer ready to help on-demand. Learn more [13] or request to join

sentry.ioSponsor

NEXT.JS 14.2

Next.js 14.2 offers faster local development with Turbopack improvements, along with clearer error messages and improved overlay design. It also has less memory usage during builds.

nextjs.org6 min read

ZERO SHEETS

Turn Google Sheets into a database. Developers can perform CRUD operations on spreadsheets using APIs.

zerosheets.comTool

INDEX ADVISOR

Supabase's Index Advisor is a PostgreSQL extension that recommends indexes to improve query performance.

github.comGitHub repository

04MISCELLANEOUS

THE GUIDE TO STOCK OPTIONS CONVERSATIONS

Employees at startups should learn to understand their stock options as they are not an intuitive thing to understand. This article goes over the basics of stock options and how employees should gauge potential upside (or downside). Engineering managers should make sure that employees get additional stock option grants as they grow within the company.

zaidesanton.substack.com9 min read

HOW I GOT INTO DEEP LEARNING

This author decided to learn deep learning after running an education company for 8 years. They focused on the fundamentals with resources like "The Deep Learning Book", taught as they learned, and implemented foundational papers. They eventually developed their own tools in the data extraction space, which led to a job offer from a research lab.

vikas.sh8 min read

LESSONS AFTER A HALF-BILLION GPT TOKENS

This author, who works at a startup with several LLM-powered features, shares useful insights from using GPT. For text analysis and extraction, vague prompts often outperform overly specific instructions. The chat API itself is usually enough for most needs and most people won't need to use more complex tech like vector databases or Langchain. For a better user experience, it was useful to mimic the variable typing speed of chatbots.

kenkantzer.com10 min read