TLDR Web Dev

TLDR WEB DEV 2024-04-09

5 sections18 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

DISTRIBUTED SQLITE: PARADIGM SHIFT OR HYPE?

Distributed SQLite databases sacrifice consistency, transactions, and scalability. Traditional databases like PostgreSQL, paired with effective HTTP caching for speed, are better choices than using distributed SQLite. The upside to SQLite databases is that they are really fast, but at some point, the maintenance overhead outweighs the speed benefits.

kerkour.com6 min read

HOW DOES USEOPTIMISTIC() WORK INTERNALLY IN REACT?

Optimistic UI is a technique used to improve the perceived performance of web applications by updating the UI instantly in response to user actions, even before getting a response from the server. React's experimental hook useOptimistic() simplifies the implementation of Optimistic UI by providing a way to manage temporary optimistic state alongside the true state. Internally, useOptimistic() leverages React's update mechanism but adds a special revertLane for easy switching between optimistic and true states.

jser.dev29 min read

HOW TO THINK ABOUT HTML RESPONSIVE IMAGES

Responsive images in HTML are a way to provide multiple versions of an image, optimized for different screen sizes, resolutions, and layout conditions. The browser will automatically select the most appropriate image source for the current display and layout. To implement responsive images, you can use the srcset and sizes attributes on the `img` element, or use the `picture` and `source` elements for more advanced techniques like art direction. Modern browsers also support features such as lazy loading with sizes=auto.

danburzo.ro18 min read

02OPINIONS & ADVICE

503 DAYS WORKING FULL-TIME ON FOSS: LESSONS LEARNED

This author worked full-time on an open-source project for 503 days and learned a large number of lessons, such as how to interact properly with project users and contributors. He shares the importance of using your online presence to find opportunities and embracing feedback during code reviews instead of being defensive.

mathspp.com18 min read

MANAGING UP (IRINA'S VERSION)

Managing up is about helping your manager help you, improving your work relationship and team success by understanding their needs, and aligning your efforts with their goals. This strategy includes effective communication, proactive sharing of goals and challenges, and offering solutions that can make the team better.

thecaringtechie.com8 min read

HOW TO MAKE ARCHITECTURE DECISIONS

Architects should help guide engineering teams by making strategic, high-impact decisions while still allowing team members to have ownership of various parts of the team’s overall work. This means carefully considering decisions and their reversibility, along with documenting potential impact before acting.

ben-morris.com6 min read

03LAUNCHES & TOOLS

Sponsored

✋ STOP RELEASING BUGS

Bugs sneak out when less than 80% of user flows [9] are tested before shipping. But how do you get that kind of coverage? You either spend years scaling in-house QA — or you get there in just 4 months with QA Wolf [9]:

qawolf.comSponsor

SHOREBIRD

Shorebird is code push for Flutter. It also includes other tools in Dart, such as libraries for verifying JWTs and interacting with Redis.

github.comGitHub repository

3D DOM VIEWER (GITHUB GIST)

A code snippet you can paste into your dev console on any website. It allows you to visualize the DOM of a webpage in 3D.

gist.github.com

C++ INSIGHTS

C++ Insights is a tool that makes the “behind-the-scenes” of C++ compilation visible to the developer.

github.comGitHub repository

04MISCELLANEOUS

INTERVIEWING MY MOTHER, A MAINFRAME COBOL PROGRAMMER

Mainframe banking systems are written in COBOL. The industry faces challenges due to an aging workforce and the difficulty of migrating away from legacy systems like IMS. This author’s mother, a COBOL programmer, describes the challenges of maintaining complex, intertwined systems with huge amounts of sensitive data and the need for modernization in the industry.

ezali.substack.com11 min read

HOW ENGINEERS AT DIGITAL EQUIPMENT CORP. SAVED ETHERNET

Ethernet faced challenges from competing technologies and inherent limits in its original design during the 1980s. Digital Equipment Corp. engineer Mark Kempf's invention of the learning bridge, a device that selectively forwards packets between Ethernet LANs, addressed these challenges and allowed for the migration to Ethernet.

spectrum.ieee.org7 min read

MAJOR DATA CENTER POWER FAILURE (AGAIN): CLOUDFLARE CODE ORANGE TESTED

Cloudflare experienced a major power failure at a critical data center for the second time in five months, providing a real-world test of the resilience improvements initiated following the first incident. Code Orange, a company-wide initiative to prioritize reliability, led teams across Cloudflare to make their systems more resilient. The most recent outage resulted in significantly less downtime and impact on customer-facing services compared to the prior event.

blog.cloudflare.com9 min read