In this article, we will look at what memoization is and what problems does it solve with a famous recursive Fibonacci problem in Go.
Fun fact: New Jetpack Compose uses Positional Memoization to prevent ununnecessary calculations when recomposition is happening.
According to Wikipedia:
In computing, memoization or memoisation is an optimization technique used primarily to speed up computer programs by storing the results of expensive function calls and returning the cached result when the same inputs occur again.
Basically with memoization, if we calculated the value of f(x) and we are sure that value of f(x) is always the same…
Hey there! As the title says, we will build our realtime database. But why? There are already services like Firebase, right? And it’s easy to build apps with Firebase. Well, it is as expensive as its ease. There’s an article that is about how expensive it can get here.
I was going to build an android app and that app needs realtime interactions. So I started to search. There are a couple of options. But because of its simplicity, I’ve chose socket.io for Websocket and MongoDB for storage.
So let’s start!
I’ll be coding in Visual Studio Code for server…
Hi people! Today we will create a compute engine instance that boots and shuts down at specific times with a custom scripts. Let me explain a little bit more.
Google Compute Engine (GCE) is a Infrastructure as a Service (IaaS)that allows developers to run their job on physical hardware. They offer so many types of virtual machines. You can modify RAMs, CPUs, auxiliary storages and even operating systems on them.
Ok, but how can we schedule them? I mean we are not going to hire someone to push the button every time, for sure. Right? Or are we?
Software Developer @Sahibinden