Testing the Dark Scenarios of Your Node App — An interesting look at some examples of easily overlooked but nonetheless important tests to have in your app or package. What happens when a service times out, code is mutating things it shouldn’t, or you have zombie processes milling around? These are some of the ‘dark scenarios’ you can easily be prepared for.
Getting Started with Vector Databases in Node — Storing and manipulating vectors has become a popular topic recently because of the advent of large language models, such as those used by systems like ChatGPT. “Embeddings” are vectors that can represent semantic concepts and be stored and compared against each other. Valeri quickly shows us how to create a basic topic classification tool using Node and the Chroma vector database.
Valeri Karpov
TypeScript and ECMAScript Modules in Node.js — An official docs page focusing on the use of ESM with Node.js in TypeScript projects. We’ve linked to this before, but it’s a handy document that continues to be updated.
Microsoft
ASIDES:
The folks at Sandworm have shared a look at the state of the npm registry including lots of trivia, a little history, and stats on how many packages there are, how big the packages are, and the most commonly used package keywords.
🎵 Spotify Unveils a TypeScript SDK for its Web API — Now this is officially supported. The popular music streaming service has long had a Web API for getting information about songs, managing playlists, controlling playback, etc. and now there’s an officially supported TypeScript SDK for it. This post includes some handy examples.
Hakk: An Auto Updating In-Context Node REPL — You’re already familiar with Node’s REPL, but this goes a step further by hot reloading your app’s code (that you’re working on in your usual editor) and maintaining a REPL for tinkering within the app’s context at the same time.
💻 Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
☑️ SurveyJS is a dual open source/commercial form and survey management system that lets you create dynamic surveys using JSON or a form builder. You can try a demo of the SurveyJS form builder here.
📧 Did you know we have a Postgres newsletter too? We cover everything from SQL through to the latest in vector storage, GIS, hosted platforms, and Postgres extensions.
Classifieds are a new way to share projects or services you may find useful, with a mix of free and paid options.
#548 — September 17, 2024 Read on the Web nano-spawn: Tiny Execa-Inspired Process Execution — If you’re familiar with Sindre’s powerful Execa for running commands from a Node app in a robust manner, 1nano-spawn offers Read more…
#547 — September 10, 2024 Read on the Web Express.js 5.0 Released; Sort Of — After a long period of seeming to merely be on life support, work on Express picked up significantly earlier this Read more…
#546 — September 3, 2024 Read on the Web Prisma 5.19.0, Now with ‘Typed SQL’ — Prisma is a popular declaratively-driven ORM in the Node.js / TypeScript world and its new version makes it possible Read more…
0 Comments