<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Azaria</title>
    <description>The latest articles on DEV Community by Azaria (@techwithazaria).</description>
    <link>https://dev.to/techwithazaria</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3479698%2F38043941-7281-47a4-990d-12eb1cf0ec57.jpg</url>
      <title>DEV Community: Azaria</title>
      <link>https://dev.to/techwithazaria</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/techwithazaria"/>
    <language>en</language>
    <item>
      <title>Gesture Recognition</title>
      <dc:creator>Azaria</dc:creator>
      <pubDate>Sun, 08 Feb 2026 23:58:24 +0000</pubDate>
      <link>https://dev.to/techwithazaria/gesture-recognition-1e6d</link>
      <guid>https://dev.to/techwithazaria/gesture-recognition-1e6d</guid>
      <description>&lt;p&gt;Today, we’re going to talk about how we can communicate with computers using our physical movements. That’s right, we can wave at a computer camera and it can recognize that we’re waving. This is called gesture recognition, and this blog will give you a short rundown of what it is and why it’s useful. So, let’s begin!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Gesture Recognition?&lt;/strong&gt;&lt;br&gt;
Gesture recognition is technology that allows computers to understand human movement. Rather than understanding movement the way humans do, computers can detect, track, and interpret patterns of motion. This offers touch-free interaction between humans and machines by allowing systems to respond to physical movement instead of traditional input's. Computers are able to recognize our movements and execute a function or algorithm stored in code that corresponds to that movement. Gesture recognition systems can process hand movements, body motion, and facial gestures.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fth0w9u3txo70yx0akr8j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fth0w9u3txo70yx0akr8j.png" alt=" " width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where did it originate from?&lt;/strong&gt;&lt;br&gt;
The first appearance of gesture recognition was in the 1980s, and it was called the DataGlove. The DataGlove was a glove that had the ability to translate hand and finger movements into computer interactions. This was an accessory brought to life by Nintendo. Certain hand movements would trigger specific actions to control the character on the screen. The DataGlove had sensors along the fingers to determine how bent each finger was. There were also wired connections attached to the sensors so they could connect to the controller.&lt;/p&gt;

&lt;p&gt;Sadly, these types of devices are not very common anymore. In modern times, we use technologies like cameras and AI that have replaced the DataGlove. However, gloves are still used in certain situations, such as in the medical field and high-end VR devices. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How does it work?&lt;/strong&gt;&lt;br&gt;
So, it starts out with you having an input or capture device. These are things like cameras and sensors that collect raw visual or motion data from the user. Then you have your preprocessing and detection process, which cleans and prepares the data for analysis. This step removes background noise, normalizes lighting or positioning, and isolates the relevant parts of the body so nothing interferes with recognizing the movement. The system then tracks key points on the body, hands, or face and follows those movements across multiple frames to understand how the gesture changes over time. After that comes gesture classification, which is when the computer compares the detected movement to gestures stored in its database and determines whether the gesture exists and matches a known pattern. This stage often relies on machine learning models that have been trained on large sets of gesture data to improve accuracy. Once the gesture is confirmed—usually after it has been held or completed for a certain duration—the system executes whatever code or function is associated with that gesture.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F48ayn9pip919mmiklohu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F48ayn9pip919mmiklohu.png" alt=" " width="685" height="246"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Gestures&lt;/strong&gt;&lt;br&gt;
There are three types of gesture categories, and you might be using them without even knowing it. First, there are hand gestures. Applications like Zoom can recognize when you are holding a thumbs up or waving, and they will display an emoji on the screen for you. Second, there are body gestures, which include actions such as stepping, jumping, or leaning. Lastly, there are facial gestures, which detect movements like smiling, blinking, and nodding. If you use your face to unlock your iPhone, that is an example of facial recognition, which relies on detecting facial features rather than movement-based gestures. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pros and Cons&lt;/strong&gt;&lt;br&gt;
There are both advantages and disadvantages when it comes to gesture recognition. Below are a few pros and cons.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pros&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is used in motion-controlled gameplay, creating more interactive experiences&lt;/li&gt;
&lt;li&gt;It is very helpful for people with disabilities and can support sign language recognition&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Cons&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lighting conditions can affect how accurately the system responds&lt;/li&gt;
&lt;li&gt;Differences in hand sizes can make recognition less consistent &lt;/li&gt;
&lt;li&gt;The cost of manufacturing the hardware can be high &lt;/li&gt;
&lt;li&gt;There are privacy concerns related to cameras and data collection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
There is a lot to look forward to with the future of gesture recognition. Privacy protections have improved, although there is still room for additional security. Developers continue to improve accessibility tools and increase the accuracy of gesture recognition systems. Overall, gesture recognition is expected to become more reliable and widely used as the technology continues to evolve.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>learning</category>
    </item>
    <item>
      <title>CPU's : Inside the brain of your computer</title>
      <dc:creator>Azaria</dc:creator>
      <pubDate>Mon, 26 Jan 2026 02:38:09 +0000</pubDate>
      <link>https://dev.to/techwithazaria/cpus-inside-the-brain-of-your-computer-4lhm</link>
      <guid>https://dev.to/techwithazaria/cpus-inside-the-brain-of-your-computer-4lhm</guid>
      <description>&lt;p&gt;If you don’t know by now, your computer has a mind of its own. In the same way humans cannot think without a brain, computers cannot function without a CPU. This small square inside your computer is responsible for nearly everything your device does. But why is something so small so important?&lt;/p&gt;

