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.
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.
Brief summary between the 3 technologies that are available to solve similar problems.
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.
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.
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.
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.
Much like React, Qwik is a framework that renders a tree of components resulting in an interactive application.
This article is an example of how to amend the state in React using the context API and the "useContext" hook.
Have you ever had this error? Property does not exist on type 'Window & typeof globalThis'
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.
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.