createWriteStream async – Guide

When writing files to disk in node you have to be careful. Many times file writes require insertion of large chunks of data over a (relatively) long period of time. The key thing to avoid is opening the file multiple times which is resource intensive. It is far better to open the file once and … Read more

Is JavaScript Promise Sync or Async?

TLDR; Any code in Javascript or Typescript that uses the word “promise” is asynchronous. What Does Async Mean? When coding asynchronously it means that your code is running on a different thread or CPU core than the main program that started the process. This leaves the main thread free to do important jobs like keeping … Read more

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 … Read more

Software Engineering Salaries in 2024, by Country

This page contains software engineering salaries arranged by country for the year of 2024. If you receive a salary in one of these then please leave a comment (anonymous) stating why you make and what role you’re in. Countries (Alphabetical) Algeria Argentina Armenia Australia Austria Azerbaijan Bangladesh Belarus Belgium Bolivia Bosnia and Herzegovina Brazil Bulgaria … Read more

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! … Read more

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 … Read more

Categories AI

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 … Read more

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 … Read more