&lt;p&gt;Well, let's start with the most important thing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is a CPU?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb2nfy5cuw00w61j9gt3l.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb2nfy5cuw00w61j9gt3l.jpg" alt=" " width="800" height="461"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The CPU (Central Processing Unit) is the primary component of a computer. It is responsible for executing instructions so the computer can perform tasks. The instructions are stored temporarily in the computer’s memory, known as RAM. Once the CPU completes one instruction, it immediately moves on to the next. This process continues to repeat until the task is done. CPUs are capable of executing millions of instructions per second, and that's no exaggeration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Small History Summary&lt;/strong&gt;&lt;br&gt;
CPUs didn’t start out tiny like they are today. In the 1940s and 50s, computers were huge machines, and their processors were made from vacuum tubes. They were very slow compared to the CPUs we use today, but they were revolutionary because they marked the beginning of advanced data processing. &lt;/p&gt;

&lt;p&gt;Now that you understand what a CPU is, let’s break down what it is made of and why each part is important. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Cores &amp;amp; Threads&lt;/strong&gt;&lt;br&gt;
Cores are independent processing units within the CPU. Most modern CPUs have around 2-16 cores. Each core can handle its own tasks, which allows the CPU to perform multiple operations at the same time. The more cores, the better. Threads allow each core to handle more than one task at a time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Clock Speed&lt;/strong&gt;&lt;br&gt;
Clock Speed is measured in gigahertz and determines how many times a CPU can cycle per second. The higher the clock speed, the faster it can execute instructions. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Control Unit &amp;amp; Arithmetic Logic Unit&lt;/strong&gt;&lt;br&gt;
The Control Unit tells the components what to do and when to do it. The Arithmetic Logic Unit handles all mathematical and logical equations. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F06tayvhwqx4pelppcu51.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F06tayvhwqx4pelppcu51.png" alt=" " width="800" height="617"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How does it work?&lt;/strong&gt;&lt;br&gt;
Now you know that the CPU acts like the brain of the computer, but let's do a quick summary of how it processes instructions. First, it fetches information from memory, then decodes the instructions, and finally executes them. This cycle repeats millions of times per second. It happens so fast that it seems like videos and programs are running independently. In reality, the CPU cycles through instructions one by one, faster than the human eye can perceive. &lt;/p&gt;

&lt;p&gt;Most devices and hardware contain CPUs, but not every device uses the same type of CPU. There are desktop, laptop, mobile, and server CPUs, each designed to handle different tasks for different devices. The main CPU brands for desktops and laptops are AMD and Intel, while ARM-based CPUs are mostly used in mobile and wearable devices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why are CPUs important?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every action you take on a computer starts with the CPU. Opening a browser, typing on a keyboard, watching a video, or playing a game all require the CPU to process instructions from software. Without the CPU, none of these actions would be possible. CPUs are essential for software to function and allow us to multitask efficiently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
CPUs process data at incredible speeds by cycling through instructions extremely fast. They play a major role in our everyday activities, such as browsing the web and using applications. Over the years, CPUs have improved significantly, becoming faster and more efficient, making it important to understand how we are able to perform these tasks in the first place. &lt;/p&gt;

