This week in Programming, June 2024
Hello friends,
Welcome to this week's newsletter. Read directly on the website
Let's keep it short and sweet!!
chatGPT Explore GPT is now FREE to use
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.
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
Blogs & Website
DSPy - Alternative to Prompt Engineering in Programming
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 into any topic in depth without losing the initial touch with queries,
In-depth blog on How to build LLMs-based applications beyond the demo products.
Introducing the new CSS anchor 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
Hono - Ultra-fast web application framework
Hono helps developers to build APIs, it's is similar to Express.js with all middleware already handled inbuilt, superfast and good developer experience.
TypeScript-first schema validation with static type inference
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
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 – 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.
Rspack 0.7 – Fast Rust-based web bundler.
Storybook 8.1 – The frontend component workshop.
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