MERN

Content about the MERN stack

Why You Should Encrypt Your Things

Normies are usually the last to hop on the band wagon of encryption. But is it really as bad as people make it out to be? In today’s episode we explore what it is that we can do for protecting yourself online. Why It’s Important Protecting yourself online is one of the biggest responsibilities you have. I know a lot of people on discord being fooled all the time, even in software engineering discord servers: people who are failing to notice a simple attack such as fake links. It does not matter how safe your system is if you are...

Continue reading...

Episode 1 Release

And so it begins! I’ve dropped the first episode to explain what all will be available on the podcast. If you have any questions, you can drop those in the comments on YouTube or below! Here’s a link to the video: https://youtu.be/sLrUorajE08

Continue reading...

Website Migrations & New Expansions To The Website

It’s been a while since this blog has been active, I have been busy working on some other projects of mine. However, bringing insight and valuable information to the engineering community is one of the goals of this blog. There’s a new YouTube Channel I created the YouTube Channel. You can expect a variety of topics as I span quite a large range of items covered: Here’s a link to that: https://www.youtube.com/@CoffeeEngineerOfficial I’m recording episodes on the Expresso Code Podcast You can find more on the podcast here. However, you can expect all the mentioned from point #1. I will...

Continue reading...

How To Do Singly Linked Lists in JavaScript

Introduction This is a series where you will learn about singly linked lists in JavaScript, doubly linked lists, stacks, and queues. The other links Are Here: How To Do Singly Linked Lists in JavaScript (This post) How To Do Stacks in JavaScript (Coming Soon) How To Do Doubly Linked Lists in JavaScript (Coming Soon) How To Do Queues in JavaScript (Coming Soon) What is a Linked List? A linked list is an abstract concept in which you have a “node” object that references the next object (which is a property within that node) and has a value property. The object...

Continue reading...

How Everything in JavaScript Is an Object

Everything is an object in JavaScript. In this post, you will learn about how everything is an Object. As one would simply observe it’s not quite as simple as some claim it to be (yet it is simple in the concept). Finding Prototype Methods In JavaScript, everything is an object. Let’s create an array: This array has access to prototype methods. You can see this if you were arr.__proto__ in the console of your browser. You’ll get something like this: The prototype object in the prototype methods and values The array has access to the prototype object methods and properties....

Continue reading...

What are Code Design Patterns?

A “Code Design Pattern” is a re-usable pattern that is used to solve problems with code. This happens on a design level in software, and ultimately makes code easier to manage, and more efficient in some cases. From algorithms to LeetCode patterns, Code Design patterns even go as broad as entire ways to design an entire system and how it relates to other internal systems. Why should I care about Code Design Pattern? Design patterns can accelerate the development process. When you try to solve something without a pattern, you are actively trying to reinvent another pattern that someone else...

Continue reading...

for(;i–;) (JavaScript for loop explained)

This JavaScript for loop is something I came across the other day solving problems in LeetCode. What seemed like an easy problem was difficult as to understanding different ways to combine a set of stairs. Here’s a picture of the problem on LeetCode (the algorithm problem): Solving the for loop So, to solve something like this, there needed to be a form of loop as to the number of times, and then adding exponentially a number that counts the amount of times. So without going much further, here is a solution to this problem: Understanding the JavaScript loop versions So,...

Continue reading...

Space Complexity & How to work on it

Introduction to space complexity Space complexity is how much memory an algorithm takes when executing it’s set of instructions. Usually, time complexity is much more important in a business perspective (quicker results to the client, and we can just buy more hard drive room). However, making sure that you are not taking up too much space is also just as important. Why should I care? When computers evolve, so do the problems we need to solve using the algorithms. The data continuously grows over time, and so does the demand. We also do not want to overload or run out...

Continue reading...

Algorithm Efficiency & Time Complexity.

As you keep hacking away, you will sooner or later hit a brick wall because your algorithm efficiency takes a century to run. You can solve this by creating an efficient algorithm, and measure the algorithm efficiency. Big O notation “Oh no it’s Big O!”…. Oh, yes! The big O notation allows us to measure space and time complexity as to measure the efficiency of our algorithms in two dimensions. By using this, we can work on more efficient algorithms and compare solutions to one another. O(1) Time Complexity The ideal/perfect algorithm efficiency is shown in green. O(1) would be...

Continue reading...

How to Do Recursion in JavaScript (The Basics)

Recursion in JavaScript (and any other language as well) is where you create a function, and then have that function call itself recursively to solve a problem. Think of it as an alternate method of looping through some data or related. It’s common in the algorithm area for you to use recursion to solve some types of problems. In this post, I will outline the basics of solving some simple recursion problems as an introduction to those unfamiliar. The Recursion Problem Okay, so an example of a problem you could solve in recursion with JavaScript is getting the length of...

Continue reading...