Newslurp

<< Stories

Auto-merge conflict resolver 🛠️, forms best practices 📝, salary negotiation tips 💵

TLDR Web Dev <dan@tldrnewsletter.com>

November 11, 12:09 pm

TLDR WebDev
Mergiraf is a tool designed to resolve Git merge conflicts by understanding the structure of files in various programming languages. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ 

TLDR

 TLDR Web Dev 2024-11-11

🧑‍💻

Articles & Tutorials

Why would anyone need JavaScript generator functions? (18 minute read)

JavaScript generator functions provide a way to create lazy iterators, allowing on-demand data processing for tasks like handling large datasets or infinite sequences. They allow for the creation of custom iterators without loading all elements into memory, which is helpful for complex operations such as generating prime numbers or managing unique identifiers. Generators support two-way message passing, which can be used to mimic async/await syntax in JavaScript.
Evolving a NoSQL Database Schema (25 minute read)

NoSQL database schemas evolve over time. Evolving them in an efficient manner requires a good understanding of keys, indexes, and queries. For example, knowing how to set and use composite primary keys and secondary indexes is necessary for handling various search and sort requirements. This article goes into how to evolve NoSQL schemas, with a deep dive into both concepts and also advanced issues like getting around the issue of partition limits by using shard keys.
🧠

Opinions & Advice

Algorithms we develop software by (4 minute read)

This developer discusses an interesting software development methodology where developers start a feature each day and delete it if not completed, repeating the process until success. This encourages frequent rewrites, leading to cleaner code and a deeper understanding of the problem.
Thoughts on the Resiliency of Web Projects (4 minute read)

Starting new projects has a cost of maintenance due to framework versions and dependencies going out of date. Using solutions like plain PHP and considering commitment levels beforehand can make sure a new project survives to see long-term usage.
Salary expectations questions - How should you answer them? (34 minute read)

This article provides a comprehensive guide on how to navigate salary expectations questions during job interviews. For example, disclosing your current salary or expected salary can reduce your negotiation power.
🚀

Launches & Tools

Mergiraf (Website)

Mergiraf is a tool designed to resolve Git merge conflicts by understanding the structure of files in various programming languages. It can be configured to automatically resolve conflicts during common Git operations like merging, rebasing, and cherry-picking.
Jawsm (GitHub Repo)

Jawsm is an experimental JavaScript to WebAssembly compiler written in Rust that aims to achieve 100% JavaScript language support without requiring a compiled interpreter.
skellyCSS (GitHub Repo)

skellyCSS is a lightweight CSS framework for quickly implementing skeleton loaders in web projects. It offers various customization options like line width, alignment, and image shapes.
🎁

Miscellaneous

Engineering management in the next unicorn app (11 minute read)

In this post, the CTO of Roots, a mindfulness app, goes through his approach to leading a remote team. Leading a remote team requires having a strong vision and hiring highly independent people. In terms of team culture, Roots' team focuses on investing in the right features before hiring more people and prioritizing thoughtful product development over rapid releases.
On Typesetting Engines: A Programmer's Perspective (30 minute read)

There are various typesetting engines available, and they can be evaluated on some key criteria: Knuth Plass line breaking algorithm, CJK typesetting support, pagination, and instant preview. This article goes over HTML and CSS, LaTeX.js, Typst, and React-pdf. Only LaTeX consistently meets all the requirements.
Adventures in Probability (8 minute read)

Exponential distributions come into play in various fields like queueing theory, control theory, and performance modeling. The "memoryless" property of the exponential distribution makes it useful for simulating systems involving events occurring independently at random intervals. This post explains how to simulate such events using the exponential distribution and provides an example of how to model a queuing system with code.

Quick Links

11 HTML best practices for login & sign-up forms (13 minute read)

Best practices for creating accessible and user-friendly login and sign-up forms include setting autocomplete attributes, using appropriate input types, and handling network latency and errors.
Procrastination and the Fear of Not Being 'Good Enough' (3 minute read)

Procrastination can stem from a fear of not being good enough and the anxiety of others' opinions.
JavaScript's ??= Operator: Default Values Made Simple (2 minute read)

The ??= operator can be used to handle null and undefined values in JavaScript by only assigning a new value if the current is null or undefined.
Awesome Open Source Boilerplates (GitHub Repo)

A curated list of open-source boilerplates and starter templates for web dev, mobile dev, and Chrome extensions.

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.