</description>
      <category>programming</category>
      <category>learning</category>
    </item>
    <item>
      <title>Raspberry Pi's</title>
      <dc:creator>Azaria</dc:creator>
      <pubDate>Mon, 12 Jan 2026 05:27:55 +0000</pubDate>
      <link>https://dev.to/techwithazaria/raspberry-pis-2apm</link>
      <guid>https://dev.to/techwithazaria/raspberry-pis-2apm</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is a Raspberry Pi?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A Raspberry Pi is a very small, affordable, and compact computer. It was first introduced in the UK to teach programming to students. It became a very popular among hobbyists and caught the interest of engineers around the world, especially after 2016.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft1opy2ooiq1pqhbgifwk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft1opy2ooiq1pqhbgifwk.png" alt=" " width="571" height="340"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;So, what are they made of?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Just like a regular desktop computer, Raspberry Pis have the same components, just on a smaller scale. It starts with the CPU, which is its processor that handles all the computations and runs programs. The CPU acts like the brain of the Raspberry Pi. It uses an ARM-based CPU unlike regular computers that use AMD or Intel processors. &lt;/p&gt;

&lt;p&gt;The memory, or RAM, manages multitasking between programs. The more RAM your Raspberry Pi has, the better it can handle multitasking. Most models have about 2-4gb of RAM.&lt;/p&gt;

&lt;p&gt;For storage, Raspberry Pi's use microSD cards instead of a traditional hard drive. The microSD holds all the program files and operating system. Chose wisely with the quality of the microSD card- no one wants a slow computer. You can also use external USB drives for more storage if needed.&lt;/p&gt;

&lt;p&gt;Lastly, Raspberry Pis have input/output ports and an operating system. The ports allow you to connect to peripherals like monitors, mice, and keyboards. Raspberry Pi has its own operating system called Raspberry Pi OS, which it very beginning friendly. If you don't want to use the default OS, you still have the option to use other operating systems of your choice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If so tiny, why use it?&lt;/strong&gt; &lt;br&gt;
Now that you understand that it basically uses the same components as a normal-sized computer, you might be wondering: &lt;em&gt;'Why not use use a regular computer?'&lt;/em&gt; That's understandable, but Raspberry Pis are much cheaper. If you are trying to learn a programming language and don't have to money for a regular computer, this is perfect for you. They are small, compact, and portal. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Different Models&lt;/strong&gt;&lt;br&gt;
Raspberry Pi's come in different models, each with its own purpose:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Raspberry Pi 4 Model B&lt;/strong&gt;&lt;br&gt;
Mainly used for desktop computers and heavy DIY projects. These models are a bit bigger than other models, and they are almost the size of a credit/debit card. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhirh68cg9zksuyoapevw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhirh68cg9zksuyoapevw.png" alt=" " width="524" height="426"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Raspberry Pi 3 Model B+&lt;/strong&gt;&lt;br&gt;
Very similar to the Pi 4 model, but this one is mainly used for robotics and learning. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F76eubqa9212zvpgstdrc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F76eubqa9212zvpgstdrc.png" alt=" " width="518" height="343"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Raspberry Pi Zero&lt;/strong&gt;&lt;br&gt;
These are very inexpensive since they are a little less powerful than the other models, but this model is mainly used for smaller projects and simple wearable devices. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fotpb6156kpw2upxm5i3b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fotpb6156kpw2upxm5i3b.png" alt=" " width="522" height="348"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to get started?&lt;/strong&gt;&lt;br&gt;
Now that you know a little bit about Raspberry Pis, let's talk about what you need to make your own tiny, full working computer. &lt;/p&gt;

&lt;p&gt;You need a Raspberry Pi board, and make sure you choose the model that matches the project you want to make. Then, add a microSD card and power supply - don't forget the power supply in order to turn it on! You can also get a case to keep all the components from getting damaged. Lastly, you'll need some type of display, keyboard, and mouse. If you don't have a monitor, don't worry- you can access it via SSH from another computer.&lt;/p&gt;

&lt;p&gt;There are many tutorials online that provide more details on setting things up, so make sure to do your research before you begin!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
The Raspberry Pi may be small, but it's packaged with so many possibilities. With just a few components, you can make it into a computer, gaming console, or even a tiny robot. The Raspberry Pi community is super helpful and very inspiring. These tiny computers are a perfect starting point to expand your tech skills. So, pick a model, set it up, and bring your ideas to life!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.raspberrypi.com/" rel="noopener noreferrer"&gt;https://www.raspberrypi.com/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.raspberrypi.com/products/" rel="noopener noreferrer"&gt;https://www.raspberrypi.com/products/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://en.wikipedia.org/wiki/Raspberry_Pi" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/Raspberry_Pi&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>raspberrypi</category>
    </item>
    <item>
      <title>AMAZON WEB SERVICES</title>
      <dc:creator>Azaria</dc:creator>
      <pubDate>Mon, 17 Nov 2025 04:07:56 +0000</pubDate>
      <link>https://dev.to/techwithazaria/amazon-web-services-2f65</link>
      <guid>https://dev.to/techwithazaria/amazon-web-services-2f65</guid>
      <description>&lt;p&gt;Do you have something you want to create but don’t have all the resources to make it happen? Maybe you don’t have access to a server, or perhaps you don’t have enough storage space to run your application.&lt;/p&gt;

