TLDR Web Dev

TLDR WEB DEV 2024-07-30

6 sections16 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

ENGAGED TECH PROFESSIONALS

Reach your target audience while they are actively engaged and reading content. TLDR offers 10 newsletters and has over 4 million tech professional subscribers including software developers, AI/ML engineers, and executives to help you reach your audience effectively. Learn more [5] about running your first campaign with us.

advertise.tldr.techSponsor

02ARTICLES & TUTORIALS

CROWDSTRIKE'S IMPACT ON AVIATION

CrowdStrike's software update on July 19th caused a massive IT outage that impacted air traffic, particularly for major airlines like Delta, United, and American, which experienced widespread cancellations. While Southwest remained largely unaffected, Delta faced the most severe consequences due to its reliance on Windows systems and a lack of effective disaster recovery plans. Despite widespread disruptions, the impact of the outage was systematically analyzed using ADS-B Exchange data to compare takeoff rates before, during, and after the update, providing insights into the scale and duration of the disruption.

heavymeta.org7 min read

THE WEIRD AND WONDERFUL WORLD OF DNS LOC RECORDS

A rarely used DNS record type called LOC specifies a physical location. While most DNS records handle basic website information, LOC records are used to store geographical coordinates. A bug in Cloudflare's DNS server (RRDNS) prevented it from serving LOC records correctly. This post goes through it can be fixed.

blog.cloudflare.com5 min read

HOW TO BUILD HIGHLY-DEBUGGABLE C++ BINARIES

This article is a comprehensive guide on making C++ binaries highly debuggable, particularly for interactive debugging using tools like gdb. It focuses on configuring the C++ toolchain to produce binaries that are both efficient and easy to understand in the debugger. C++'s ahead-of-time compilation model requires a deliberate choice between debuggability and speed. The article presents various techniques, including enabling sanitizers, debug modes, and frame pointers to enhance the debugging experience.

dhashe.com22 min read

03OPINIONS & ADVICE

WHY UNKNOWN TYPES ARE USEFUL

When data originates from outside your program, its type cannot be guaranteed, so assuming its type can lead to runtime errors. By assigning "unknown" to unverified data, you force yourself to explicitly validate its characteristics before using it, preventing potential errors and improving code safety. While "any" can be tempting to use, it disables type checking, which defeats the purpose of using a type system.

michaeluloth.com3 min read

04LAUNCHES & TOOLS

FASTHTML

Build HTML web applications with Python.

fastht.mlTool

TEA-TASTING

Tea-tasting is a Python package for A/B testing analysis with a suite of statistical methods like t-tests, bootstrapping, and CUPED for variance reduction. It supports data backends including BigQuery, ClickHouse, and Pandas.

e10v.meTool

BURROW

Burrow is a serverless and globally-distributed HTTP proxy for Go built on AWS Lambda. It is designed to be completely compatible with the standard Go *http.Client, which means it can be added to many existing applications.

github.comGitHub repository

05MISCELLANEOUS

RUNNING ONE-MAN SAAS, 9 YEARS IN

Healthchecks.io is a one-man SaaS business founded in 2015. Despite a steady increase in monthly recurring revenue, the owner prioritizes enjoyment and work-life balance over maximizing profit. The service remains free and open-source, and there are no plans to expand its feature set or target enterprise customers.

blog.healthchecks.io4 min read

HOW TO SAVE $13.27 ON YOUR SAAS BILL

This author was frustrated by Vercel's analytics pricing and decided to build their own analytics solution using SQLite, Bun, and Hono. They found that SQLite could handle a significant amount of data with reasonable performance, even under load testing. The author built a basic analytics dashboard using HTML tables and a custom chart component.

dgerrells.com22 min read

SIMULATING WORLDS ON THE GPU

This article describes a procedural earth simulation implemented entirely in GLSL fragment shaders that visualizes the complete history of an earth-like planet in just four minutes. Starting from a protoplanet, the simulation models the formation of craters, tectonic plates, and mountains, as well as hydraulic erosion and river basins. It also includes a simplified climate model, generating realistic wind circulation patterns and precipitation, and finally simulates the evolution of life on the planet.

davidar.io10 min read