Newslurp

<< Stories

Economics behind hosting free tiers πŸ’΅, Expo’s EAS hosting πŸ“±, software folklore πŸͺ•

TLDR Web Dev <dan@tldrnewsletter.com>

January 16, 12:17 pm

TLDR WebDev
Practically, serving static websites consumes minimal resources on Cloudflare's network, and the free tier acts as effective marketing. β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ  β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ 

TLDR

 TLDR Web Dev 2025-01-16

πŸ§‘β€πŸ’»

Articles & Tutorials

Refactoring with Codemods to Automate API Changes (22 minute read)

Codemods are automated scripts that use Abstract Syntax Trees (ASTs) to manage large-scale code changes, particularly when dealing with breaking API changes or refactoring legacy code. They automate tasks like removing feature toggles or refactoring complex components. This article provides practical examples in JavaScript and shows how to write codemods, test them effectively, and compose multiple smaller codemods into larger transformations.
Why does Cloudflare Pages have such a generous free tier? (4 minute read)

Cloudflare Pages offers an unlimited bandwidth free tier, unlike competitors with stricter limits. Practically, serving static websites consumes minimal resources on Cloudflare's network, and the free tier acts as effective marketing.
Rebuilding a 10 year old iOS app with Expo (9 minute read)

A 10-year-old native iOS app was rebuilt using Expo. The goal was to maintain all original functionality while minimizing custom native code and adding Android and tvOS support. Expo SDK components and EAS Build/Submit streamlined the process, with the majority of features being implemented using existing React Native packages.
🧠

Opinions & Advice

Nobody cares (8 minute read)

This author talks about the widespread apathy they perceive in society, as shown through examples of poor design, negligent behavior, and lack of care in various aspects. This apathy extends across professions, from software programmers to city bureaucrats, who prioritize job security over quality of work. The place where the author did not find apathy was a small startup where everyone is dedicated and proactive.
Let the user help solve their own problem (4 minute read)

Current transit apps have a limited ability to allow users to customize route selection beyond algorithmic suggestions. These apps should allow users to specify preferred routes, similar to how email spam filters use user input to improve their accuracy.
πŸš€

Launches & Tools

How to build a testing culture… without micromanaging developers (Sponsor)

Developers want rigorous testing and 100% coverage, but life gets in the way - deadlines, production fires, backlogs. Find out how to build a testing culture in this special one-off workshop with Sentry and Growth Tribe. You'll learn how to get buy-in, avoid micromanagement, and help your team succeed. Join live on January 28th
EAS Hosting (Preview): Host Expo server code in the cloud with EAS (10 minute read)

Expo's EAS Hosting is a new cloud service for deploying Expo server code, including API routes and React websites. It addresses the challenges developers face deploying server-driven apps, offering an end-to-end solution integrated with EAS Workflows for deployment across multiple platforms. It has features like monitoring, logging, and error aggregation through a dashboard.
Postal Mime (GitHub Repo)

Postal Mime is a JavaScript library for parsing RFC822 formatted emails in various environments (browser, Node.js, and serverless functions). It can take a raw email and output a structured object containing headers, recipients, attachments, and more.
🎁

Miscellaneous

100x Defect Tolerance: How Cerebras Solved the Yield Problem (7 minute read)

Cerebras built a wafer-scale processor 50 times larger than the largest existing computer chips, achieving comparable yields by prioritizing defect tolerance. This was accomplished through exceptionally small, fault-tolerant cores (100x smaller than those in an Nvidia H100 GPU) and a sophisticated routing architecture that bypasses faulty components. Unlike traditional approaches, Cerebras' design minimizes redundancy while maximizing usable silicon.
H-1B visas power the tech industry. But experts say that's not necessarily because of a talent gap (5 minute read)

Elon Musk controversially claimed that there was a shortage of top engineers in the US, saying that increased immigration is needed to fill the perceived gap. This sparked a debate, dividing supporters of stricter immigration policies from tech entrepreneurs who rely on H-1B visas for foreign workers. The data suggests there is a surplus of American tech workers, and critics argue the H-1B program displaces Americans and depresses wages. The situation is further complicated by reports of tech companies laying off US workers while simultaneously sponsoring H-1B visas.
Code reviews: A success story (5 minute read)

A junior engineer implemented two features, A and B, using different code review processes. Feature A, reviewed by colleagues with less time and attention, shipped quickly but contained bugs requiring multiple fixes. Feature B was rigorously reviewed by the engineer via a detailed, well-justified process that emphasized smaller commits and thorough testing. It took longer to develop but launched bug-free.
⚑

Quick Links

Modern JavaScript for Django Developers (Website)

A guide to help Django developers integrate modern JavaScript frameworks (like React and Vue) or low-JavaScript alternatives (like Alpine.js and HTMX) into their projects.
Software Folklore (Website)

Anecdotal accounts of bizarre and inexplicable software bugs.
Google is making AI in Gmail and Docs free β€” but raising the price of Workspace (3 minute read)

Google is making its AI features in Workspace free for all users, while simultaneously raising the overall Workspace subscription price by approximately $2 per user per month.
3D SWE Portfolio (Website)

This is an example of a creative software engineer's portfolio built in 3D using Three.js.

Love TLDR? Tell your friends and get rewards!

Share your referral link below with friends to get free TLDR swag!
Track your referrals here.

Want to advertise in TLDR? πŸ“°

If your company is interested in reaching an audience of web developers and engineering decision makers, you may want to advertise with us.

Want to work at TLDR? πŸ’Ό

Apply here or send a friend's resume to jobs@tldr.tech and get $1k if we hire them!

If you have any comments or feedback, just respond to this email!

Thanks for reading,
Priyam Mohanty, Jenny Xu & Ceora Ford


If you don't want to receive future editions of TLDR Web Dev, please unsubscribe from TLDR Web Dev or manage all of your TLDR newsletter subscriptions.