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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
|
|