&lt;p&gt;Well, I'm here to tell you that you &lt;u&gt;CAN&lt;/u&gt; have access to everything you need!&lt;/p&gt;

&lt;p&gt;Let me introduce you to... &lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Cloud Computing&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;but specifically - &lt;u&gt;AWS&lt;/u&gt;!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Cloud Computing?&lt;/strong&gt;&lt;br&gt;
Before diving into the topic of AWS, let's discuss what cloud computing actually is. &lt;/p&gt;

&lt;p&gt;Cloud computing gives you the ability to use storage, run applications, and access many more services all from devices you already own.&lt;/p&gt;

&lt;p&gt;Instead of relying on a local server in your home, you can access remote servers on the internet that handle and process data for you. Cloud computing has transformed the entire tech industry by allowing you to launch applications faster and more cost-effectively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is AWS?&lt;/strong&gt;&lt;br&gt;
AWS (Amazon Web Services) is the top cloud computing platform today, offering over 200 fully featured services for just about any tech-related use case. It provides all the resources you need to launch that application you’ve been wanting to share with the world.&lt;/p&gt;

&lt;p&gt;Since these services are cloud-based, they tend to cost far less than owning and maintaining physical servers. You can store your data in the cloud using one of AWS’s data centers located all around the globe.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Top Services&lt;/strong&gt;&lt;br&gt;
With so many services available, let’s focus on a few commonly used ones.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Amazon EC2 - Elastic Compute Cloud&lt;/strong&gt;&lt;br&gt;
Amazon EC2 provides virtual machines that you can rent in the cloud. These work just like physical computers but are hosted by AWS. You can use EC2 to run websites, backend services, and so much more without needing any physical hardware. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F248pc4gnqyicgis0wz4n.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F248pc4gnqyicgis0wz4n.jpeg" alt=" " width="300" height="251"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Amazon S3 - Simple Storage Service&lt;/strong&gt;&lt;br&gt;
Amazon S3 is a highly durable, scalable, and cost-effective storage system. You can store images, videos, documents, backups, and even entire static websites. It’s extremely fast and reliable, especially when you have a large amount of data. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbxd9jmgg10zrpow38h0a.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbxd9jmgg10zrpow38h0a.jpg" alt=" " width="800" height="513"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Amazon Lambda&lt;/strong&gt;&lt;br&gt;
Lambda lets you run code without managing any servers at all. It only runs your code when a request triggers it, and you are charged only for the time your code is running. Pretty neat, right?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F57bg24laj08g1u08zi4i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F57bg24laj08g1u08zi4i.png" alt=" " width="300" height="150"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Amazon RDS - Relational Database Service&lt;/strong&gt;&lt;br&gt;
RDS helps you set up and manage relational databases such as MySQL, PostgreSQL, and more. There’s no need to install or maintain the databases yourself—AWS handles that for you. That frees up your time to focus on building your actual application. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxlk308q0sha6q9yrxi4y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxlk308q0sha6q9yrxi4y.png" alt=" " width="682" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Amazon DynamoDB&lt;/strong&gt;&lt;br&gt;
DynamoDB is AWS’s NoSQL database service. It’s extremely fast and automatically scales to handle large amounts of requests per second. This makes it perfect for backend and event-driven applications, especially when paired with AWS Lambda.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F51wz057reo59yjg0mdug.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F51wz057reo59yjg0mdug.png" alt=" " width="774" height="524"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pricing&lt;/strong&gt;&lt;br&gt;
Now that you have a basic understanding of what AWS offers, you’ll be happy to know that the cost is completely up to you!&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You are only charged when your code is running.&lt;/li&gt;
&lt;li&gt;If you're storing a lot of data, you may pay per gigabyte per month. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This pricing model makes AWS accessible to everyone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt; &lt;br&gt;
Now you can see how AWS has changed the world for the better. It gives everyone—from casual developers to enterprise companies—access to powerful resources that once required massive budgets and dedicated infrastructure. No more home servers, expensive hardware repairs, or server rooms—unless you prefer them.&lt;/p&gt;

