Blog
-
Is Async Better than Sync in Javascript?
Neither async nor sync are better in Javascript. Rather, they both have specific use cases. This post will show you the most common cases for each and the real world scenarios in which you would use them. TLDR; Use async code for all long running processes that take longer than 30 milliseconds. You can use…
-
Technology Job Salaries by Year and Sector
This post is the once stop shop for you to see tech, software engineering and IT salaries from around the world. Simply click any link below to see what you should be earning! These are updated every year so you can get an idea of the progression, and extra cash, that you should be seeing!…
-
How to Get a ChatGPT API Key
See below for instruction on how to get your ChatGPT API key. What is ChatGPT? ChatGPT is an AI language model developed by OpenAI. It’s designed to understand and generate human-like text based on the input it receives. Essentially, it’s a computer program that can carry on a conversation, answer questions, and provide information on…
-
How to Escape the 9 – 5 Prison. Developer Millionaire.
Have you ever felt trapped in your 9 to 5 job? I know I used to and every single day I wondered if it was possible to escape. Fast forward 10 years and I’m now an entrepreneur who owns his time, but I certainly didn’t start that way. In fact my starting position was probably…
-
MASTER bun Elysia by Creating a Server – Guide
Elysia Framework This article will show you how to create a server using the bun Elysia Framework. By the end you will know about the following features: I won’t cover anything generic such as database connections so that we can concentrate on the topic at hand. That said, it’s important to remember that bun is…
-
Full GUIDE: Path Module in Node.js
1. Introduction The path module in node allows us to work with files and directories. Everything you can do with the command line (or a mouse) can be done with the path module. This blog post aims to be the vest resource out there and includes my experience as a long time node developer. If…
-
Ultimate Guide: Asynchronous vs Synchronous in Javascript
This article aims to be the most comprehensive guide to asynchronous vs synchronous in Javascript. This is a very easy topic to understand once you actually know it. And there’s the problem, every single programmer sucks when trying to explain it! I will initially explain these concepts using the analogy of a shopping trip, which…
-
fs & Node: The Ultimate Async Guide (fs promises)
fs (file system) module is a much misunderstood part of node JS, especially the asynchronous versus the synchronous methods. This mega post will cover everything you need to know about fs and more! I include lot’s of architecture guides and potential gotchas (many of which have gotten me in the past). fs stands for file…
-
Definitive Guide to node-cron – Node JS Scheduling
Introduction node-cron is a Node.js library that allows you to schedule periodic tasks using cron syntax. It allows you to define recurring schedules by specifying minute, hour, day of the month, month, and day of the week using cron-like strings. It’s very easy to use and you can schedule functions or tasks to execute at…
-
Bun Hot Reload Not Working – 3 Fixes
Is hot reloading not working in your bun.js project? This article gives you 3 potential fixes (from a real developer). First of all there are 2 ways you can hot reload code in your project: The first one, –hot, watches your files for changes and only reloads the content. It DOES NOT restart the bun…
