TLDR Web Dev

TLDR WEB DEV 2024-07-17

6 sections18 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

FASTER

Does shipping digital experiences quickly mean compromising on quality? Not necessarily. AI and visual development create new ways to build, iterate upon, and optimize applications and websites. This live session will cut through the hype [4] and provide a realistic view of how traditional CMS architecture misses the mark and how emerging technologies address long-standing challenges:

builder.ioSponsor

02ARTICLES & TUTORIALS

REBUILDING A 10 YEAR OLD IOS APP WITH EXPO

This developer rebuilt a 10-year-old iOS app using Expo, adding Android and TV support along the way. They successfully replicated the original app's functionality using Expo and React Native packages, avoiding the need for custom native code. The new UI design used responsive layouts for different devices, and the app was built and submitted using EAS Build and Submit.

expo.dev9 min read

DOMAIN LOGIC

React projects often suffer from messy architecture due to the framework's unopinionated nature. This article focuses on domain logic, which is code that operates on domain models like user objects. The goal is to isolate domain logic from components and move it to a dedicated domain layer, improving code readability, testability, and reusability.

profy.dev11 min read

WHY GERMAN STRINGS ARE EVERYWHERE

German Strings, designed for data processing, are a custom string type that optimizes for short, immutable strings. Unlike C or C++ strings, German Strings store short strings directly in place and include a prefix for faster comparisons. Long strings are stored with a pointer, length, and prefix, but without extra capacity for appending. German Strings also have three storage classes: temporary, persistent, and transient.

cedardb.com10 min read

03OPINIONS & ADVICE

REVIEW YOUR OWN PRS

You should review your own pull requests (PRs) in the GitHub UI to catch mistakes and improve code quality before involving other team members. This practice helps identify issues that might be overlooked in the code editor and allows for more productive and focused code reviews. Add comments to PRs to explain design choices and alternative solutions tried before sending them out for review.

sophiabits.com4 min read

STORY POINTS ARE POINTLESS, MEASURE QUEUES

Story points, used to estimate effort in Agile development, are unreliable due to their relative nature and inherent variability. Velocity, which converts story points into time, further worsens this problem by creating unrealistic deadlines and discouraging teams from exceeding expectations. A better approach is to break down projects into smaller tasks, creating queues, and tracking the average task rate, which provides a more reliable way to project completion times and adjust for scope changes.

brightball.com35 min read

DEVS NEED SYSTEM DESIGN TOOLS, NOT DIAGRAMMING TOOLS

Engineering teams often face a problem when choosing system design tools: they focus on the solution (diagramming tools) rather than the underlying problem (understanding and communicating complex systems). System design is a continuous process that goes beyond diagrams and includes documenting requirements, architecture, and decisions. Modern software systems are too complex for traditional diagramming tools, which lack real-time updates, collaborative features, and the ability to manage cloud resources.

thenewstack.io9 min read

04LAUNCHES & TOOLS

CODESTRAL MAMBA

Codestral Mamba is a new open-source model designed to improve code productivity. Unlike Transformer models, it has linear time inference and the ability to model infinite length sequences. It can be used as a local code assistant and deployed using the mistral-inference SDK or TensorRT-LLM.

mistral.ai2 min read

AWS SECRETS MANAGER AGENT

The AWS Secrets Manager Agent is a client-side HTTP service that can be used to standardize the consumption of secrets from Secrets Manager across environments such as AWS Lambda, Amazon Elastic Container Service, Amazon Elastic Kubernetes Service, and Amazon Elastic Compute Cloud. The Secrets Manager Agent can retrieve and cache secrets in memory so that your applications can consume secrets directly from the cache. That means you can fetch the secrets your application needs from the localhost instead of making calls to the Secrets Manager.

github.comGitHub repository

EIDOS

Eidos is an extensible framework for managing personal data throughout its lifetime in one place. It runs in the browser and has offline support and local AI features.

github.comGitHub repository

05MISCELLANEOUS

OPTIMIZING A BIGNUM LIBRARY FOR FUN

This author initially implemented a bignum library using base-10 digits, but it was slow. They then optimized it by switching to 30-bit digits, which improved memory efficiency and arithmetic operations. This change resulted in an 83% faster addition and a 99% faster multiplication.

austinhenley.com8 min read