&lt;p&gt;Thanks to cloud computing platforms like AWS, deploying and scaling applications is easier than ever. And for that, we can thank the developers and engineers who made this possible. Thank you!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Amazon_Web_Services" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/Amazon_Web_Services&lt;/a&gt;&lt;br&gt;
&lt;a href="https://aws.amazon.com/what-is-aws/" rel="noopener noreferrer"&gt;https://aws.amazon.com/what-is-aws/&lt;/a&gt; &lt;br&gt;
&lt;a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html&lt;/a&gt;&lt;br&gt;
&lt;a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html&lt;/a&gt;&lt;br&gt;
&lt;a href="https://aws.amazon.com/lambda/" rel="noopener noreferrer"&gt;https://aws.amazon.com/lambda/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://aws.amazon.com/rds/" rel="noopener noreferrer"&gt;https://aws.amazon.com/rds/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://aws.amazon.com/dynamodb/" rel="noopener noreferrer"&gt;https://aws.amazon.com/dynamodb/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://calculator.aws/#/" rel="noopener noreferrer"&gt;https://calculator.aws/#/&lt;/a&gt;&lt;br&gt;
( I do not own any pictures used as an example for this blog )&lt;/p&gt;

</description>
      <category>programming</category>
      <category>automation</category>
      <category>webdev</category>
      <category>todayilearned</category>
    </item>
    <item>
      <title>SQL: Keeping Your Data Organized</title>
      <dc:creator>Azaria</dc:creator>
      <pubDate>Mon, 10 Nov 2025 02:51:33 +0000</pubDate>
      <link>https://dev.to/techwithazaria/sql-keeping-your-data-organized-2p4g</link>
      <guid>https://dev.to/techwithazaria/sql-keeping-your-data-organized-2p4g</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is SQL?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;SQL stands for &lt;u&gt;Structured Query Language&lt;/u&gt;, and it is the backbone of data management. It's a programming language used to store and process information in relational databases. Although SQL is a stand-alone language, it is rarely used to create an application on its own. &lt;/p&gt;

&lt;p&gt;If you don't know what a relational database is, it's just a collection of information that organizes data into rows and columns. This information is usually stored in the form of a table that looks like the picture below. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkxnpc79yrf65ifmxu0vh.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkxnpc79yrf65ifmxu0vh.jpg" alt=" " width="800" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;See how the tables are formed with certain pieces of information? All three tables point to each other in some way! &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is SQL mainly used for, and how do we use it?&lt;/strong&gt;&lt;br&gt;
SQL is how developers store and manage data in databases. Let's briefly go over some SQL statements that you can use. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I. CREATE&lt;/strong&gt;&lt;br&gt;
This is used when you want to CREATE a new table in your database. Just make sure that you give it a name and organize the columns depending on the type of data you are storing.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;**CREATE TABLE** table_name(column1 datatype, column2 datatype, … columnN datatype);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;II. SELECT&lt;/strong&gt;&lt;br&gt;
SELECT is used to retrieve data from a database. This statement specifies what information you want to fetch. &lt;/p&gt;

