TLDR Web Dev

TLDR WEB DEV 2024-11-27

5 sections12 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

THE COMPUTING INDUSTRY DOESN'T CARE ABOUT PERFORMANCE: HOW I MADE THINGS FASTER IN MY PAJAMAS

A software engineer, working independently, was able to make huge performance improvements in various apps, including a 30% faster Uber app startup, a 3x speed increase in Android UI display, and an 11% speedup in Lucene. These optimizations were accomplished through the use of automated tools and techniques that focused on identifying and resolving inefficiencies in code, such as overly broad synchronization blocks and dynamic method dispatches. While there's often a lack of incentive to make significant performance improvements, there are many cases where there's low-hanging fruit.

deviantabstraction.com4 min read

FEATURE-BASED REACT ARCHITECTURE

Using a feature-based architecture in React apps can make them easier to maintain and scale. This article goes over how to decouple components and data fetching functions. Focusing each on a single feature avoids intertwining vertical features and creating overly complex functions. This approach initially leads to multiple data requests but can be later optimized using `Promise.all` for parallel fetching to improve performance.

robinwieruch.de10 min read

WHAT I WISH SOMEONE TOLD ME ABOUT POSTGRES

This is a collection of tips and advice for working with Postgres databases. It covers how to improve psql usage, optimize queries, and understand the impact of locks and JSONB on application performance. It is important to normalize data and follow the recommendations of the Postgres developers.

challahscript.com22 min read

02OPINIONS & ADVICE

I DIDN'T NEED KUBERNETES, AND YOU PROBABLY DON'T EITHER

This developer found that Google Cloud Run's pay-per-use model, fast scaling, and lack of cluster management overhead made it a better choice cost-wise compared to Kubernetes. Despite some minor workflow inconveniences in Cloud Run, the overall experience was better.

benhouston3d.com7 min read

03LAUNCHES & TOOLS

JEKYLL SQLITE

The Jekyll-SQLite plugin allows Jekyll users to use SQLite databases as data sources for their websites. It supports site-level, per-page, and prepared queries, which can use existing data as parameters.

github.comGitHub repository

JSONTR.EE

jsontr.ee is a lightweight JavaScript library that visualizes JSON data as interactive, dynamically-positioned tree diagrams using SVG.

github.comGitHub repository

04MISCELLANEOUS

BUILDING LLMS IS PROBABLY NOT GOING BE A BRILLIANT BUSINESS

LLMs are likely to be an unprofitable business, just like airlines, an industry with historically poor profitability. This is due to an unfavorable industry structure for LLM makers, characterized by a powerful single supplier (Nvidia), high buyer fickleness, numerous competitors, and easy market entry for new players.

calpaterson.com11 min read