HypeJS.
A place about all things JavaScript and more
Using asyncio for concurrent http requests with Python (asyncio.ensure_future and asyncio.gather)
I hope you are finding this platform useful and wishing you to have a good day!
Python has a few ways for implementing fetching data using http with various packages. "requests", "asyncio", etc. In this article will make a practical example that demonstrates how to run 100 requests concurrently as asyncio tasks and then how to save the results to a file as json, using asyncio.ensure_future and asyncio.gather.

More Stories
Set Environment Variables in LINUX with PM2 for Node and more
Environment variables are an essential component of any Linux system, enabling the configuration and behavior of various applications and services. In this article, we will explore how to print, set, and use environment variables in Linux, along with a specific focus on PM2's "--update-env" flag for restarting services. Whether you're a beginner or an experienced Linux user, this guide will help you navigate the world of environment variables and enhance your system's functionality.

Python vs JavaScript snippets
I've started recently to use Python with Scrapy. Naturally, when I need to do certain things like spreading a list of values or using a try/catch block, my brain attempts initially to write code the way we do it in JavaScript. (I've done mainly JavaScript for the last 7 years or so) Assuming you are new to Python too, these snippets are meant to stimulate our brain's neuroplasticity. Enjoy.

Use cases for Proxy in JavaScript
A proxy in JavaScript is an object that acts as an interface to another object, allowing you to intercept and customize operations performed on that object. This can be useful for a variety of purposes, such as logging, validation, access control and caching.

Unconventional ways of using JavaScript
JavaScript is a versatile programming language that can be used in a wide range of applications. While it's commonly used for web development, there are many unconventional ways to use JavaScript that you may not be aware of. In this article, we'll explore some of the creative and unconventional ways to use JavaScript.

A brief summary of React vs Angular vs Vue
Brief summary between the 3 technologies that are available to solve similar problems.

WebSockets, the "why" and "how"
The WebSocket protocol facilitates message passing between a client and server providing a bidirectional, full-duplex communications channel that operates over HTTP through a single TCP/IP socket connection meaning that it is a persistent connection between a client and server.

What is a packet?
Any data sent over the Internet is divided into smaller segments called packets. In networking, a packet is a small segment of a larger payload. Data sent over computer networks is divided into packets. These packets are then recombined by the computer or device that receives them.

Functions As Values, JS functions tutorial
Function definition and invocation are syntactic features of JavaScript and of most other programming languages. In JavaScript, however, functions are not only syntax but also values, which means they can be assigned to variables, stored in the properties of objects or the elements of arrays, passed as arguments to functions, and so on.

File extensions, description and the MIME types for the Web
File extensions, description and the MIME types for the Web, video mime types, zip mime types and more. Multipurpose Internet Mail Extensions or MIME type gives information about the nature and format of a document, file, or assortment of bytes.

Another SOLID article, the SOD.
These principles should be taken as a guide, should have a place in your thinking as a suggestion and not as a religious dogma. In this article I am going to discus 3 of the 5 principles, hence the SOD. Why the SOD? Because these are the principles I find most applicable in my day to day tasks.

Another JavaScript framework? Qwik
Much like React, Qwik is a framework that renders a tree of components resulting in an interactive application.

Implicit and explicit coercion in JavaScript
JavaScript is a weakly-typed language, values can also be converted between different types automatically. This is what we call implicit type coercion. We also have the ability to convert values in a more implicit way using various techniques. This is an article about the implicit and explicit (type casting) type coercion in JavaScript.

Amend the state in React using the context Api and useContext hook
This article is an example of how to amend the state in React using the context API and the "useContext" hook.

TypeScript Exception - Property does not exist on type window
Have you ever had this error? Property does not exist on type 'Window & typeof globalThis'

Garbage Collection in JavaScript
The data created in JavaScript needs memory in order to persist while the program is running. Have you ever asked yourself what happens with the data that is not needed anymore?

JavaScript Adapter Pattern
The "Adapter Pattern" is a structural pattern where the interface of one class is translated into another. This pattern allows classes work together that could not otherwise, because of incompatible interfaces.

Arrow function limitations in JavaScript
This is an article about the limitations of arrow style functions written in JavaScript

Equality, Sort, Range - MongoDB index creation
This article is an example of why for most of the queries that include some sort of equality, range, and sorting, the way you are building your indexes can have a big performance impact.
