TLDR Web Dev

TLDR WEB DEV 2024-04-30

5 sections12 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

HOW AN EMPTY S3 BUCKET CAN MAKE YOUR AWS BILL EXPLODE

An S3 bucket can lead to a massive AWS bill, even when it's empty. AWS charges for all S3 requests, including unauthorized ones (4xx errors), meaning someone trying to mistakenly write to your bucket still incurs costs for you. Misconfigured open-source tools and S3 requests without a specified region can also create unexpected costs that add up.

links.tldrnewsletter.com4 min read

COMMON DB SCHEMA CHANGE MISTAKES

Database schema changes are complex and mistakes can cause errors or downtime. This article goes over 18 different schema change mistakes, including common ones like leaving accidental changes in the schema or failing to acquire locks. It also goes over more complex, specific mistakes and how to not make them by following best practices.

links.tldrnewsletter.com26 min read

WHY SQLITE USES BYTECODE

SQLite uses bytecode to represent prepared SQL statements. This is because bytecode is easy to print and review. It also makes debugging easier because it separates the SQL parsing stage from the SQL execution stage. As SQLite is designed to run within the same process as the application, bytecode allows SQL statements to be executed step-by-step.

links.tldrnewsletter.com6 min read

02OPINIONS & ADVICE

ASK HN: WHAT WAS THE JOB MARKET LIKE DURING THE DOT-COM CRASH? (HACKER NEWS THREAD)

This is an old Hacker News thread where people share their experiences of the dot-com crash. At the time, developers had to try much harder to get a job and learn the “boring technologies”. Others left the tech industry completely and never came back. Most that were affected were either entry-level or near-retirement.

links.tldrnewsletter.com

GROUND RULES OF FAIRNESS AT WORK

Employees are motivated by fairness and transparency at work. This means managers should explain how decisions are made, how compensation works, and why recognition is awarded. They should also be as objective as possible when making decisions that affect employees.

links.tldrnewsletter.com5 min read

03LAUNCHES & TOOLS

THRELTE

Threlte is a 3D framework for the web. It combines the simplicity of Svelte and the power of Three.js to allow devs to quickly create 3D apps online.

links.tldrnewsletter.comTool

NETPROBLE LITE

A simple tool written in Python for measuring Internet performance at home. It measures several performance metrics such as packet loss, latency, jitter, and DNS performance. It also aggregates these metrics into a common score, which you can use to monitor the overall health of your internet connection.

links.tldrnewsletter.comGitHub repository

04MISCELLANEOUS

WHAT CAN LLMS NEVER DO?

LLMs have an important limitation: they cannot truly generalize or extrapolate beyond their training set. For example, they can't solve word puzzles like Wordle because these tasks require iterative steps with memory that LLMs can't effectively manage. LLMs also fail to “think ahead” and their “thought” drifts over multiple steps of prompting.

links.tldrnewsletter.com30 min read

HOW DOES LINUX START A PROCESS?

Linux starts a process first by calling the execve() system call, which provides the kernel with a path to the executable file. The kernel then prepares the new process and maps its relevant sections into memory. Then, control is passed to the program, and execution is started.

links.tldrnewsletter.com8 min read