Some links may be affiliate links. This means if you click on the link and purchase an item we may receive commission at no extra cost to you.
As developers we don’t need many tools to work, many would say that we just need a laptop or computer, and even though that’s true, there’s a difference between having the minimum required to work to have the tools that you need to work comfortably, productive and healthy.
Today we are going to discuss keyboards that you would love as a developer. …
Often, we talk about how Node’s single-threaded nature makes Node applications easily scalable and resource-efficient. But it also makes Node an unsuitable choice for implementing CPU-intensive tasks.
But as a workaround to this problem, in its v10.5.0 release, Node introduced the concept of worker threads. Worker threads provide a mechanism to spawn new threads to handle CPU-intensive tasks in a Node program.
So in this tutorial, we’re going to give you a simplified introduction to worker threads and how to use them. …
Axios is one of the favorite HTTP clients among JavaScript developers. It is used to send HTTP requests, especially AJAX requests, from the client side as well as the server side.
Sending HTTP requests from the JavaScript side is now almost a necessity when developing dynamic web applications. Axios simplifies this task by providing an easy-to-use abstraction over JavaScript’s XMLHttpRequest
interface with a number of user-friendly functions and configuration options.
In this tutorial, we are going to walk through everything you need to know about sending HTTP requests with Axios with code examples and simplified explanations.
Let’s start our introduction…
“The limits of my language means the limits of my world.” — Ludwig Wittgenstein
Computers speak their own language: the binary language. Thus, they are limited in how they can interact with us humans. Expanding their language and understanding our own is crucial to setting them free from their boundaries.
NLP is an abbreviation for natural language processing, which encompasses a set of tools, routines, and techniques computers can use to process and understand human communications. Not to be confused with speech recognition, NLP deals with understanding the meaning of words beyond interpreting audio signals from those words.
If you…
If you’re a programmer, there’s a good chance that you have an inability to just do your job. You’d want to work on your passion project in your free time. You’d want to contribute to open-source projects that you love. Becoming a programmer is not just a job — it’s a lifestyle.
Even if it were just the job, with the increasing demand at your workplace, you’d struggle to juggle your workload and personal life when you only have 24 hours on the clock. …
I’m the father of a three-year-old boy, and as he grows up, I’m starting to wonder how I can teach him coding. Of course, he’s too young right now and I’m not even sure if he will be interested in pursuing his old man’s career. But if he’s interested, I want to have the right resources available for him to spark his curiosity and learn.
While discussing ideas with some of my friends, we realized how little we know about teaching kids some of our skills. We all learned to program when we were older. I was the youngest to…
Under today’s standards, web applications not only need to be fast and look cool, but they also need to give the feeling of being alive. The latter is quite hard to manage well. With CSS becoming super powerful, new ideas and concepts have been introduced (e.g. animations) that can provide the user with unforgettable experiences when done well.
Animations in CSS are a beast, and people are doing amazing things with them. Don’t believe me? Check out this alpaca built by CSS ninja Annie:
Perhaps you don’t need that level of complexity for your web app, but having a…
As web apps continue to gain access to large amounts of sensitive data that belongs to people, organizations, and even governments, the threat to data security is at an all-time high. Since the early days of programming, programmers have used cryptography and encryption techniques to protect such sensitive data against malicious parties. Especially after the introduction of the internet, cryptography techniques play a crucial role in guaranteeing data security.
In web development, cryptography is often used to secure data while it is being transferred over a network or stored in databases. Most of the cryptographic operations are executed in a…
As one of the basic control structures in programming, loops are almost an everyday addition to the code we write. The classic for loop is one of the first code snippets we learn to write as programmers.
If you were a Javascript developer, you would know that Javascript is no stranger to iterating through the items of an array or a map using classic for loops. But did you know that Javascript has a much cleaner and safer method for the same task other than the simple for loop? It’s the Javascript forEach method.
JavaScript’s reducer
is one of the most useful array methods in a developer’s arsenal. Introduced in ES5, it’s somewhat similar to the for…each
and map
methods that are used with arrays but improves on their performance and simplicity in specific situations.
The reduce
method executes a callback function that we provide on each element stored in an array and outputs the final value the operation generates. It’s a cleaner way of iterating over and processing the data stored in an array.
Currently, it’s supported by all of the major browser versions and is available in Node.js from version 10.0 upwards.
…
I’m an entrepreneur, developer, author, speaker, and doer of things. I write about JavaScript, Python, AI, and programming in general.