Newslurp

<< Stories

Why devs leave Big Tech πŸ€”, Google’s testing advice πŸ§ͺ, optimize your data layout ⚑️

TLDR Web Dev <dan@tldrnewsletter.com>

October 16, 11:11 am

TLDR WebDev
Software engineers and tech leaders are leaving prestigious Big Tech companies. There are various reasons why, like the decline in job security β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ  β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ 

TLDR

Together With QA Wolf

 TLDR Web Dev 2024-10-16

πŸ‘‹ Goodbye low test coverage and slow QA cycles (Sponsor)

If slow QA processes bottleneck you or your software engineering team and you're releasing slower because of it β€” you must check out QA Wolf.

QA Wolf gets engineering teams to 80% automated end-to-end test coverage and helps them ship 5x faster by reducing QA cycles from hours to minutes.

They create and maintain your test suite in open-source Playwright. Plus, they provide unlimited parallel test runs on their infrastructure (zero flakes guarantee).

βœ”οΈ No more manual e2e testing

βœ”οΈ No more QA bottlenecks

βœ”οΈ No more bugs reaching your customers

With QA Wolf, Drata's team of 80+ engineers achieved 4x more test cases and 86% faster QA cycles.

Schedule a demo to learn more

πŸ§‘β€πŸ’»

Articles & Tutorials

Why You Shouldn't Forget to Optimize the Data Layout (12 minute read)

The way data is organized in memory (data layout) can impact a program's performance. Choosing the right data layout, such as Array of Structures (AoS) or Structure of Arrays (SoA), can optimize cache line access and leverage vectorized instructions (SIMD) for faster execution. SoA, for example, can be much faster for reading operations, especially when combined with lightweight compression techniques like frame-of-reference encoding.
LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite (20 minute read)

This article compares different methods for storing data in web browsers: Cookies, LocalStorage, IndexedDB, OPFS, and WASM-SQLite. Each method is analyzed for their features, limitations, and performance in various scenarios, including write and read latency for single and bulk operations.
Python: range is not an iterator (8 minute read)

Iterators and range objects are different in Python. While both are considered "lazy iterables" as they compute values on demand, they differ in their underlying mechanisms. Iterators are stateful, meaning once an item is consumed, it's gone. Range objects are not iterators - they are "lazy sequences" that can be looped over repeatedly without exhausting their values.
🧠

Opinions & Advice

SMURF: Beyond the Test Pyramid (3 minute read)

SMURF (Speed, Maintainability, Utilization, Reliability, and Fidelity) is a framework for better testing. Prioritizing one factor can have implications for others, so it's best to have a holistic approach when writing tests for applications.
Scale Ruins Everything (6 minute read)

The pursuit of unicorn status by venture capital funds has led to the creation of companies that, while initially seemingly harmless, become detrimental at scale. This is because the need for massive growth drives companies to exploit resources and disrupt markets. The recent decline in venture capital funding offers an opportunity for more non-hyper growth companies that are still sustainable businesses.
A Missing IDE Feature (6 minute read)

This developer proposes a missing IDE feature: automatically folding method bodies by default. This simple change improves code readability, as function signatures are often more important than their bodies.
πŸš€

Launches & Tools

React Native BottomSheet v5 is finally out! (3 minute read)

React Native Bottom Sheet v5 has been released. It features a complete gesture solution rewrite, support for React Native Web, dynamic sizing, FlashList integration, and performance improvements.
KaibanJS (GitHub Repo)

KaibanJS is a JavaScript framework for building and managing multi-agent systems.
FTWA (Website)

FTWA allows users to turn any website into a lightweight, fast, and visually appealing app. It removes the need for browser frames and creates a native app-like experience.
🎁

Miscellaneous

Why techies leave Big Tech (31 minute read)

Software engineers and tech leaders are leaving prestigious Big Tech companies. There are various reasons why, like the decline in job security due to recent layoffs, the allure of professional growth and leadership opportunities offered by startups, and the perceived limitations of career progression within large corporations. There's also the impact of equity compensation and the potential for significant pay drops when stock prices fall or initial grants expire.
Meta's open AI hardware vision (7 minute read)

Meta has presented its open AI hardware vision, showcasing new designs for AI platforms, racks, network fabrics, and components. To support its large-scale AI workloads, Meta has built high-performance training clusters with thousands of GPUs. To address the increasing power and bandwidth demands of AI, Meta has Catalina, a new high-powered rack designed for AI workloads, and Grand Teton, a next-generation AI platform now supporting AMD accelerators.
⚑

Quick Links

Dark Patterns Hall of Shame (Website)

The Hall of Shame critiques poor design practices and dark patterns, specifically in websites, apps, and user experiences.
sqlite3 WebAssembly & JavaScript Documentation (Website)

SQLite has published documentation on running SQLite locally in-browser using WebAssembly.
An Overloaded Developer (2 minute read)

A senior developer attempted to implement function overloading in JavaScript by creating two functions with the same name but different parameters, but didn't realize JavaScript sets missing parameters to null when calling a function.
Safer with Google: Advancing Memory Safety (7 minute read)

Google is advancing memory safety in its software by shifting towards memory-safe languages while also hardening existing memory-unsafe codebases through techniques like bounds-checking, exploit mitigations, and security boundaries.

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.

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.