This week trending news in tech
Tags: webdev, javascript, news, watercooler
Published: 2024-06-07 03:58:59

Hello friends,

Welcome to this week's newsletter.

Let's keep it short and sweet!!

[**chatGPT Explore GPT is now FREE to use**](https://chatgpt.com/gpts)

Good news to all developers as well, chatGPT has removed the subscription fee of $25/month to access explore GPT's page but now it's open to use for FREE

setTimeout memory leak in Node.js
=================================

I've faced so many issues regarding memory leaks in node servers, not just memory leaks but unnecessary maximum callstack reached most of them are somehow related to node servers meaning running javascript methods. Javascript methods have JS api and one API that created memory leaks or at least is under the radar is setTimeout, read the full story to get the context in detail but the overview is simple, even after clearing the **setTimeout** interval or method it still stores the reference in the browser causing the memory leakage. Of course, we can't be sure blaming only one JS browser API but this can be the one big adding factor. 

[read full story](https://lucumr.pocoo.org/2024/6/5/node-timeout/)

Web Scraping Business Idea for Devs
===================================

Web scraping is always and still is a task and data science projects as well as data training for AI models need web scraping as the first step for data collection.

Last week I shared an open-source web scraping package earning tonnes of $$$ so this also sounds like a good small project for a lot of developers. 

Following ways to monetise your web scraping project

*   Open-source the API for subscription 
*   Sell API on Rapid API and other similar platforms
*   Sell exclusive and cleaned data on Kaggle and other similar platforms
*   Sell Notion templates, Airtable, and Google sheet as the dataset

For reference, look at the [Rapid API Web Scraping APIs](https://rapidapi.com/collection/top-scraper-api-tools)

Blogs & Website
===============

[**DSPy - Alternative to Prompt Engineering in Programming**](https://medium.com/aiguys/prompt-engineering-is-dead-dspy-is-new-paradigm-for-prompting-c80ba3fc4896)

Remember the hype of Prompt Engineering, well it is still the most in-demand skill. Still, we do have alternatives in programming languages even to make ask prompts from AI itself or GPT giving prompts from one prompt and that goes as the input to the GPT to further give another output as the prompt format. 

[**Delve**](https://delve.a9.io/) into any topic in depth without losing the initial touch with queries,

In-depth blog on [**How to build LLMs-based applications**](https://applied-llms.org/) beyond the demo products. 

**[Introducing the new CSS anchor](https://developer.chrome.com/blog/anchor-positioning-api)** properties to centre a "DIV"

Last week I shared 2 stories against the use of UUIDs in databases and here we go again with week's new blog, [**Stop using UUIDs in your databases**](https://www.danielfullstack.com/article/stop-using-uuids-in-your-database?ref=dailydev)

[**Hono - Ultra-fast web application framework**](https://hono.dev/top)

Hono helps developers to build APIs, it's is similar to Express.js with all middleware already handled inbuilt, superfast and good developer experience.

[**Zod**](https://zod.dev/)

TypeScript-first schema validation with static type inference

[**Turborepo**](https://turbo.build/blog/turbo-2-0#new-terminal-ui)

Turborepo has released version 2.0 which received millions of downloads per week as the npm module and they have released the version, [read more in detail about what is new in 2.0](https://turbo.build/blog/turbo-2-0#new-terminal-ui)

[**Introduction to Langchain**](https://www.youtube.com/watch?v=swCPic00c30&t=963s)

Langchain is a framework for building LLM apps and not only does it provide a framework to create LLM APIs with cross-compatibility among LLMS it also provides an ecosystem to track and manage your LLM-based apps. A kind of vercel for Next and React app Langchain is the same for LLMs-based apps.

**4 news releases** 

*   [Astro 4.9](https://javascriptweekly.com/link/155785/web) – The framework that does everything now does even more, gaining React 19 enhancements, plus a Container API for rendering Astro components outside of Astro apps.
*   [Node.js v18.20.3 (LTS)](https://javascriptweekly.com/link/155786/web) and [v20.14.0 (LTS).](https://javascriptweekly.com/link/155787/web)
*   [Rspack 0.7](https://javascriptweekly.com/link/155788/web) – Fast Rust-based web bundler.
*   [Storybook 8.1](https://javascriptweekly.com/link/155789/web) – The frontend component workshop.
*   [Deno 1.44](https://javascriptweekly.com/link/155790/web)

I think that would be enough for today a lot of links are added as well and the main reason is to help to get more context and not just an overview. I hope you are enjoying our newsletter.

That's it, see you next friday

Shrey