Making migrations on a local PostgreSQL database with psql and bash scripts

Budget 2 project, i want to be able to develop the database model over time. This results in a series of changes to the model – migrations to be more specific. In order to work with this in a more structured way, where it is possible to revisit earlier versions etc., i want to executeContinue reading “Making migrations on a local PostgreSQL database with psql and bash scripts”

Project: Personal Budget “2”

A project based on Codecademy’s Back End Engineer Career Path Vision Keeping track of my personal finance dispositions is central to reach long standing financial goals. Wether it is for investing in stocks and other assets, or saving up for something bigger – like a car, kitchen or maybe even a new home. The applicationContinue reading “Project: Personal Budget “2””

Weekly log @ 45/2022

After some time working my way through Codecademys back-end career path, i’ve decided to take a break in order to start building a portfolio of applications. This week I’ve been working on my first sprint for the first application: A budget application for structuring my private economy. After this, I’m planning to do an expenseContinue reading “Weekly log @ 45/2022”

A promise to resolve or reject a pending Promise

Todays topic is Promises. I’ve been working with python as my first programming language and only the synchronous part. Thus, promises and asynchronous programming takes some effort to get my head around. Basically, a Promise object is used to request some resource and continue running lines of code, while the request is returning a response.Continue reading “A promise to resolve or reject a pending Promise”

Accessing arrays and if statements in JavaScript – And solving the wrong problem

While trying to solve one of Codecademys challenge projects, I’ve run into a challenge with if statements and checking whether a value is true or false in an array. What I expected to be a pretty simple line of code, seems to break the way JavaScript works. The problem is was as follows: if (someArray[x][y]Continue reading “Accessing arrays and if statements in JavaScript – And solving the wrong problem”