Two ways to the two Reacts (7 minute read)
This article goes over two approaches to building React apps: Next.js App Router, which prioritizes server-side rendering and data management, and TanStack Start, which has a client-centric focus while offering server-side capabilities as an extension. Next.js App Router advocates for a unidirectional flow of data from server to client, while TanStack Start has an incremental approach that allows developers to gradually integrate server-side features into their existing client-focused React apps.
|
Exploring the browser rendering process (13 minute read)
After typing a URL into a browser, a DNS lookup translates the domain name into an IP address, followed by a TCP handshake to establish a connection and potentially a TLS handshake for secure communication. Once connected, an HTTP request is sent for the website's content, and the browser begins parsing the HTML response. This involves tokenization to identify HTML elements, building the DOM tree to represent the structure, and creating the CSSOM tree for styling. The browser then combines these into the Render Tree to determine the visual layout, and the painting phase renders the visual representation on the screen based on the Render Tree and associated styles.
|
How WebSockets cost us $1M on our AWS bill (11 minute read)
Recall.ai discovered its AWS bill was inflated by $1 million annually due to inefficiently using WebSockets for inter-process communication. It was transferring large volumes of video data through WebSockets, causing significant CPU overhead due to fragmentation and masking in the WebSocket protocol. To address this, Recall.ai opted for shared memory with a custom ringbuffer implementation, which reduced its CPU usage by up to 50%.
|
|
Don't return named tuples in new APIs (5 minute read)
Using named tuples for new APIs is discouraged due to their complexity. While they might seem simple to define, they introduce dual access methods (index-based and attribute-based) that increase complexity and also allow for potentially unwanted operations like slicing and iteration.
|
Monorepo - Our experience (10 minute read)
A platform called Ente transitioned from a multi-repository setup to a monorepo. As a result, the team had a reduction in grunt work, as multiple changes across different projects now required only one pull request. Also, the unified repository has boosted the platform's open-source visibility.
|
|
Aide (Website)
Aide is an open-source AI-powered IDE built on top of VS Code with features like proactive code assistance, developer control, integrated chat, and local AI processing.
|
Web Visual Editor (Website)
Web Visual Editor is a Visual Studio Code extension that allows users to visually edit HTML files in real-time within a web view, synchronizing code and visual selections. It offers features like element selection, copy/paste, zoom, script management, and element movement.
|
React Navigation 7.0 (3 minute read)
React Navigation 7.0 introduces a new static API, preloading screens, improved web integration, and a number of other features and bug fixes along with a comprehensive upgrade guide to help developers migrate their apps.
|
|
Why the deep learning boom caught almost everyone by surprise (21 minute read)
The surprising rise of deep learning was thanks to three visionaries: Geoffrey Hinton, Nvidia CEO Jensen Huang, and Fei-Fei Li. While Hinton's work on backpropagation laid the groundwork for efficient deep neural network training, it was Huang's CUDA platform that enabled the necessary parallel processing power. Li's ImageNet dataset provided the large amount of data required to train these models.
|
Linux Built-In Tools Are So Powerful, You Can Build a Database With Them. Here's How (8 minute read)
Linux offers an alternative to traditional SQL databases with its text-based command-line tools. This approach allows devs to build simple databases using plain text files and commands like grep, cut, awk, sort, head, tail, and join. Combined, these tools can perform operations like selecting columns, filtering rows, sorting data, and joining tables.
|
|
Private Cloud Compute Security Guide (Website)
This guide outlines the security and privacy features of Apple's Private Cloud Compute (PCC) system, which allows users to securely process sensitive data in the cloud without compromising privacy.
|
|
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
|
|
|
|