&lt;p&gt;It would look something like this.&lt;br&gt;
&lt;code&gt;**SELECT** data, FROM table_name;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;III. INSERT&lt;/strong&gt;&lt;br&gt;
You can use INSERT when you want to add a new row to a table. Make sure to specify which table you want to insert data into. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;**INSERT INTO** table_name (table_name column contents) **VALUES** (the data you want to pass in)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IV. DELETE&lt;/strong&gt;&lt;br&gt;
You can use the &lt;strong&gt;DELETE&lt;/strong&gt; statement whenever you want to remove data from a table. Just like &lt;strong&gt;INSERT&lt;/strong&gt;, make sure you specify the data you want to remove from a specific table. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;**DELETE FROM** table_name **WHERE** [condition]&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let's put that all together!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;First, let's create our table.&lt;br&gt;
&lt;code&gt;**CREATE TABLE** Employee (EMP_ID int, NAME varchar (255), SALARY int,  AGE int);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Next, let's add some data into our new table. &lt;br&gt;
&lt;code&gt;**INSERT INTO** Employee (EMP_ID, NAME, SALARY, AGE) **VALUES** ('1', 'Azaria', 100000, 22);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;We should have something that looks like the table below. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6wplbqaps39929p4ih3r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6wplbqaps39929p4ih3r.png" alt=" " width="339" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want to &lt;strong&gt;SELECT&lt;/strong&gt; or &lt;strong&gt;DELETE&lt;/strong&gt; any data, you can just use those statements. Pretty simple and straight to the point, right? There are plenty of other statements you can use in SQL, but those are just the basics. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PostgreSQL&lt;/strong&gt;&lt;br&gt;
PostgreSQL is a more advanced database management system that supports both SQL and other programming languages. Think of PostgreSQL like an extension to SQL - it supports more features and programming languages compared to plain SQL. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
SQL helps us easily manage and keep our databases organized. Organizations like Facebook and Microsoft use SQL to store and maintain their collected data organized. Of course, SQL isn't the only way you can organize your data - but it is one of the most widely used database system today.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Extra Resources&lt;/strong&gt; &lt;br&gt;
&lt;a href="https://www.w3schools.com/sql/sql_intro.asp" rel="noopener noreferrer"&gt;https://www.w3schools.com/sql/sql_intro.asp&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.w3schools.com/postgresql/postgresql_intro.php" rel="noopener noreferrer"&gt;https://www.w3schools.com/postgresql/postgresql_intro.php&lt;/a&gt;&lt;br&gt;
&lt;a href="https://en.wikipedia.org/wiki/SQL" rel="noopener noreferrer"&gt;https://en.wikipedia.org/wiki/SQL&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>sql</category>
      <category>learning</category>
      <category>productivity</category>
    </item>
    <item>
      <title>NPM: Package Management Made Easier</title>
      <dc:creator>Azaria</dc:creator>
      <pubDate>Mon, 03 Nov 2025 00:23:52 +0000</pubDate>
      <link>https://dev.to/techwithazaria/npm-package-management-made-easier-p9a</link>
      <guid>https://dev.to/techwithazaria/npm-package-management-made-easier-p9a</guid>
      <description>&lt;h2&gt;
  
  
  Let's talk Package Management!!
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fole3j7uppach0id83cmr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fole3j7uppach0id83cmr.jpg" alt=" " width="612" height="612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Imagine a world where you can run a single command line and have everything installed and ready to go. No need to download and set up libraries manually one by one. Sounds simple and resourceful, right?&lt;/p&gt;

&lt;p&gt;Well, I'm here to tell you that is exactly what npm does for you!&lt;br&gt;
But before we dive into how npm actually works, let's go over some basic information about what it is. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is 'npm'?&lt;/strong&gt;&lt;br&gt;
NPM is a Node.js package manager. Some people say that it stands for “Node Package Manager,” but according to the creators, it’s just npm — plain and simple. &lt;/p&gt;

&lt;p&gt;Created in 2010 by Isaac Z. Schlueter, npm is currently the largest software registry in the world, making thousands of packages available for easy reuse.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does 'npm' do?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As you know, JavaScript is what we use to power web browsers, just like this one. All the user interactivity, like clicking buttons and searching in a search bar, is powered by JavaScript. Node.js allows us to run JavaScript on our computers, outside of the browser. And when you install Node.js, one of the tools you automatically get is the npm package manager. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here are a few concepts npm helps you with:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Installing packages created by other developers&lt;/li&gt;
&lt;li&gt;Manage project dependencies&lt;/li&gt;
&lt;li&gt;Automate scripts for your project&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Let's discuss an important concept - Dependencies&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;NPM helps you install and manage libraries that developers have already created. You need these libraries for almost any project you create or repository you fork. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Some packages that you might be familiar with are:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lodash/Underscore - provides helpful utility functions like:
&lt;code&gt;_.map&lt;/code&gt;, &lt;code&gt;_.filter&lt;/code&gt;, and  &lt;code&gt;_.flatten&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Mocha - provides the structure for writing/running tests&lt;/li&gt;
&lt;li&gt;Chai - allows you to use certain statements that check if your code functions as expected. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;it('should be able to add rooms to the DOM', () =&amp;gt; {
      RoomsView.renderRoom('superLobby');
      expect($('#rooms select').children().length).to.equal(1);
    });
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And when these packages are installed, they are kept in a file called&lt;br&gt;
&lt;code&gt;package.json&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;The &lt;code&gt;package.json&lt;/code&gt; file serves as a blueprint of what you need to run the project.&lt;br&gt;
Here is an example of how some dependencies look in that file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  "dependencies": {
    "underscore": "^1.13.7"
  },
  "devDependencies": {
    "@compodoc/live-server": "^1.2.3",
    "chai": "^4.5.0",
    "eslint": "^8.57.0",
    "jquery": "^3.7.1",
    "mocha": "^10.7.3",
    "nock": "^13.5.5",
    "sinon": "^19.0.2"
  }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;But what are dependencies?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Dependencies are libraries that your code &lt;strong&gt;&lt;u&gt;depends&lt;/u&gt;&lt;/strong&gt; on to function correctly, and these libraries have already been created for you to reuse across multiple projects.&lt;/p&gt;

