TLDR Web Dev

TLDR WEB DEV 2024-11-19

5 sections20 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

HOW LINKEDIN USES EVENT-DRIVEN ARCHITECTURES TO SCALE

LinkedIn leverages event-driven architectures and the actor model to scale its infrastructure. The actor model is a concurrent computation model where independent actors communicate and coordinate solely through asynchronous message passing. The company uses this approach in several systems, including one for collecting and processing server metrics in near real-time and another for monitoring server consoles.

blog.quastor.org6 min read

SUPPORTING OFFLINE MODE IN TANSTACK QUERY

Effect Schema, a validation library, can be used for achieving full offline support with TanStack Query. It allows for bi-directional parsing, eliminating the need for separate schemas for encoding and decoding data. This article goes through how to store data locally (using IndexedDB or LocalStorage), implement cache removal, set cached data, and handle mutations.

lucas-barake.github.io11 min read

REACTIVE HTML NOTEBOOKS

Celine, a reactive HTML notebook library, can be used to improve scientific publishing workflows by consolidating data exploration, analysis, and typesetting within a single HTML file. The library uses existing technologies like Observable, Plot, and various WASM runtimes (Python, R, and SQLite) to enable interactive elements and diverse data visualizations directly within the HTML document. This article goes through various implementation examples, such as interactive code cells, plots, and even a slideshow presentation mode.

maxbo.me12 min read

02OPINIONS & ADVICE

AGAINST BEST PRACTICES

Blindly following “best practices” without considering context leads to poor decision-making. Instead, each "best practice” should be evaluated critically in the context of the application itself.

arp242.net5 min read

THE TRAGEDY OF RUNNING AN OLD NODE PROJECT

This developer attempted to update their four-year-old Gatsby website but ran into difficulties running the old Node project. The `npm install` command failed repeatedly due to missing Python 2 and incompatible C++ compiler versions. Troubleshooting involved installing Python 2, discovering a required older Node.js version (v12.2), and ultimately resolving the build errors after two hours.

abdisalan.com3 min read

SOCRATIC QUESTIONING - "MEETINGS ARE A WASTE OF TIME"

This article uses the statement "Meetings are a waste of time" to illustrate Socratic questioning: clarification, challenging assumptions, seeking evidence, changing perspectives, exploring implications, and questioning the question itself. Each step is demonstrated through examples related to the initial statement to show how Socratic questioning can be used as a tool to think critically and challenge prior assumptions.

read.perspectiveship.com5 min read

03LAUNCHES & TOOLS

KOKONUT

KokonutUI is a collection of 50+ modern, customizable UI components built with Next.js 15 and Tailwind CSS. These components are designed for quick and easy copy-pasting into applications.

kokonut.devTool

AI SDK 4.0

Vercel's AI SDK 4.0 is an open-source JavaScript/TypeScript toolkit for building AI applications. This release adds PDF support for document analysis across multiple providers, computer use support with Anthropic's Claude for app interaction, and continuation support for generating long texts.

vercel.com7 min read

TIPS.IO

Tips.io is an AI-powered website builder that uses Tailwind CSS. It has an HTML editor with autocomplete, AI-assisted content generation, and pre-built themes and components.

links.tldrnewsletter.comTool

04MISCELLANEOUS

20 THINGS YOU DIDN'T KNOW ABOUT GOOGLE SCHOLAR

Google Scholar, launched in 2004 by two researchers, aimed to improve access to academic information by creating a comprehensive online research library. Early challenges included slow internet speeds, leading to the creative "Sneakernet" method of delivering research data on hard drives. Beyond its core function, Scholar has revealed unexpected uses, from family history research to uncovering unusual and funny aspects within academic publications and legal documents.

blog.google5 min read

AN UNCANNY MOAT

The "uncanny valley” is a phenomenon where almost realistic depictions of humans appear unsettling - this applies to AI. Increasingly realistic AI chatbots, while convenient, erode our ability to distinguish between human and artificial interactions and potentially reduce empathy. Deliberately stylizing AI interfaces, making them easily distinguishable from humans, could mitigate these risks.

boristhebrave.com7 min read

TRAITS ARE A LOCAL MAXIMA

Rust's traits, while popular, suffer from the "orphan instance problem," where implementing a trait for a type from a different crate is restricted. This leads to potential coherence issues. A possible solution is local coherence using implicits. While implicits address the orphan instance problem, they introduce new challenges, including increased code repetition, potential loss of correctness guarantees, and reduced code readability compared to traits. Both traits and implicits represent local maxima in language design, but each have their own trade-offs.

thunderseethe.dev22 min read