Newslurp

<< Stories

World’s largest programming lesson 🏫, LLMs can’t reason 🤖, Python 3.12 vs 3.13 ⚡️

TLDR Web Dev <dan@tldrnewsletter.com>

October 15, 11:08 am

TLDR WebDev
A new study by Apple engineers revealed that while LLMs may appear to reason mathematically, they are actually prone to failures ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ 

TLDR

Together With Dollar Flight Club

 TLDR Web Dev 2024-10-15

Want to visit a tropical paradise? The Swiss Alps? Run with the bulls? Your dream vacation might be $1 away (Sponsor)

Usually, when someone promises you the 🌏, you take it with a pinch of 🧂

But 1m+ seasoned travellers choose Dollar Flight Club for good reason. For just $1 today, you can save 90% on your next vacation.

How does it work?

1️⃣ Set your departure airports.

2️⃣ Get email alerts when deals of 60-90% off are announced.

3️⃣ Book your dream trip for next to nothing.

E.g.:🇫🇷France: $282 roundtrip 🇨🇷Costa Rica: $173 roundtrip 🇪🇸Spain: $247 roundtrip 🇺🇸Hawaii: $179 roundtrip🇨🇭Switzerland: $325 roundtrip

Exclusive for TLDR: Sign up to the Club for just $1

🧑‍💻

Articles & Tutorials

How Figma Migrated to Kubernetes (6 minute read)

Figma migrated from AWS ECS to Kubernetes because as the team's needs became more complex, they were hitting the limitations of ECS. Kubernetes, on the other hand, lets Figma avoid vendor lock-in, benefit from the open-source community, and hire engineers with previous Kubernetes experience. Figma migrated to Kubernetes over the span of multiple months, making sure to loadtest, incrementally shift traffic through weighted DNS, and use real workloads along the way.
Python 3.12 vs Python 3.13 – performance testing (10 minute read)

A benchmark of Python 3.12 and Python 3.13 found that Python 3.13 generally outperformed Python 3.12, showing a geometric mean improvement of 1.08x on the AMD system and 1.05x on the Intel system. However, Python 3.13 experienced performance drops in some benchmarks, especially in areas like coverage and regex on both systems.
Upgrading Uber's MySQL Fleet to version 8.0 (14 minute read)

Uber's MySQL infrastructure underwent a major upgrade from version 5.7 to 8.0 to address security concerns and improve performance. The company went for a side-by-side upgrade approach to minimize downtime, reduce risk, and allow for thorough testing. The upgrade was a multi-stage process with node replication, a soak period, traffic diversion, and primary node promotion.
🧠

Opinions & Advice

That's not an abstraction, that's just a layer of indirection (5 minute read)

Not all abstractions in software are beneficial. While good abstractions hide complexity and simplify development, layers of indirection often masquerade as abstractions, adding cognitive overhead without real value. Abstractions are not free: they come with costs in performance and complexity.
Code review antipatterns (14 minute read)

Reviewers can often hinder code review progress by nitpicking endlessly ("Death of a Thousand Round Trips"), using reviews as leverage for unrelated tasks ("Ransom Note"), or by constantly contradicting each other ("Double Team"). Reviewers shouldn't act as gatekeepers but keep the project's success in context.
HTML Whitespace is Broken (46 minute read)

There are numerous issues with whitespace handling in HTML, from unexpected rendering inconsistencies to formatting problems. A possible solution is quoting strings in HTML to clearly differentiate between significant and insignificant whitespace. A more pragmatic solution would be adding a new HTML entity (&ncsp;) to represent a non-collapsible space.
🚀

Launches & Tools

Need to own your user data? SurveyJS makes it easier than ever to build your own forms that work with any backend (Sponsor)

With increasingly demanding data protection rules, using online form builders is rarely worth the risk. SurveyJS UI libraries let you build a JSON-based form management system that integrates with any backend—giving you full data ownership and no user limits. Includes support for advanced question types, skip logic, integrated CSS editor, PDF export, real-time analytics, and more. Get started with a free full-featured demo
Vortex (GitHub Repo)

Vortex is a toolkit for working with compressed Apache Arrow arrays in memory, on disk, and over the wire. It's designed to succeed Apache Parquet with faster random access reads and scans.
Gosub (GitHub Repo)

The Gosub browser engine is still under development but aims to become a standalone web browser library for parsing HTML5 and CSS3, rendering web pages, and executing JavaScript.
ARIA DevTools (Chrome Extension)

ARIA DevTools is an open-source extension for developers that helps them build accessible web applications by highlighting missing ARIA labels, misused roles, and incomplete keyboard support.
🎁

Miscellaneous

Teaching the world's largest programming lesson (17 minute read)

This author taught 1,668 students the basics of Python in a Guinness World Record attempt for the largest programming lesson. The lesson was designed for beginners and covered topics like algorithms, basic syntax, conditional statements, loops, and importing external code. He used Sudoku as an example to illustrate how Python can be used to solve real-world problems.
A basic test of OpenAI's Structured Output feature against financial disclosure reports and a newspaper's police blotter (30 minute read)

OpenAI's Structured Output API feature can be used for data extraction from images. This article shows how to define a data schema using Pydantic and then use OpenAI's gpt-4o-mini model to extract data from screenshots of financial disclosure reports and newspaper police blotters.
Splitting engineering teams into defense and offense (4 minute read)

A startup founder's 4-person engineering team tackled the challenge of balancing customer support and feature development by splitting their team into "defense" and "offense" roles. Two engineers focused on long-term projects in uninterrupted blocks while the other two handled customer support, bug fixes, and other urgent tasks. This "fortress" approach allowed the "offense" engineers to be more focused and productive.

Quick Links

Clipscreen (GitHub Repo)

Clipscreen is a simple application that creates a virtual monitor mirroring a portion of your screen, allowing you to easily share specific areas during screen-sharing sessions.
The three-page paper that shook philosophy: Gettiers in software engineering (6 minute read)

Gettier problems in philosophy, which are situations where someone has a belief that is true and supported by evidence but not considered knowledge, apply in software engineering as developers face challenges in debugging complex systems with multiple potential causes.
How I Experience Web Today (Website)

A short website showing what using the web is like today, starting with web search.
Apple study exposes deep cracks in LLMs' “reasoning” capabilities (6 minute read)

A new study by Apple engineers revealed that while LLMs may appear to reason mathematically, they are actually prone to failures when confronted with seemingly trivial changes to benchmark problems.

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.