Recent posts

Algorithms with Javascript: Memoization

Algorithms with Javascript: Memoization

In this short article I want to talk about on how to optimize expensive operations in Javascript. Memoization is just caching values by returning them from function calls. In Javascript we can make

How to use mapbox-gl with React hooks

How to use mapbox-gl with React hooks

For a particular project I needed to instantiate the mapbox-gl.js library via a functional component instead of the usual way throughout a class component and a reference to the element you want

Collision Check in Game Maker Studio 2

Collision Check in Game Maker Studio 2

To check the collision between your current object and another object Game Maker Studio 2 provides the helpful function "place_meeting" which takes 3 arguments. The first one is the x coordinate of