&lt;p&gt;This saves you a lot of time when working on different projects because you don’t have to build them yourself — unless you want a very long challenge!&lt;/p&gt;

&lt;p&gt;This will basically tell the developer, "Hey, this repo/project depends on these libraries!"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Installing Dependencies&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now all you have to do is type the magic words into your terminal. &lt;br&gt;
&lt;code&gt;npm install&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;That command tells 'npm' to look at that &lt;code&gt;package.json&lt;/code&gt; file and download the listed dependencies. After downloading the dependencies, 'npm' creates a folder to store them in called &lt;code&gt;node_modules&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fusj5rgoifwg7i3t9180g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fusj5rgoifwg7i3t9180g.png" alt=" " width="162" height="178"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The picture above shows just a snippet of what that folder looks like. Since some packages have their own dependencies, and &lt;em&gt;those&lt;/em&gt; dependencies can have more dependencies inside them, this folder can become very large.&lt;/p&gt;

&lt;p&gt;Now you see what I mean by "it saves you a lot of time"!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Updating Dependencies&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Something important to remember with dependencies is that they also receive updates regularly. Which means you should always check for new versions to keep your project running and stable. Just make sure to read the release notes before updating any packages, so that nothing conflicts with the project you are working on.&lt;/p&gt;

&lt;p&gt;You can check for outdated packages with this command.&lt;br&gt;
&lt;code&gt;npm outdated&lt;/code&gt;&lt;br&gt;
And then update them with this command.&lt;br&gt;
&lt;code&gt;npm update&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scripts - Automating Commands&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;NPM isn’t only good for installing and managing packages — it also lets you create shortcuts for commands in that same package.json file.&lt;/p&gt;

&lt;p&gt;For example,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  "scripts": {
    "start": "live-server --port=8081 --open=./ --watch=client",
    "test": "live-server --port=8080 --open=./TestRunner.html --watch=client"
  }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Instead of typing the full command to open the server every time, if you run &lt;code&gt;npm run start&lt;/code&gt;, it should execute that exact line and start the live server for me. It's super easy and convenient! &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DevDependencies vs Dependencies&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There is such a thing as DevDependencies, but they differ from the dependencies you just learned about. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dependencies are required for your app to function&lt;/li&gt;
&lt;li&gt;DevDependencies are packages used only when you are developing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;DevDependencies are mainly used for testing, but they are not required for your project to function. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
NPM adds a lot of functionality to your projects. It gives you access to thousands of libraries in such a short amount of time. So use that extra time to create something great! Thank you to all the teams that made these resources available for us to use!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Extra Resources:&lt;/strong&gt; &lt;br&gt;
&lt;a href="https://nodejs.org/en/about" rel="noopener noreferrer"&gt;https://nodejs.org/en/about&lt;/a&gt;&lt;br&gt;
&lt;a href="https://docs.npmjs.com/about-npm" rel="noopener noreferrer"&gt;https://docs.npmjs.com/about-npm&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>javascript</category>
      <category>learning</category>
    </item>
    <item>
      <title>Under What Condition?</title>
      <dc:creator>Azaria</dc:creator>
      <pubDate>Fri, 05 Sep 2025 07:02:03 +0000</pubDate>
      <link>https://dev.to/techwithazaria/under-what-condition-28jb</link>
      <guid>https://dev.to/techwithazaria/under-what-condition-28jb</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Let's Talk About Conditionals&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Think of conditionals like a storyline in a decision-based game: if you pick a certain response, something specifically happens. But you won't be able to go back and see what would've happened if you had chosen different. That's exactly how conditionals work in JavaScript. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conditional Statements&lt;/strong&gt;&lt;br&gt;
Conditional statements are control structures in JavaScript that determine whether a specific part of our code should run. There are multiple conditions you can use in your code. Let me give you a visual representation on what conditionals look like. &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdcs8aa3euyj7g3zvlhrx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdcs8aa3euyj7g3zvlhrx.png" alt=" " width="700" height="800"&gt;&lt;/a&gt;&lt;br&gt;
As you can see in the picture above, you have two pathways: one path is if the condition is true, and the other path is for when the condition is false. Again, everything depends on what input is provided for the condition. &lt;/p&gt;

