Newslurp

<< Stories

Habits of great devs ⚑️, Apple’s config language πŸ“œ, Vercel’s builds infra πŸ› οΈ

TLDR Web Dev <dan@tldrnewsletter.com>

November 8, 12:11 pm

TLDR WebDev
High-performing engineers have some simple habits that help them produce high-quality code. These habits include following a consistent style guide β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ  β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ β€Œ 

TLDR

Together With Algolia

 TLDR Web Dev 2024-11-08

Evaluating GenAI content for the optimum search experience (Sponsor)

Continuous evaluation and refinement of GenAI content are essential for maintaining a positive user experience. Algolia's latest white paper goes over various evaluation methods (both quantitative and qualitative), and strategies for optimizing content through prompt engineering. Additionally, it explores the "content lake" analogy, emphasizing that content clarity affects information retrieval, and discusses the role of automation in quality reviews as well as the significance of continuous feedback loops.

Access the white paper here and see how this strategic approach is crucial for thriving in a competitive market where user experience is paramount.

πŸ§‘β€πŸ’»

Articles & Tutorials

A deep dive into Hive: Vercel's builds infrastructure (5 minute read)

Vercel's Hive is a low-level, untrusted compute platform designed to manage and run builds securely and fast. It operates on the assumption that potentially malicious code might be executed. This article goes into its key components, like its control plane and API.
Navigating the scale: how design patterns power LinkedIn's infrastructure (7 minute read)

LinkedIn's infrastructure is powered by design patterns like the Producer-Consumer pattern, where producers and consumers communicate asynchronously through message queues. This pattern is effective for distributed server querying, console monitoring, and network security monitoring. It allows for independent scaling of components and near real-time data processing across hundreds of thousands of servers.
The architecture of a conference application built with Expo (10 minute read)

The geekconf app, built using Expo and Next.js, provided access to speaker information, schedules, and real-time updates for the geekconf conference in Berlin. The development team used a monorepo approach, which let them maintain a consistent look and feel across both web and mobile platforms. They also used gluestack-ui for its universal components.
🧠

Opinions & Advice

7 simple habits of the top 1% of engineers (6 minute read)

High-performing engineers have some simple habits that help them produce high-quality code. These habits include following a consistent style guide, avoiding surprises in their code, and being detached from their code. This article lays out seven habits of high-performing engineers, with explanations and actionable advice along the way.
Stop Analyzing Your Gut Feelings: A Counter-intuitive Guide to Better Leadership (4 minute read)

Intuition is not something to be analyzed but rather a form of unconscious intelligence that emerges from experience. While intuition is often unreliable in situations where we lack expertise, it can be a powerful tool for decision-making and can serve as a final check on analytical decisions.
πŸš€

Launches & Tools

Varse (GitHub Repo)

Varse is a tool for updating application variables at runtime that offers a dashboard for management, an SDK for reading variables, and built-in team management for shared configurations.
Codebuff (Website)

Codebuff is an AI-powered tool that helps developers write and edit code faster using natural language commands in their terminal. It understands your codebase and can make large-scale changes with a single prompt.
BemiDB (GitHub Repo)

BemiDB is an open-source, single-binary Postgres read replica optimized for analytics. It replicates data from a Postgres database into a compressed columnar format, allowing users to run analytical queries up to 2,000x faster than Postgres. BemiDB supports both local disk storage and S3 block storage.
🎁

Miscellaneous

Why I love Rust for tokenizing and parsing (19 minute read)

This developer used Rust to build a static analysis tool for SQLite SQL code called sqleibniz. Rust was great for tokenizing and parsing, thanks to its macro system which enables code deduplication for defining AST nodes. Rust was also great for writing table-driven tests and had good pattern-matching capabilities for handling character and token comparisons within the lexer and parser.
Pkl: Apple's New Configuration Language That Could Replace JSON and YAML (4 minute read)

Apple's Pkl is a new configuration language aimed at replacing traditional formats like JSON and YAML. Pkl is designed to be more reliable and maintainable, with features like validation and immutability, as well as the ability to define reusable configurations through inheritance. However, its adoption may be hampered by the need for developers to learn a new language, its potential reliance on the JVM, and concerns about Apple's long-term commitment to the project.
Google DeepMind Debuts Watermarks for AI-Generated Text (16 minute read)

Google has developed a new watermarking system called SynthID-Text to identify AI-generated text. SynthID-Text subtly alters the output of its Gemini chatbot without affecting the quality of the text. It's not yet a foolproof solution and requires more widespread adoption by AI companies to be truly effective.
⚑

Quick Links

Vercel Makes Changes to Next.js To Simplify Self-Hosting (7 minute read)

Next.js 15 introduces core improvements, including a new cache API and support for using Sharp for image optimization, and new documentation to simplify self-hosting.
Did OpenAI just spend more than $10 million on a URL? (2 minute read)

OpenAI purchased the domain "chat.com" for an undisclosed sum that likely exceeded the original $15.5 million purchase price.
Next-validate-link (GitHub Repo)

A tool that checks whether all of your Markdown links in your Next.js app are valid and up-to-date.
Draw.Audio (Website)

Draw.Audio is a musical sketchpad that uses the Web Audio API.

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.