Last week my Discord client on Ubuntu stopped working, seemingly out of the blue. Little did I know it was related to the highly controversial JavaScript module debate: CommonJS vs ESM. Timeline A quick breakdown of the timeline was as follows: May 7th - GitHub releases a major version of octokit.
Svelte I recently started contributing to an Open Source Project, Immich , which uses a Svelte frontend. Svelte has been great to work with so far. I especially like the easy, intuitive way it handles binding properties and events for Svelte Components. Props For example, pass data to a component via
Cascades There are two types of "cascades" in TypeORM . First, we have database cascades . Database Cascades This is probably what you have heard of and are familiar with. It is the standard when a parent is deleted, also delete the children . These are super convenient when you have
A long time ago, before Promises existed, we had callbacks, callback hell, and some insane code and libraries to deal with the mess they created. Luckily, we have moved on to better times. With the modernization of the Web, ES6 Features , etc. promises have become first class citizens and part
TypeScript can be super useful. Its type checking can reduce runtime errors during development and help solve codebase scalability challenges. Personally, I love TypeScript. At least, most of the time. Occasionally I get frustrated with a failing build due to a type issue, even though the code works just fine.
A list of a few of my favorite new JavaScript features, with examples. Arrow Functions Compact alternative to traditional function expression. They also do not require rebinding this . See mdn for more details. In my opinion, this is one of the more tricky JavaScript concepts to grasp. It is often
Step 1/10 : FROM node:12-alpine AS BUILD ... It was sending close to `1GB` of data to the build context. There was a `.dockerignore` file, but it was in `frontend`. Since I moved the build context up one level, I needed to move the `.dockerignore` up as well. ## Dockerfile
I'm a webdeveloper and I have found that I use a lot of different technologies. To put it into perspective, I thought I would make a list of all the technologies, tools, frameworks, libraries, languages, stacks, services, etc., that I've personally used at some point in
Deploying a new post to this blog is pretty easy. I just run these two commands: hugo firebase deploy only:hosting However, this does require me to be on my computer to do a deployment. If I want to fix a spelling mistake, publish a draft, or update some content
Background I recently started seeing this error message in VSCode : Clicking on the Learn More button opens this FAQ page , which says VSCode can be started two different ways: From the terminal, via the code command: code From the user interface, via the app icon: When VSCode is launched via
Tiny Projects The other day I was reading Hacker News and was inspired by an article written by Ben Stokes , the creator of tinyprojects.dev . Probably like you, I'm that person who is constantly coming up with lots of little project ideas. ... The goal of this website is