TLDR Web Dev

TLDR WEB DEV 2024-07-08

6 sections17 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

GET YOUR BRAND IN FRONT OF 4+ MILLION TECH PROFESSIONALS

If you're looking to get in front of a highly engaged tech audience including web devs and AI/ML engineers, consider advertising in TLDR. We have 10 newsletters to choose from and a subscriber base of 4+ million tech professionals to effectively reach your target audience. Learn more [4] about running your first campaign with us.

advertise.tldr.techSponsor

02ARTICLES & TUTORIALS

HOW UBER MINIMIZES FLAKY TESTS

Uber developed Testopedia to manage its large suite of tests. It's used to track test statistics and categorize tests based on their stability. Testopedia uses a bucketing algorithm to handle test queries and uses a sliding window algorithm to identify flaky tests.

blog.quastor.org5 min read

HOW TO ANNUL PROMISES IN JAVASCRIPT

JavaScript doesn't natively support canceling Promises. You can use `Promise.withResolvers()` to create cancelable tasks by manually resolving or rejecting Promises. Alternatively, `AbortController` can handle early rejection, which can be used for cancelable fetch requests and sequential request handling in React.

webdeveloper.beehiiv.com4 min read

03OPINIONS & ADVICE

GOOD PROGRAMMERS WORRY ABOUT DATA STRUCTURES AND THEIR RELATIONSHIPS

Linus Torvalds emphasizes the importance of data structures over code in software development since good data structures lead to better code design and maintainability. This author supports this view with personal experience, describing how restructuring data in a project allowed the team to move faster in the long run. This prioritization is also how Git grew to be the dominant version control system.

read.engineerscodex.com4 min read

PRODUCT THINKING

Product thinking is a valuable skill for engineers as it helps them understand the impact of their work and prioritize tasks properly. It's a skill that should be added to an engineer's “talent stack” to help them become well-rounded engineers.

developing.dev4 min read

ADVANTAGES OF INCOMPETENT MANAGEMENT

Sometimes incompetent management can actually offer advantages in terms of resource allocation and project autonomy. In poorly run companies, the lack of clear objectives and performance evaluations can let employees pursue their own goals. Conversely, well-run companies with strict performance metrics and resource management inadvertently stifle such initiatives, as employees prioritize meeting pre-set targets over exploration.

yosefk.com23 min read

04LAUNCHES & TOOLS

TERMINO.JS

Termino.js is a lightweight JavaScript library for creating customizable web-based terminal interfaces. It supports inputs and custom functions and has an HTML integration.

github.comGitHub repository

PONGO

Pongo provides a NoSQL-like interface by treating PostgreSQL as a document database benefiting from JSONB support.

github.comGitHub repository

QUICKJS

QuickJS is a TypeScript package that allows you to safely execute JavaScript code within a WebAssembly sandbox using the QuickJS engine. It's great for isolating and running untrusted code securely.

github.comGitHub repository

05MISCELLANEOUS

A REAWAKENING OF SYSTEMS PROGRAMMING MEETUPS

There has been a resurgence of high-quality systems programming meetups in 2024, such as the Munich Database Meetup and NYC Systems meetup. Pre-pandemic meetups were often only product-focused, while these new meetups are more technical in nature. While meetups are a lot of work to organize properly, there is a growing interest in in-depth technical discussions within the systems programming community.

notes.eatonphil.com9 min read

HOW TO THINK IN WRITING

To refine thinking through writing, start by making definite claims and avoid ambiguity. Then, unfold your ideas by exploring the reasoning behind them, even if it means revealing your ignorance. Look for counterexamples to challenge your claims, either locally to improve your explanation or globally to replace your entire mental model.

links.tldrnewsletter.com15 min read

APPLE'S DEVICES ARE LASTING LONGER, MAKING AI STRATEGY EVEN MORE CRITICAL

Apple is focusing on extending device longevity and using AI and software innovations like Apple Intelligence to drive customer upgrades and new revenue streams amidst slower hardware innovation. This strategy aims to shift the company's growth focus from hardware sales alone to more sustainable software-driven services (which also have the benefit of being subscription-based).

bloomberg.com8 min read