Newslurp

<< Stories

Dev pay US heatmap πŸ’°, automation is hard πŸ€–, NotebookLM behind-the-scenes πŸŽ™

TLDR Web Dev <dan@tldrnewsletter.com>

October 11, 11:11 am

TLDR WebDev
Automating processes is far more complex than most people realize. The difficulty stems from handling exceptions, not routine tasks. β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ  β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ 

TLDR

 TLDR Web Dev 2024-10-11

πŸ§‘β€πŸ’»

Articles & Tutorials

Benchmarking the performance of CSS @property (12 minute read)

This article benchmarks the performance of CSS @property, a new feature that allows developers to register custom CSS properties. PerfTestRunner was used to measure the performance of different types of properties, including regular properties, unregistered custom properties, and registered custom properties with different inheritance settings. The results show that registering a custom property with @property comes at a slight performance cost, but using `inherits: false` when registering a custom property can significantly improve performance.
Serverless servers and the challenge of new React architecture (5 minute read)

Vercel's new "serverless server" feature optimizes Node.js concurrency within Vercel Functions, allowing multiple requests to be handled by a single function instance. This improvement addresses a key challenge of React's new full-stack architecture, where increased server traffic and async calls are needed to handle server-side rendering and data fetching.
🧠

Opinions & Advice

TypedDicts are better than you think (6 minute read)

TypedDict, introduced in Python 3.8, provides a powerful way to type-annotate dictionaries. While initially overlooked in favor of dataclasses and Pydantic, TypedDict works best in scenarios where not all fields are required, such as for representing PATCH operations in APIs.
Automating Processes with Software is HARD (11 minute read)

Automating processes is far more complex than most people realize. The difficulty stems from handling exceptions, not routine tasks. Most automations are defined by their ability to manage unexpected inputs and situations, making them fragile and requiring a lot of effort.
My negative views on Rust (8 minute read)

Rust has a reliance on "magical sugar" constructs, which lead to cryptic compile errors and make the language harder to learn. The language's focus on efficient memory representation and its insistence on no garbage collection are also detrimental, as it forces developers to grapple with low-level details that don't always translate to real-world performance gains.
πŸš€

Launches & Tools

A gift for TLDR readers: devtools bundled into every bug report (Sponsor)

A full trace of a bug in every bug report - even if a bad PM reported it. Use the code BUGCATCHER to get free Jam for your team & never hop on a debugging call again.
Software Engineer Pay Heatmap Across the US (Website)

An interactive heatmap that allows users to explore software engineer salary ranges across the US by DMA region.
Setup CI (GitHub Repo)

Setup-CI is a command-line tool that generates GitHub workflows for common CI tasks in React Native projects.
🎁

Miscellaneous

The AI startup drama that's damaging Y Combinator's reputation (6 minute read)

PearAI, a Y Combinator startup, launched an AI code editor that turned out to be a forked clone of an existing open-source project, Continue.dev. The controversy stemmed from PearAI's attempt to misrepresent its code origins and change the open-source Apache license to a closed one. The incident raises questions about Y Combinator's vetting process and investment strategy.
The ProMind story looking backwards (4 minute read)

A developer created an application that offered personalized AI assistants for various professional tasks. Eventually, rapid growth led to infrastructure issues, causing service disruptions and user churn. They rebuilt their application with scalable infra. They go through the process in this article.
The Emerging Economy of LLMs (11 minute read)

The key resource in the new "LLM economy” is computational power, mainly GPUs. Tokens, the smallest units of text processed by LLMs, are the new currency of this economy. The cost of using LLMs is typically determined by the number of tokens processed.
⚑

Quick Links

10 Tailwind techniques (1 minute read)

Shadcn, the creator of shadcn/ui, provides 10 techniques for using Tailwind CSS to create better dynamic UIs.
Behind the product: NotebookLM (50 minute podcast)

This is a podcast interview with Raiza Martin, a senior product manager at Google Labs, about the development and success of NotebookLM, Google's AI-powered research tool with a unique "Audio Overviews" feature.
JavaScript Structs: Fixed Layout Objects and Some Synchronization Primitives (16 minute read)

This ECMA proposal introduces JavaScript structs, a new object type with a fixed layout that enables shared memory multithreading, synchronization primitives like mutex and condition, and unsafe blocks for managing memory access.
The ultimate guide to developer happiness (8 minute read)

Five strategies for increasing developer happiness: create a great developer experience, use AI to secure code, customize LLMs, prepare repositories for teamwork, and invest in learning opportunities.
DeskPad (GitHub Repo)

DeskPad is a virtual monitor for screen sharing that creates a dedicated, easily shareable workspace by mirroring your main display within its application window.

Love TLDR? Tell your friends and get rewards!

Share your referral link below with friends to get free TLDR swag!
Track your referrals here.

Want to advertise in TLDR? πŸ“°

If your company is interested in reaching an audience of web developers and engineering decision makers, you may want to advertise with us.

If you have any comments or feedback, just respond to this email!

Thanks for reading,
Priyam Mohanty, Jenny Xu & Ceora Ford


If you don't want to receive future editions of TLDR Web Dev, please unsubscribe from TLDR Web Dev or manage all of your TLDR newsletter subscriptions.