Newslurp

<< Stories

TailwindCSS 4.0 Beta 🎁, AI is taking jobs 🤖, handling cookies properly 🍪

TLDR Web Dev <dan@tldrnewsletter.com>

November 22, 12:11 pm

TLDR WebDev
Tailwind CSS v4.0 beta 1 has a new engine with up to 5x faster full builds and 100x faster incremental builds, a unified toolchain, and more. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ 

TLDR

Together With Sentry

 TLDR Web Dev 2024-11-22

Sentry has a lot of new features that you probably won't hate (Sponsor)

Sentry's shipping a lot of new functionality. Tune in to catch up on the last 6 months of cool stuff, including:

→ Autofix

→ AI PR review

→ Smarter search

→ Uptime monitoring

→ flaky test detection

→ AI-powered issue grouping

→ Automatic unit test generation

→ Domain-specific application performance insights

Launch week ends today - which means you can log in and watch all the videos, at your leisure. Check it out

🧑‍💻

Articles & Tutorials

Handling Cookies is a Minefield (18 minute read)

HTTP cookies are inconsistently handled across browsers and programming languages due to ambiguities in the RFC specifications. These inconsistencies are from mismatches between what servers should send and what browsers must accept, leading to situations where cookies containing perfectly valid characters for browsers are rejected by server-side code. This problem results in unpredictable behavior, with some systems silently dropping cookies and others percent-encoding values or failing completely.
The fallacies of distributed systems (6 minute read)

Some fallacies about distributed systems include assumptions about network reliability, zero latency, infinite bandwidth, and network security. Good distributed systems are designed to handle network unreliability and mitigate latency and bandwidth constraints.
Process slow network requests with Turbo and Active Model (9 minute read)

User experience in Rail applications can be improved by processing slow network requests asynchronously using Turbo and Active Model. This involves moving the slow operation to a background job, displaying a loading screen, and then updating the client with the response using Turbo Streams.
🧠

Opinions & Advice

AI is taking your job (4 minute read)

The use of AI in job applications is increasing. Applicants use AI to generate resumes and hiring managers use AI to filter them. This creates more competition, making genuine human connections more valuable than ever.
File Over App: A Philosophy for Digital Longevity (7 minute read)

"File over app" means storing information in easily accessible formats like plain text and Markdown. This approach prevents data loss due to app discontinuation or lack of export functionality.
Staff Engineer Behaviors: Breaking the ceiling into Staff Engineering pt. 2 (12 minute read)

Advancing to Staff-Plus engineering roles requires engaging in behaviors like strategic decision-making, mentorship, and cross-functional collaboration with a focus on aligning technical work to business goals. Scaling impact involves not just solving problems but enabling others to succeed and influencing beyond immediate teams.
🚀

Launches & Tools

👉 80% automated end-to-end test coverage in 4 months or less? (Sponsor)

QA Wolf gets web and mobile apps to 80% automated test coverage in less than 4 months. And they guarantee zero flakes.

⭐ Rated 4.8/5 on G2. Trusted by AutoTrader, Cohere, Drata, and many others.

Schedule a demo to learn more

Tailwind CSS v4.0 Beta 1 (2 minute read)

Tailwind CSS v4.0 beta 1 has a new engine with up to 5x faster full builds and 100x faster incremental builds, a unified toolchain, CSS-first configuration, and support for modern CSS features.
React Minimal Pie Chart (GitHub Repo)

React Minimal Pie Chart is a lightweight (<2kB gzipped) React library for creating customizable SVG pie and donut charts with features like animation and TypeScript support.
Electrobun (Website)

Electrobun is a new framework for creating fast, small, cross-platform desktop applications using TypeScript. It uses Bun for execution and bundling, Zig for native bindings, and provides a streamlined workflow for development and deployment.
🎁

Miscellaneous

Listen to the whispers: web timing attacks that actually work (33 minute read)

Web timing attacks have become more effective and have wider applicability due to advancements in minimizing noise and maximizing signal. This article introduces novel attack concepts, such as the single-packet attack, for discovering hidden vulnerabilities and misconfigurations in web applications.
Sell Chrome to end search monopoly, Google told (4 minute read)

The US Department of Justice (DOJ) is demanding Google sell its Chrome browser and stop practices that maintain its search engine monopoly. The DOJ's proposed remedies include preventing Google from making its search engine the default on other devices like smartphones.

Quick Links

Hyrum's Law in Golang (4 minute read)

Hyrum's Law, which states that all observable behaviors of a widely used API will eventually be depended upon by someone, explains why seemingly insignificant aspects of code, like error messages, cannot be changed without potentially breaking dependent systems.
Mathematical Thinking Isn't What You Think It Is (10 minute read)

Mathematical thinking is a process of iterative refinement between intuition and logic that can be improved through practice, leading to increased clarity of thought, self-confidence, and creativity.
Uncontrolled or controlled: A matter of perspective (4 minute read)

A React component is controlled if its state is managed by its parent component through props, and uncontrolled if it manages its own internal state.

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.