View profile

[DMWN #8] - In this article, I explained what queues are in Node.js, their relevance, and how they work.

Dillion Megida
Dillion Megida
Merry new week. I apologize that this didn’t come two days ago. I didn’t have access to my devices in the last two days.
I trust that last week was great for you.
Last week was a pretty busy one for me—trying to settle different things. I did nothing last week—not even my weekend youtube videos 😓—except office work during the week. But this week will hopefully be better.
Here’s what I have for today:
Featured Articles ✍️
  1. A deep dive into queues in Node.js: Queueing is an important technique in Node.js used for effectively handling asynchronous operations. In this article, I explained what queues are in Node.js and how they work.
  2. How to set a default image when an image fails to load: Images fail to load for many reasons. In this article, I share how to set a default image on a container such that if the original image does not load, the default image shows.
  3. encodeURI vs encodeURIComponent: This article explains the difference between these methods which are used for formatting URL content
Featured Tools 🛠
  1. next-intl: If you’re building applications with NextJS, you can use this library to integrate internalization seamlessly.
Useful hacks/tips ✨
  1. force-with-lease: This is a safer alternative to force pushing. It protects your commit history, even as you override new commits.
  2. Easily reference the previous git branch you were on with “-” (minus sign, an alias for @{1}). Here’s the release note for this feature. This means you can do things like
    • git checkout - to checkout the previous branch
    • git merge - to merge the previous branch
    • git rebase - to rebase the current branch with the previous branch
    • basically anywhere a name of a branch is required, you can use this sign to reference the previous branch
A new week, another opportunity to do amazing things! So go do amazing things 🚀
Do have a splendid week 🌟
Did you enjoy this issue? Yes No
Dillion Megida
Dillion Megida @iamdillion

A weekly newsletter where I share things around Tech, Career and Life

In order to unsubscribe, click here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.