&lt;p&gt;Let's look at an example. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvm6ttpos1wxng7xbiu1c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvm6ttpos1wxng7xbiu1c.png" alt=" " width="431" height="191"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Is the variable 'age' bigger than 'ageMin'?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;u&gt;What do you think will log to the console?&lt;/u&gt; You should see "You can enter the party!". The condition that we tested is true, and because it was true, only the code inside of that specific code block will run. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Conditionals&lt;/strong&gt;&lt;br&gt;
In the previous example, you saw how a conditional works. That specific conditional is called an &lt;strong&gt;If...else&lt;/strong&gt; statement. It basically says &lt;em&gt;'If this is true, run this code. If not, run this code instead.'&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;There are other types of conditionals you can use as well. To build on to the &lt;strong&gt;If...else&lt;/strong&gt; statement, if you have more conditions to check, you can add an &lt;strong&gt;else if&lt;/strong&gt; statement. Think of it like an extension- it gives you more options to choose from based on what's being checked. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3bo1sq4vtruvgntteyn5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3bo1sq4vtruvgntteyn5.png" alt=" " width="402" height="239"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This image shows you an example of an &lt;strong&gt;if...else if...else&lt;/strong&gt; statement. &lt;/p&gt;

&lt;p&gt;Since we are on the topic of having multiple conditions, let's try using a &lt;strong&gt;switch&lt;/strong&gt; statement. A &lt;strong&gt;switch&lt;/strong&gt; statement is useful when you want to execute different code blocks based on different values of the condition. &lt;/p&gt;

&lt;p&gt;Let's look at another example! &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqbqvhiu2y0pz707p7gml.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqbqvhiu2y0pz707p7gml.png" alt=" " width="634" height="291"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What do you think will print to the console?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It will print "red" and "Roses are red" to the console. Since the value of the variable matches a case in the switch statement, it can execute the code block associated with that case. Just in case, here's a picture of how a switch statement works. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwa45udijzzn7lwe186i4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwa45udijzzn7lwe186i4.png" alt=" " width="800" height="945"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Reminder: Don't forget your default statement!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Notice how each case has a break statement? When the code finds the matching condition, it will stop the code right there and not run the remaining cases. This prevents JavaScript from executing unnecessary code, which can help save execution time.&lt;/p&gt;

&lt;p&gt;Do you understand conditionals now? Well, I suppose that question is only for those who needed a bit of guidance. Just remember: conditionals are a lot like story-based games. Once you pick a path, you can't turn back--you have to see the outcome of your decision.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;THINGS TO NOTE&lt;/strong&gt;&lt;br&gt;
There are some things you should keep in mind when working with conditionals. Of course, you can learn along the way, but I thought I would just give you a few key points to note. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Be Mindful of which equality sign you use.&lt;/strong&gt; &lt;br&gt;
In JavaScript, there are two equality operators. The &lt;strong&gt;strict equality operator&lt;/strong&gt; '===' and &lt;strong&gt;loose equality operator&lt;/strong&gt;'=='. It's highly recommended to use the &lt;strong&gt;strict equality&lt;/strong&gt;, as it can help you avoid bugs that are caused with type coercion. Type coercion is when JavaScript automatically converts values to match types when comparing things to each other. &lt;/p&gt;

&lt;p&gt;Here is an example of type coercion. &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0scbnu528ccj1jxaq8ty.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0scbnu528ccj1jxaq8ty.png" alt=" " width="342" height="100"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However, this would give us false because 'age' is a &lt;u&gt;number&lt;/u&gt; and 'basketballNumber' is a &lt;u&gt;string&lt;/u&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcvx1t3mwy8or0ar7x4oy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcvx1t3mwy8or0ar7x4oy.png" alt=" " width="353" height="111"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Make things simple.&lt;/strong&gt;&lt;br&gt;
Don't overcomplicate your conditions unless it's necessary. Keeping them clean and easy to understand makes your code more readable. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Always, &lt;em&gt;always&lt;/em&gt; test your code&lt;/strong&gt;&lt;br&gt;
Make sure you test all possible outcomes of your code. Whether the condition evaluates to true or false, your code should run smoothly and behave as expected in every scenario. &lt;/p&gt;

&lt;p&gt;That's it for now ! Thanks for reading my first blog, and happy coding!&lt;/p&gt;

</description>
      <category>programming</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
