Yes, you should use SQLite: Notion's creative SQLite usage for 20% faster loads (6 minute read)
Notion implemented WebAssembly (WASM) SQLite in its web app. This resulted in a 20% reduction in page navigation latency. To achieve this, its team used Web Workers to offload database operations to background threads and a SharedWorker with the Web Locks API to fix data integrity issues. They also addressed issues of slow disk reads by implementing a "race" between disk cache and network requests.
|
Unleash JavaScript's Potential with Functional Programming (37 minute read)
Functional programming (FP) is the process of composing functions to create software rather than just executing statements. This article goes through JavaScript's data types, functions, and methods and introduces FP techniques, including closures, higher-order functions (map, filter, and reduce), and function composition.
|
|
Rust needs an extended standard library (7 minute read)
Rust's ecosystem is plagued by fragmentation, with a constant influx of new libraries and frameworks. This fragmentation has led to security concerns as developers are forced to rely on numerous third-party libraries. The proposed solution is an extended standard library, "stdx," providing core functionalities like cryptography, networking, and data handling.
|
We don't test (Reddit Thread)
A Reddit user's company's development process involves developers writing and manually testing code because developers are pressured to move on to new tasks constantly. This results in frequent bugs being found in production, leading to blame placed on developers for not testing enough. Advice is given by other Reddit users on how to emphasize testing more, such as making a business case for proper testing to management.
|
The Case Against Documenting Code (3 minute read)
Excessive code documentation can be inefficient, as it requires time and effort to create and maintain, often leading to outdated and irrelevant information. Instead, in-line documentation within code itself should be preferred, and it's possible that LLMs could make documentation much easier to maintain in the future.
|
|
One (Website)
One is a new React framework designed to simplify web and native app development, built on Vite and offering universal, typed routing. It works with Zero, a client-side database solution. Zero provides data storage and syncing, allowing for small bundle sizes and offline-first capabilities.
|
LiveKit Agents (GitHub Repo)
The LiveKit Agents framework is a Python library that allows developers to build real-time AI-driven server programs that can interact with users through text, audio, images, and video. This is the package that OpenAI uses to power its Advanced Voice feature. A JavaScript version of the library is also available.
|
|
Patent troll Sable pays up, dedicates all its patents to the public! (9 minute read)
Cloudflare won a patent infringement lawsuit against Sable, a patent troll who asserted patents relating to old hardware-based router technologies against Cloudflare's modern software-defined services. A jury found that Cloudflare did not infringe Sable's patent and that the asserted patent claim is invalid. Sable agreed to pay Cloudflare $225,000, grant Cloudflare a royalty-free license to its entire patent portfolio, and dedicate its patents to the public.
|
Playing with BOLT and Postgres (15 minute read)
BOLT is a binary optimization tool from LLVM that improves PostgreSQL performance. It can significantly increase performance, sometimes by 30-40%, but the effectiveness depends greatly on the profile used to guide the optimization. While BOLT itself may not be directly implemented in PostgreSQL, the learnings from the experiment could help future code and build adjustments generate more efficient executables.
|
|
Cartographist (Website)
Cartographist is an experimental web browser that encourages rabbit-holing by using horizontally scrollable panes and a tree-structured outline of browsing history that allows for saving and loading "trails" of research sessions.
|
CodeAir (Website)
CodeAir is a smartphone-based remote control for VS Code that allows users to transfer files, images, and code between their devices and VS Code, control VS Code instances using voice commands and text, and use AI features for code generation and file analysis.
|
Meta Movie Gen (Website)
Meta has released Movie Gen, which uses AI to generate high-quality videos, edit existing ones, and create personalized videos from text inputs.
|
|
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
|
|
|
|