Search the archive

Full-text search across article titles and summaries. Refine with sector, year, content type, and reading-time filters.

Results

9,381 matches

ON MIXING CLIENT AND SERVER

Mixing client and server code is the new paradigm in React with Server Components. With the “use server” directive, you can run components exclusively on the server. This means that you can do things like write asynchronous database queries right in the component code. This post offers some thoughts on the benefits and drawbacks of this architecture.

2023.10.31
matt-rickard.com3 min readTLDR Web Dev

HOW GRAB CATEGORIZES TENS OF MILLIONS OF USERS IN MILLISECONDS

Grab operates a Segmentation Platform to categorize users, drivers, and restaurants into segments for various purposes, such as experimentation, blacklisting, and marketing. This platform handles substantial workloads, with impressive performance metrics of up to 12,000 reads per second, 36,000 writes per second, and a low P99 latency of 40 milliseconds. It consists of two key subsystems: Segment Creation, powered by Apache Spark, and Segment Serving, supported by Go services and ScyllaDB for efficient data storage and retrieval.

2023.10.30
blog.quastor.org9 min readTLDR Web Dev

TAO OF REACT - SOFTWARE DESIGN, ARCHITECTURE & BEST PRACTICES

This article dives into best practices for React application structure and design, with general rules for building a productive codebase. It covers various aspects, including components, state management, application structure, performance, testing, styling, and data fetching. The article advocates favoring functional components, maintaining consistency in component styles, and using meaningful component names. It also suggests organizing helper functions outside the component definition, avoiding hard-coded repetitive markup, and managing component size effectively.

2023.10.30
alexkondov.com20 min readTLDR Web Dev

THE SYSTEM DESIGN CHEAT SHEET: API STYLES

A well-designed API can enhance performance, while a poorly designed API can cause a multitude of issues, such as bottlenecks and security vulnerabilities. Different API styles include REST, GraphQL, WebSocket, Webhook, RPC (gRPC), and SOAP. This article breaks down different API styles and explores the key features and drawbacks of each API type. For example, GraphQL offers flexibility by allowing clients to specify their data requirements and is suitable for scenarios with complex frontend needs.

2023.10.30
hackernoon.com14 min readTLDR Web Dev

7 TYPES OF DIFFICULT COWORKERS AND HOW TO DEAL WITH THEM

This article explains the 7 types of difficult coworkers you may encounter, why they’re difficult, and how to turn situations with them into wins for both of you. The author is a tech lead at Meta and has over 10 years of industry experience. An example is the risk-averse coworker: they want to avoid risks and tend to push back on new initiatives because they want to make sure you have done your research. The key to working with them is recognizing what they’re doing is good for you - they are a forcing function for ensuring your plans are well thought out.

2023.10.30
careercutler.substack.com13 min readTLDR Web Dev

WHEN TO START WRITING TESTS (REDDIT POST)

An engineering team built a product that grew fast without writing any tests. However, the product is now starting to have flakiness and bugs from its lack of tests, so a Reddit user asked when the right time to start writing tests is. Commenters respond with advice, such as writing unit tests to make sure functionality doesn’t change over time. They advise selling the idea of taking time to write tests to management by using a perspective of risk.

2023.10.30
reddit.comTLDR Web Dev

OPENSIGN

OpenSign is an open-source document e-signing solution. It ensures document security through advanced cryptographic algorithms, features a user-friendly interface for all users, and supports various browsers and devices. OpenSign also allows collaboration among team members, maintains detailed audit trails, generates completion certificates, and offers API support for integration with other software and services.

2023.10.30
github.comGitHub repositoryTLDR Web Dev

SCRATCHDB

ScratchDB is a Clickhouse wrapper that enables users to input arbitrary JSON data and conduct analytical queries effortlessly. It automatically generates tables and columns as new data is introduced.

2023.10.30
github.comGitHub repositoryTLDR Web Dev

THE THREE CS: 🤝 CONCATENATE, 🗜️ COMPRESS, 🗳️ CACHE

There are a number of different things we need to take into consideration in order to balance ergonomics, performance, and effectiveness when serving and storing files on the web. This post breaks these processes down into three parts: concatenating files on the server, compressing them over the network, and caching static assets.

2023.10.30
csswizardry.com12 min readTLDR Web Dev

WHEN A/B TESTING DOESN'T WORK

A/B tests are used to gauge the impact of simultaneous changes on different segments of a user base. While A/B tests can be highly beneficial for tech giants like Google or Meta, they often pose more challenges than advantages for other companies. Reasons for this include insufficient data, the tendency for incremental changes, the added workload of building and maintaining both features, and difficulty in determining what exactly to measure. Startups, in particular, benefit from being opinionated due to resource constraints and the inability to conduct extensive tests.

2023.10.30
matt-rickard.com1 min readTLDR Web Dev

NEXT.JS 14

Next.js 14 has been released. It comes with a much faster local server startup and faster code updates during Fast Refresh. Server actions are now considered stable. There's a free course teaching the App Router, databases, authentication, and more.

2023.10.27
nextjs.org9 min readTLDR Web Dev

SVELTE BY EXAMPLE

Svelte by Example provides multiple examples for those writing Svelte apps. It has examples for styling, events, reactive statements, stores, and more.

2023.10.27
sveltebyexample.comToolTLDR Web Dev

REACTAGENT

ReactAgent is an experimental AI agent powered by GPT-4. It generates and composes React components based on user stories utilizing a local design system and adheres to Atomic Design Principles. ReactAgent tool uses React, TailwindCSS, Typescript, Radix UI, Shandcn UI, and the OpenAI API.

2023.10.26
github.comGitHub repositoryTLDR Web Dev

BAD LICENSES

A compendium of poorly written or absurd open-source licenses.

2023.10.26
github.comGitHub repositoryTLDR Web Dev