TLDR Web Dev

TLDR WEB DEV 2024-07-12

6 sections19 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

02ARTICLES & TUTORIALS

FROM WEB TO NATIVE WITH REACT

React Native is a framework that lets developers build native mobile apps using JavaScript and React. It has some key differences from React, such as the use of native UI primitives and the lack of global styling. This transition guide for React devs interested in building mobile apps provides a deep dive into the differences between React and React Native and discusses common mistakes new devs make, such as using array.map for large lists, using the default Button element, and placing secrets in app code.

expo.dev23 min read

REACT ARCHITECTURE DOMAIN LOGIC

Domain logic refers to code that operates on the core models of an application. Extracting domain logic from components and placing it in a dedicated domain layer improves code readability, testability, and reusability. It also reduces the need for complex testing setups and allows for focused unit tests.

profy.dev12 min read

ENGINEERING PRINCIPLES FOR BUILDING FINANCIAL SYSTEMS

Accounting systems should be accurate, auditable, and timely. Data should be immutable, durable, and recorded at the smallest grain and code should be idempotent. This article also goes through best practices for building financial systems, such as using integers for financial amounts, consistent rounding methods, delayed currency conversion, and integer representations of time.

substack.wasteman.codes11 min read

03OPINIONS & ADVICE

HOW TO HELP UNDERPERFORMERS

Performance is largely systemic and is influenced by culture, systems, management, and individual traits. Underperformers need effective feedback and a structured approach like the accountability dial.

open.substack.com8 min read

UBUNTU SECURITY UPDATES ARE A CONFUSING MESS

A patch for a vulnerability in Apache Tomcat 9 on Ubuntu 22.04 is only available to Ubuntu Pro subscribers. This is because Tomcat 9 is part of the universe repository, which is only supported on a "Best Effort" basis for regular users. Canonical has decided to withhold the patch from regular users despite having it available for Ubuntu Pro subscribers.

gld.mcphail.uk5 min read

04LAUNCHES & TOOLS

KORVUS

Korvus is a search SDK that unifies the entire RAG pipeline in a single database query. It's built on top of Postgres, with bindings for Python, JavaScript, Rust, and C.

github.comGitHub repository

CODEMIRROR

CodeMirror is a code editor component for the web. It can be used in websites to implement a text input field that supports many editing features and has a rich programming interface to allow further extension.

codemirror.netTool

TINYBASE V5.0

TinyBase is a reactive data store for local-first apps. v5.0 introduces the new MergeableStore type for CRDT-based data merging and a Synchronizer framework for syncing data across different media. TinyBase now exclusively supports Expo SQLite v14 (SDK 51) and above.

tinybase.orgTool

05MISCELLANEOUS

ICONOGRAPHY OF THE X WINDOW SYSTEM: THE BOOT STIPPLE

The X Window System's boot stipple, a mesh pattern displayed during startup, served as an early indicator of successful configuration and helped users troubleshoot issues in the era of slow computers. Its disappearance in the mid-2010s was likely due to efforts to modernize and speed up Linux boot processes. While the stipple can be brought back through command-line flags, the process is fragmented across different display managers, reflecting the complex and sometimes unpolished nature of the X ecosystem.

matttproud.com18 min read

QUALCOMM'S ORYON CORE: A LONG TIME IN THE MAKING

Qualcomm's Oryon core is a CPU designed for laptops that aims to compete with AMD and Intel. It features a unique clustered architecture with high reordering capacity and fast clock speeds. The CPU faces challenges in terms of software compatibility and pricing compared to its x86 counterparts.

chipsandcheese.com24 min read

BRINGING AI-POWERED ANSWERS AND SUMMARIES TO FILE PREVIEWS ON THE WEB

Dropbox integrates machine learning to provide advanced file understanding features such as summarization and Q&A, using LLMs for text processing and embedding generation. This allows users to efficiently retrieve summaries and answers from all kinds of file types.

dropbox.tech12 min read