TLDR Web Dev

TLDR WEB DEV 2023-05-08

5 sections14 entriesinline urlcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

WHAT IS A VECTOR DATABASE?

Many AI applications that involve large language models or generative AI rely on vector embeddings, a type of data representation that carries within it semantic information that’s critical for the AI to gain understanding and maintain a long-term memory they can draw upon when executing complex tasks. Vector databases offer optimized storage and querying capabilities for embeddings. They have the capabilities of a traditional database that are absent in standalone vector indexes and the specialization of dealing with vector embeddings, which traditional scalar-based databases lack.

pinecone.io12 min read

HOW TO WRITE TYPE-SAFE CSS MODULES

CSS Modules helps you write modular and scoped CSS styles using CSS. At build time, CSS Modules generate unique class names to link with JavaScript. However, since class names are generated at runtime and change between builds, it’s hard to use them in a type-safe way. This blog explains the problem and solution in detail.

blog.logrocket.com4 min read

02OPINIONS & ADVICE

“Tech jargon” and “thought leaders” are recent phenomenons in engineering circles. This article debunks the credibility of these thought leaders and people who use excessive tech jargon. Instead, use your critical thinking muscles to challenge both of them. It’s an especially important skill as AI generated content becomes more prevalent. The article also gives some tips on how you can improve your critical thinking skills through small daily behavior changes.

blog.pragmaticengineer.com4 min read

03LAUNCHES & TOOLS

GITHUB COPILOT FOR CLI

Ever have trouble remembering shell commands and flags for this or that? Ever wish you could just say what you want the shell to do? GitHub is building Copilot for CLI, which gives natural language assistance right in the terminal.

githubnext.com2 min read

TINYBASE

TinyBase is a reactive data store for local-first apps. It has many features, like support for both KV stores and tabular data, a powerful query engine, flexible UI reactivity to data updates, data sync between remote and local storage, and more. When compressed, TinyBase is less than 10kB and has zero dependencies.

github.comGitHub repository

REDISRAFT

RedisRaft is a Redis module that implements the Raft Consensus Algorithm, making it possible to create strongly-consistent clusters of Redis servers.

github.comGitHub repository

04MISCELLANEOUS

AI ISN'T THE APP, IT'S THE UI

Contrary to the hype of AI agents and generative AI, this article argues that AI’s best use case is to serve as an interface between humans and machines. AI models are good at imitating stochastic systems, making them useful in language and art generation, but they struggle to follow rules and constraints because of their stochastic nature. Additionally, there isn’t a real way to deal with “bugs” in AI. AI may not truly understand us, but it can deliver our intentions to an API with reasonable accuracy and describe the results in a way we understand.

stackoverflow.blog3 min read